Pull request #238 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 vli11 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 4a9e67fa37862f83ef90b637e6c765491ff37d3a rather than 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f Obtained Jenkinsfile from 4a9e67fa37862f83ef90b637e6c765491ff37d3a 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-ssh10775422021234032320.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17573100260824487749.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-238/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-238/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh255920461451935978.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15022025740113832493.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-238/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-238/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1177344676817997347.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-7658’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7661 in /w/workspace/undry_device-onvif-camera_PR-238 [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-238 # 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/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f Merge succeeded, producing 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f Checking out Revision 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f (PR-238) > git config core.sparsecheckout # timeout=10 > git checkout -f 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f # 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 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f # timeout=10 Commit message: "refactor!: updated secret path to secret name" First time build. Skipping changelog. > git rev-list --no-walk 7016daacf5a85b887902247f79f5fbc6dc76bd70 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-27T22:01:50.329Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-27T22:01:50.387Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-27T22:01:50.400Z] ========================================================= [2023-02-27T22:01:50.400Z] EdgeX Global Pipelines Version Info [2023-02-27T22:01:50.400Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-27T22:01:51.107Z] ------------------- [2023-02-27T22:01:51.107Z] stable info: [2023-02-27T22:01:51.107Z] ------------------- [2023-02-27T22:01:51.107Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-27T22:01:51.107Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T22:01:51.107Z] Message: update stable to v1.0.244 [2023-02-27T22:01:51.679Z] ------------------- [2023-02-27T22:01:51.679Z] experimental info: [2023-02-27T22:01:51.679Z] ------------------- [2023-02-27T22:01:51.679Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-27T22:01:51.679Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T22:01:51.679Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-27T22:01:51.849Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-02-27T22:01:51.864Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-02-27T22:01:51.878Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-27T22:01:51.889Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-27T22:01:51.899Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-27T22:01:51.907Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-27T22:01:51.916Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-27T22:01:51.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-27T22:01:51.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-27T22:01:51.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-27T22:01:51.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-27T22:01:51.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-02-27T22:01:51.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-27T22:01:51.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-27T22:01:52.004Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T22:01:52.018Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T22:01:52.029Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T22:01:52.041Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T22:01:52.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-27T22:01:52.065Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-27T22:01:52.079Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-27T22:01:52.089Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-02-27T22:01:52.101Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-27T22:01:52.116Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-27T22:01:52.126Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-27T22:01:52.138Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-27T22:01:52.155Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-27T22:01:52.164Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-238 [Pipeline] echo [2023-02-27T22:01:52.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-238 [Pipeline] echo [2023-02-27T22:01:52.191Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-238 [Pipeline] echo [2023-02-27T22:01:52.201Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f [Pipeline] echo [2023-02-27T22:01:52.212Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e2f9ec [Pipeline] echo [2023-02-27T22:01:52.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T22:01:52.264Z] provisioning config files... [2023-02-27T22:01:52.277Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config17374653781197450349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T22:01:52.576Z] ---> docker-login.sh [2023-02-27T22:01:52.576Z] nexus3.edgexfoundry.org:10001 [2023-02-27T22:01:52.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:01:52.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:01:52.837Z] Configure a credential helper to remove this warning. See [2023-02-27T22:01:52.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:01:52.837Z] [2023-02-27T22:01:52.837Z] Login Succeeded [2023-02-27T22:01:52.837Z] nexus3.edgexfoundry.org:10002 [2023-02-27T22:01:53.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:01:53.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:01:53.097Z] Configure a credential helper to remove this warning. See [2023-02-27T22:01:53.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:01:53.097Z] [2023-02-27T22:01:53.097Z] Login Succeeded [2023-02-27T22:01:53.097Z] nexus3.edgexfoundry.org:10003 [2023-02-27T22:01:53.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:01:53.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:01:53.097Z] Configure a credential helper to remove this warning. See [2023-02-27T22:01:53.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:01:53.097Z] [2023-02-27T22:01:53.097Z] Login Succeeded [2023-02-27T22:01:53.097Z] nexus3.edgexfoundry.org:10004 [2023-02-27T22:01:53.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:01:53.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:01:53.377Z] Configure a credential helper to remove this warning. See [2023-02-27T22:01:53.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:01:53.377Z] [2023-02-27T22:01:53.377Z] Login Succeeded [2023-02-27T22:01:53.377Z] docker.io [2023-02-27T22:01:53.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:01:53.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:01:53.635Z] Configure a credential helper to remove this warning. See [2023-02-27T22:01:53.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:01:53.635Z] [2023-02-27T22:01:53.635Z] Login Succeeded [2023-02-27T22:01:53.635Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T22:01:53.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-27T22:01:54.002Z] + git rev-list -1 --merges 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f~1..3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f [Pipeline] echo [2023-02-27T22:01:54.051Z] -----------> git rev-list -1 --merges 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f~1..3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f [false] [Pipeline] sh [2023-02-27T22:01:54.341Z] + git log --format=format:%s -1 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f [Pipeline] echo [2023-02-27T22:01:54.359Z] ========================================================= [2023-02-27T22:01:54.359Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-27T22:01:54.359Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T22:01:54.708Z] + git log --format=format:%s -1 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f [Pipeline] echo [2023-02-27T22:01:54.721Z] [semverPrep] GIT_COMMIT: 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f, Commit Message: refactor!: updated secret path to secret name [Pipeline] echo [2023-02-27T22:01:54.730Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-27T22:01:55.096Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-27T22:01:55.096Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-27T22:01:55.096Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-27T22:01:55.096Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-27T22:01:55.096Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2023-02-27T22:01:55.096Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-27T22:01:55.096Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T22:01:55.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T22:01:55.457Z] [2023-02-27T22:01:55.457Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T22:01:55.782Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T22:01:55.782Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-27T22:01:55.782Z] b85a868b505f: Pulling fs layer [2023-02-27T22:01:55.782Z] e2be974225ed: Pulling fs layer [2023-02-27T22:01:55.782Z] 339a4e72a1f5: Pulling fs layer [2023-02-27T22:01:55.782Z] 988bab9f4d93: Pulling fs layer [2023-02-27T22:01:55.782Z] 1469e6f7b9e6: Pulling fs layer [2023-02-27T22:01:55.782Z] eaf3925da568: Pulling fs layer [2023-02-27T22:01:55.782Z] bab4dde63d76: Pulling fs layer [2023-02-27T22:01:55.782Z] bde34c3a00c8: Pulling fs layer [2023-02-27T22:01:55.782Z] b352a97aabf1: Pulling fs layer [2023-02-27T22:01:55.782Z] 4872d77fe225: Pulling fs layer [2023-02-27T22:01:55.782Z] 5851b861e8e6: Pulling fs layer [2023-02-27T22:01:55.782Z] b352a97aabf1: Waiting [2023-02-27T22:01:55.782Z] 1469e6f7b9e6: Waiting [2023-02-27T22:01:55.782Z] 4872d77fe225: Waiting [2023-02-27T22:01:55.782Z] 5851b861e8e6: Waiting [2023-02-27T22:01:55.782Z] eaf3925da568: Waiting [2023-02-27T22:01:55.782Z] bab4dde63d76: Waiting [2023-02-27T22:01:55.782Z] 988bab9f4d93: Waiting [2023-02-27T22:01:55.782Z] bde34c3a00c8: Waiting [2023-02-27T22:01:55.782Z] e2be974225ed: Verifying Checksum [2023-02-27T22:01:55.782Z] e2be974225ed: Download complete [2023-02-27T22:01:55.782Z] 988bab9f4d93: Download complete [2023-02-27T22:01:56.048Z] 339a4e72a1f5: Verifying Checksum [2023-02-27T22:01:56.048Z] 339a4e72a1f5: Download complete [2023-02-27T22:01:56.048Z] 1469e6f7b9e6: Verifying Checksum [2023-02-27T22:01:56.048Z] 1469e6f7b9e6: Download complete [2023-02-27T22:01:56.048Z] eaf3925da568: Verifying Checksum [2023-02-27T22:01:56.048Z] eaf3925da568: Download complete [2023-02-27T22:01:56.048Z] bde34c3a00c8: Download complete [2023-02-27T22:01:56.048Z] b352a97aabf1: Download complete [2023-02-27T22:01:56.048Z] 4872d77fe225: Download complete [2023-02-27T22:01:56.048Z] 5851b861e8e6: Download complete [2023-02-27T22:01:56.048Z] b85a868b505f: Verifying Checksum [2023-02-27T22:01:56.048Z] b85a868b505f: Download complete [2023-02-27T22:01:56.307Z] bab4dde63d76: Verifying Checksum [2023-02-27T22:01:56.307Z] bab4dde63d76: Download complete [2023-02-27T22:01:57.691Z] b85a868b505f: Pull complete [2023-02-27T22:01:57.691Z] e2be974225ed: Pull complete [2023-02-27T22:01:57.951Z] 339a4e72a1f5: Pull complete [2023-02-27T22:01:57.951Z] 988bab9f4d93: Pull complete [2023-02-27T22:01:58.211Z] 1469e6f7b9e6: Pull complete [2023-02-27T22:01:58.473Z] eaf3925da568: Pull complete [2023-02-27T22:02:00.374Z] bab4dde63d76: Pull complete [2023-02-27T22:02:00.374Z] bde34c3a00c8: Pull complete [2023-02-27T22:02:00.374Z] b352a97aabf1: Pull complete [2023-02-27T22:02:00.374Z] 4872d77fe225: Pull complete [2023-02-27T22:02:00.374Z] 5851b861e8e6: Pull complete [2023-02-27T22:02:00.374Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-27T22:02:00.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T22:02:00.375Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T22:02:00.469Z] prd-ubuntu20.04-docker-8c-8g-7661 does not seem to be running inside a container [2023-02-27T22:02:00.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@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-devops/py-git-semver:0.1.4 cat [2023-02-27T22:02:01.891Z] $ docker top bc60a298b2994aa6e9b88ebb3f117275df340774251477bb077348140a270bbd -eo pid,comm [2023-02-27T22:02:01.946Z] 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-02-27T22:02:01.947Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-27T22:02:01.987Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T22:02:01.987Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T22:02:02.103Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T22:02:02.108Z] $ docker exec bc60a298b2994aa6e9b88ebb3f117275df340774251477bb077348140a270bbd ssh-agent [2023-02-27T22:02:02.215Z] SSH_AUTH_SOCK=/tmp/ssh-kMDYntSGt6kp/agent.32 [2023-02-27T22:02:02.215Z] SSH_AGENT_PID=38 [2023-02-27T22:02:02.221Z] Running ssh-add (command line suppressed) [2023-02-27T22:02:02.335Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_4400516341636412019.key (/w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_4400516341636412019.key) [2023-02-27T22:02:02.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T22:02:02.640Z] + git tag --points-at HEAD [Pipeline] } [2023-02-27T22:02:02.654Z] $ docker exec --env ******** --env ******** bc60a298b2994aa6e9b88ebb3f117275df340774251477bb077348140a270bbd ssh-agent -k [2023-02-27T22:02:02.759Z] unset SSH_AUTH_SOCK; [2023-02-27T22:02:02.761Z] unset SSH_AGENT_PID; [2023-02-27T22:02:02.761Z] echo Agent pid 38 killed; [2023-02-27T22:02:02.772Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-27T22:02:02.798Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T22:02:02.798Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T22:02:02.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T22:02:02.911Z] $ docker exec bc60a298b2994aa6e9b88ebb3f117275df340774251477bb077348140a270bbd ssh-agent [2023-02-27T22:02:03.031Z] SSH_AUTH_SOCK=/tmp/ssh-UfFeri5c0DAL/agent.70 [2023-02-27T22:02:03.031Z] SSH_AGENT_PID=76 [2023-02-27T22:02:03.038Z] Running ssh-add (command line suppressed) [2023-02-27T22:02:03.135Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_17418324384013852340.key (/w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_17418324384013852340.key) [2023-02-27T22:02:03.146Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T22:02:03.433Z] + git semver init [2023-02-27T22:02:03.696Z] 2023-02-27 22:02:03,595 [run_init] DEBUG init version:0.0.0 force:False [2023-02-27T22:02:03.696Z] 2023-02-27 22:02:03,597 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-238/.semver [2023-02-27T22:02:03.696Z] 2023-02-27 22:02:03,597 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-238/.semver [2023-02-27T22:02:03.696Z] 2023-02-27 22:02:03,597 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-238/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-238, universal_newlines=False, shell=None, istream=None) [2023-02-27T22:02:04.636Z] 2023-02-27 22:02:04,546 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-238/.git/info/exclude [2023-02-27T22:02:04.636Z] 2023-02-27 22:02:04,546 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-238/.semver/PR-238 with force:False [2023-02-27T22:02:04.636Z] 2023-02-27 22:02:04,546 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-238/.semver/PR-238 [2023-02-27T22:02:04.636Z] 2023-02-27 22:02:04,550 [execute] INFO git cat-file --batch-check [2023-02-27T22:02:04.636Z] 2023-02-27 22:02:04,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-238/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T22:02:04.636Z] 2023-02-27 22:02:04,558 [execute] INFO git cat-file --batch [2023-02-27T22:02:04.636Z] 2023-02-27 22:02:04,558 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-238/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T22:02:04.636Z] 2023-02-27 22:02:04,563 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-238/.semver/PR-238 [2023-02-27T22:02:04.636Z] 0.0.0 [Pipeline] } [2023-02-27T22:02:04.648Z] $ docker exec --env ******** --env ******** bc60a298b2994aa6e9b88ebb3f117275df340774251477bb077348140a270bbd ssh-agent -k [2023-02-27T22:02:04.747Z] unset SSH_AUTH_SOCK; [2023-02-27T22:02:04.747Z] unset SSH_AGENT_PID; [2023-02-27T22:02:04.747Z] echo Agent pid 76 killed; [2023-02-27T22:02:04.755Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-27T22:02:05.057Z] + git semver [Pipeline] } [2023-02-27T22:02:05.333Z] $ docker stop --time=1 bc60a298b2994aa6e9b88ebb3f117275df340774251477bb077348140a270bbd [2023-02-27T22:02:06.657Z] $ docker rm -f --volumes bc60a298b2994aa6e9b88ebb3f117275df340774251477bb077348140a270bbd [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T22:02:06.999Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-27T22:02:07.217Z] Stashed 1 file(s) [Pipeline] echo [2023-02-27T22:02:07.221Z] [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-02-27T22:02:07.394Z] provisioning config files... [2023-02-27T22:02:07.404Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config9177011043334641470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T22:02:07.707Z] ---> docker-login.sh [2023-02-27T22:02:07.707Z] nexus3.edgexfoundry.org:10001 [2023-02-27T22:02:07.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:02:07.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:02:07.708Z] Configure a credential helper to remove this warning. See [2023-02-27T22:02:07.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:02:07.708Z] [2023-02-27T22:02:07.708Z] Login Succeeded [2023-02-27T22:02:07.708Z] nexus3.edgexfoundry.org:10002 [2023-02-27T22:02:07.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:02:07.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:02:07.708Z] Configure a credential helper to remove this warning. See [2023-02-27T22:02:07.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:02:07.708Z] [2023-02-27T22:02:07.708Z] Login Succeeded [2023-02-27T22:02:07.708Z] nexus3.edgexfoundry.org:10003 [2023-02-27T22:02:07.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:02:07.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:02:07.970Z] Configure a credential helper to remove this warning. See [2023-02-27T22:02:07.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:02:07.970Z] [2023-02-27T22:02:07.970Z] Login Succeeded [2023-02-27T22:02:07.970Z] nexus3.edgexfoundry.org:10004 [2023-02-27T22:02:07.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:02:07.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:02:07.970Z] Configure a credential helper to remove this warning. See [2023-02-27T22:02:07.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:02:07.970Z] [2023-02-27T22:02:07.970Z] Login Succeeded [2023-02-27T22:02:07.970Z] docker.io [2023-02-27T22:02:08.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:02:08.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:02:08.229Z] Configure a credential helper to remove this warning. See [2023-02-27T22:02:08.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:02:08.229Z] [2023-02-27T22:02:08.229Z] Login Succeeded [2023-02-27T22:02:08.229Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T22:02:08.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T22:02:08.304Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T22:02:08.321Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T22:02:08.329Z] ========================================================= [2023-02-27T22:02:08.329Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-27T22:02:08.329Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T22:02:08.645Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-27T22:02:08.645Z] Sending build context to Docker daemon 27.92MB [2023-02-27T22:02:08.645Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T22:02:08.645Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-27T22:02:08.904Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-27T22:02:08.904Z] 213ec9aee27d: Pulling fs layer [2023-02-27T22:02:08.904Z] 4583459ba037: Pulling fs layer [2023-02-27T22:02:08.904Z] 93c1e223e6f2: Pulling fs layer [2023-02-27T22:02:08.904Z] 53926ce57604: Pulling fs layer [2023-02-27T22:02:08.904Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-27T22:02:08.904Z] 22ff95d597cd: Pulling fs layer [2023-02-27T22:02:08.904Z] 12d6caf4c0d1: Pulling fs layer [2023-02-27T22:02:08.904Z] 96b7cbca73a9: Pulling fs layer [2023-02-27T22:02:08.904Z] 53926ce57604: Waiting [2023-02-27T22:02:08.905Z] a7acece74701: Pulling fs layer [2023-02-27T22:02:08.905Z] 21b2b0c7a3f4: Waiting [2023-02-27T22:02:08.905Z] 12d6caf4c0d1: Waiting [2023-02-27T22:02:08.905Z] a7acece74701: Waiting [2023-02-27T22:02:08.905Z] 22ff95d597cd: Waiting [2023-02-27T22:02:08.905Z] 93c1e223e6f2: Verifying Checksum [2023-02-27T22:02:08.905Z] 93c1e223e6f2: Download complete [2023-02-27T22:02:08.905Z] 4583459ba037: Download complete [2023-02-27T22:02:08.905Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-27T22:02:08.905Z] 21b2b0c7a3f4: Download complete [2023-02-27T22:02:08.905Z] 22ff95d597cd: Download complete [2023-02-27T22:02:08.905Z] 213ec9aee27d: Verifying Checksum [2023-02-27T22:02:08.905Z] 213ec9aee27d: Download complete [2023-02-27T22:02:08.905Z] 12d6caf4c0d1: Verifying Checksum [2023-02-27T22:02:08.905Z] 12d6caf4c0d1: Download complete [2023-02-27T22:02:08.905Z] 213ec9aee27d: Pull complete [2023-02-27T22:02:09.167Z] 4583459ba037: Pull complete [2023-02-27T22:02:09.167Z] 93c1e223e6f2: Pull complete [2023-02-27T22:02:09.428Z] a7acece74701: Verifying Checksum [2023-02-27T22:02:09.428Z] a7acece74701: Download complete [2023-02-27T22:02:09.687Z] 96b7cbca73a9: Download complete [2023-02-27T22:02:09.687Z] 53926ce57604: Verifying Checksum [2023-02-27T22:02:09.687Z] 53926ce57604: Download complete [2023-02-27T22:02:13.880Z] 53926ce57604: Pull complete [2023-02-27T22:02:13.880Z] 21b2b0c7a3f4: Pull complete [2023-02-27T22:02:13.880Z] 22ff95d597cd: Pull complete [2023-02-27T22:02:13.880Z] 12d6caf4c0d1: Pull complete [2023-02-27T22:02:15.269Z] 96b7cbca73a9: Pull complete [2023-02-27T22:02:16.205Z] a7acece74701: Pull complete [2023-02-27T22:02:16.205Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-27T22:02:16.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-27T22:02:16.205Z] ---> db6d94c90886 [2023-02-27T22:02:16.205Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-27T22:02:17.588Z] ---> Running in f828c26ada32 [2023-02-27T22:02:17.588Z] Removing intermediate container f828c26ada32 [2023-02-27T22:02:17.588Z] ---> 842f3a0d0a22 [2023-02-27T22:02:17.588Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T22:02:17.588Z] ---> Running in 54bc72551514 [2023-02-27T22:02:17.848Z] Removing intermediate container 54bc72551514 [2023-02-27T22:02:17.848Z] ---> 82124f483942 [2023-02-27T22:02:17.848Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-27T22:02:17.848Z] ---> Running in 04c778a551ad [2023-02-27T22:02:17.848Z] Removing intermediate container 04c778a551ad [2023-02-27T22:02:17.848Z] ---> 1d046dbe1972 [2023-02-27T22:02:17.848Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T22:02:17.848Z] ---> Running in aa0921d78b6c [2023-02-27T22:02:18.110Z] Removing intermediate container aa0921d78b6c [2023-02-27T22:02:18.110Z] ---> c917994bd816 [2023-02-27T22:02:18.110Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-27T22:02:18.110Z] ---> Running in b592f6e9ea7d [2023-02-27T22:02:18.110Z] Removing intermediate container b592f6e9ea7d [2023-02-27T22:02:18.110Z] ---> 6afd560a35da [2023-02-27T22:02:18.110Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T22:02:18.110Z] ---> Running in edae1bcff9df [2023-02-27T22:02:18.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T22:02:18.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T22:02:18.890Z] OK: 211 MiB in 51 packages [2023-02-27T22:02:19.149Z] Removing intermediate container edae1bcff9df [2023-02-27T22:02:19.149Z] ---> d2e4654b3ffe [2023-02-27T22:02:19.149Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-27T22:02:19.149Z] ---> Running in 164813c9a19e [2023-02-27T22:02:19.410Z] Removing intermediate container 164813c9a19e [2023-02-27T22:02:19.410Z] ---> dbf76c9df177 [2023-02-27T22:02:19.410Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-27T22:02:19.410Z] ---> c6ce129c2ffd [2023-02-27T22:02:19.410Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T22:02:19.410Z] ---> Running in 908d7602800d [2023-02-27T22:02:22.343Z] Still waiting to schedule task [2023-02-27T22:02:22.344Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-27T22:02:51.534Z] Removing intermediate container 908d7602800d [2023-02-27T22:02:51.534Z] ---> 07cd1dc3b4ba [2023-02-27T22:02:51.534Z] Step 12/13 : COPY . . [2023-02-27T22:02:51.534Z] ---> 836889728d8f [2023-02-27T22:02:51.534Z] Step 13/13 : RUN ${MAKE} [2023-02-27T22:02:51.534Z] ---> Running in 14fbc935a0de [2023-02-27T22:02:51.534Z] noop [2023-02-27T22:02:51.534Z] Removing intermediate container 14fbc935a0de [2023-02-27T22:02:51.534Z] ---> cdc767ea130f [2023-02-27T22:02:51.534Z] Successfully built cdc767ea130f [2023-02-27T22:02:51.534Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T22:02:51.852Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T22:02:51.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T22:02:51.920Z] prd-ubuntu20.04-docker-8c-8g-7661 does not seem to be running inside a container [2023-02-27T22:02:51.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-27T22:02:52.290Z] $ docker top eb417e84a1741aa154d0f4cbc02670d6fa5af94200291914f769192340f8bbe9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T22:02:52.621Z] + go version [2023-02-27T22:02:52.621Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-27T22:02:52.633Z] $ docker stop --time=1 eb417e84a1741aa154d0f4cbc02670d6fa5af94200291914f769192340f8bbe9 [2023-02-27T22:02:53.904Z] $ docker rm -f --volumes eb417e84a1741aa154d0f4cbc02670d6fa5af94200291914f769192340f8bbe9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T22:02:54.305Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T22:02:54.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T22:02:54.380Z] prd-ubuntu20.04-docker-8c-8g-7661 does not seem to be running inside a container [2023-02-27T22:02:54.413Z] $ 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-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-27T22:02:54.746Z] $ docker top b96f826bca395e0efbe7bc946a3e393489951a83fb887fab9825610c2da0497b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T22:02:55.088Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-238 [Pipeline] fileExists [Pipeline] sh [2023-02-27T22:02:55.384Z] + make test [2023-02-27T22:02:55.384Z] go test ./... -coverprofile=coverage.out ./... [2023-02-27T22:02:55.642Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-27T22:03:05.608Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-27T22:03:08.893Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 29.3% of statements [2023-02-27T22:03:08.893Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-27T22:03:08.893Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.481s coverage: 86.5% of statements [2023-02-27T22:03:17.015Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-27T22:03:17.015Z] go vet ./... [2023-02-27T22:03:20.299Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T22:03:20.299Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T22:03:20.299Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-27T22:03:20.312Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T22:03:20.325Z] $ docker stop --time=1 b96f826bca395e0efbe7bc946a3e393489951a83fb887fab9825610c2da0497b [2023-02-27T22:03:22.421Z] $ docker rm -f --volumes b96f826bca395e0efbe7bc946a3e393489951a83fb887fab9825610c2da0497b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T22:03:22.857Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T22:03:22.929Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-27T22:03:23.339Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T22:03:23.624Z] + ls -al . [2023-02-27T22:03:23.624Z] total 236 [2023-02-27T22:03:23.624Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 22:02 . [2023-02-27T22:03:23.624Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 22:01 .. [2023-02-27T22:03:23.624Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 22:03 .git [2023-02-27T22:03:23.624Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 22:01 .github [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 27 22:01 .gitignore [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 27 22:01 .golangci.yml [2023-02-27T22:03:23.624Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 22:02 .semver [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 27 22:01 Attribution.txt [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 27 22:01 CHANGELOG.md [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 27 22:01 Dockerfile [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 22:01 GOVERNANCE.md [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 27 22:01 Jenkinsfile [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 27 22:01 LICENSE [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 27 22:01 Makefile [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 27 22:01 OWNERS.md [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 27 22:01 README.md [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 22:02 VERSION [2023-02-27T22:03:23.624Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 22:01 bin [2023-02-27T22:03:23.624Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 22:01 cmd [2023-02-27T22:03:23.624Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 27 22:03 coverage.out [2023-02-27T22:03:23.624Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 27 22:01 doc [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 3601 Feb 27 22:01 go.mod [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 34676 Feb 27 22:01 go.sum [2023-02-27T22:03:23.624Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 22:01 internal [2023-02-27T22:03:23.624Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 22:01 snap [2023-02-27T22:03:23.624Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 27 22:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T22:03:23.927Z] + 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=3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f --label arch=amd64 --label version=0.0.0 . [2023-02-27T22:03:23.927Z] Sending build context to Docker daemon 28MB [2023-02-27T22:03:23.927Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T22:03:23.927Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-27T22:03:23.927Z] ---> cdc767ea130f [2023-02-27T22:03:23.927Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-27T22:03:24.204Z] ---> Running in c6b3db0e64bf [2023-02-27T22:03:24.204Z] Removing intermediate container c6b3db0e64bf [2023-02-27T22:03:24.204Z] ---> a79b96aee8e8 [2023-02-27T22:03:24.204Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T22:03:24.464Z] ---> Running in b2f7ef2f5da0 [2023-02-27T22:03:24.464Z] Removing intermediate container b2f7ef2f5da0 [2023-02-27T22:03:24.464Z] ---> bc51a0a5fc6f [2023-02-27T22:03:24.464Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-27T22:03:24.464Z] ---> Running in d57a5d6ca463 [2023-02-27T22:03:24.464Z] Removing intermediate container d57a5d6ca463 [2023-02-27T22:03:24.464Z] ---> 9a30e3bd4256 [2023-02-27T22:03:24.464Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T22:03:24.464Z] ---> Running in 3b1aaa71cfc4 [2023-02-27T22:03:24.464Z] Removing intermediate container 3b1aaa71cfc4 [2023-02-27T22:03:24.464Z] ---> c945bdb5b58e [2023-02-27T22:03:24.464Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-27T22:03:24.723Z] ---> Running in 745a21aa1aaf [2023-02-27T22:03:24.723Z] Removing intermediate container 745a21aa1aaf [2023-02-27T22:03:24.723Z] ---> 71ce43e7b5be [2023-02-27T22:03:24.723Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T22:03:24.723Z] ---> Running in 58db593ce00a [2023-02-27T22:03:24.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T22:03:25.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T22:03:25.504Z] OK: 211 MiB in 51 packages [2023-02-27T22:03:25.765Z] Removing intermediate container 58db593ce00a [2023-02-27T22:03:25.765Z] ---> 34b62c26f63d [2023-02-27T22:03:25.765Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-27T22:03:25.765Z] ---> Running in dc4694338678 [2023-02-27T22:03:25.765Z] Removing intermediate container dc4694338678 [2023-02-27T22:03:25.765Z] ---> 107620a24363 [2023-02-27T22:03:25.765Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-27T22:03:26.024Z] ---> 1b32b9aad45d [2023-02-27T22:03:26.024Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T22:03:26.024Z] ---> Running in f6b293811b1b [2023-02-27T22:03:26.962Z] Removing intermediate container f6b293811b1b [2023-02-27T22:03:26.962Z] ---> 9033dcade011 [2023-02-27T22:03:26.962Z] Step 12/26 : COPY . . [2023-02-27T22:03:27.899Z] ---> fffb9f83a622 [2023-02-27T22:03:27.899Z] Step 13/26 : RUN ${MAKE} [2023-02-27T22:03:27.899Z] ---> Running in 6113295d82b7 [2023-02-27T22:03:28.157Z] 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-02-27T22:03:50.091Z] Removing intermediate container 6113295d82b7 [2023-02-27T22:03:50.091Z] ---> bde9cc7f5901 [2023-02-27T22:03:50.091Z] Step 14/26 : FROM alpine:3.16 [2023-02-27T22:03:50.091Z] 3.16: Pulling from library/alpine [2023-02-27T22:03:50.091Z] ef5531b6e74e: Pulling fs layer [2023-02-27T22:03:50.091Z] ef5531b6e74e: Verifying Checksum [2023-02-27T22:03:50.091Z] ef5531b6e74e: Download complete [2023-02-27T22:03:50.091Z] ef5531b6e74e: Pull complete [2023-02-27T22:03:50.091Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-27T22:03:50.091Z] Status: Downloaded newer image for alpine:3.16 [2023-02-27T22:03:50.091Z] ---> dfd21b5a31f5 [2023-02-27T22:03:50.091Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-27T22:03:50.091Z] ---> Running in 0536e5f65a33 [2023-02-27T22:03:50.091Z] Removing intermediate container 0536e5f65a33 [2023-02-27T22:03:50.091Z] ---> 3b2a613cf145 [2023-02-27T22:03:50.091Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-27T22:03:50.091Z] ---> Running in 4d446ccbfa1e [2023-02-27T22:03:50.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T22:03:50.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T22:03:50.091Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T22:03:50.091Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T22:03:50.091Z] OK: 6 MiB in 15 packages [2023-02-27T22:03:50.349Z] Removing intermediate container 4d446ccbfa1e [2023-02-27T22:03:50.349Z] ---> 99ce18dae36e [2023-02-27T22:03:50.349Z] Step 17/26 : WORKDIR / [2023-02-27T22:03:50.349Z] ---> Running in da598ef10396 [2023-02-27T22:03:50.608Z] Removing intermediate container da598ef10396 [2023-02-27T22:03:50.608Z] ---> 653aa5cfd2df [2023-02-27T22:03:50.608Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-27T22:03:51.241Z] ---> c878d5ffc5fa [2023-02-27T22:03:51.241Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-27T22:03:51.241Z] ---> 0c28a60aee16 [2023-02-27T22:03:51.241Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-27T22:03:51.498Z] ---> 46c483a33930 [2023-02-27T22:03:51.498Z] Step 21/26 : EXPOSE 59984 [2023-02-27T22:03:51.498Z] ---> Running in 4c94c7ffa854 [2023-02-27T22:03:51.498Z] Removing intermediate container 4c94c7ffa854 [2023-02-27T22:03:51.498Z] ---> 283624f9a4a8 [2023-02-27T22:03:51.498Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-27T22:03:51.498Z] ---> Running in de62ce10ac33 [2023-02-27T22:03:51.498Z] Removing intermediate container de62ce10ac33 [2023-02-27T22:03:51.498Z] ---> 7f99043bc5b2 [2023-02-27T22:03:51.498Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-27T22:03:51.498Z] ---> Running in aeff01b15d66 [2023-02-27T22:03:51.756Z] Removing intermediate container aeff01b15d66 [2023-02-27T22:03:51.756Z] ---> 8ef9010ef805 [2023-02-27T22:03:51.756Z] Step 24/26 : LABEL arch=amd64 [2023-02-27T22:03:51.756Z] ---> Running in 072407393c1b [2023-02-27T22:03:51.756Z] Removing intermediate container 072407393c1b [2023-02-27T22:03:51.756Z] ---> 2460bcb7d47b [2023-02-27T22:03:51.756Z] Step 25/26 : LABEL git_sha=3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f [2023-02-27T22:03:51.756Z] ---> Running in f157ec5d0e11 [2023-02-27T22:03:51.756Z] Removing intermediate container f157ec5d0e11 [2023-02-27T22:03:51.756Z] ---> 4731a200f118 [2023-02-27T22:03:51.756Z] Step 26/26 : LABEL version=0.0.0 [2023-02-27T22:03:51.756Z] ---> Running in b812b055c439 [2023-02-27T22:03:52.015Z] Removing intermediate container b812b055c439 [2023-02-27T22:03:52.015Z] ---> 1ee26f13b566 [2023-02-27T22:03:52.015Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T22:03:52.015Z] Successfully built 1ee26f13b566 [2023-02-27T22:03:52.015Z] 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-02-27T22:03:52.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T22:03:52.432Z] [2023-02-27T22:03:52.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T22:03:52.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T22:03:52.732Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-27T22:03:52.732Z] 5eb5b503b376: Pulling fs layer [2023-02-27T22:03:52.732Z] 5c69ac0246d0: Pulling fs layer [2023-02-27T22:03:52.732Z] ec43610c2a17: Pulling fs layer [2023-02-27T22:03:52.732Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-27T22:03:52.732Z] 33b1e0a273af: Pulling fs layer [2023-02-27T22:03:52.732Z] 5d3b04190fa2: Pulling fs layer [2023-02-27T22:03:52.732Z] 2f39f015ded8: Pulling fs layer [2023-02-27T22:03:52.732Z] 3a2ae6a8a46f: Waiting [2023-02-27T22:03:52.732Z] 33b1e0a273af: Waiting [2023-02-27T22:03:52.732Z] 5d3b04190fa2: Waiting [2023-02-27T22:03:52.732Z] 2f39f015ded8: Waiting [2023-02-27T22:03:52.732Z] 5c69ac0246d0: Verifying Checksum [2023-02-27T22:03:52.732Z] 5c69ac0246d0: Download complete [2023-02-27T22:03:52.732Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-27T22:03:52.732Z] 3a2ae6a8a46f: Download complete [2023-02-27T22:03:52.990Z] 33b1e0a273af: Verifying Checksum [2023-02-27T22:03:52.990Z] 33b1e0a273af: Download complete [2023-02-27T22:03:52.990Z] 5d3b04190fa2: Verifying Checksum [2023-02-27T22:03:52.990Z] 5d3b04190fa2: Download complete [2023-02-27T22:03:52.990Z] ec43610c2a17: Verifying Checksum [2023-02-27T22:03:52.990Z] ec43610c2a17: Download complete [2023-02-27T22:03:52.990Z] 5eb5b503b376: Verifying Checksum [2023-02-27T22:03:52.990Z] 5eb5b503b376: Download complete [2023-02-27T22:03:53.557Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7662 in /w/workspace/undry_device-onvif-camera_PR-238 [2023-02-27T22:03:53.557Z] 2f39f015ded8: Download complete [Pipeline] { [Pipeline] ws [2023-02-27T22:03:53.569Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2023-02-27T22:03:53.610Z] The recommended git tool is: git [2023-02-27T22:03:54.121Z] 5eb5b503b376: Pull complete [2023-02-27T22:03:54.379Z] 5c69ac0246d0: Pull complete [2023-02-27T22:03:54.637Z] ec43610c2a17: Pull complete [2023-02-27T22:03:54.895Z] 3a2ae6a8a46f: Pull complete [2023-02-27T22:03:54.895Z] 33b1e0a273af: Pull complete [2023-02-27T22:03:54.895Z] 5d3b04190fa2: Pull complete [2023-02-27T22:03:59.059Z] using credential edgex-jenkins-ssh [2023-02-27T22:03:59.079Z] Cloning the remote Git repository [2023-02-27T22:03:59.123Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-27T22:03:59.202Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2023-02-27T22:03:59.361Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-27T22:03:59.362Z] > git --version # timeout=10 [2023-02-27T22:03:59.382Z] > git --version # 'git version 2.25.1' [2023-02-27T22:03:59.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T22:03:59.437Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T22:04:00.196Z] 2f39f015ded8: Pull complete [2023-02-27T22:04:00.196Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-27T22:04:00.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T22:04:00.196Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T22:04:00.286Z] prd-ubuntu20.04-docker-8c-8g-7661 does not seem to be running inside a container [2023-02-27T22:04:00.322Z] $ 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-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-27T22:04:00.862Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-27T22:04:00.899Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T22:04:01.908Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-27T22:04:01.951Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-27T22:04:01.952Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T22:04:01.970Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-27T22:04:02.664Z] $ docker top b4a3665cb2c66188540f30b22d637e636fef07703d29f7a7e755e2727306d9d9 -eo pid,comm [2023-02-27T22:04:02.667Z] Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T22:04:03.032Z] ---> job-cost.sh [2023-02-27T22:04:03.032Z] lf-activate-venv: SKIPPING [2023-02-27T22:04:03.032Z] INFO: No Stack... [2023-02-27T22:04:03.127Z] Merge succeeded, producing 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f [2023-02-27T22:04:03.128Z] Checking out Revision 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f (PR-238) [2023-02-27T22:04:03.290Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T22:04:03.549Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T22:04:02.681Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T22:04:02.725Z] > git checkout -f 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f # timeout=10 [2023-02-27T22:04:03.021Z] > git remote # timeout=10 [2023-02-27T22:04:03.038Z] > git config --get remote.origin.url # timeout=10 [2023-02-27T22:04:03.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T22:04:03.069Z] > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 [2023-02-27T22:04:03.099Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-27T22:04:03.130Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T22:04:03.150Z] > git checkout -f 3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f # timeout=10 [2023-02-27T22:04:03.836Z] + cat /w/workspace/undry_device-onvif-camera_PR-238/archives/cost.csv [2023-02-27T22:04:03.836Z] + cut -d, -f6 [Pipeline] lock [2023-02-27T22:04:03.853Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-238-6-stack-cost] [2023-02-27T22:04:03.859Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-6-stack-cost] did not exist. Created. [2023-02-27T22:04:03.859Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-238-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T22:04:04.154Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-27T22:04:04.176Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T22:04:04.182Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T22:04:04.198Z] $ docker stop --time=1 b4a3665cb2c66188540f30b22d637e636fef07703d29f7a7e755e2727306d9d9 [2023-02-27T22:04:05.428Z] $ docker rm -f --volumes b4a3665cb2c66188540f30b22d637e636fef07703d29f7a7e755e2727306d9d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-27T22:04:06.986Z] Commit message: "refactor!: updated secret path to secret name" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T22:04:07.914Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-27T22:04:07.914Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T22:04:07.914Z] Dload Upload Total Spent Left Speed [2023-02-27T22:04:07.914Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-02-27T22:04:08.606Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-27T22:04:08.935Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-27T22:04:08.935Z] + sudo tee /etc/docker/daemon.new [2023-02-27T22:04:08.935Z] { [2023-02-27T22:04:08.935Z] "registry-mirrors": [ [2023-02-27T22:04:08.935Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-27T22:04:08.935Z] ], [2023-02-27T22:04:08.935Z] "bip": "10.250.0.254/24", [2023-02-27T22:04:08.935Z] "hosts": [ [2023-02-27T22:04:08.935Z] "tcp://0.0.0.0:5555", [2023-02-27T22:04:08.935Z] "unix:///var/run/docker.sock" [2023-02-27T22:04:08.935Z] ], [2023-02-27T22:04:08.935Z] "mtu": 1458, [2023-02-27T22:04:08.935Z] "selinux-enabled": true, [2023-02-27T22:04:08.935Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-27T22:04:08.935Z] } [Pipeline] sh [2023-02-27T22:04:09.262Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-27T22:04:09.591Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T22:04:27.867Z] provisioning config files... [2023-02-27T22:04:27.890Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config16897444259989315225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T22:04:28.235Z] ---> docker-login.sh [2023-02-27T22:04:28.235Z] nexus3.edgexfoundry.org:10001 [2023-02-27T22:04:28.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:04:28.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:04:28.775Z] Configure a credential helper to remove this warning. See [2023-02-27T22:04:28.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:04:28.775Z] [2023-02-27T22:04:28.775Z] Login Succeeded [2023-02-27T22:04:28.775Z] nexus3.edgexfoundry.org:10002 [2023-02-27T22:04:29.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:04:29.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:04:29.316Z] Configure a credential helper to remove this warning. See [2023-02-27T22:04:29.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:04:29.316Z] [2023-02-27T22:04:29.316Z] Login Succeeded [2023-02-27T22:04:29.316Z] nexus3.edgexfoundry.org:10003 [2023-02-27T22:04:29.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:04:29.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:04:29.587Z] Configure a credential helper to remove this warning. See [2023-02-27T22:04:29.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:04:29.587Z] [2023-02-27T22:04:29.587Z] Login Succeeded [2023-02-27T22:04:29.587Z] nexus3.edgexfoundry.org:10004 [2023-02-27T22:04:29.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:04:29.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:04:29.858Z] Configure a credential helper to remove this warning. See [2023-02-27T22:04:29.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:04:29.858Z] [2023-02-27T22:04:29.858Z] Login Succeeded [2023-02-27T22:04:29.858Z] docker.io [2023-02-27T22:04:30.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T22:04:30.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T22:04:30.393Z] Configure a credential helper to remove this warning. See [2023-02-27T22:04:30.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T22:04:30.393Z] [2023-02-27T22:04:30.393Z] Login Succeeded [2023-02-27T22:04:30.393Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T22:04:30.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T22:04:30.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T22:04:30.668Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T22:04:30.680Z] ========================================================= [2023-02-27T22:04:30.680Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-27T22:04:30.680Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T22:04:31.027Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-27T22:04:31.610Z] Sending build context to Docker daemon 20.73MB [2023-02-27T22:04:31.610Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T22:04:31.610Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-27T22:04:31.881Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-27T22:04:31.881Z] 9b18e9b68314: Pulling fs layer [2023-02-27T22:04:31.881Z] 35d82f9e3411: Pulling fs layer [2023-02-27T22:04:31.881Z] e16973657156: Pulling fs layer [2023-02-27T22:04:31.881Z] fc693d55d65f: Pulling fs layer [2023-02-27T22:04:31.881Z] 7e9fc2657dce: Pulling fs layer [2023-02-27T22:04:31.881Z] dda99020689f: Pulling fs layer [2023-02-27T22:04:31.881Z] 7e9fc2657dce: Waiting [2023-02-27T22:04:31.881Z] db1c61fa0a46: Pulling fs layer [2023-02-27T22:04:31.881Z] 891c053d2c06: Pulling fs layer [2023-02-27T22:04:31.881Z] dda99020689f: Waiting [2023-02-27T22:04:31.881Z] db1c61fa0a46: Waiting [2023-02-27T22:04:31.881Z] fc693d55d65f: Waiting [2023-02-27T22:04:31.881Z] 891c053d2c06: Waiting [2023-02-27T22:04:31.881Z] e16973657156: Verifying Checksum [2023-02-27T22:04:31.881Z] e16973657156: Download complete [2023-02-27T22:04:31.881Z] 35d82f9e3411: Verifying Checksum [2023-02-27T22:04:31.881Z] 35d82f9e3411: Download complete [2023-02-27T22:04:31.881Z] 7e9fc2657dce: Verifying Checksum [2023-02-27T22:04:31.881Z] 7e9fc2657dce: Download complete [2023-02-27T22:04:31.881Z] dda99020689f: Download complete [2023-02-27T22:04:31.881Z] 9b18e9b68314: Verifying Checksum [2023-02-27T22:04:31.881Z] 9b18e9b68314: Download complete [2023-02-27T22:04:32.864Z] 9b18e9b68314: Pull complete [2023-02-27T22:04:33.139Z] 891c053d2c06: Verifying Checksum [2023-02-27T22:04:33.139Z] 891c053d2c06: Download complete [2023-02-27T22:04:33.411Z] 35d82f9e3411: Pull complete [2023-02-27T22:04:33.682Z] e16973657156: Pull complete [2023-02-27T22:04:34.269Z] db1c61fa0a46: Verifying Checksum [2023-02-27T22:04:34.269Z] db1c61fa0a46: Download complete [2023-02-27T22:04:34.861Z] fc693d55d65f: Download complete [2023-02-27T22:04:47.189Z] fc693d55d65f: Pull complete [2023-02-27T22:04:47.189Z] 7e9fc2657dce: Pull complete [2023-02-27T22:04:47.189Z] dda99020689f: Pull complete [2023-02-27T22:04:52.544Z] db1c61fa0a46: Pull complete [2023-02-27T22:04:54.493Z] 891c053d2c06: Pull complete [2023-02-27T22:04:54.493Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-27T22:04:54.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-27T22:04:54.493Z] ---> f96f9c87975a [2023-02-27T22:04:54.493Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-27T22:04:56.445Z] ---> Running in 00e294a02689 [2023-02-27T22:04:56.445Z] Removing intermediate container 00e294a02689 [2023-02-27T22:04:56.445Z] ---> 4a9ac6c1582a [2023-02-27T22:04:56.445Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T22:04:56.445Z] ---> Running in 547027d4987f [2023-02-27T22:04:56.713Z] Removing intermediate container 547027d4987f [2023-02-27T22:04:56.713Z] ---> 54d6478f95e4 [2023-02-27T22:04:56.713Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-27T22:04:56.981Z] ---> Running in 0bca71ccb3b2 [2023-02-27T22:04:57.250Z] Removing intermediate container 0bca71ccb3b2 [2023-02-27T22:04:57.250Z] ---> fa79437a4227 [2023-02-27T22:04:57.250Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T22:04:57.250Z] ---> Running in 2be0d17359a8 [2023-02-27T22:04:57.518Z] Removing intermediate container 2be0d17359a8 [2023-02-27T22:04:57.518Z] ---> f7ee88e45441 [2023-02-27T22:04:57.518Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-27T22:04:57.518Z] ---> Running in d9d607345a30 [2023-02-27T22:04:58.103Z] Removing intermediate container d9d607345a30 [2023-02-27T22:04:58.103Z] ---> db1bdbca647e [2023-02-27T22:04:58.103Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T22:04:58.103Z] ---> Running in 128ccb3f4e9d [2023-02-27T22:04:59.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T22:04:59.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T22:05:00.299Z] OK: 221 MiB in 51 packages [2023-02-27T22:05:01.269Z] Removing intermediate container 128ccb3f4e9d [2023-02-27T22:05:01.269Z] ---> e4b8951917a6 [2023-02-27T22:05:01.269Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-27T22:05:01.269Z] ---> Running in 82db47754f6c [2023-02-27T22:05:01.538Z] Removing intermediate container 82db47754f6c [2023-02-27T22:05:01.538Z] ---> 9a9ae42ecd98 [2023-02-27T22:05:01.538Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-27T22:05:02.956Z] ---> 3734096af638 [2023-02-27T22:05:02.956Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T22:05:02.956Z] ---> Running in 214600b8031b [2023-02-27T22:06:10.863Z] Removing intermediate container 214600b8031b [2023-02-27T22:06:10.863Z] ---> f3a161f137e9 [2023-02-27T22:06:10.863Z] Step 12/13 : COPY . . [2023-02-27T22:06:10.863Z] ---> 3c4721c5d000 [2023-02-27T22:06:10.863Z] Step 13/13 : RUN ${MAKE} [2023-02-27T22:06:10.863Z] ---> Running in bbc0b89bd3e3 [2023-02-27T22:06:11.135Z] noop [2023-02-27T22:06:11.723Z] Removing intermediate container bbc0b89bd3e3 [2023-02-27T22:06:11.723Z] ---> 35f37f9ce7fa [2023-02-27T22:06:11.992Z] Successfully built 35f37f9ce7fa [2023-02-27T22:06:11.992Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T22:06:12.333Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T22:06:12.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T22:06:12.525Z] prd-ubuntu20.04-docker-arm64-4c-16g-7662 does not seem to be running inside a container [2023-02-27T22:06:12.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-27T22:06:13.832Z] $ docker top b5990ea6cf2e2de84a24b1c2b5990d8d009eef9f4ef8c106c5fa48cc16effa6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T22:06:14.660Z] + go version [2023-02-27T22:06:14.660Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-27T22:06:14.686Z] $ docker stop --time=1 b5990ea6cf2e2de84a24b1c2b5990d8d009eef9f4ef8c106c5fa48cc16effa6e [2023-02-27T22:06:16.305Z] $ docker rm -f --volumes b5990ea6cf2e2de84a24b1c2b5990d8d009eef9f4ef8c106c5fa48cc16effa6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T22:06:16.817Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T22:06:16.817Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T22:06:16.997Z] prd-ubuntu20.04-docker-arm64-4c-16g-7662 does not seem to be running inside a container [2023-02-27T22:06:17.067Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-27T22:06:19.750Z] $ docker top a5d5dc5781f6edecb6bd2c1cabe87bae995443af278ba71279bffb6e8af56b40 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T22:06:20.246Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh [2023-02-27T22:06:20.584Z] + make test [2023-02-27T22:06:20.584Z] go test ./... -coverprofile=coverage.out ./... [2023-02-27T22:06:22.533Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-27T22:07:59.193Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-27T22:07:59.193Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.181s coverage: 29.3% of statements [2023-02-27T22:07:59.193Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-27T22:08:14.203Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.658s coverage: 86.5% of statements [2023-02-27T22:08:14.203Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-27T22:08:14.203Z] go vet ./... [2023-02-27T22:08:46.455Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T22:08:46.455Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T22:08:46.455Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-27T22:08:46.476Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T22:08:46.498Z] $ docker stop --time=1 a5d5dc5781f6edecb6bd2c1cabe87bae995443af278ba71279bffb6e8af56b40 [2023-02-27T22:08:48.534Z] $ docker rm -f --volumes a5d5dc5781f6edecb6bd2c1cabe87bae995443af278ba71279bffb6e8af56b40 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T22:08:49.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T22:08:49.441Z] Warning: overwriting stash ‘coverage-report’ [2023-02-27T22:08:50.014Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T22:08:50.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T22:08:50.708Z] + ls -al . [2023-02-27T22:08:50.708Z] total 232 [2023-02-27T22:08:50.708Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 22:06 . [2023-02-27T22:08:50.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 22:03 .. [2023-02-27T22:08:50.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 22:04 .git [2023-02-27T22:08:50.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 22:04 .github [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 27 22:04 .gitignore [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 27 22:04 .golangci.yml [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 27 22:04 Attribution.txt [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 27 22:04 CHANGELOG.md [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 27 22:04 Dockerfile [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 22:04 GOVERNANCE.md [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 27 22:04 Jenkinsfile [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 27 22:04 LICENSE [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 27 22:04 Makefile [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 27 22:04 OWNERS.md [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 27 22:04 README.md [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 22:02 VERSION [2023-02-27T22:08:50.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 22:04 bin [2023-02-27T22:08:50.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 22:04 cmd [2023-02-27T22:08:50.708Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 27 22:08 coverage.out [2023-02-27T22:08:50.708Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 27 22:04 doc [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 3601 Feb 27 22:04 go.mod [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 34676 Feb 27 22:04 go.sum [2023-02-27T22:08:50.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 22:04 internal [2023-02-27T22:08:50.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 22:04 snap [2023-02-27T22:08:50.708Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 27 22:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T22:08:51.072Z] + 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=3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f --label arch=arm64 --label version=0.0.0 . [2023-02-27T22:08:52.035Z] Sending build context to Docker daemon 20.81MB [2023-02-27T22:08:52.035Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T22:08:52.035Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-27T22:08:52.035Z] ---> 35f37f9ce7fa [2023-02-27T22:08:52.035Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-27T22:08:52.621Z] ---> Running in e8d96691daf2 [2023-02-27T22:08:54.051Z] Removing intermediate container e8d96691daf2 [2023-02-27T22:08:54.051Z] ---> 7fb1a8d0656b [2023-02-27T22:08:54.051Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T22:08:54.051Z] ---> Running in d4ad505400fe [2023-02-27T22:08:54.641Z] Removing intermediate container d4ad505400fe [2023-02-27T22:08:54.641Z] ---> 7063536e423a [2023-02-27T22:08:54.641Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-27T22:08:54.641Z] ---> Running in 76d74f35f64f [2023-02-27T22:08:54.908Z] Removing intermediate container 76d74f35f64f [2023-02-27T22:08:54.908Z] ---> e299d1d8bd1d [2023-02-27T22:08:54.908Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T22:08:54.908Z] ---> Running in ab3b49d02a48 [2023-02-27T22:08:55.180Z] Removing intermediate container ab3b49d02a48 [2023-02-27T22:08:55.180Z] ---> c1e65fd13f96 [2023-02-27T22:08:55.180Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-27T22:08:55.448Z] ---> Running in 60f43f29f130 [2023-02-27T22:08:55.716Z] Removing intermediate container 60f43f29f130 [2023-02-27T22:08:55.716Z] ---> c6c07c4ff82a [2023-02-27T22:08:55.716Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T22:08:55.716Z] ---> Running in 30175a4bdbef [2023-02-27T22:08:56.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T22:08:57.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T22:08:58.237Z] OK: 221 MiB in 51 packages [2023-02-27T22:08:59.360Z] Removing intermediate container 30175a4bdbef [2023-02-27T22:08:59.360Z] ---> 5bd3ab45b25d [2023-02-27T22:08:59.360Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-27T22:08:59.360Z] ---> Running in ca8116c33a36 [2023-02-27T22:08:59.958Z] Removing intermediate container ca8116c33a36 [2023-02-27T22:08:59.958Z] ---> 21545e6669f3 [2023-02-27T22:08:59.958Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-27T22:09:00.577Z] ---> bf633bd8f4f5 [2023-02-27T22:09:00.577Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T22:09:00.577Z] ---> Running in 8fdfb0179fe5 [2023-02-27T22:09:03.964Z] Removing intermediate container 8fdfb0179fe5 [2023-02-27T22:09:03.964Z] ---> f2058367afb0 [2023-02-27T22:09:03.964Z] Step 12/26 : COPY . . [2023-02-27T22:09:05.927Z] ---> 27ab74dada21 [2023-02-27T22:09:05.927Z] Step 13/26 : RUN ${MAKE} [2023-02-27T22:09:05.927Z] ---> Running in 168887fc1d6f [2023-02-27T22:09:06.899Z] 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-02-27T22:11:29.295Z] Removing intermediate container 168887fc1d6f [2023-02-27T22:11:29.295Z] ---> 479b8ac51a82 [2023-02-27T22:11:29.295Z] Step 14/26 : FROM alpine:3.16 [2023-02-27T22:11:29.295Z] 3.16: Pulling from library/alpine [2023-02-27T22:11:29.295Z] 3760b48202b3: Pulling fs layer [2023-02-27T22:11:29.295Z] 3760b48202b3: Verifying Checksum [2023-02-27T22:11:29.295Z] 3760b48202b3: Download complete [2023-02-27T22:11:29.295Z] 3760b48202b3: Pull complete [2023-02-27T22:11:29.295Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-27T22:11:29.295Z] Status: Downloaded newer image for alpine:3.16 [2023-02-27T22:11:29.295Z] ---> 4c81e5bf8899 [2023-02-27T22:11:29.295Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-27T22:11:29.295Z] ---> Running in 97fb30b4a2c0 [2023-02-27T22:11:29.295Z] Removing intermediate container 97fb30b4a2c0 [2023-02-27T22:11:29.295Z] ---> 023d0e1d04bb [2023-02-27T22:11:29.295Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-27T22:11:29.295Z] ---> Running in 7e706811cd49 [2023-02-27T22:11:29.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T22:11:29.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T22:11:29.295Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T22:11:29.295Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T22:11:29.295Z] OK: 5 MiB in 15 packages [2023-02-27T22:11:29.295Z] Removing intermediate container 7e706811cd49 [2023-02-27T22:11:29.295Z] ---> 9fd51fb27601 [2023-02-27T22:11:29.295Z] Step 17/26 : WORKDIR / [2023-02-27T22:11:29.295Z] ---> Running in eb63fc62a374 [2023-02-27T22:11:29.295Z] Removing intermediate container eb63fc62a374 [2023-02-27T22:11:29.295Z] ---> fb63e2513a3c [2023-02-27T22:11:29.295Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-27T22:11:29.295Z] ---> 55d74ab217a1 [2023-02-27T22:11:29.295Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-27T22:11:29.295Z] ---> 6c77c5d11180 [2023-02-27T22:11:29.295Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-27T22:11:29.295Z] ---> 60553f1e4370 [2023-02-27T22:11:29.295Z] Step 21/26 : EXPOSE 59984 [2023-02-27T22:11:29.295Z] ---> Running in 411510c5f3f0 [2023-02-27T22:11:29.295Z] Removing intermediate container 411510c5f3f0 [2023-02-27T22:11:29.295Z] ---> 3d8bc2ae4eb4 [2023-02-27T22:11:29.295Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-27T22:11:29.295Z] ---> Running in 94cbbcd09c69 [2023-02-27T22:11:29.295Z] Removing intermediate container 94cbbcd09c69 [2023-02-27T22:11:29.295Z] ---> bc2810b6ec83 [2023-02-27T22:11:29.295Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-27T22:11:29.295Z] ---> Running in 54e3e42de67f [2023-02-27T22:11:29.295Z] Removing intermediate container 54e3e42de67f [2023-02-27T22:11:29.295Z] ---> 170eaa596e4c [2023-02-27T22:11:29.295Z] Step 24/26 : LABEL arch=arm64 [2023-02-27T22:11:29.295Z] ---> Running in ce14c17c4786 [2023-02-27T22:11:29.295Z] Removing intermediate container ce14c17c4786 [2023-02-27T22:11:29.295Z] ---> f03f7583a322 [2023-02-27T22:11:29.295Z] Step 25/26 : LABEL git_sha=3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f [2023-02-27T22:11:29.295Z] ---> Running in d2e476b9515c [2023-02-27T22:11:29.295Z] Removing intermediate container d2e476b9515c [2023-02-27T22:11:29.295Z] ---> 8d7fcdc76d07 [2023-02-27T22:11:29.295Z] Step 26/26 : LABEL version=0.0.0 [2023-02-27T22:11:29.295Z] ---> Running in 825e0d2d663e [2023-02-27T22:11:29.295Z] Removing intermediate container 825e0d2d663e [2023-02-27T22:11:29.295Z] ---> 7c7b2b41fb67 [2023-02-27T22:11:29.295Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T22:11:29.295Z] Successfully built 7c7b2b41fb67 [2023-02-27T22:11:29.295Z] 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-02-27T22:11:29.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T22:11:29.749Z] [2023-02-27T22:11:29.749Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T22:11:30.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T22:11:30.082Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-27T22:11:30.082Z] 8998bd30e6a1: Pulling fs layer [2023-02-27T22:11:30.082Z] 04944245beec: Pulling fs layer [2023-02-27T22:11:30.082Z] 699f458cf7ca: Pulling fs layer [2023-02-27T22:11:30.082Z] 765212b225bb: Pulling fs layer [2023-02-27T22:11:30.082Z] f23df028b6ca: Pulling fs layer [2023-02-27T22:11:30.082Z] d65c8cfc05b1: Pulling fs layer [2023-02-27T22:11:30.082Z] 2437ff75d9bd: Pulling fs layer [2023-02-27T22:11:30.082Z] 765212b225bb: Waiting [2023-02-27T22:11:30.082Z] f23df028b6ca: Waiting [2023-02-27T22:11:30.082Z] d65c8cfc05b1: Waiting [2023-02-27T22:11:30.082Z] 2437ff75d9bd: Waiting [2023-02-27T22:11:30.350Z] 04944245beec: Verifying Checksum [2023-02-27T22:11:30.350Z] 04944245beec: Download complete [2023-02-27T22:11:30.350Z] 765212b225bb: Verifying Checksum [2023-02-27T22:11:30.350Z] 765212b225bb: Download complete [2023-02-27T22:11:30.350Z] f23df028b6ca: Download complete [2023-02-27T22:11:30.350Z] d65c8cfc05b1: Verifying Checksum [2023-02-27T22:11:30.350Z] d65c8cfc05b1: Download complete [2023-02-27T22:11:30.617Z] 699f458cf7ca: Verifying Checksum [2023-02-27T22:11:30.617Z] 699f458cf7ca: Download complete [2023-02-27T22:11:30.884Z] 8998bd30e6a1: Verifying Checksum [2023-02-27T22:11:30.884Z] 8998bd30e6a1: Download complete [2023-02-27T22:11:33.463Z] 2437ff75d9bd: Verifying Checksum [2023-02-27T22:11:33.463Z] 2437ff75d9bd: Download complete [2023-02-27T22:11:34.869Z] 8998bd30e6a1: Pull complete [2023-02-27T22:11:35.453Z] 04944245beec: Pull complete [2023-02-27T22:11:36.876Z] 699f458cf7ca: Pull complete [2023-02-27T22:11:36.876Z] 765212b225bb: Pull complete [2023-02-27T22:11:41.126Z] f23df028b6ca: Pull complete [2023-02-27T22:11:41.126Z] d65c8cfc05b1: Pull complete [2023-02-27T22:11:56.133Z] 2437ff75d9bd: Pull complete [2023-02-27T22:11:56.133Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-27T22:11:56.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T22:11:56.133Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T22:11:56.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-7662 does not seem to be running inside a container [2023-02-27T22:11:56.387Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-27T22:11:58.984Z] $ docker top fad31e211a6e48fdc23530efc9330b8a13e8c3ba45c1b811cc682385316265a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T22:11:59.822Z] ---> job-cost.sh [2023-02-27T22:11:59.823Z] lf-activate-venv: SKIPPING [2023-02-27T22:11:59.823Z] INFO: No Stack... [2023-02-27T22:12:00.404Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-27T22:12:00.985Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T22:12:01.618Z] + cut -d, -f6 [2023-02-27T22:12:01.618Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [Pipeline] lock [2023-02-27T22:12:01.688Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-238-6-stack-cost] [2023-02-27T22:12:01.695Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-6-stack-cost] did not exist. Created. [2023-02-27T22:12:01.695Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-238-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T22:12:02.031Z] /w/workspace/device-onvif-camera/6@tmp/durable-7630592a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-27T22:12:02.949Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-27T22:12:02.972Z] Warning: overwriting stash ‘stack-cost’ [2023-02-27T22:12:03.031Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T22:12:03.038Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T22:12:03.063Z] $ docker stop --time=1 fad31e211a6e48fdc23530efc9330b8a13e8c3ba45c1b811cc682385316265a8 [2023-02-27T22:12:06.716Z] $ docker rm -f --volumes fad31e211a6e48fdc23530efc9330b8a13e8c3ba45c1b811cc682385316265a8 [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-02-27T22:12:07.115Z] provisioning config files... [2023-02-27T22:12:07.122Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config6866858262080315973tmp [Pipeline] { [Pipeline] sh [2023-02-27T22:12:07.413Z] + set +x [2023-02-27T22:12:07.413Z] + curl -s https://codecov.io/bash [2023-02-27T22:12:07.413Z] + bash -s -- [2023-02-27T22:12:07.413Z] [2023-02-27T22:12:07.413Z] _____ _ [2023-02-27T22:12:07.413Z] / ____| | | [2023-02-27T22:12:07.413Z] | | ___ __| | ___ ___ _____ __ [2023-02-27T22:12:07.413Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-27T22:12:07.413Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-27T22:12:07.413Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-27T22:12:07.413Z] Bash-1.0.6 [2023-02-27T22:12:07.413Z] [2023-02-27T22:12:07.413Z] [2023-02-27T22:12:07.413Z] ==> git version 2.25.1 found [2023-02-27T22:12:07.413Z] ==> 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-02-27T22:12:07.413Z] Release-Date: 2020-01-08 [2023-02-27T22:12:07.413Z] 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-02-27T22:12:07.413Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-27T22:12:07.413Z] ==> Jenkins CI detected. [2023-02-27T22:12:07.413Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-238 [2023-02-27T22:12:07.413Z] project root: . [2023-02-27T22:12:07.413Z] --> token set from env [2023-02-27T22:12:07.413Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-27T22:12:07.413Z] ==> Running gcov in . (disable via -X gcov) [2023-02-27T22:12:07.413Z] ==> Python coveragepy not found [2023-02-27T22:12:07.413Z] ==> Searching for coverage reports in: [2023-02-27T22:12:07.413Z] + . [2023-02-27T22:12:07.413Z] -> Found 1 reports [2023-02-27T22:12:07.413Z] ==> Detecting git/mercurial file structure [2023-02-27T22:12:07.413Z] ==> Reading reports [2023-02-27T22:12:07.413Z] + ./coverage.out bytes=79184 [2023-02-27T22:12:07.413Z] ==> Appending adjustments [2023-02-27T22:12:07.413Z] https://docs.codecov.io/docs/fixing-reports [2023-02-27T22:12:07.672Z] + Found adjustments [2023-02-27T22:12:07.672Z] ==> Gzipping contents [2023-02-27T22:12:07.672Z] 12K /tmp/codecov.QO1CE8.gz [2023-02-27T22:12:07.672Z] ==> Uploading reports [2023-02-27T22:12:07.672Z] url: https://codecov.io [2023-02-27T22:12:07.672Z] query: branch=PR-238&commit=3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-238%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=238&job=&cmd_args= [2023-02-27T22:12:07.672Z] -> Pinging Codecov [2023-02-27T22:12:07.672Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-238&commit=3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-238%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=238&job=&cmd_args= [2023-02-27T22:12:07.932Z] -> Uploading to [2023-02-27T22:12:07.932Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-27/F29A59C45E3A92E06B3E522C9905F8EF/3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f/0bf5d3e3-3b05-4faa-b29a-36681a47c75c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T221207Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=780bbf805a50fcd96667d9f37b7d8865666d0731290658d0f359f5ddaedad234 [2023-02-27T22:12:07.932Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T22:12:07.932Z] Dload Upload Total Spent Left Speed [2023-02-27T22:12:08.190Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10846 0 0 100 10846 0 53166 --:--:-- --:--:-- --:--:-- 52907 100 10846 0 0 100 10846 0 42367 --:--:-- --:--:-- --:--:-- 42202 [2023-02-27T22:12:08.190Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3e2f9ec96cf216bc72597ee3e2b5a26deb23a01f [Pipeline] } [2023-02-27T22:12:08.197Z] 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-02-27T22:12:08.889Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-238/archives ] [2023-02-27T22:12:08.890Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-238/archives [2023-02-27T22:12:08.890Z] total 16 [2023-02-27T22:12:08.890Z] drwxr-xr-x 3 root root 4096 Feb 27 22:04 . [2023-02-27T22:12:08.890Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 22:04 .. [2023-02-27T22:12:08.890Z] drwxr-xr-x 2 root root 4096 Feb 27 22:04 cost [2023-02-27T22:12:08.890Z] -rw-r--r-- 1 root root 91 Feb 27 22:04 cost.csv [2023-02-27T22:12:08.890Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-238/archives [2023-02-27T22:12:08.890Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-238/archives [2023-02-27T22:12:08.890Z] total 16 [2023-02-27T22:12:08.890Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 22:04 . [2023-02-27T22:12:08.890Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 22:04 .. [2023-02-27T22:12:08.890Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 22:04 cost [2023-02-27T22:12:08.890Z] -rw-r--r-- 1 jenkins jenkins 91 Feb 27 22:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-27T22:12:09.176Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T22:12:10.029Z] ---> package-listing.sh [2023-02-27T22:12:10.029Z] ++ facter osfamily [2023-02-27T22:12:10.029Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-27T22:12:10.287Z] + OS_FAMILY=debian [2023-02-27T22:12:10.287Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-238 [2023-02-27T22:12:10.287Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-27T22:12:10.287Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-27T22:12:10.287Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-27T22:12:10.287Z] + PACKAGES=/tmp/packages_start.txt [2023-02-27T22:12:10.287Z] + '[' /w/workspace/undry_device-onvif-camera_PR-238 ']' [2023-02-27T22:12:10.287Z] + PACKAGES=/tmp/packages_end.txt [2023-02-27T22:12:10.287Z] + case "${OS_FAMILY}" in [2023-02-27T22:12:10.287Z] + dpkg -l [2023-02-27T22:12:10.287Z] + grep '^ii' [2023-02-27T22:12:10.287Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-27T22:12:10.287Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-27T22:12:10.287Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-27T22:12:10.287Z] + '[' /w/workspace/undry_device-onvif-camera_PR-238 ']' [2023-02-27T22:12:10.287Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-238/archives/ [2023-02-27T22:12:10.287Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-238/archives/ [Pipeline] echo [2023-02-27T22:12:10.297Z] 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-238/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-27T22:12:10.572Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T22:12:11.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T22:12:11.136Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T22:12:11.204Z] prd-ubuntu20.04-docker-8c-8g-7661 does not seem to be running inside a container [2023-02-27T22:12:11.236Z] $ 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-238/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-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-27T22:12:11.461Z] $ docker top 8076eccb603af2abe618693aa30dee1ef06fb6f82e718ef08eee514548a9208d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T22:12:11.802Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-27T22:12:12.087Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-27T22:12:12.374Z] + ls /var/log/sa-host [2023-02-27T22:12:12.374Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T22:12:12.441Z] provisioning config files... [2023-02-27T22:12:12.448Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config8015706201451069594tmp [Pipeline] { [Pipeline] echo [2023-02-27T22:12:12.461Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T22:12:12.744Z] ---> create-netrc.sh [Pipeline] } [2023-02-27T22:12:12.751Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-27T22:12:13.082Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-27T22:12:13.091Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T22:12:13.372Z] ---> sudo-logs.sh [2023-02-27T22:12:13.373Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-27T22:12:13.395Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T22:12:13.726Z] ---> job-cost.sh [2023-02-27T22:12:13.726Z] lf-activate-venv: SKIPPING [2023-02-27T22:12:13.726Z] DEBUG: total: 0.2199999988079071 [2023-02-27T22:12:13.726Z] INFO: Retrieving Stack Cost... [2023-02-27T22:12:14.293Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T22:12:14.550Z] INFO: Archiving Costs [Pipeline] echo [2023-02-27T22:12:14.558Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T22:12:14.836Z] ---> logs-deploy.sh [2023-02-27T22:12:14.836Z] lf-activate-venv: SKIPPING [2023-02-27T22:12:14.836Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-238/6 [2023-02-27T22:12:14.836Z] INFO: archiving workspace using pattern(s): [2023-02-27T22:12:15.771Z] Archives upload complete. [2023-02-27T22:12:15.771Z] INFO: archiving logs to Nexus