Pull request #272 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch levski at c87f5736bc0c3f4f0df46418a3ded6651230b9e1 rather than dda4bc192a5da65d970533d592a3afb94d745d09 Obtained Jenkinsfile from c87f5736bc0c3f4f0df46418a3ded6651230b9e1 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-ssh16518459037562816307.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3007176883977630283.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-272/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-272/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2694321908044118833.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh9500271566070026249.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-272/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-272/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1033806096974989799.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, goVersion:1.18, 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-4897’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4900 in /w/workspace/undry_device-onvif-camera_PR-272 [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-272 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/levski commit c87f5736bc0c3f4f0df46418a3ded6651230b9e1 into PR head commit dda4bc192a5da65d970533d592a3afb94d745d09 Merge succeeded, producing ad3fa2074cd56b4793bcdd029b5dc5f119e142dd Checking out Revision ad3fa2074cd56b4793bcdd029b5dc5f119e142dd (PR-272) > 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/272/head:refs/remotes/origin/PR-272 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dda4bc192a5da65d970533d592a3afb94d745d09 # 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 c87f5736bc0c3f4f0df46418a3ded6651230b9e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad3fa2074cd56b4793bcdd029b5dc5f119e142dd # timeout=10 Commit message: "Merge commit 'c87f5736bc0c3f4f0df46418a3ded6651230b9e1' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T16:42:53.251Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T16:42:53.309Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T16:42:53.319Z] ========================================================= [2023-03-21T16:42:53.319Z] EdgeX Global Pipelines Version Info [2023-03-21T16:42:53.319Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 5402c3145f4edc2063d8361a63e9325b81a307e5 # timeout=10 [2023-03-21T16:42:54.040Z] ------------------- [2023-03-21T16:42:54.040Z] stable info: [2023-03-21T16:42:54.040Z] ------------------- [2023-03-21T16:42:54.040Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T16:42:54.040Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T16:42:54.041Z] Message: update stable to v1.0.245 [2023-03-21T16:42:54.610Z] ------------------- [2023-03-21T16:42:54.610Z] experimental info: [2023-03-21T16:42:54.610Z] ------------------- [2023-03-21T16:42:54.610Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T16:42:54.610Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T16:42:54.610Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T16:42:54.799Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-21T16:42:54.811Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-21T16:42:54.825Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T16:42:54.835Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T16:42:54.846Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T16:42:54.859Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-21T16:42:54.870Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T16:42:54.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T16:42:54.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T16:42:54.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T16:42:54.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T16:42:54.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-21T16:42:54.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T16:42:54.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T16:42:54.948Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T16:42:54.956Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T16:42:54.964Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T16:42:54.977Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T16:42:54.989Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T16:42:55.000Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T16:42:55.011Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-21T16:42:55.024Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-21T16:42:55.037Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T16:42:55.047Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T16:42:55.058Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T16:42:55.072Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T16:42:55.082Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T16:42:55.093Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-272 [Pipeline] echo [2023-03-21T16:42:55.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-272 [Pipeline] echo [2023-03-21T16:42:55.115Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-272 [Pipeline] echo [2023-03-21T16:42:55.126Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad3fa2074cd56b4793bcdd029b5dc5f119e142dd [Pipeline] echo [2023-03-21T16:42:55.137Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad3fa20 [Pipeline] echo [2023-03-21T16:42:55.149Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T16:42:55.188Z] provisioning config files... [2023-03-21T16:42:55.202Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-272@tmp/config8776832157892694367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:42:55.502Z] ---> docker-login.sh [2023-03-21T16:42:55.502Z] nexus3.edgexfoundry.org:10001 [2023-03-21T16:42:55.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:42:55.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:42:55.762Z] Configure a credential helper to remove this warning. See [2023-03-21T16:42:55.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:42:55.762Z] [2023-03-21T16:42:55.762Z] Login Succeeded [2023-03-21T16:42:55.762Z] nexus3.edgexfoundry.org:10002 [2023-03-21T16:42:55.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:42:55.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:42:55.762Z] Configure a credential helper to remove this warning. See [2023-03-21T16:42:55.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:42:55.762Z] [2023-03-21T16:42:55.762Z] Login Succeeded [2023-03-21T16:42:55.762Z] nexus3.edgexfoundry.org:10003 [2023-03-21T16:42:56.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:42:56.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:42:56.024Z] Configure a credential helper to remove this warning. See [2023-03-21T16:42:56.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:42:56.024Z] [2023-03-21T16:42:56.024Z] Login Succeeded [2023-03-21T16:42:56.024Z] nexus3.edgexfoundry.org:10004 [2023-03-21T16:42:56.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:42:56.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:42:56.024Z] Configure a credential helper to remove this warning. See [2023-03-21T16:42:56.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:42:56.024Z] [2023-03-21T16:42:56.024Z] Login Succeeded [2023-03-21T16:42:56.024Z] docker.io [2023-03-21T16:42:56.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:42:56.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:42:56.284Z] Configure a credential helper to remove this warning. See [2023-03-21T16:42:56.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:42:56.284Z] [2023-03-21T16:42:56.284Z] Login Succeeded [2023-03-21T16:42:56.284Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T16:42:56.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T16:42:56.656Z] + git rev-list -1 --merges ad3fa2074cd56b4793bcdd029b5dc5f119e142dd~1..ad3fa2074cd56b4793bcdd029b5dc5f119e142dd [Pipeline] echo [2023-03-21T16:42:56.705Z] -----------> git rev-list -1 --merges ad3fa2074cd56b4793bcdd029b5dc5f119e142dd~1..ad3fa2074cd56b4793bcdd029b5dc5f119e142dd ad3fa2074cd56b4793bcdd029b5dc5f119e142dd [2023-03-21T16:42:56.705Z] ad3fa2074cd56b4793bcdd029b5dc5f119e142dd [false] [Pipeline] sh [2023-03-21T16:42:56.988Z] + git log --format=format:%s -1 ad3fa2074cd56b4793bcdd029b5dc5f119e142dd [Pipeline] echo [2023-03-21T16:42:57.003Z] ========================================================= [2023-03-21T16:42:57.003Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T16:42:57.003Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T16:42:57.337Z] + git log --format=format:%s -1 ad3fa2074cd56b4793bcdd029b5dc5f119e142dd [Pipeline] echo [2023-03-21T16:42:57.347Z] [semverPrep] GIT_COMMIT: ad3fa2074cd56b4793bcdd029b5dc5f119e142dd, Commit Message: Merge commit 'c87f5736bc0c3f4f0df46418a3ded6651230b9e1' into HEAD [Pipeline] echo [2023-03-21T16:42:57.359Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T16:42:57.710Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T16:42:57.710Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T16:42:57.710Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T16:42:57.710Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T16:42:57.710Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T16:42:57.710Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T16:42:57.710Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:42:58.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T16:42:58.062Z] [2023-03-21T16:42:58.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:42:58.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T16:42:58.370Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T16:42:58.370Z] b85a868b505f: Pulling fs layer [2023-03-21T16:42:58.370Z] e2be974225ed: Pulling fs layer [2023-03-21T16:42:58.370Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T16:42:58.370Z] 988bab9f4d93: Pulling fs layer [2023-03-21T16:42:58.370Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T16:42:58.370Z] eaf3925da568: Pulling fs layer [2023-03-21T16:42:58.370Z] bab4dde63d76: Pulling fs layer [2023-03-21T16:42:58.370Z] bde34c3a00c8: Pulling fs layer [2023-03-21T16:42:58.370Z] b352a97aabf1: Pulling fs layer [2023-03-21T16:42:58.370Z] 4872d77fe225: Pulling fs layer [2023-03-21T16:42:58.370Z] 5851b861e8e6: Pulling fs layer [2023-03-21T16:42:58.370Z] b352a97aabf1: Waiting [2023-03-21T16:42:58.370Z] bde34c3a00c8: Waiting [2023-03-21T16:42:58.370Z] 1469e6f7b9e6: Waiting [2023-03-21T16:42:58.370Z] bab4dde63d76: Waiting [2023-03-21T16:42:58.370Z] eaf3925da568: Waiting [2023-03-21T16:42:58.370Z] 5851b861e8e6: Waiting [2023-03-21T16:42:58.370Z] 988bab9f4d93: Waiting [2023-03-21T16:42:58.370Z] 4872d77fe225: Waiting [2023-03-21T16:42:58.370Z] e2be974225ed: Verifying Checksum [2023-03-21T16:42:58.370Z] e2be974225ed: Download complete [2023-03-21T16:42:58.370Z] 988bab9f4d93: Verifying Checksum [2023-03-21T16:42:58.370Z] 988bab9f4d93: Download complete [2023-03-21T16:42:58.631Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T16:42:58.631Z] 339a4e72a1f5: Download complete [2023-03-21T16:42:58.631Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T16:42:58.631Z] 1469e6f7b9e6: Download complete [2023-03-21T16:42:58.631Z] eaf3925da568: Verifying Checksum [2023-03-21T16:42:58.631Z] eaf3925da568: Download complete [2023-03-21T16:42:58.631Z] bde34c3a00c8: Download complete [2023-03-21T16:42:58.631Z] b352a97aabf1: Download complete [2023-03-21T16:42:58.631Z] 4872d77fe225: Verifying Checksum [2023-03-21T16:42:58.631Z] 4872d77fe225: Download complete [2023-03-21T16:42:58.631Z] 5851b861e8e6: Verifying Checksum [2023-03-21T16:42:58.631Z] 5851b861e8e6: Download complete [2023-03-21T16:42:58.631Z] b85a868b505f: Verifying Checksum [2023-03-21T16:42:58.631Z] b85a868b505f: Download complete [2023-03-21T16:42:58.891Z] bab4dde63d76: Verifying Checksum [2023-03-21T16:42:58.891Z] bab4dde63d76: Download complete [2023-03-21T16:42:59.828Z] b85a868b505f: Pull complete [2023-03-21T16:42:59.828Z] e2be974225ed: Pull complete [2023-03-21T16:43:00.399Z] 339a4e72a1f5: Pull complete [2023-03-21T16:43:00.399Z] 988bab9f4d93: Pull complete [2023-03-21T16:43:00.660Z] 1469e6f7b9e6: Pull complete [2023-03-21T16:43:00.660Z] eaf3925da568: Pull complete [2023-03-21T16:43:02.567Z] bab4dde63d76: Pull complete [2023-03-21T16:43:02.567Z] bde34c3a00c8: Pull complete [2023-03-21T16:43:02.567Z] b352a97aabf1: Pull complete [2023-03-21T16:43:02.567Z] 4872d77fe225: Pull complete [2023-03-21T16:43:02.567Z] 5851b861e8e6: Pull complete [2023-03-21T16:43:02.567Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T16:43:02.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T16:43:02.567Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:43:02.666Z] prd-ubuntu20.04-docker-8c-8g-4900 does not seem to be running inside a container [2023-03-21T16:43:02.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@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-03-21T16:43:05.327Z] $ docker top 250d0a547422e060226709e81d67dd90de3a546c8a0432e725a7d2c64f31df10 -eo pid,comm [2023-03-21T16:43:05.373Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-21T16:43:05.373Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T16:43:05.402Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T16:43:05.402Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T16:43:05.522Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T16:43:05.530Z] $ docker exec 250d0a547422e060226709e81d67dd90de3a546c8a0432e725a7d2c64f31df10 ssh-agent [2023-03-21T16:43:05.626Z] SSH_AUTH_SOCK=/tmp/ssh-1o6McVXfWZMe/agent.32 [2023-03-21T16:43:05.626Z] SSH_AGENT_PID=38 [2023-03-21T16:43:05.632Z] Running ssh-add (command line suppressed) [2023-03-21T16:43:05.724Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-272@tmp/private_key_6162626268637155223.key (/w/workspace/undry_device-onvif-camera_PR-272@tmp/private_key_6162626268637155223.key) [2023-03-21T16:43:05.734Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T16:43:06.035Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T16:43:06.056Z] $ docker exec --env ******** --env ******** 250d0a547422e060226709e81d67dd90de3a546c8a0432e725a7d2c64f31df10 ssh-agent -k [2023-03-21T16:43:06.161Z] unset SSH_AUTH_SOCK; [2023-03-21T16:43:06.161Z] unset SSH_AGENT_PID; [2023-03-21T16:43:06.161Z] echo Agent pid 38 killed; [2023-03-21T16:43:06.161Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T16:43:06.186Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T16:43:06.186Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T16:43:06.291Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T16:43:06.299Z] $ docker exec 250d0a547422e060226709e81d67dd90de3a546c8a0432e725a7d2c64f31df10 ssh-agent [2023-03-21T16:43:06.401Z] SSH_AUTH_SOCK=/tmp/ssh-LNSmPrHc2RPE/agent.72 [2023-03-21T16:43:06.401Z] SSH_AGENT_PID=78 [2023-03-21T16:43:06.406Z] Running ssh-add (command line suppressed) [2023-03-21T16:43:06.518Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-272@tmp/private_key_15433762672717172220.key (/w/workspace/undry_device-onvif-camera_PR-272@tmp/private_key_15433762672717172220.key) [2023-03-21T16:43:06.525Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T16:43:06.822Z] + git semver init [2023-03-21T16:43:07.082Z] 2023-03-21 16:43:07,012 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T16:43:07.082Z] 2023-03-21 16:43:07,013 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-272/.semver [2023-03-21T16:43:07.082Z] 2023-03-21 16:43:07,013 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-272/.semver [2023-03-21T16:43:07.082Z] 2023-03-21 16:43:07,014 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-272/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-272, universal_newlines=False, shell=None, istream=None) [2023-03-21T16:43:08.021Z] 2023-03-21 16:43:07,931 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-272/.git/info/exclude [2023-03-21T16:43:08.021Z] 2023-03-21 16:43:07,932 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-272/.semver/PR-272 with force:False [2023-03-21T16:43:08.021Z] 2023-03-21 16:43:07,932 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-272/.semver/PR-272 [2023-03-21T16:43:08.021Z] 2023-03-21 16:43:07,936 [execute] INFO git cat-file --batch-check [2023-03-21T16:43:08.021Z] 2023-03-21 16:43:07,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-272/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T16:43:08.021Z] 2023-03-21 16:43:07,942 [execute] INFO git cat-file --batch [2023-03-21T16:43:08.021Z] 2023-03-21 16:43:07,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-272/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T16:43:08.021Z] 2023-03-21 16:43:07,946 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-272/.semver/PR-272 [2023-03-21T16:43:08.021Z] 0.0.0 [Pipeline] } [2023-03-21T16:43:08.037Z] $ docker exec --env ******** --env ******** 250d0a547422e060226709e81d67dd90de3a546c8a0432e725a7d2c64f31df10 ssh-agent -k [2023-03-21T16:43:08.122Z] unset SSH_AUTH_SOCK; [2023-03-21T16:43:08.122Z] unset SSH_AGENT_PID; [2023-03-21T16:43:08.123Z] echo Agent pid 78 killed; [2023-03-21T16:43:08.128Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T16:43:08.431Z] + git semver [Pipeline] } [2023-03-21T16:43:08.707Z] $ docker stop --time=1 250d0a547422e060226709e81d67dd90de3a546c8a0432e725a7d2c64f31df10 [2023-03-21T16:43:09.960Z] $ docker rm -f --volumes 250d0a547422e060226709e81d67dd90de3a546c8a0432e725a7d2c64f31df10 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T16:43:10.281Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T16:43:10.479Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T16:43:10.482Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T16:43:10.637Z] provisioning config files... [2023-03-21T16:43:10.647Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-272@tmp/config10114692100075048417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:43:10.938Z] ---> docker-login.sh [2023-03-21T16:43:10.938Z] nexus3.edgexfoundry.org:10001 [2023-03-21T16:43:10.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:43:10.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:43:10.938Z] Configure a credential helper to remove this warning. See [2023-03-21T16:43:10.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:43:10.938Z] [2023-03-21T16:43:10.938Z] Login Succeeded [2023-03-21T16:43:10.938Z] nexus3.edgexfoundry.org:10002 [2023-03-21T16:43:10.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:43:10.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:43:10.938Z] Configure a credential helper to remove this warning. See [2023-03-21T16:43:10.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:43:10.938Z] [2023-03-21T16:43:10.938Z] Login Succeeded [2023-03-21T16:43:10.938Z] nexus3.edgexfoundry.org:10003 [2023-03-21T16:43:11.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:43:11.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:43:11.202Z] Configure a credential helper to remove this warning. See [2023-03-21T16:43:11.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:43:11.202Z] [2023-03-21T16:43:11.202Z] Login Succeeded [2023-03-21T16:43:11.202Z] nexus3.edgexfoundry.org:10004 [2023-03-21T16:43:11.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:43:11.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:43:11.202Z] Configure a credential helper to remove this warning. See [2023-03-21T16:43:11.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:43:11.202Z] [2023-03-21T16:43:11.202Z] Login Succeeded [2023-03-21T16:43:11.202Z] docker.io [2023-03-21T16:43:11.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:43:11.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:43:11.462Z] Configure a credential helper to remove this warning. See [2023-03-21T16:43:11.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:43:11.462Z] [2023-03-21T16:43:11.462Z] Login Succeeded [2023-03-21T16:43:11.462Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T16:43:11.469Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T16:43:11.531Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T16:43:11.544Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T16:43:11.551Z] ========================================================= [2023-03-21T16:43:11.551Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-21T16:43:11.551Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:43:11.857Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T16:43:11.858Z] Sending build context to Docker daemon 27.1MB [2023-03-21T16:43:11.858Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T16:43:11.858Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T16:43:12.121Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T16:43:12.121Z] 213ec9aee27d: Pulling fs layer [2023-03-21T16:43:12.121Z] 4583459ba037: Pulling fs layer [2023-03-21T16:43:12.121Z] 93c1e223e6f2: Pulling fs layer [2023-03-21T16:43:12.121Z] 53926ce57604: Pulling fs layer [2023-03-21T16:43:12.121Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-21T16:43:12.121Z] 22ff95d597cd: Pulling fs layer [2023-03-21T16:43:12.121Z] 12d6caf4c0d1: Pulling fs layer [2023-03-21T16:43:12.121Z] 96b7cbca73a9: Pulling fs layer [2023-03-21T16:43:12.121Z] a7acece74701: Pulling fs layer [2023-03-21T16:43:12.121Z] 21b2b0c7a3f4: Waiting [2023-03-21T16:43:12.121Z] 22ff95d597cd: Waiting [2023-03-21T16:43:12.121Z] 12d6caf4c0d1: Waiting [2023-03-21T16:43:12.121Z] a7acece74701: Waiting [2023-03-21T16:43:12.121Z] 53926ce57604: Waiting [2023-03-21T16:43:12.121Z] 93c1e223e6f2: Verifying Checksum [2023-03-21T16:43:12.121Z] 93c1e223e6f2: Download complete [2023-03-21T16:43:12.121Z] 4583459ba037: Download complete [2023-03-21T16:43:12.121Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-21T16:43:12.121Z] 21b2b0c7a3f4: Download complete [2023-03-21T16:43:12.121Z] 22ff95d597cd: Verifying Checksum [2023-03-21T16:43:12.121Z] 22ff95d597cd: Download complete [2023-03-21T16:43:12.121Z] 213ec9aee27d: Verifying Checksum [2023-03-21T16:43:12.121Z] 213ec9aee27d: Download complete [2023-03-21T16:43:12.121Z] 12d6caf4c0d1: Verifying Checksum [2023-03-21T16:43:12.121Z] 12d6caf4c0d1: Download complete [2023-03-21T16:43:12.386Z] 213ec9aee27d: Pull complete [2023-03-21T16:43:12.386Z] 4583459ba037: Pull complete [2023-03-21T16:43:12.386Z] 93c1e223e6f2: Pull complete [2023-03-21T16:43:12.648Z] a7acece74701: Download complete [2023-03-21T16:43:12.908Z] 96b7cbca73a9: Verifying Checksum [2023-03-21T16:43:12.908Z] 96b7cbca73a9: Download complete [2023-03-21T16:43:12.908Z] 53926ce57604: Verifying Checksum [2023-03-21T16:43:12.908Z] 53926ce57604: Download complete [2023-03-21T16:43:16.191Z] 53926ce57604: Pull complete [2023-03-21T16:43:16.450Z] 21b2b0c7a3f4: Pull complete [2023-03-21T16:43:16.450Z] 22ff95d597cd: Pull complete [2023-03-21T16:43:16.450Z] 12d6caf4c0d1: Pull complete [2023-03-21T16:43:18.352Z] 96b7cbca73a9: Pull complete [2023-03-21T16:43:19.285Z] a7acece74701: Pull complete [2023-03-21T16:43:19.285Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-21T16:43:19.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-21T16:43:19.285Z] ---> db6d94c90886 [2023-03-21T16:43:19.285Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T16:43:24.558Z] ---> Running in 0f24825bef95 [2023-03-21T16:43:24.558Z] Removing intermediate container 0f24825bef95 [2023-03-21T16:43:24.558Z] ---> 1480885dc689 [2023-03-21T16:43:24.558Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T16:43:24.558Z] ---> Running in 11bc124e0598 [2023-03-21T16:43:24.558Z] Removing intermediate container 11bc124e0598 [2023-03-21T16:43:24.558Z] ---> e0645aea1de1 [2023-03-21T16:43:24.558Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T16:43:24.558Z] ---> Running in 387b8bf73d96 [2023-03-21T16:43:24.558Z] Removing intermediate container 387b8bf73d96 [2023-03-21T16:43:24.558Z] ---> debd6aad1dd7 [2023-03-21T16:43:24.558Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T16:43:24.558Z] ---> Running in 5a43c8ef0e24 [2023-03-21T16:43:24.558Z] Removing intermediate container 5a43c8ef0e24 [2023-03-21T16:43:24.558Z] ---> 8d87638d361f [2023-03-21T16:43:24.558Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-21T16:43:24.558Z] ---> Running in d95de46c2565 [2023-03-21T16:43:24.558Z] Removing intermediate container d95de46c2565 [2023-03-21T16:43:24.558Z] ---> 93cf969797ab [2023-03-21T16:43:24.558Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T16:43:24.558Z] ---> Running in 8f1aabe45eab [2023-03-21T16:43:24.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T16:43:24.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T16:43:25.073Z] OK: 211 MiB in 51 packages [2023-03-21T16:43:25.332Z] Removing intermediate container 8f1aabe45eab [2023-03-21T16:43:25.332Z] ---> 88e6f07a1a2c [2023-03-21T16:43:25.332Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-21T16:43:25.332Z] ---> Running in 8e78c48a0e28 [2023-03-21T16:43:25.332Z] Removing intermediate container 8e78c48a0e28 [2023-03-21T16:43:25.332Z] ---> 8f2fdbbf512e [2023-03-21T16:43:25.332Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-21T16:43:25.586Z] Still waiting to schedule task [2023-03-21T16:43:25.587Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4898’ is offline [2023-03-21T16:43:25.590Z] ---> 91aa3f75d2b6 [2023-03-21T16:43:25.590Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T16:43:25.590Z] ---> Running in 3da7261ac0a1 [2023-03-21T16:43:52.131Z] Removing intermediate container 3da7261ac0a1 [2023-03-21T16:43:52.131Z] ---> 1ad8e9853639 [2023-03-21T16:43:52.131Z] Step 12/13 : COPY . . [2023-03-21T16:43:52.131Z] ---> d87fceb99a9b [2023-03-21T16:43:52.131Z] Step 13/13 : RUN ${MAKE} [2023-03-21T16:43:52.131Z] ---> Running in 3ce62faa088f [2023-03-21T16:43:52.131Z] noop [2023-03-21T16:43:52.131Z] Removing intermediate container 3ce62faa088f [2023-03-21T16:43:52.131Z] ---> 65bb38330975 [2023-03-21T16:43:52.131Z] Successfully built 65bb38330975 [2023-03-21T16:43:52.131Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:43:52.446Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T16:43:52.446Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:43:52.516Z] prd-ubuntu20.04-docker-8c-8g-4900 does not seem to be running inside a container [2023-03-21T16:43:52.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@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-03-21T16:43:52.931Z] $ docker top 53a2f6307fcbadeaf4e0cea2a6624b5b2c1c44f906ae06cad665d5098bf284c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T16:43:53.276Z] + go version [2023-03-21T16:43:53.276Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-21T16:43:53.290Z] $ docker stop --time=1 53a2f6307fcbadeaf4e0cea2a6624b5b2c1c44f906ae06cad665d5098bf284c3 [2023-03-21T16:43:54.585Z] $ docker rm -f --volumes 53a2f6307fcbadeaf4e0cea2a6624b5b2c1c44f906ae06cad665d5098bf284c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:43:54.978Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T16:43:54.978Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:43:55.045Z] prd-ubuntu20.04-docker-8c-8g-4900 does not seem to be running inside a container [2023-03-21T16:43:55.077Z] $ 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-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@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-03-21T16:43:55.423Z] $ docker top b2f4ce0990155614f277f8bffd5ae0781f0d4c0084d869d9bc13e2e17eecc244 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T16:43:55.761Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-272 [Pipeline] fileExists [Pipeline] sh [2023-03-21T16:43:56.053Z] + make test [2023-03-21T16:43:56.053Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-21T16:43:56.311Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-21T16:44:08.505Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-21T16:44:11.039Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.042s coverage: 29.3% of statements [2023-03-21T16:44:11.039Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-21T16:44:11.039Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.580s coverage: 86.5% of statements [2023-03-21T16:44:17.624Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-21T16:44:17.624Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-21T16:44:21.809Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T16:44:21.809Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T16:44:21.809Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T16:44:21.822Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T16:44:21.840Z] $ docker stop --time=1 b2f4ce0990155614f277f8bffd5ae0781f0d4c0084d869d9bc13e2e17eecc244 [2023-03-21T16:44:23.975Z] $ docker rm -f --volumes b2f4ce0990155614f277f8bffd5ae0781f0d4c0084d869d9bc13e2e17eecc244 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T16:44:24.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T16:44:24.463Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T16:44:24.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T16:44:25.174Z] + ls -al . [2023-03-21T16:44:25.174Z] total 248 [2023-03-21T16:44:25.174Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 16:43 . [2023-03-21T16:44:25.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 16:42 .. [2023-03-21T16:44:25.174Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 16:44 .git [2023-03-21T16:44:25.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 16:42 .github [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 16:42 .gitignore [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 16:42 .golangci.yml [2023-03-21T16:44:25.174Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 16:43 .semver [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 21 16:42 Attribution.txt [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 21 16:42 CHANGELOG.md [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 21 16:42 Dockerfile [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 16:42 GOVERNANCE.md [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 21 16:42 Jenkinsfile [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 16:42 LICENSE [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 2997 Mar 21 16:42 Makefile [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 16:42 OWNERS.md [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 6048 Mar 21 16:42 README.md [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 16:43 VERSION [2023-03-21T16:44:25.174Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 16:42 bin [2023-03-21T16:44:25.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 16:42 cmd [2023-03-21T16:44:25.174Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 21 16:44 coverage.out [2023-03-21T16:44:25.174Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 16:42 doc [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 3693 Mar 21 16:42 go.mod [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 46117 Mar 21 16:42 go.sum [2023-03-21T16:44:25.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 16:42 internal [2023-03-21T16:44:25.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 16:42 snap [2023-03-21T16:44:25.174Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 16:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:44:25.478Z] + 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=ad3fa2074cd56b4793bcdd029b5dc5f119e142dd --label arch=amd64 --label version=0.0.0 . [2023-03-21T16:44:25.478Z] Sending build context to Docker daemon 27.18MB [2023-03-21T16:44:25.478Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T16:44:25.478Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-21T16:44:25.478Z] ---> 65bb38330975 [2023-03-21T16:44:25.478Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-21T16:44:25.736Z] ---> Running in 8bab16868ebf [2023-03-21T16:44:25.736Z] Removing intermediate container 8bab16868ebf [2023-03-21T16:44:25.736Z] ---> 7f0f3a763fa7 [2023-03-21T16:44:25.736Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T16:44:25.736Z] ---> Running in 50a53891fd66 [2023-03-21T16:44:25.994Z] Removing intermediate container 50a53891fd66 [2023-03-21T16:44:25.994Z] ---> ba6c611c7db4 [2023-03-21T16:44:25.994Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T16:44:25.994Z] ---> Running in 379eac16f0e3 [2023-03-21T16:44:25.994Z] Removing intermediate container 379eac16f0e3 [2023-03-21T16:44:25.994Z] ---> 2fde370c2db4 [2023-03-21T16:44:25.994Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T16:44:25.994Z] ---> Running in 052b991b4460 [2023-03-21T16:44:25.994Z] Removing intermediate container 052b991b4460 [2023-03-21T16:44:25.994Z] ---> 0e9f015d74ca [2023-03-21T16:44:25.994Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-21T16:44:26.254Z] ---> Running in 2ef1608947c7 [2023-03-21T16:44:26.254Z] Removing intermediate container 2ef1608947c7 [2023-03-21T16:44:26.254Z] ---> fbb44cc1601b [2023-03-21T16:44:26.254Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T16:44:26.254Z] ---> Running in aa551628d238 [2023-03-21T16:44:26.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T16:44:26.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T16:44:27.031Z] OK: 211 MiB in 51 packages [2023-03-21T16:44:27.290Z] Removing intermediate container aa551628d238 [2023-03-21T16:44:27.290Z] ---> 30ecfa240947 [2023-03-21T16:44:27.290Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-21T16:44:27.290Z] ---> Running in 8de1a2497aaa [2023-03-21T16:44:27.549Z] Removing intermediate container 8de1a2497aaa [2023-03-21T16:44:27.549Z] ---> d49c9100b677 [2023-03-21T16:44:27.549Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-21T16:44:27.549Z] ---> d904a95e8cab [2023-03-21T16:44:27.549Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T16:44:27.549Z] ---> Running in e2eeec016749 [2023-03-21T16:44:28.489Z] Removing intermediate container e2eeec016749 [2023-03-21T16:44:28.489Z] ---> a388aa13ab05 [2023-03-21T16:44:28.489Z] Step 12/26 : COPY . . [2023-03-21T16:44:29.425Z] ---> c6daef3ee9c3 [2023-03-21T16:44:29.425Z] Step 13/26 : RUN ${MAKE} [2023-03-21T16:44:29.425Z] ---> Running in 2d74b688cfc6 [2023-03-21T16:44:29.425Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-21T16:44:55.971Z] Removing intermediate container 2d74b688cfc6 [2023-03-21T16:44:55.971Z] ---> 2123957e9976 [2023-03-21T16:44:55.971Z] Step 14/26 : FROM alpine:3.16 [2023-03-21T16:44:55.971Z] 3.16: Pulling from library/alpine [2023-03-21T16:44:55.971Z] ef5531b6e74e: Pulling fs layer [2023-03-21T16:44:55.971Z] ef5531b6e74e: Verifying Checksum [2023-03-21T16:44:55.971Z] ef5531b6e74e: Download complete [2023-03-21T16:44:55.971Z] ef5531b6e74e: Pull complete [2023-03-21T16:44:55.971Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-21T16:44:55.971Z] Status: Downloaded newer image for alpine:3.16 [2023-03-21T16:44:55.971Z] ---> dfd21b5a31f5 [2023-03-21T16:44:55.971Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-21T16:44:55.971Z] ---> Running in 678b5e764915 [2023-03-21T16:44:55.971Z] Removing intermediate container 678b5e764915 [2023-03-21T16:44:55.971Z] ---> 16ea4d544651 [2023-03-21T16:44:55.971Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-21T16:44:55.971Z] ---> Running in 625bbeeb0281 [2023-03-21T16:44:55.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T16:44:55.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T16:44:55.971Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-21T16:44:55.971Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-21T16:44:55.971Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-21T16:44:55.971Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-21T16:44:55.971Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-21T16:44:55.971Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-21T16:44:55.971Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T16:44:55.971Z] OK: 8 MiB in 20 packages [2023-03-21T16:44:55.971Z] Removing intermediate container 625bbeeb0281 [2023-03-21T16:44:55.971Z] ---> bf3a70ff2e91 [2023-03-21T16:44:55.971Z] Step 17/26 : WORKDIR / [2023-03-21T16:44:55.971Z] ---> Running in 71d284a880ba [2023-03-21T16:44:55.971Z] Removing intermediate container 71d284a880ba [2023-03-21T16:44:55.971Z] ---> b4abbff7ac29 [2023-03-21T16:44:55.971Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-21T16:44:56.542Z] ---> 585459588be6 [2023-03-21T16:44:56.542Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-21T16:44:56.542Z] ---> d5703e9641dd [2023-03-21T16:44:56.542Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-21T16:44:56.542Z] ---> 5e762e440a68 [2023-03-21T16:44:56.542Z] Step 21/26 : EXPOSE 59984 [2023-03-21T16:44:56.801Z] ---> Running in e766a1951495 [2023-03-21T16:44:56.801Z] Removing intermediate container e766a1951495 [2023-03-21T16:44:56.801Z] ---> 63521429837d [2023-03-21T16:44:56.801Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-21T16:44:56.801Z] ---> Running in 51fa4fc944a1 [2023-03-21T16:44:56.801Z] Removing intermediate container 51fa4fc944a1 [2023-03-21T16:44:56.801Z] ---> 7d1a8f50820f [2023-03-21T16:44:56.801Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-21T16:44:56.801Z] ---> Running in a1fb810eec84 [2023-03-21T16:44:57.057Z] Removing intermediate container a1fb810eec84 [2023-03-21T16:44:57.057Z] ---> 5462367c47db [2023-03-21T16:44:57.057Z] Step 24/26 : LABEL arch=amd64 [2023-03-21T16:44:57.057Z] ---> Running in 752d30531ef8 [2023-03-21T16:44:57.057Z] Removing intermediate container 752d30531ef8 [2023-03-21T16:44:57.057Z] ---> a16989242a28 [2023-03-21T16:44:57.057Z] Step 25/26 : LABEL git_sha=ad3fa2074cd56b4793bcdd029b5dc5f119e142dd [2023-03-21T16:44:57.057Z] ---> Running in 54dfa7486d87 [2023-03-21T16:44:57.057Z] Removing intermediate container 54dfa7486d87 [2023-03-21T16:44:57.057Z] ---> ceaa95f49c40 [2023-03-21T16:44:57.057Z] Step 26/26 : LABEL version=0.0.0 [2023-03-21T16:44:57.057Z] ---> Running in dfd54a8306d7 [2023-03-21T16:44:57.315Z] Removing intermediate container dfd54a8306d7 [2023-03-21T16:44:57.315Z] ---> b5030cfe5692 [2023-03-21T16:44:57.315Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T16:44:57.315Z] Successfully built b5030cfe5692 [2023-03-21T16:44:57.315Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:44:57.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T16:44:57.766Z] [2023-03-21T16:44:57.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:44:58.065Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T16:44:58.065Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T16:44:58.065Z] 5eb5b503b376: Pulling fs layer [2023-03-21T16:44:58.065Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T16:44:58.065Z] ec43610c2a17: Pulling fs layer [2023-03-21T16:44:58.065Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T16:44:58.065Z] 33b1e0a273af: Pulling fs layer [2023-03-21T16:44:58.065Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T16:44:58.065Z] 2f39f015ded8: Pulling fs layer [2023-03-21T16:44:58.065Z] 33b1e0a273af: Waiting [2023-03-21T16:44:58.065Z] 5d3b04190fa2: Waiting [2023-03-21T16:44:58.065Z] 2f39f015ded8: Waiting [2023-03-21T16:44:58.065Z] 3a2ae6a8a46f: Waiting [2023-03-21T16:44:58.065Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T16:44:58.065Z] 5c69ac0246d0: Download complete [2023-03-21T16:44:58.065Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T16:44:58.065Z] 3a2ae6a8a46f: Download complete [2023-03-21T16:44:58.325Z] 33b1e0a273af: Verifying Checksum [2023-03-21T16:44:58.325Z] 33b1e0a273af: Download complete [2023-03-21T16:44:58.325Z] 5d3b04190fa2: Download complete [2023-03-21T16:44:58.325Z] ec43610c2a17: Verifying Checksum [2023-03-21T16:44:58.325Z] ec43610c2a17: Download complete [2023-03-21T16:44:58.325Z] 5eb5b503b376: Download complete [2023-03-21T16:44:58.889Z] 2f39f015ded8: Download complete [2023-03-21T16:44:59.824Z] 5eb5b503b376: Pull complete [2023-03-21T16:44:59.824Z] 5c69ac0246d0: Pull complete [2023-03-21T16:45:00.391Z] ec43610c2a17: Pull complete [2023-03-21T16:45:00.391Z] 3a2ae6a8a46f: Pull complete [2023-03-21T16:45:00.391Z] 33b1e0a273af: Pull complete [2023-03-21T16:45:00.476Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4901 in /w/workspace/undry_device-onvif-camera_PR-272 [Pipeline] { [Pipeline] ws [2023-03-21T16:45:00.490Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2023-03-21T16:45:00.529Z] The recommended git tool is: git [2023-03-21T16:45:00.648Z] 5d3b04190fa2: Pull complete [2023-03-21T16:45:05.909Z] 2f39f015ded8: Pull complete [2023-03-21T16:45:05.909Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T16:45:05.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T16:45:05.909Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:45:05.995Z] prd-ubuntu20.04-docker-8c-8g-4900 does not seem to be running inside a container [2023-03-21T16:45:06.028Z] $ 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-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@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-03-21T16:45:06.148Z] using credential edgex-jenkins-ssh [2023-03-21T16:45:06.163Z] Cloning the remote Git repository [2023-03-21T16:45:06.211Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T16:45:06.316Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2023-03-21T16:45:06.468Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T16:45:06.469Z] > git --version # timeout=10 [2023-03-21T16:45:06.493Z] > git --version # 'git version 2.25.1' [2023-03-21T16:45:06.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T16:45:06.639Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T16:45:08.425Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-21T16:45:08.452Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T16:45:10.001Z] $ docker top 21d9ea2523d54b7963d248395c32755a750b24f0262f08c3d3fa4b2fc1d2d8ce -eo pid,comm [2023-03-21T16:45:09.999Z] Merging remotes/origin/levski commit c87f5736bc0c3f4f0df46418a3ded6651230b9e1 into PR head commit dda4bc192a5da65d970533d592a3afb94d745d09 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:45:10.366Z] ---> job-cost.sh [2023-03-21T16:45:10.366Z] lf-activate-venv: SKIPPING [2023-03-21T16:45:10.366Z] INFO: No Stack... [2023-03-21T16:45:10.626Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T16:45:09.337Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-21T16:45:09.378Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T16:45:09.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T16:45:09.396Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/272/head:refs/remotes/origin/PR-272 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-03-21T16:45:10.020Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T16:45:10.087Z] > git checkout -f dda4bc192a5da65d970533d592a3afb94d745d09 # timeout=10 [2023-03-21T16:45:10.399Z] > git remote # timeout=10 [2023-03-21T16:45:10.420Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T16:45:10.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T16:45:10.462Z] > git merge c87f5736bc0c3f4f0df46418a3ded6651230b9e1 # timeout=10 [2023-03-21T16:45:10.887Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T16:45:11.066Z] Merge succeeded, producing 89aa75a23b90e295aa021cb561fc8f143400d4b9 [2023-03-21T16:45:11.066Z] Checking out Revision 89aa75a23b90e295aa021cb561fc8f143400d4b9 (PR-272) [2023-03-21T16:45:11.171Z] + cat /w/workspace/undry_device-onvif-camera_PR-272/archives/cost.csv [2023-03-21T16:45:11.171Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T16:45:11.186Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-272-4-stack-cost] [2023-03-21T16:45:11.193Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-272-4-stack-cost] did not exist. Created. [2023-03-21T16:45:11.193Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-272-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T16:45:11.499Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T16:45:11.522Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T16:45:11.527Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-272-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T16:45:11.546Z] $ docker stop --time=1 21d9ea2523d54b7963d248395c32755a750b24f0262f08c3d3fa4b2fc1d2d8ce [2023-03-21T16:45:11.047Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T16:45:11.076Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T16:45:11.091Z] > git checkout -f 89aa75a23b90e295aa021cb561fc8f143400d4b9 # timeout=10 [2023-03-21T16:45:12.714Z] $ docker rm -f --volumes 21d9ea2523d54b7963d248395c32755a750b24f0262f08c3d3fa4b2fc1d2d8ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T16:45:14.562Z] Commit message: "Merge commit 'c87f5736bc0c3f4f0df46418a3ded6651230b9e1' into HEAD" [2023-03-21T16:45:14.585Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T16:45:14.573Z] > git rev-list --no-walk 5402c3145f4edc2063d8361a63e9325b81a307e5 # timeout=10 [2023-03-21T16:45:15.656Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T16:45:15.656Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T16:45:15.656Z] Dload Upload Total Spent Left Speed [2023-03-21T16:45:15.656Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 112k 0 --:--:-- --:--:-- --:--:-- 112k [Pipeline] sh [2023-03-21T16:45:16.313Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T16:45:16.644Z] + + sudo teesudo /etc/docker/daemon.new jq [2023-03-21T16:45:16.644Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T16:45:16.644Z] { [2023-03-21T16:45:16.644Z] "registry-mirrors": [ [2023-03-21T16:45:16.644Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T16:45:16.644Z] ], [2023-03-21T16:45:16.644Z] "bip": "10.250.0.254/24", [2023-03-21T16:45:16.644Z] "hosts": [ [2023-03-21T16:45:16.644Z] "tcp://0.0.0.0:5555", [2023-03-21T16:45:16.644Z] "unix:///var/run/docker.sock" [2023-03-21T16:45:16.644Z] ], [2023-03-21T16:45:16.644Z] "mtu": 1458, [2023-03-21T16:45:16.644Z] "selinux-enabled": true, [2023-03-21T16:45:16.644Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T16:45:16.644Z] } [Pipeline] sh [2023-03-21T16:45:16.973Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T16:45:17.301Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T16:45:35.561Z] provisioning config files... [2023-03-21T16:45:35.585Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config11501014203315766148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:45:35.937Z] ---> docker-login.sh [2023-03-21T16:45:35.937Z] nexus3.edgexfoundry.org:10001 [2023-03-21T16:45:36.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:45:36.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:45:36.477Z] Configure a credential helper to remove this warning. See [2023-03-21T16:45:36.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:45:36.477Z] [2023-03-21T16:45:36.477Z] Login Succeeded [2023-03-21T16:45:36.477Z] nexus3.edgexfoundry.org:10002 [2023-03-21T16:45:36.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:45:36.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:45:36.747Z] Configure a credential helper to remove this warning. See [2023-03-21T16:45:36.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:45:36.747Z] [2023-03-21T16:45:36.747Z] Login Succeeded [2023-03-21T16:45:36.747Z] nexus3.edgexfoundry.org:10003 [2023-03-21T16:45:37.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:45:37.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:45:37.287Z] Configure a credential helper to remove this warning. See [2023-03-21T16:45:37.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:45:37.287Z] [2023-03-21T16:45:37.287Z] Login Succeeded [2023-03-21T16:45:37.287Z] nexus3.edgexfoundry.org:10004 [2023-03-21T16:45:37.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:45:37.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:45:37.556Z] Configure a credential helper to remove this warning. See [2023-03-21T16:45:37.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:45:37.556Z] [2023-03-21T16:45:37.556Z] Login Succeeded [2023-03-21T16:45:37.556Z] docker.io [2023-03-21T16:45:37.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:45:38.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:45:38.093Z] Configure a credential helper to remove this warning. See [2023-03-21T16:45:38.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:45:38.093Z] [2023-03-21T16:45:38.093Z] Login Succeeded [2023-03-21T16:45:38.093Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T16:45:38.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T16:45:38.344Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T16:45:38.354Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T16:45:38.361Z] ========================================================= [2023-03-21T16:45:38.361Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-21T16:45:38.361Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:45:38.691Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T16:45:39.281Z] Sending build context to Docker daemon 19.82MB [2023-03-21T16:45:39.281Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T16:45:39.281Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T16:45:39.281Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T16:45:39.281Z] 9b18e9b68314: Pulling fs layer [2023-03-21T16:45:39.281Z] 35d82f9e3411: Pulling fs layer [2023-03-21T16:45:39.281Z] e16973657156: Pulling fs layer [2023-03-21T16:45:39.281Z] fc693d55d65f: Pulling fs layer [2023-03-21T16:45:39.281Z] 7e9fc2657dce: Pulling fs layer [2023-03-21T16:45:39.281Z] dda99020689f: Pulling fs layer [2023-03-21T16:45:39.281Z] db1c61fa0a46: Pulling fs layer [2023-03-21T16:45:39.281Z] 891c053d2c06: Pulling fs layer [2023-03-21T16:45:39.281Z] dda99020689f: Waiting [2023-03-21T16:45:39.281Z] 891c053d2c06: Waiting [2023-03-21T16:45:39.281Z] fc693d55d65f: Waiting [2023-03-21T16:45:39.281Z] 7e9fc2657dce: Waiting [2023-03-21T16:45:39.281Z] db1c61fa0a46: Waiting [2023-03-21T16:45:39.281Z] e16973657156: Verifying Checksum [2023-03-21T16:45:39.281Z] e16973657156: Download complete [2023-03-21T16:45:39.281Z] 35d82f9e3411: Download complete [2023-03-21T16:45:39.281Z] 7e9fc2657dce: Verifying Checksum [2023-03-21T16:45:39.281Z] 7e9fc2657dce: Download complete [2023-03-21T16:45:39.562Z] dda99020689f: Verifying Checksum [2023-03-21T16:45:39.562Z] dda99020689f: Download complete [2023-03-21T16:45:39.562Z] 9b18e9b68314: Verifying Checksum [2023-03-21T16:45:40.544Z] 9b18e9b68314: Pull complete [2023-03-21T16:45:40.544Z] 891c053d2c06: Verifying Checksum [2023-03-21T16:45:40.544Z] 891c053d2c06: Download complete [2023-03-21T16:45:40.815Z] 35d82f9e3411: Pull complete [2023-03-21T16:45:41.086Z] e16973657156: Pull complete [2023-03-21T16:45:41.673Z] db1c61fa0a46: Verifying Checksum [2023-03-21T16:45:41.673Z] db1c61fa0a46: Download complete [2023-03-21T16:45:42.259Z] fc693d55d65f: Verifying Checksum [2023-03-21T16:45:42.259Z] fc693d55d65f: Download complete [2023-03-21T16:45:52.338Z] fc693d55d65f: Pull complete [2023-03-21T16:45:52.607Z] 7e9fc2657dce: Pull complete [2023-03-21T16:45:52.876Z] dda99020689f: Pull complete [2023-03-21T16:45:58.246Z] db1c61fa0a46: Pull complete [2023-03-21T16:46:01.590Z] 891c053d2c06: Pull complete [2023-03-21T16:46:01.590Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-21T16:46:01.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-21T16:46:01.590Z] ---> f96f9c87975a [2023-03-21T16:46:01.590Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T16:46:03.002Z] ---> Running in d919b497a8a0 [2023-03-21T16:46:03.266Z] Removing intermediate container d919b497a8a0 [2023-03-21T16:46:03.266Z] ---> 8560f5dd3766 [2023-03-21T16:46:03.266Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T16:46:03.266Z] ---> Running in 15d4f5d997d1 [2023-03-21T16:46:03.534Z] Removing intermediate container 15d4f5d997d1 [2023-03-21T16:46:03.534Z] ---> 6665a7dce999 [2023-03-21T16:46:03.534Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T16:46:03.534Z] ---> Running in e8a11b82f062 [2023-03-21T16:46:03.801Z] Removing intermediate container e8a11b82f062 [2023-03-21T16:46:03.801Z] ---> 40d7945e2a46 [2023-03-21T16:46:03.801Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T16:46:04.066Z] ---> Running in 2d691ea8fb00 [2023-03-21T16:46:04.331Z] Removing intermediate container 2d691ea8fb00 [2023-03-21T16:46:04.331Z] ---> fb77d06b4f68 [2023-03-21T16:46:04.331Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-21T16:46:04.331Z] ---> Running in 0544c0d0da99 [2023-03-21T16:46:04.599Z] Removing intermediate container 0544c0d0da99 [2023-03-21T16:46:04.599Z] ---> 2d783f032405 [2023-03-21T16:46:04.599Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T16:46:04.599Z] ---> Running in 9dc13e550ac9 [2023-03-21T16:46:06.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T16:46:06.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T16:46:06.958Z] OK: 221 MiB in 51 packages [2023-03-21T16:46:07.928Z] Removing intermediate container 9dc13e550ac9 [2023-03-21T16:46:07.928Z] ---> 884d774e8410 [2023-03-21T16:46:07.928Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-21T16:46:07.928Z] ---> Running in 14b45e845d53 [2023-03-21T16:46:08.195Z] Removing intermediate container 14b45e845d53 [2023-03-21T16:46:08.195Z] ---> 7fdac135814f [2023-03-21T16:46:08.195Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-21T16:46:08.461Z] ---> 852fef01e736 [2023-03-21T16:46:08.461Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T16:46:08.753Z] ---> Running in f2ac49a55c67 [2023-03-21T16:47:05.133Z] Removing intermediate container f2ac49a55c67 [2023-03-21T16:47:05.133Z] ---> 6188a7691037 [2023-03-21T16:47:05.133Z] Step 12/13 : COPY . . [2023-03-21T16:47:05.401Z] ---> 0857f5f32b6d [2023-03-21T16:47:05.401Z] Step 13/13 : RUN ${MAKE} [2023-03-21T16:47:05.401Z] ---> Running in 99c5133abe45 [2023-03-21T16:47:06.361Z] noop [2023-03-21T16:47:06.943Z] Removing intermediate container 99c5133abe45 [2023-03-21T16:47:06.943Z] ---> ff4b9ca8d70b [2023-03-21T16:47:06.943Z] Successfully built ff4b9ca8d70b [2023-03-21T16:47:06.943Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:47:07.276Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T16:47:07.276Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:47:07.462Z] prd-ubuntu20.04-docker-arm64-4c-16g-4901 does not seem to be running inside a container [2023-03-21T16:47:07.519Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T16:47:08.596Z] $ docker top c11730ed7acd4d84e10e284d77b1799ec85c99278c05108c022806c05994f2cd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T16:47:09.401Z] + go version [2023-03-21T16:47:09.401Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-21T16:47:09.416Z] $ docker stop --time=1 c11730ed7acd4d84e10e284d77b1799ec85c99278c05108c022806c05994f2cd [2023-03-21T16:47:10.993Z] $ docker rm -f --volumes c11730ed7acd4d84e10e284d77b1799ec85c99278c05108c022806c05994f2cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:47:11.527Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T16:47:11.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:47:11.695Z] prd-ubuntu20.04-docker-arm64-4c-16g-4901 does not seem to be running inside a container [2023-03-21T16:47:11.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T16:47:12.850Z] $ docker top 36e871c993e5ded26e0ff41203d7c3d0cf701a0f0696c4a5a4be54362be04bc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T16:47:13.679Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh [2023-03-21T16:47:14.006Z] + make test [2023-03-21T16:47:14.006Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-21T16:47:15.950Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-21T16:48:52.611Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-21T16:48:53.196Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.191s coverage: 29.3% of statements [2023-03-21T16:48:53.196Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-21T16:49:08.664Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.452s coverage: 86.5% of statements [2023-03-21T16:49:09.246Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T16:49:09.246Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-21T16:49:35.925Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T16:49:35.925Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T16:49:35.925Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T16:49:35.942Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T16:49:35.942Z] $ docker stop --time=1 36e871c993e5ded26e0ff41203d7c3d0cf701a0f0696c4a5a4be54362be04bc8 [2023-03-21T16:49:37.908Z] $ docker rm -f --volumes 36e871c993e5ded26e0ff41203d7c3d0cf701a0f0696c4a5a4be54362be04bc8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T16:49:39.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T16:49:39.106Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T16:49:42.562Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T16:49:42.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T16:49:43.279Z] + ls -al . [2023-03-21T16:49:43.279Z] total 244 [2023-03-21T16:49:43.279Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 16:47 . [2023-03-21T16:49:43.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 16:45 .. [2023-03-21T16:49:43.279Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 16:45 .git [2023-03-21T16:49:43.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 16:45 .github [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 16:45 .gitignore [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 16:45 .golangci.yml [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 21 16:45 Attribution.txt [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 21 16:45 CHANGELOG.md [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 21 16:45 Dockerfile [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 16:45 GOVERNANCE.md [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 21 16:45 Jenkinsfile [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 16:45 LICENSE [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 2997 Mar 21 16:45 Makefile [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 16:45 OWNERS.md [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 6048 Mar 21 16:45 README.md [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 16:43 VERSION [2023-03-21T16:49:43.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 16:45 bin [2023-03-21T16:49:43.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 16:45 cmd [2023-03-21T16:49:43.279Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 21 16:49 coverage.out [2023-03-21T16:49:43.279Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 16:45 doc [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 3693 Mar 21 16:45 go.mod [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 46117 Mar 21 16:45 go.sum [2023-03-21T16:49:43.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 16:45 internal [2023-03-21T16:49:43.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 16:45 snap [2023-03-21T16:49:43.279Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 16:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:49:43.608Z] + 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=89aa75a23b90e295aa021cb561fc8f143400d4b9 --label arch=arm64 --label version=0.0.0 . [2023-03-21T16:49:45.012Z] Sending build context to Docker daemon 19.9MB [2023-03-21T16:49:45.012Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T16:49:45.012Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-21T16:49:45.012Z] ---> ff4b9ca8d70b [2023-03-21T16:49:45.012Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-21T16:49:45.012Z] ---> Running in 43128c197b8b [2023-03-21T16:49:45.278Z] Removing intermediate container 43128c197b8b [2023-03-21T16:49:45.278Z] ---> d639df2da5b9 [2023-03-21T16:49:45.278Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T16:49:45.278Z] ---> Running in ab0e399ad9db [2023-03-21T16:49:45.546Z] Removing intermediate container ab0e399ad9db [2023-03-21T16:49:45.546Z] ---> 066b07002ad3 [2023-03-21T16:49:45.546Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T16:49:45.812Z] ---> Running in da91879e1d87 [2023-03-21T16:49:46.081Z] Removing intermediate container da91879e1d87 [2023-03-21T16:49:46.081Z] ---> f91f952fa102 [2023-03-21T16:49:46.082Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T16:49:46.082Z] ---> Running in de70b0c974ba [2023-03-21T16:49:46.347Z] Removing intermediate container de70b0c974ba [2023-03-21T16:49:46.347Z] ---> 1ceb367795d8 [2023-03-21T16:49:46.347Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-21T16:49:46.347Z] ---> Running in 5f77b8ea45c0 [2023-03-21T16:49:48.291Z] Removing intermediate container 5f77b8ea45c0 [2023-03-21T16:49:48.291Z] ---> 6605e12e6f78 [2023-03-21T16:49:48.291Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T16:49:48.291Z] ---> Running in 57fc8784fbe8 [2023-03-21T16:49:49.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T16:49:49.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T16:49:50.469Z] OK: 221 MiB in 51 packages [2023-03-21T16:49:51.051Z] Removing intermediate container 57fc8784fbe8 [2023-03-21T16:49:51.051Z] ---> 1e9f697a5af1 [2023-03-21T16:49:51.051Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-21T16:49:51.051Z] ---> Running in 54fb44e884a1 [2023-03-21T16:49:51.317Z] Removing intermediate container 54fb44e884a1 [2023-03-21T16:49:51.317Z] ---> 8972ce0f789f [2023-03-21T16:49:51.317Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-21T16:49:51.900Z] ---> 3d0759e56b36 [2023-03-21T16:49:51.900Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T16:49:51.900Z] ---> Running in 8d54ca51ed54 [2023-03-21T16:49:53.848Z] Removing intermediate container 8d54ca51ed54 [2023-03-21T16:49:53.848Z] ---> 80750d5cffdd [2023-03-21T16:49:53.848Z] Step 12/26 : COPY . . [2023-03-21T16:49:55.784Z] ---> ce96ad5fd994 [2023-03-21T16:49:55.784Z] Step 13/26 : RUN ${MAKE} [2023-03-21T16:49:55.784Z] ---> Running in 1ddea8feaf3f [2023-03-21T16:49:56.743Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-21T16:52:18.499Z] Removing intermediate container 1ddea8feaf3f [2023-03-21T16:52:18.499Z] ---> 3728da33620f [2023-03-21T16:52:18.499Z] Step 14/26 : FROM alpine:3.16 [2023-03-21T16:52:18.499Z] 3.16: Pulling from library/alpine [2023-03-21T16:52:18.499Z] 3760b48202b3: Pulling fs layer [2023-03-21T16:52:18.499Z] 3760b48202b3: Download complete [2023-03-21T16:52:18.499Z] 3760b48202b3: Pull complete [2023-03-21T16:52:18.499Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-21T16:52:18.499Z] Status: Downloaded newer image for alpine:3.16 [2023-03-21T16:52:18.499Z] ---> 4c81e5bf8899 [2023-03-21T16:52:18.499Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-21T16:52:18.499Z] ---> Running in 71a16821d316 [2023-03-21T16:52:18.499Z] Removing intermediate container 71a16821d316 [2023-03-21T16:52:18.499Z] ---> 988f43faa6e2 [2023-03-21T16:52:18.499Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-21T16:52:18.499Z] ---> Running in ed28eb97eced [2023-03-21T16:52:18.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T16:52:18.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T16:52:18.499Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-21T16:52:18.499Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-21T16:52:18.499Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-21T16:52:18.499Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-21T16:52:18.499Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-21T16:52:18.499Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-21T16:52:18.499Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T16:52:18.499Z] OK: 8 MiB in 20 packages [2023-03-21T16:52:18.499Z] Removing intermediate container ed28eb97eced [2023-03-21T16:52:18.499Z] ---> f2744e5fb7da [2023-03-21T16:52:18.499Z] Step 17/26 : WORKDIR / [2023-03-21T16:52:18.499Z] ---> Running in 922b63e58162 [2023-03-21T16:52:18.499Z] Removing intermediate container 922b63e58162 [2023-03-21T16:52:18.499Z] ---> 1f7e758e5866 [2023-03-21T16:52:18.499Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-21T16:52:18.768Z] ---> fef4e4702652 [2023-03-21T16:52:18.768Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-21T16:52:19.348Z] ---> a9bdac92b36e [2023-03-21T16:52:19.348Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-21T16:52:19.615Z] ---> 4b627dd50d0f [2023-03-21T16:52:19.615Z] Step 21/26 : EXPOSE 59984 [2023-03-21T16:52:19.882Z] ---> Running in 90b8d3e457c6 [2023-03-21T16:52:20.147Z] Removing intermediate container 90b8d3e457c6 [2023-03-21T16:52:20.147Z] ---> a34ae75b9983 [2023-03-21T16:52:20.147Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-21T16:52:20.147Z] ---> Running in 48f688983e10 [2023-03-21T16:52:20.413Z] Removing intermediate container 48f688983e10 [2023-03-21T16:52:20.413Z] ---> e4031f44362f [2023-03-21T16:52:20.413Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-21T16:52:20.413Z] ---> Running in 88c8244e902a [2023-03-21T16:52:20.681Z] Removing intermediate container 88c8244e902a [2023-03-21T16:52:20.681Z] ---> e60f8e743c90 [2023-03-21T16:52:20.681Z] Step 24/26 : LABEL arch=arm64 [2023-03-21T16:52:20.681Z] ---> Running in 12f31cada1b1 [2023-03-21T16:52:21.265Z] Removing intermediate container 12f31cada1b1 [2023-03-21T16:52:21.265Z] ---> dd38d6b73654 [2023-03-21T16:52:21.265Z] Step 25/26 : LABEL git_sha=89aa75a23b90e295aa021cb561fc8f143400d4b9 [2023-03-21T16:52:21.265Z] ---> Running in ef879e180c2b [2023-03-21T16:52:21.531Z] Removing intermediate container ef879e180c2b [2023-03-21T16:52:21.531Z] ---> 3dc1879455db [2023-03-21T16:52:21.531Z] Step 26/26 : LABEL version=0.0.0 [2023-03-21T16:52:21.531Z] ---> Running in e58c829982da [2023-03-21T16:52:21.797Z] Removing intermediate container e58c829982da [2023-03-21T16:52:21.797Z] ---> 62c5d1cc0a6c [2023-03-21T16:52:21.797Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T16:52:21.797Z] Successfully built 62c5d1cc0a6c [2023-03-21T16:52:21.797Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:52:22.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T16:52:22.290Z] [2023-03-21T16:52:22.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:52:22.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T16:52:22.628Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T16:52:22.628Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T16:52:22.628Z] 04944245beec: Pulling fs layer [2023-03-21T16:52:22.628Z] 699f458cf7ca: Pulling fs layer [2023-03-21T16:52:22.628Z] 765212b225bb: Pulling fs layer [2023-03-21T16:52:22.628Z] f23df028b6ca: Pulling fs layer [2023-03-21T16:52:22.628Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T16:52:22.628Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T16:52:22.628Z] f23df028b6ca: Waiting [2023-03-21T16:52:22.628Z] d65c8cfc05b1: Waiting [2023-03-21T16:52:22.628Z] 2437ff75d9bd: Waiting [2023-03-21T16:52:22.899Z] 04944245beec: Verifying Checksum [2023-03-21T16:52:22.899Z] 04944245beec: Download complete [2023-03-21T16:52:22.899Z] 765212b225bb: Verifying Checksum [2023-03-21T16:52:22.899Z] 765212b225bb: Download complete [2023-03-21T16:52:22.899Z] f23df028b6ca: Verifying Checksum [2023-03-21T16:52:22.899Z] f23df028b6ca: Download complete [2023-03-21T16:52:22.899Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T16:52:22.899Z] d65c8cfc05b1: Download complete [2023-03-21T16:52:23.184Z] 699f458cf7ca: Verifying Checksum [2023-03-21T16:52:23.184Z] 699f458cf7ca: Download complete [2023-03-21T16:52:23.460Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T16:52:23.460Z] 8998bd30e6a1: Download complete [2023-03-21T16:52:25.443Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T16:52:25.443Z] 2437ff75d9bd: Download complete [2023-03-21T16:52:27.404Z] 8998bd30e6a1: Pull complete [2023-03-21T16:52:27.670Z] 04944245beec: Pull complete [2023-03-21T16:52:29.074Z] 699f458cf7ca: Pull complete [2023-03-21T16:52:29.074Z] 765212b225bb: Pull complete [2023-03-21T16:52:29.655Z] f23df028b6ca: Pull complete [2023-03-21T16:52:31.596Z] d65c8cfc05b1: Pull complete [2023-03-21T16:52:43.887Z] 2437ff75d9bd: Pull complete [2023-03-21T16:52:43.887Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T16:52:43.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T16:52:43.887Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:52:44.067Z] prd-ubuntu20.04-docker-arm64-4c-16g-4901 does not seem to be running inside a container [2023-03-21T16:52:44.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T16:52:46.786Z] $ docker top 308d6ee5fdc1e88daaecca5df23ac755819ccc6488d2998c031f32550c3e6b8d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:52:47.629Z] ---> job-cost.sh [2023-03-21T16:52:47.629Z] lf-activate-venv: SKIPPING [2023-03-21T16:52:47.629Z] INFO: No Stack... [2023-03-21T16:52:47.894Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T16:52:48.849Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T16:52:49.481Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2023-03-21T16:52:49.481Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T16:52:49.543Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-272-4-stack-cost] [2023-03-21T16:52:49.549Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-272-4-stack-cost] did not exist. Created. [2023-03-21T16:52:49.549Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-272-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T16:52:49.886Z] /w/workspace/device-onvif-camera/4@tmp/durable-f483c4e2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T16:52:50.215Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T16:52:50.237Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T16:52:50.301Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T16:52:50.311Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-272-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T16:52:50.310Z] $ docker stop --time=1 308d6ee5fdc1e88daaecca5df23ac755819ccc6488d2998c031f32550c3e6b8d [2023-03-21T16:52:51.778Z] $ docker rm -f --volumes 308d6ee5fdc1e88daaecca5df23ac755819ccc6488d2998c031f32550c3e6b8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-21T16:52:52.157Z] provisioning config files... [2023-03-21T16:52:52.165Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-272@tmp/config1971769465296945627tmp [Pipeline] { [Pipeline] sh [2023-03-21T16:52:52.454Z] + set +x [2023-03-21T16:52:52.454Z] + + bash -s --curl [2023-03-21T16:52:52.454Z] -s https://codecov.io/bash [2023-03-21T16:52:52.454Z] [2023-03-21T16:52:52.454Z] _____ _ [2023-03-21T16:52:52.454Z] / ____| | | [2023-03-21T16:52:52.454Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T16:52:52.454Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T16:52:52.454Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T16:52:52.454Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T16:52:52.454Z] Bash-1.0.6 [2023-03-21T16:52:52.454Z] [2023-03-21T16:52:52.454Z] [2023-03-21T16:52:52.454Z] ==> git version 2.25.1 found [2023-03-21T16:52:52.454Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-21T16:52:52.454Z] Release-Date: 2020-01-08 [2023-03-21T16:52:52.454Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-21T16:52:52.454Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T16:52:52.454Z] ==> Jenkins CI detected. [2023-03-21T16:52:52.454Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-272 [2023-03-21T16:52:52.454Z] project root: . [2023-03-21T16:52:52.454Z] --> token set from env [2023-03-21T16:52:52.454Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T16:52:52.454Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T16:52:52.454Z] ==> Python coveragepy not found [2023-03-21T16:52:52.454Z] ==> Searching for coverage reports in: [2023-03-21T16:52:52.454Z] + . [2023-03-21T16:52:52.454Z] -> Found 1 reports [2023-03-21T16:52:52.454Z] ==> Detecting git/mercurial file structure [2023-03-21T16:52:52.714Z] ==> Reading reports [2023-03-21T16:52:52.714Z] + ./coverage.out bytes=79184 [2023-03-21T16:52:52.714Z] ==> Appending adjustments [2023-03-21T16:52:52.714Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T16:52:52.714Z] + Found adjustments [2023-03-21T16:52:52.714Z] ==> Gzipping contents [2023-03-21T16:52:52.714Z] 12K /tmp/codecov.gV3SDX.gz [2023-03-21T16:52:52.714Z] ==> Uploading reports [2023-03-21T16:52:52.714Z] url: https://codecov.io [2023-03-21T16:52:52.714Z] query: branch=PR-272&commit=ad3fa2074cd56b4793bcdd029b5dc5f119e142dd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-272%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=272&job=&cmd_args= [2023-03-21T16:52:52.714Z] -> Pinging Codecov [2023-03-21T16:52:52.714Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-272&commit=ad3fa2074cd56b4793bcdd029b5dc5f119e142dd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-272%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=272&job=&cmd_args= [2023-03-21T16:52:52.973Z] -> Uploading to [2023-03-21T16:52:52.973Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/F29A59C45E3A92E06B3E522C9905F8EF/ad3fa2074cd56b4793bcdd029b5dc5f119e142dd/4a8c1db6-8e8a-44a5-a746-f8ea96277df3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T165252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=97575967099d5572bfc5f32aba324fba3c33cc635b4092edfd71a24957a4a820 [2023-03-21T16:52:52.973Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T16:52:52.973Z] Dload Upload Total Spent Left Speed [2023-03-21T16:52:53.232Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10845 0 0 100 10845 0 35557 --:--:-- --:--:-- --:--:-- 35557 [2023-03-21T16:52:53.232Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ad3fa2074cd56b4793bcdd029b5dc5f119e142dd [Pipeline] } [2023-03-21T16:52:53.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-21T16:52:53.978Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-272/archives ] [2023-03-21T16:52:53.978Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-272/archives [2023-03-21T16:52:53.978Z] total 16 [2023-03-21T16:52:53.978Z] drwxr-xr-x 3 root root 4096 Mar 21 16:45 . [2023-03-21T16:52:53.978Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 16:45 .. [2023-03-21T16:52:53.978Z] drwxr-xr-x 2 root root 4096 Mar 21 16:45 cost [2023-03-21T16:52:53.978Z] -rw-r--r-- 1 root root 91 Mar 21 16:45 cost.csv [2023-03-21T16:52:53.978Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-272/archives [2023-03-21T16:52:53.978Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-272/archives [2023-03-21T16:52:53.978Z] total 16 [2023-03-21T16:52:53.978Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 16:45 . [2023-03-21T16:52:53.978Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 16:45 .. [2023-03-21T16:52:53.978Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 16:45 cost [2023-03-21T16:52:53.978Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 21 16:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:52:54.268Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:52:55.126Z] ---> package-listing.sh [2023-03-21T16:52:55.126Z] ++ facter osfamily [2023-03-21T16:52:55.126Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T16:52:55.385Z] + OS_FAMILY=debian [2023-03-21T16:52:55.385Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-272 [2023-03-21T16:52:55.385Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T16:52:55.385Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T16:52:55.385Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T16:52:55.385Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T16:52:55.385Z] + '[' /w/workspace/undry_device-onvif-camera_PR-272 ']' [2023-03-21T16:52:55.385Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T16:52:55.385Z] + case "${OS_FAMILY}" in [2023-03-21T16:52:55.385Z] + dpkg -l [2023-03-21T16:52:55.385Z] + grep '^ii' [2023-03-21T16:52:55.385Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T16:52:55.385Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T16:52:55.385Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T16:52:55.385Z] + '[' /w/workspace/undry_device-onvif-camera_PR-272 ']' [2023-03-21T16:52:55.385Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-272/archives/ [2023-03-21T16:52:55.385Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-272/archives/ [Pipeline] echo [2023-03-21T16:52:55.396Z] 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-272/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T16:52:55.670Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:52:56.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T16:52:56.220Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:52:56.294Z] prd-ubuntu20.04-docker-8c-8g-4900 does not seem to be running inside a container [2023-03-21T16:52:56.327Z] $ 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-272/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-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@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-03-21T16:52:56.532Z] $ docker top 91f12cc5c87a2812dfad93c74883092120785cb840dac48c59342d151c0e322f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T16:52:56.882Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T16:52:57.170Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T16:52:57.456Z] + ls /var/log/sa-host [2023-03-21T16:52:57.456Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T16:52:57.523Z] provisioning config files... [2023-03-21T16:52:57.533Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-272@tmp/config11217635335155327770tmp [Pipeline] { [Pipeline] echo [2023-03-21T16:52:57.546Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:52:57.828Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T16:52:57.836Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:52:58.160Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T16:52:58.169Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:52:58.453Z] ---> sudo-logs.sh [2023-03-21T16:52:58.453Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T16:52:58.485Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:52:58.770Z] ---> job-cost.sh [2023-03-21T16:52:58.770Z] lf-activate-venv: SKIPPING [2023-03-21T16:52:58.770Z] DEBUG: total: 0.2199999988079071 [2023-03-21T16:52:58.770Z] INFO: Retrieving Stack Cost... [2023-03-21T16:52:59.029Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T16:52:59.597Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T16:52:59.608Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:52:59.891Z] ---> logs-deploy.sh [2023-03-21T16:52:59.891Z] lf-activate-venv: SKIPPING [2023-03-21T16:52:59.891Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-272/4 [2023-03-21T16:52:59.891Z] INFO: archiving workspace using pattern(s): [2023-03-21T16:53:00.828Z] Archives upload complete. [2023-03-21T16:53:01.087Z] INFO: archiving logs to Nexus