Pull request #204 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543+848d5d618f3ca3205f9827ec1c0cd48d03305e40 (e2cd01d82d575ad15da32a8c4217b94b37ade2c3) 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-ssh10608434787655413986.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12811651195540985853.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-204/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-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13297566960516890028.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9668703305315574777.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-204/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-204/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3234754095331459634.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1717’ Running on prd-ubuntu20.04-docker-8c-8g-1726 in /w/workspace/undry_device-onvif-camera_PR-204 [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-204 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 848d5d618f3ca3205f9827ec1c0cd48d03305e40 into PR head commit 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 Merge succeeded, producing 76e578cda94745a9b84207333d104eb20bb45009 Checking out Revision 76e578cda94745a9b84207333d104eb20bb45009 (PR-204) > git config core.sparsecheckout # timeout=10 > git checkout -f 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 # 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 848d5d618f3ca3205f9827ec1c0cd48d03305e40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76e578cda94745a9b84207333d104eb20bb45009 # timeout=10 Commit message: "Merge commit '848d5d618f3ca3205f9827ec1c0cd48d03305e40' into HEAD" > git rev-list --no-walk 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T21:54:00.754Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T21:54:00.806Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T21:54:00.821Z] ========================================================= [2023-01-10T21:54:00.821Z] EdgeX Global Pipelines Version Info [2023-01-10T21:54:00.821Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:54:01.550Z] ------------------- [2023-01-10T21:54:01.550Z] stable info: [2023-01-10T21:54:01.550Z] ------------------- [2023-01-10T21:54:01.550Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T21:54:01.550Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T21:54:01.550Z] Message: update stable to v1.0.244 [2023-01-10T21:54:02.122Z] ------------------- [2023-01-10T21:54:02.122Z] experimental info: [2023-01-10T21:54:02.122Z] ------------------- [2023-01-10T21:54:02.122Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T21:54:02.122Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T21:54:02.122Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T21:54:02.282Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-10T21:54:02.297Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-10T21:54:02.308Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T21:54:02.325Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T21:54:02.336Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T21:54:02.346Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T21:54:02.358Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T21:54:02.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T21:54:02.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T21:54:02.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T21:54:02.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T21:54:02.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-10T21:54:02.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T21:54:02.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T21:54:02.471Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T21:54:02.482Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T21:54:02.495Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T21:54:02.508Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T21:54:02.521Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T21:54:02.535Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T21:54:02.550Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-10T21:54:02.564Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-10T21:54:02.574Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T21:54:02.592Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T21:54:02.606Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T21:54:02.617Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T21:54:02.628Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T21:54:02.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo [2023-01-10T21:54:02.653Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo [2023-01-10T21:54:02.664Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo [2023-01-10T21:54:02.674Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76e578cda94745a9b84207333d104eb20bb45009 [Pipeline] echo [2023-01-10T21:54:02.688Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76e578c [Pipeline] echo [2023-01-10T21:54:02.700Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:54:02.741Z] provisioning config files... [2023-01-10T21:54:02.754Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-204@tmp/config6888178238072041923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:54:03.062Z] ---> docker-login.sh [2023-01-10T21:54:03.062Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:54:03.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:03.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:03.323Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:03.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:03.323Z] [2023-01-10T21:54:03.323Z] Login Succeeded [2023-01-10T21:54:03.323Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:54:03.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:03.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:03.323Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:03.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:03.323Z] [2023-01-10T21:54:03.323Z] Login Succeeded [2023-01-10T21:54:03.323Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:54:03.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:03.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:03.583Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:03.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:03.583Z] [2023-01-10T21:54:03.583Z] Login Succeeded [2023-01-10T21:54:03.583Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:54:03.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:03.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:03.583Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:03.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:03.583Z] [2023-01-10T21:54:03.583Z] Login Succeeded [2023-01-10T21:54:03.583Z] docker.io [2023-01-10T21:54:03.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:03.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:03.842Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:03.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:03.842Z] [2023-01-10T21:54:03.842Z] Login Succeeded [2023-01-10T21:54:03.842Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:54:03.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T21:54:04.208Z] + git rev-list -1 --merges 76e578cda94745a9b84207333d104eb20bb45009~1..76e578cda94745a9b84207333d104eb20bb45009 [Pipeline] echo [2023-01-10T21:54:04.253Z] -----------> git rev-list -1 --merges 76e578cda94745a9b84207333d104eb20bb45009~1..76e578cda94745a9b84207333d104eb20bb45009 76e578cda94745a9b84207333d104eb20bb45009 [2023-01-10T21:54:04.253Z] 76e578cda94745a9b84207333d104eb20bb45009 [false] [Pipeline] sh [2023-01-10T21:54:04.539Z] + git log --format=format:%s -1 76e578cda94745a9b84207333d104eb20bb45009 [Pipeline] echo [2023-01-10T21:54:04.554Z] ========================================================= [2023-01-10T21:54:04.554Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T21:54:04.554Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:54:04.874Z] + git log --format=format:%s -1 76e578cda94745a9b84207333d104eb20bb45009 [Pipeline] echo [2023-01-10T21:54:04.886Z] [semverPrep] GIT_COMMIT: 76e578cda94745a9b84207333d104eb20bb45009, Commit Message: Merge commit '848d5d618f3ca3205f9827ec1c0cd48d03305e40' into HEAD [Pipeline] echo [2023-01-10T21:54:04.897Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T21:54:05.229Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T21:54:05.229Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T21:54:05.229Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T21:54:05.229Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T21:54:05.229Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T21:54:05.229Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T21:54:05.229Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:05.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:54:05.567Z] [2023-01-10T21:54:05.567Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:05.868Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:54:05.868Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T21:54:05.868Z] b85a868b505f: Pulling fs layer [2023-01-10T21:54:05.868Z] e2be974225ed: Pulling fs layer [2023-01-10T21:54:05.868Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T21:54:05.868Z] 988bab9f4d93: Pulling fs layer [2023-01-10T21:54:05.868Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T21:54:05.868Z] eaf3925da568: Pulling fs layer [2023-01-10T21:54:05.868Z] bab4dde63d76: Pulling fs layer [2023-01-10T21:54:05.868Z] bde34c3a00c8: Pulling fs layer [2023-01-10T21:54:05.868Z] b352a97aabf1: Pulling fs layer [2023-01-10T21:54:05.868Z] 4872d77fe225: Pulling fs layer [2023-01-10T21:54:05.868Z] 5851b861e8e6: Pulling fs layer [2023-01-10T21:54:05.868Z] 988bab9f4d93: Waiting [2023-01-10T21:54:05.868Z] 1469e6f7b9e6: Waiting [2023-01-10T21:54:05.868Z] eaf3925da568: Waiting [2023-01-10T21:54:05.868Z] 4872d77fe225: Waiting [2023-01-10T21:54:05.868Z] bde34c3a00c8: Waiting [2023-01-10T21:54:05.868Z] 5851b861e8e6: Waiting [2023-01-10T21:54:05.868Z] b352a97aabf1: Waiting [2023-01-10T21:54:05.868Z] bab4dde63d76: Waiting [2023-01-10T21:54:05.868Z] e2be974225ed: Download complete [2023-01-10T21:54:05.868Z] 988bab9f4d93: Download complete [2023-01-10T21:54:06.129Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T21:54:06.129Z] 1469e6f7b9e6: Download complete [2023-01-10T21:54:06.129Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T21:54:06.129Z] 339a4e72a1f5: Download complete [2023-01-10T21:54:06.129Z] eaf3925da568: Verifying Checksum [2023-01-10T21:54:06.129Z] eaf3925da568: Download complete [2023-01-10T21:54:06.129Z] bde34c3a00c8: Verifying Checksum [2023-01-10T21:54:06.129Z] bde34c3a00c8: Download complete [2023-01-10T21:54:06.129Z] b352a97aabf1: Verifying Checksum [2023-01-10T21:54:06.129Z] b352a97aabf1: Download complete [2023-01-10T21:54:06.129Z] 4872d77fe225: Download complete [2023-01-10T21:54:06.129Z] 5851b861e8e6: Download complete [2023-01-10T21:54:06.129Z] b85a868b505f: Verifying Checksum [2023-01-10T21:54:06.129Z] b85a868b505f: Download complete [2023-01-10T21:54:06.389Z] bab4dde63d76: Verifying Checksum [2023-01-10T21:54:06.389Z] bab4dde63d76: Download complete [2023-01-10T21:54:07.322Z] b85a868b505f: Pull complete [2023-01-10T21:54:07.322Z] e2be974225ed: Pull complete [2023-01-10T21:54:07.889Z] 339a4e72a1f5: Pull complete [2023-01-10T21:54:07.889Z] 988bab9f4d93: Pull complete [2023-01-10T21:54:08.148Z] 1469e6f7b9e6: Pull complete [2023-01-10T21:54:08.148Z] eaf3925da568: Pull complete [2023-01-10T21:54:10.051Z] bab4dde63d76: Pull complete [2023-01-10T21:54:10.051Z] bde34c3a00c8: Pull complete [2023-01-10T21:54:10.051Z] b352a97aabf1: Pull complete [2023-01-10T21:54:10.051Z] 4872d77fe225: Pull complete [2023-01-10T21:54:10.051Z] 5851b861e8e6: Pull complete [2023-01-10T21:54:10.051Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T21:54:10.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:54:10.051Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:54:10.140Z] prd-ubuntu20.04-docker-8c-8g-1726 does not seem to be running inside a container [2023-01-10T21:54:10.173Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-204 -v /w/workspace/undry_device-onvif-camera_PR-204:/w/workspace/undry_device-onvif-camera_PR-204:rw,z -v /w/workspace/undry_device-onvif-camera_PR-204@tmp:/w/workspace/undry_device-onvif-camera_PR-204@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T21:54:11.780Z] $ docker top ea9bf89bc9d3b429fb30868678c4b7e4d575cc055daac4c1a3c3ef9991deee60 -eo pid,comm [2023-01-10T21:54:11.833Z] 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-01-10T21:54:11.833Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T21:54:11.867Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:54:11.867Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:54:11.995Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:54:11.999Z] $ docker exec ea9bf89bc9d3b429fb30868678c4b7e4d575cc055daac4c1a3c3ef9991deee60 ssh-agent [2023-01-10T21:54:12.097Z] SSH_AUTH_SOCK=/tmp/ssh-lmY10eISLj6H/agent.32 [2023-01-10T21:54:12.097Z] SSH_AGENT_PID=38 [2023-01-10T21:54:12.103Z] Running ssh-add (command line suppressed) [2023-01-10T21:54:12.202Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-204@tmp/private_key_1149665544895328275.key (/w/workspace/undry_device-onvif-camera_PR-204@tmp/private_key_1149665544895328275.key) [2023-01-10T21:54:12.213Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:54:12.503Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T21:54:12.523Z] $ docker exec --env ******** --env ******** ea9bf89bc9d3b429fb30868678c4b7e4d575cc055daac4c1a3c3ef9991deee60 ssh-agent -k [2023-01-10T21:54:12.615Z] unset SSH_AUTH_SOCK; [2023-01-10T21:54:12.615Z] unset SSH_AGENT_PID; [2023-01-10T21:54:12.615Z] echo Agent pid 38 killed; [2023-01-10T21:54:12.623Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T21:54:12.652Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:54:12.652Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:54:12.762Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:54:12.765Z] $ docker exec ea9bf89bc9d3b429fb30868678c4b7e4d575cc055daac4c1a3c3ef9991deee60 ssh-agent [2023-01-10T21:54:12.875Z] SSH_AUTH_SOCK=/tmp/ssh-HCtjiugafC4d/agent.70 [2023-01-10T21:54:12.875Z] SSH_AGENT_PID=76 [2023-01-10T21:54:12.879Z] Running ssh-add (command line suppressed) [2023-01-10T21:54:12.984Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-204@tmp/private_key_7762211588368438132.key (/w/workspace/undry_device-onvif-camera_PR-204@tmp/private_key_7762211588368438132.key) [2023-01-10T21:54:12.998Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:54:13.284Z] + git semver init [2023-01-10T21:54:13.544Z] 2023-01-10 21:54:13,458 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T21:54:13.544Z] 2023-01-10 21:54:13,458 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-204/.semver [2023-01-10T21:54:13.544Z] 2023-01-10 21:54:13,459 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-204/.semver [2023-01-10T21:54:13.544Z] 2023-01-10 21:54:13,459 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-204/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-204, universal_newlines=False, shell=None, istream=None) [2023-01-10T21:54:14.482Z] 2023-01-10 21:54:14,318 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-204/.git/info/exclude [2023-01-10T21:54:14.482Z] 2023-01-10 21:54:14,319 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-204/.semver/PR-204 with force:False [2023-01-10T21:54:14.482Z] 2023-01-10 21:54:14,319 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-204/.semver/PR-204 [2023-01-10T21:54:14.482Z] 2023-01-10 21:54:14,321 [execute] INFO git cat-file --batch-check [2023-01-10T21:54:14.482Z] 2023-01-10 21:54:14,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T21:54:14.482Z] 2023-01-10 21:54:14,327 [execute] INFO git cat-file --batch [2023-01-10T21:54:14.482Z] 2023-01-10 21:54:14,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T21:54:14.482Z] 2023-01-10 21:54:14,333 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-204/.semver/PR-204 [2023-01-10T21:54:14.482Z] 0.0.0 [Pipeline] } [2023-01-10T21:54:14.493Z] $ docker exec --env ******** --env ******** ea9bf89bc9d3b429fb30868678c4b7e4d575cc055daac4c1a3c3ef9991deee60 ssh-agent -k [2023-01-10T21:54:14.588Z] unset SSH_AUTH_SOCK; [2023-01-10T21:54:14.588Z] unset SSH_AGENT_PID; [2023-01-10T21:54:14.588Z] echo Agent pid 76 killed; [2023-01-10T21:54:14.599Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T21:54:14.906Z] + git semver [Pipeline] } [2023-01-10T21:54:15.178Z] $ docker stop --time=1 ea9bf89bc9d3b429fb30868678c4b7e4d575cc055daac4c1a3c3ef9991deee60 [2023-01-10T21:54:16.495Z] $ docker rm -f --volumes ea9bf89bc9d3b429fb30868678c4b7e4d575cc055daac4c1a3c3ef9991deee60 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:54:16.822Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T21:54:17.030Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T21:54:17.034Z] [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-01-10T21:54:17.156Z] provisioning config files... [2023-01-10T21:54:17.165Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-204@tmp/config14190037277318736419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:54:17.461Z] ---> docker-login.sh [2023-01-10T21:54:17.461Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:54:17.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:17.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:17.461Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:17.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:17.461Z] [2023-01-10T21:54:17.461Z] Login Succeeded [2023-01-10T21:54:17.461Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:54:17.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:17.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:17.719Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:17.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:17.719Z] [2023-01-10T21:54:17.719Z] Login Succeeded [2023-01-10T21:54:17.719Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:54:17.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:17.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:17.719Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:17.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:17.719Z] [2023-01-10T21:54:17.719Z] Login Succeeded [2023-01-10T21:54:17.719Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:54:17.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:17.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:17.719Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:17.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:17.719Z] [2023-01-10T21:54:17.719Z] Login Succeeded [2023-01-10T21:54:17.719Z] docker.io [2023-01-10T21:54:17.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:54:17.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:54:17.977Z] Configure a credential helper to remove this warning. See [2023-01-10T21:54:17.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:54:17.977Z] [2023-01-10T21:54:17.977Z] Login Succeeded [2023-01-10T21:54:17.977Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:54:17.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T21:54:18.053Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:54:18.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:54:18.076Z] ========================================================= [2023-01-10T21:54:18.076Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T21:54:18.076Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:18.380Z] + 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-01-10T21:54:18.380Z] Sending build context to Docker daemon 27.63MB [2023-01-10T21:54:18.380Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:54:18.380Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-10T21:54:18.639Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T21:54:18.639Z] 213ec9aee27d: Pulling fs layer [2023-01-10T21:54:18.639Z] 4583459ba037: Pulling fs layer [2023-01-10T21:54:18.639Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T21:54:18.639Z] 53926ce57604: Pulling fs layer [2023-01-10T21:54:18.639Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T21:54:18.639Z] 53926ce57604: Waiting [2023-01-10T21:54:18.639Z] 22ff95d597cd: Pulling fs layer [2023-01-10T21:54:18.639Z] 21b2b0c7a3f4: Waiting [2023-01-10T21:54:18.639Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T21:54:18.639Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T21:54:18.639Z] a7acece74701: Pulling fs layer [2023-01-10T21:54:18.639Z] 22ff95d597cd: Waiting [2023-01-10T21:54:18.639Z] 12d6caf4c0d1: Waiting [2023-01-10T21:54:18.639Z] 96b7cbca73a9: Waiting [2023-01-10T21:54:18.639Z] a7acece74701: Waiting [2023-01-10T21:54:18.639Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T21:54:18.639Z] 93c1e223e6f2: Download complete [2023-01-10T21:54:18.639Z] 4583459ba037: Download complete [2023-01-10T21:54:18.639Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T21:54:18.639Z] 21b2b0c7a3f4: Download complete [2023-01-10T21:54:18.639Z] 22ff95d597cd: Verifying Checksum [2023-01-10T21:54:18.639Z] 22ff95d597cd: Download complete [2023-01-10T21:54:18.639Z] 213ec9aee27d: Download complete [2023-01-10T21:54:18.639Z] 12d6caf4c0d1: Verifying Checksum [2023-01-10T21:54:18.639Z] 12d6caf4c0d1: Download complete [2023-01-10T21:54:18.906Z] 213ec9aee27d: Pull complete [2023-01-10T21:54:18.906Z] 4583459ba037: Pull complete [2023-01-10T21:54:19.169Z] 93c1e223e6f2: Pull complete [2023-01-10T21:54:19.169Z] a7acece74701: Verifying Checksum [2023-01-10T21:54:19.169Z] a7acece74701: Download complete [2023-01-10T21:54:19.428Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T21:54:19.428Z] 96b7cbca73a9: Download complete [2023-01-10T21:54:19.428Z] 53926ce57604: Verifying Checksum [2023-01-10T21:54:19.428Z] 53926ce57604: Download complete [2023-01-10T21:54:23.619Z] 53926ce57604: Pull complete [2023-01-10T21:54:23.619Z] 21b2b0c7a3f4: Pull complete [2023-01-10T21:54:23.619Z] 22ff95d597cd: Pull complete [2023-01-10T21:54:23.619Z] 12d6caf4c0d1: Pull complete [2023-01-10T21:54:25.520Z] 96b7cbca73a9: Pull complete [2023-01-10T21:54:25.778Z] a7acece74701: Pull complete [2023-01-10T21:54:26.037Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T21:54:26.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T21:54:26.037Z] ---> db6d94c90886 [2023-01-10T21:54:26.037Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:54:27.957Z] ---> Running in 8d629d20426e [2023-01-10T21:54:27.957Z] Removing intermediate container 8d629d20426e [2023-01-10T21:54:27.957Z] ---> 4c34ace092e5 [2023-01-10T21:54:27.957Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:54:28.215Z] ---> Running in 602a327e8d93 [2023-01-10T21:54:28.215Z] Removing intermediate container 602a327e8d93 [2023-01-10T21:54:28.215Z] ---> 5674efe540f5 [2023-01-10T21:54:28.215Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-10T21:54:28.215Z] ---> Running in a39c6c547b9e [2023-01-10T21:54:28.476Z] Removing intermediate container a39c6c547b9e [2023-01-10T21:54:28.476Z] ---> f183941b89db [2023-01-10T21:54:28.476Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T21:54:28.476Z] ---> Running in 2bd8476c3da7 [2023-01-10T21:54:28.476Z] Removing intermediate container 2bd8476c3da7 [2023-01-10T21:54:28.476Z] ---> 11d54778b14e [2023-01-10T21:54:28.476Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-10T21:54:28.476Z] ---> Running in 2286fb3c14e5 [2023-01-10T21:54:28.735Z] Removing intermediate container 2286fb3c14e5 [2023-01-10T21:54:28.735Z] ---> ad25678f7c70 [2023-01-10T21:54:28.735Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T21:54:28.735Z] ---> Running in 62d6be09af11 [2023-01-10T21:54:28.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:54:28.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:54:29.253Z] OK: 211 MiB in 51 packages [2023-01-10T21:54:29.514Z] Removing intermediate container 62d6be09af11 [2023-01-10T21:54:29.514Z] ---> 1074af4e601b [2023-01-10T21:54:29.514Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-10T21:54:29.772Z] ---> Running in f673c583ec1e [2023-01-10T21:54:29.772Z] Removing intermediate container f673c583ec1e [2023-01-10T21:54:29.772Z] ---> 43dfe4d1c99c [2023-01-10T21:54:29.772Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-10T21:54:29.772Z] ---> 378d3035c7c9 [2023-01-10T21:54:29.772Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:54:30.030Z] ---> Running in a5a4ad3e14f4 [2023-01-10T21:54:32.124Z] Still waiting to schedule task [2023-01-10T21:54:32.124Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-10T21:54:52.012Z] Removing intermediate container a5a4ad3e14f4 [2023-01-10T21:54:52.012Z] ---> 2249f9fc9cc8 [2023-01-10T21:54:52.012Z] Step 12/13 : COPY . . [2023-01-10T21:54:52.012Z] ---> 4145f6b6e09f [2023-01-10T21:54:52.012Z] Step 13/13 : RUN ${MAKE} [2023-01-10T21:54:52.012Z] ---> Running in b9812caf563c [2023-01-10T21:54:52.012Z] noop [2023-01-10T21:54:52.012Z] Removing intermediate container b9812caf563c [2023-01-10T21:54:52.012Z] ---> 75a40a57a6c1 [2023-01-10T21:54:52.012Z] Successfully built 75a40a57a6c1 [2023-01-10T21:54:52.012Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:52.315Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T21:54:52.315Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:54:52.376Z] prd-ubuntu20.04-docker-8c-8g-1726 does not seem to be running inside a container [2023-01-10T21:54:52.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-204 -v /w/workspace/undry_device-onvif-camera_PR-204:/w/workspace/undry_device-onvif-camera_PR-204:rw,z -v /w/workspace/undry_device-onvif-camera_PR-204@tmp:/w/workspace/undry_device-onvif-camera_PR-204@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 ******** ci-base-image-x86_64 cat [2023-01-10T21:54:52.744Z] $ docker top be09a6c29a436845fb95aaa4744011571303aeb98c8363417466cc2a75a37a01 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:54:53.085Z] + go version [2023-01-10T21:54:53.085Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T21:54:53.097Z] $ docker stop --time=1 be09a6c29a436845fb95aaa4744011571303aeb98c8363417466cc2a75a37a01 [2023-01-10T21:54:54.376Z] $ docker rm -f --volumes be09a6c29a436845fb95aaa4744011571303aeb98c8363417466cc2a75a37a01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:54:54.830Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T21:54:54.830Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:54:54.902Z] prd-ubuntu20.04-docker-8c-8g-1726 does not seem to be running inside a container [2023-01-10T21:54:54.938Z] $ 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-204 -v /w/workspace/undry_device-onvif-camera_PR-204:/w/workspace/undry_device-onvif-camera_PR-204:rw,z -v /w/workspace/undry_device-onvif-camera_PR-204@tmp:/w/workspace/undry_device-onvif-camera_PR-204@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 ******** ci-base-image-x86_64 cat [2023-01-10T21:54:55.294Z] $ docker top 148f8fdf3481e06fb6d3cf89b5ce77f573d2364c76cf62a0153fbb2ce498b15f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:54:55.629Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-204 [Pipeline] fileExists [Pipeline] sh [2023-01-10T21:54:55.924Z] + make test [2023-01-10T21:54:55.924Z] go test ./... -coverprofile=coverage.out ./... [2023-01-10T21:54:56.186Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-10T21:55:06.152Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-10T21:55:08.060Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 29.3% of statements [2023-01-10T21:55:08.060Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-10T21:55:08.060Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.291s coverage: 86.5% of statements [2023-01-10T21:55:14.614Z] 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-01-10T21:55:14.614Z] go vet ./... [2023-01-10T21:55:17.894Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T21:55:17.894Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T21:55:17.894Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T21:55:17.906Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T21:55:17.921Z] $ docker stop --time=1 148f8fdf3481e06fb6d3cf89b5ce77f573d2364c76cf62a0153fbb2ce498b15f [2023-01-10T21:55:19.786Z] $ docker rm -f --volumes 148f8fdf3481e06fb6d3cf89b5ce77f573d2364c76cf62a0153fbb2ce498b15f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:55:20.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T21:55:20.280Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T21:55:20.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T21:55:20.983Z] + ls -al . [2023-01-10T21:55:20.983Z] total 248 [2023-01-10T21:55:20.983Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 21:54 . [2023-01-10T21:55:20.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:53 .. [2023-01-10T21:55:20.983Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:55 .git [2023-01-10T21:55:20.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:53 .github [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 10 21:53 .gitignore [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 21:53 .golangci.yml [2023-01-10T21:55:20.983Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:54 .semver [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 10 21:53 Attribution.txt [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 10 21:53 CHANGELOG.md [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 10 21:53 Dockerfile [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:53 GOVERNANCE.md [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 10 21:53 Jenkinsfile [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 10 21:53 LICENSE [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jan 10 21:53 Makefile [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 10 21:53 OWNERS.md [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 10 21:53 README.md [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 21:54 VERSION [2023-01-10T21:55:20.983Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:53 bin [2023-01-10T21:55:20.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:53 cmd [2023-01-10T21:55:20.983Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 10 21:55 coverage.out [2023-01-10T21:55:20.983Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 10 21:53 doc [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 10 21:53 go.mod [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 10 21:53 go.sum [2023-01-10T21:55:20.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:53 internal [2023-01-10T21:55:20.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:53 snap [2023-01-10T21:55:20.983Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 10 21:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:55:21.285Z] + 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=76e578cda94745a9b84207333d104eb20bb45009 --label arch=amd64 --label version=0.0.0 . [2023-01-10T21:55:21.285Z] Sending build context to Docker daemon 27.71MB [2023-01-10T21:55:21.285Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:55:21.285Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-10T21:55:21.285Z] ---> 75a40a57a6c1 [2023-01-10T21:55:21.285Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:55:21.546Z] ---> Running in f5e4485680f3 [2023-01-10T21:55:21.546Z] Removing intermediate container f5e4485680f3 [2023-01-10T21:55:21.546Z] ---> 0db676c14903 [2023-01-10T21:55:21.546Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:55:21.804Z] ---> Running in 0e420c6ddf00 [2023-01-10T21:55:21.804Z] Removing intermediate container 0e420c6ddf00 [2023-01-10T21:55:21.804Z] ---> ee0ded9d9e44 [2023-01-10T21:55:21.804Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-10T21:55:21.804Z] ---> Running in a5620d237b32 [2023-01-10T21:55:21.804Z] Removing intermediate container a5620d237b32 [2023-01-10T21:55:21.804Z] ---> ceb417587c89 [2023-01-10T21:55:21.804Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T21:55:22.066Z] ---> Running in b67e7097113c [2023-01-10T21:55:22.066Z] Removing intermediate container b67e7097113c [2023-01-10T21:55:22.066Z] ---> c437ad6e39c4 [2023-01-10T21:55:22.066Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-10T21:55:22.066Z] ---> Running in db54dda79f4f [2023-01-10T21:55:22.066Z] Removing intermediate container db54dda79f4f [2023-01-10T21:55:22.066Z] ---> 795c6e2a1732 [2023-01-10T21:55:22.066Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T21:55:22.325Z] ---> Running in af4d626b0e37 [2023-01-10T21:55:22.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:55:22.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:55:22.842Z] OK: 211 MiB in 51 packages [2023-01-10T21:55:23.410Z] Removing intermediate container af4d626b0e37 [2023-01-10T21:55:23.410Z] ---> b1670ced0424 [2023-01-10T21:55:23.410Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-10T21:55:23.410Z] ---> Running in 280aa4142f5e [2023-01-10T21:55:23.410Z] Removing intermediate container 280aa4142f5e [2023-01-10T21:55:23.410Z] ---> 0edef733bf93 [2023-01-10T21:55:23.410Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-10T21:55:23.668Z] ---> 84baa081db73 [2023-01-10T21:55:23.668Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:55:23.668Z] ---> Running in d0ee630a35b8 [2023-01-10T21:55:24.234Z] Removing intermediate container d0ee630a35b8 [2023-01-10T21:55:24.234Z] ---> dbf6638b59db [2023-01-10T21:55:24.234Z] Step 12/26 : COPY . . [2023-01-10T21:55:25.172Z] ---> fb8c89d23aba [2023-01-10T21:55:25.172Z] Step 13/26 : RUN ${MAKE} [2023-01-10T21:55:25.172Z] ---> Running in 0b4f3f5b12b9 [2023-01-10T21:55:25.430Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-01-10T21:55:47.347Z] Removing intermediate container 0b4f3f5b12b9 [2023-01-10T21:55:47.347Z] ---> 728502458647 [2023-01-10T21:55:47.347Z] Step 14/26 : FROM alpine:3.16 [2023-01-10T21:55:47.347Z] 3.16: Pulling from library/alpine [2023-01-10T21:55:47.347Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T21:55:47.347Z] ca7dd9ec2225: Download complete [2023-01-10T21:55:47.347Z] ca7dd9ec2225: Pull complete [2023-01-10T21:55:47.347Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T21:55:47.347Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T21:55:47.347Z] ---> bfe296a52501 [2023-01-10T21:55:47.347Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-10T21:55:47.347Z] ---> Running in 4a538757277f [2023-01-10T21:55:47.347Z] Removing intermediate container 4a538757277f [2023-01-10T21:55:47.347Z] ---> f73f33f0923a [2023-01-10T21:55:47.347Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-10T21:55:47.347Z] ---> Running in 0abb05cc2258 [2023-01-10T21:55:47.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:55:47.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:55:47.347Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T21:55:47.347Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T21:55:47.347Z] OK: 6 MiB in 15 packages [2023-01-10T21:55:47.347Z] Removing intermediate container 0abb05cc2258 [2023-01-10T21:55:47.347Z] ---> 4f0c8b24d43d [2023-01-10T21:55:47.347Z] Step 17/26 : WORKDIR / [2023-01-10T21:55:47.347Z] ---> Running in 7d1bd09d322a [2023-01-10T21:55:47.347Z] Removing intermediate container 7d1bd09d322a [2023-01-10T21:55:47.347Z] ---> 4fa5e3c8ac2c [2023-01-10T21:55:47.347Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-10T21:55:47.603Z] ---> 504b709d60e8 [2023-01-10T21:55:47.603Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-10T21:55:47.859Z] ---> b34a165022b7 [2023-01-10T21:55:47.859Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-10T21:55:47.859Z] ---> b0e4b1a1e4e5 [2023-01-10T21:55:47.859Z] Step 21/26 : EXPOSE 59984 [2023-01-10T21:55:48.117Z] ---> Running in 90499317a72c [2023-01-10T21:55:48.117Z] Removing intermediate container 90499317a72c [2023-01-10T21:55:48.117Z] ---> 3d958ea8c440 [2023-01-10T21:55:48.117Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-10T21:55:48.117Z] ---> Running in 09beb1dbe3be [2023-01-10T21:55:48.117Z] Removing intermediate container 09beb1dbe3be [2023-01-10T21:55:48.117Z] ---> 09d39abe7c51 [2023-01-10T21:55:48.117Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T21:55:48.375Z] ---> Running in 35ecb86e77ed [2023-01-10T21:55:48.375Z] Removing intermediate container 35ecb86e77ed [2023-01-10T21:55:48.375Z] ---> 098516568b9c [2023-01-10T21:55:48.375Z] Step 24/26 : LABEL arch=amd64 [2023-01-10T21:55:48.375Z] ---> Running in 84bdc4acf021 [2023-01-10T21:55:48.375Z] Removing intermediate container 84bdc4acf021 [2023-01-10T21:55:48.375Z] ---> dd6a8ec86b33 [2023-01-10T21:55:48.375Z] Step 25/26 : LABEL git_sha=76e578cda94745a9b84207333d104eb20bb45009 [2023-01-10T21:55:48.375Z] ---> Running in 01eb6c86583a [2023-01-10T21:55:48.634Z] Removing intermediate container 01eb6c86583a [2023-01-10T21:55:48.634Z] ---> 95a93026a8d9 [2023-01-10T21:55:48.634Z] Step 26/26 : LABEL version=0.0.0 [2023-01-10T21:55:48.634Z] ---> Running in 44c3fa34b4c7 [2023-01-10T21:55:48.634Z] Removing intermediate container 44c3fa34b4c7 [2023-01-10T21:55:48.634Z] ---> 1d916ae590b9 [2023-01-10T21:55:48.634Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T21:55:48.634Z] Successfully built 1d916ae590b9 [2023-01-10T21:55:48.634Z] 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-01-10T21:55:49.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:55:49.076Z] [2023-01-10T21:55:49.076Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:55:49.374Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:55:49.375Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T21:55:49.375Z] 5eb5b503b376: Pulling fs layer [2023-01-10T21:55:49.375Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T21:55:49.375Z] ec43610c2a17: Pulling fs layer [2023-01-10T21:55:49.375Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T21:55:49.375Z] 33b1e0a273af: Pulling fs layer [2023-01-10T21:55:49.375Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T21:55:49.375Z] 2f39f015ded8: Pulling fs layer [2023-01-10T21:55:49.375Z] 33b1e0a273af: Waiting [2023-01-10T21:55:49.375Z] 5d3b04190fa2: Waiting [2023-01-10T21:55:49.375Z] 3a2ae6a8a46f: Waiting [2023-01-10T21:55:49.375Z] 2f39f015ded8: Waiting [2023-01-10T21:55:49.375Z] 5c69ac0246d0: Verifying Checksum [2023-01-10T21:55:49.375Z] 5c69ac0246d0: Download complete [2023-01-10T21:55:49.375Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T21:55:49.375Z] 3a2ae6a8a46f: Download complete [2023-01-10T21:55:49.634Z] ec43610c2a17: Verifying Checksum [2023-01-10T21:55:49.634Z] ec43610c2a17: Download complete [2023-01-10T21:55:49.634Z] 33b1e0a273af: Verifying Checksum [2023-01-10T21:55:49.634Z] 33b1e0a273af: Download complete [2023-01-10T21:55:49.634Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T21:55:49.634Z] 5d3b04190fa2: Download complete [2023-01-10T21:55:49.634Z] 5eb5b503b376: Verifying Checksum [2023-01-10T21:55:49.634Z] 5eb5b503b376: Download complete [2023-01-10T21:55:50.202Z] 2f39f015ded8: Download complete [2023-01-10T21:55:50.769Z] 5eb5b503b376: Pull complete [2023-01-10T21:55:51.027Z] 5c69ac0246d0: Pull complete [2023-01-10T21:55:51.595Z] ec43610c2a17: Pull complete [2023-01-10T21:55:51.853Z] 3a2ae6a8a46f: Pull complete [2023-01-10T21:55:52.112Z] 33b1e0a273af: Pull complete [2023-01-10T21:55:52.112Z] 5d3b04190fa2: Pull complete [2023-01-10T21:55:56.301Z] 2f39f015ded8: Pull complete [2023-01-10T21:55:56.301Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T21:55:56.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:55:56.301Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:55:56.383Z] prd-ubuntu20.04-docker-8c-8g-1726 does not seem to be running inside a container [2023-01-10T21:55:56.420Z] $ 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-204 -v /w/workspace/undry_device-onvif-camera_PR-204:/w/workspace/undry_device-onvif-camera_PR-204:rw,z -v /w/workspace/undry_device-onvif-camera_PR-204@tmp:/w/workspace/undry_device-onvif-camera_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T21:55:58.505Z] $ docker top 78141615525a82c6f606e275428d947b7238f2f8fd2fa5e97b91a7ae2fea7adf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:55:58.881Z] ---> job-cost.sh [2023-01-10T21:55:58.881Z] lf-activate-venv: SKIPPING [2023-01-10T21:55:58.881Z] INFO: No Stack... [2023-01-10T21:55:59.139Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T21:55:59.705Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T21:55:59.993Z] + cat /w/workspace/undry_device-onvif-camera_PR-204/archives/cost.csv [2023-01-10T21:55:59.993Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T21:56:00.008Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-204-2-stack-cost] [2023-01-10T21:56:00.017Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-204-2-stack-cost] did not exist. Created. [2023-01-10T21:56:00.018Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-204-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T21:56:00.319Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T21:56:00.349Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T21:56:00.359Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-204-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T21:56:00.378Z] $ docker stop --time=1 78141615525a82c6f606e275428d947b7238f2f8fd2fa5e97b91a7ae2fea7adf [2023-01-10T21:56:01.549Z] $ docker rm -f --volumes 78141615525a82c6f606e275428d947b7238f2f8fd2fa5e97b91a7ae2fea7adf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T21:58:44.952Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1730 in /w/workspace/undry_device-onvif-camera_PR-204 [Pipeline] { [Pipeline] ws [2023-01-10T21:58:44.967Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:58:46.707Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T21:58:46.707Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T21:58:46.707Z] Dload Upload Total Spent Left Speed [2023-01-10T21:58:46.707Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh [2023-01-10T21:58:47.454Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T21:58:47.812Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T21:58:47.812Z] + sudo tee /etc/docker/daemon.new [2023-01-10T21:58:47.812Z] { [2023-01-10T21:58:47.812Z] "registry-mirrors": [ [2023-01-10T21:58:47.812Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T21:58:47.812Z] ], [2023-01-10T21:58:47.812Z] "bip": "10.250.0.254/24", [2023-01-10T21:58:47.812Z] "hosts": [ [2023-01-10T21:58:47.812Z] "tcp://0.0.0.0:5555", [2023-01-10T21:58:47.812Z] "unix:///var/run/docker.sock" [2023-01-10T21:58:47.812Z] ], [2023-01-10T21:58:47.812Z] "mtu": 1458, [2023-01-10T21:58:47.812Z] "selinux-enabled": true, [2023-01-10T21:58:47.812Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T21:58:47.812Z] } [Pipeline] sh [2023-01-10T21:58:48.172Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T21:58:48.538Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:59:06.847Z] provisioning config files... [2023-01-10T21:59:06.886Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config13667271582605183432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:59:07.264Z] ---> docker-login.sh [2023-01-10T21:59:07.264Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:59:07.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:59:07.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:59:07.858Z] Configure a credential helper to remove this warning. See [2023-01-10T21:59:07.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:59:07.858Z] [2023-01-10T21:59:07.858Z] Login Succeeded [2023-01-10T21:59:07.858Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:59:08.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:59:08.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:59:08.402Z] Configure a credential helper to remove this warning. See [2023-01-10T21:59:08.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:59:08.402Z] [2023-01-10T21:59:08.402Z] Login Succeeded [2023-01-10T21:59:08.402Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:59:08.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:59:08.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:59:08.676Z] Configure a credential helper to remove this warning. See [2023-01-10T21:59:08.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:59:08.676Z] [2023-01-10T21:59:08.676Z] Login Succeeded [2023-01-10T21:59:08.676Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:59:08.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:59:09.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:59:09.219Z] Configure a credential helper to remove this warning. See [2023-01-10T21:59:09.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:59:09.219Z] [2023-01-10T21:59:09.219Z] Login Succeeded [2023-01-10T21:59:09.219Z] docker.io [2023-01-10T21:59:09.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:59:09.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:59:09.762Z] Configure a credential helper to remove this warning. See [2023-01-10T21:59:09.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:59:09.762Z] [2023-01-10T21:59:09.762Z] Login Succeeded [2023-01-10T21:59:09.762Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:59:09.781Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T21:59:10.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:59:10.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:59:10.366Z] ========================================================= [2023-01-10T21:59:10.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T21:59:10.366Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-01-10T21:59:10.723Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T21:59:10.998Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T21:59:10.998Z] 9b18e9b68314: Pulling fs layer [2023-01-10T21:59:10.998Z] 35d82f9e3411: Pulling fs layer [2023-01-10T21:59:10.998Z] e16973657156: Pulling fs layer [2023-01-10T21:59:10.998Z] fc693d55d65f: Pulling fs layer [2023-01-10T21:59:10.998Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T21:59:10.998Z] dda99020689f: Pulling fs layer [2023-01-10T21:59:10.998Z] db1c61fa0a46: Pulling fs layer [2023-01-10T21:59:10.998Z] 891c053d2c06: Pulling fs layer [2023-01-10T21:59:10.998Z] fc693d55d65f: Waiting [2023-01-10T21:59:10.998Z] db1c61fa0a46: Waiting [2023-01-10T21:59:10.998Z] 891c053d2c06: Waiting [2023-01-10T21:59:10.998Z] 7e9fc2657dce: Waiting [2023-01-10T21:59:10.998Z] dda99020689f: Waiting [2023-01-10T21:59:10.998Z] e16973657156: Verifying Checksum [2023-01-10T21:59:10.998Z] e16973657156: Download complete [2023-01-10T21:59:10.998Z] 35d82f9e3411: Verifying Checksum [2023-01-10T21:59:10.998Z] 35d82f9e3411: Download complete [2023-01-10T21:59:10.998Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T21:59:10.998Z] 7e9fc2657dce: Download complete [2023-01-10T21:59:10.998Z] dda99020689f: Verifying Checksum [2023-01-10T21:59:10.998Z] dda99020689f: Download complete [2023-01-10T21:59:10.998Z] 9b18e9b68314: Verifying Checksum [2023-01-10T21:59:10.998Z] 9b18e9b68314: Download complete [2023-01-10T21:59:11.991Z] 9b18e9b68314: Pull complete [2023-01-10T21:59:12.266Z] 891c053d2c06: Verifying Checksum [2023-01-10T21:59:12.266Z] 891c053d2c06: Download complete [2023-01-10T21:59:12.542Z] 35d82f9e3411: Pull complete [2023-01-10T21:59:12.823Z] e16973657156: Pull complete [2023-01-10T21:59:13.421Z] db1c61fa0a46: Verifying Checksum [2023-01-10T21:59:13.421Z] db1c61fa0a46: Download complete [2023-01-10T21:59:14.016Z] fc693d55d65f: Download complete [2023-01-10T21:59:29.102Z] fc693d55d65f: Pull complete [2023-01-10T21:59:29.102Z] 7e9fc2657dce: Pull complete [2023-01-10T21:59:29.102Z] dda99020689f: Pull complete [2023-01-10T21:59:34.493Z] db1c61fa0a46: Pull complete [2023-01-10T21:59:35.923Z] 891c053d2c06: Pull complete [2023-01-10T21:59:36.194Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T21:59:36.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T21:59:36.194Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2023-01-10T21:59:36.541Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:36.945Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T21:59:36.946Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:59:37.240Z] prd-ubuntu20.04-docker-arm64-4c-16g-1730 does not seem to be running inside a container [2023-01-10T21:59:37.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T21:59:40.985Z] $ docker top adf510557be18982413c778b45b390a571ff4e66007884f4c614efc52d10867b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:59:41.888Z] + go version [2023-01-10T21:59:41.888Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T21:59:41.918Z] $ docker stop --time=1 adf510557be18982413c778b45b390a571ff4e66007884f4c614efc52d10867b [2023-01-10T21:59:43.691Z] $ docker rm -f --volumes adf510557be18982413c778b45b390a571ff4e66007884f4c614efc52d10867b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:44.283Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T21:59:44.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:59:44.498Z] prd-ubuntu20.04-docker-arm64-4c-16g-1730 does not seem to be running inside a container [2023-01-10T21:59:44.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T21:59:45.988Z] $ docker top cdc1c6476b8802b53255306de61dddc8a4ace638a76d487f196be3d87f937333 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:59:46.881Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-01-10T21:59:47.312Z] + make test [2023-01-10T21:59:47.312Z] make: *** No rule to make target 'test'. Stop. [Pipeline] } [2023-01-10T21:59:47.338Z] $ docker stop --time=1 cdc1c6476b8802b53255306de61dddc8a4ace638a76d487f196be3d87f937333 [2023-01-10T21:59:49.081Z] $ docker rm -f --volumes cdc1c6476b8802b53255306de61dddc8a4ace638a76d487f196be3d87f937333 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:49.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:59:49.714Z] [2023-01-10T21:59:49.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:59:50.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:59:50.339Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T21:59:50.339Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T21:59:50.339Z] 04944245beec: Pulling fs layer [2023-01-10T21:59:50.339Z] 699f458cf7ca: Pulling fs layer [2023-01-10T21:59:50.339Z] 765212b225bb: Pulling fs layer [2023-01-10T21:59:50.339Z] f23df028b6ca: Pulling fs layer [2023-01-10T21:59:50.339Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T21:59:50.339Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T21:59:50.339Z] 765212b225bb: Waiting [2023-01-10T21:59:50.339Z] f23df028b6ca: Waiting [2023-01-10T21:59:50.339Z] d65c8cfc05b1: Waiting [2023-01-10T21:59:50.339Z] 2437ff75d9bd: Waiting [2023-01-10T21:59:50.339Z] 04944245beec: Verifying Checksum [2023-01-10T21:59:50.339Z] 04944245beec: Download complete [2023-01-10T21:59:50.339Z] 765212b225bb: Download complete [2023-01-10T21:59:50.339Z] f23df028b6ca: Verifying Checksum [2023-01-10T21:59:50.339Z] f23df028b6ca: Download complete [2023-01-10T21:59:50.615Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T21:59:50.615Z] d65c8cfc05b1: Download complete [2023-01-10T21:59:50.615Z] 699f458cf7ca: Verifying Checksum [2023-01-10T21:59:50.615Z] 699f458cf7ca: Download complete [2023-01-10T21:59:51.209Z] 8998bd30e6a1: Verifying Checksum [2023-01-10T21:59:51.209Z] 8998bd30e6a1: Download complete [2023-01-10T21:59:53.826Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T21:59:53.826Z] 2437ff75d9bd: Download complete [2023-01-10T21:59:55.795Z] 8998bd30e6a1: Pull complete [2023-01-10T21:59:56.069Z] 04944245beec: Pull complete [2023-01-10T21:59:57.492Z] 699f458cf7ca: Pull complete [2023-01-10T21:59:57.762Z] 765212b225bb: Pull complete [2023-01-10T21:59:58.736Z] f23df028b6ca: Pull complete [2023-01-10T21:59:58.736Z] d65c8cfc05b1: Pull complete [2023-01-10T22:00:13.810Z] 2437ff75d9bd: Pull complete [2023-01-10T22:00:13.810Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T22:00:13.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T22:00:13.810Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:00:14.012Z] prd-ubuntu20.04-docker-arm64-4c-16g-1730 does not seem to be running inside a container [2023-01-10T22:00:14.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-10T22:00:16.690Z] $ docker top 2bbe3a995f1d94a12a7225da108772aec6cbdefd7e19f631d604f311394dc36c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:17.547Z] ---> job-cost.sh [2023-01-10T22:00:17.547Z] lf-activate-venv: SKIPPING [2023-01-10T22:00:17.547Z] INFO: No Stack... [2023-01-10T22:00:17.818Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T22:00:18.785Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T22:00:19.430Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-01-10T22:00:19.430Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T22:00:19.505Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-204-2-stack-cost] [2023-01-10T22:00:19.538Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-204-2-stack-cost] did not exist. Created. [2023-01-10T22:00:19.538Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-204-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T22:00:20.195Z] /w/workspace/device-onvif-camera/2@tmp/durable-d6c51330/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T22:00:20.861Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T22:00:20.883Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T22:00:21.372Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T22:00:21.383Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-204-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T22:00:21.406Z] $ docker stop --time=1 2bbe3a995f1d94a12a7225da108772aec6cbdefd7e19f631d604f311394dc36c [2023-01-10T22:00:23.880Z] $ docker rm -f --volumes 2bbe3a995f1d94a12a7225da108772aec6cbdefd7e19f631d604f311394dc36c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T22:00:24.138Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-10T22:00:24.795Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-204/archives ] [2023-01-10T22:00:24.795Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-204/archives [2023-01-10T22:00:24.795Z] total 16 [2023-01-10T22:00:24.795Z] drwxr-xr-x 3 root root 4096 Jan 10 21:55 . [2023-01-10T22:00:24.795Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 21:56 .. [2023-01-10T22:00:24.795Z] drwxr-xr-x 2 root root 4096 Jan 10 21:55 cost [2023-01-10T22:00:24.795Z] -rw-r--r-- 1 root root 91 Jan 10 21:55 cost.csv [2023-01-10T22:00:24.795Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-204/archives [2023-01-10T22:00:24.795Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-204/archives [2023-01-10T22:00:24.795Z] total 16 [2023-01-10T22:00:24.795Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:55 . [2023-01-10T22:00:24.795Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 21:56 .. [2023-01-10T22:00:24.795Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 21:55 cost [2023-01-10T22:00:24.795Z] -rw-r--r-- 1 jenkins jenkins 91 Jan 10 21:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:25.082Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:25.934Z] ---> package-listing.sh [2023-01-10T22:00:25.934Z] ++ facter osfamily [2023-01-10T22:00:25.934Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T22:00:26.192Z] + OS_FAMILY=debian [2023-01-10T22:00:26.192Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-204 [2023-01-10T22:00:26.192Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T22:00:26.192Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T22:00:26.192Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T22:00:26.192Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T22:00:26.192Z] + '[' /w/workspace/undry_device-onvif-camera_PR-204 ']' [2023-01-10T22:00:26.192Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T22:00:26.192Z] + case "${OS_FAMILY}" in [2023-01-10T22:00:26.192Z] + dpkg -l [2023-01-10T22:00:26.192Z] + grep '^ii' [2023-01-10T22:00:26.192Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T22:00:26.192Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T22:00:26.192Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T22:00:26.192Z] + '[' /w/workspace/undry_device-onvif-camera_PR-204 ']' [2023-01-10T22:00:26.192Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-204/archives/ [2023-01-10T22:00:26.192Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-204/archives/ [Pipeline] echo [2023-01-10T22:00:26.204Z] 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-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T22:00:26.479Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:00:27.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T22:00:27.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:00:27.105Z] prd-ubuntu20.04-docker-8c-8g-1726 does not seem to be running inside a container [2023-01-10T22:00:27.140Z] $ 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-204/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-204 -v /w/workspace/undry_device-onvif-camera_PR-204:/w/workspace/undry_device-onvif-camera_PR-204:rw,z -v /w/workspace/undry_device-onvif-camera_PR-204@tmp:/w/workspace/undry_device-onvif-camera_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T22:00:27.348Z] $ docker top ed018f54b3d7c3f8231ee341d1b6cfce731df2947f1380f9c85ede7ed15fc398 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T22:00:27.678Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T22:00:27.957Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T22:00:28.241Z] + ls /var/log/sa-host [2023-01-10T22:00:28.241Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T22:00:28.303Z] provisioning config files... [2023-01-10T22:00:28.311Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-204@tmp/config7117299762187428725tmp [Pipeline] { [Pipeline] echo [2023-01-10T22:00:28.323Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:28.604Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T22:00:28.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:28.944Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T22:00:28.953Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:29.232Z] ---> sudo-logs.sh [2023-01-10T22:00:29.232Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T22:00:29.264Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:29.558Z] ---> job-cost.sh [2023-01-10T22:00:29.558Z] lf-activate-venv: SKIPPING [2023-01-10T22:00:29.558Z] DEBUG: total: 0.2199999988079071 [2023-01-10T22:00:29.558Z] INFO: Retrieving Stack Cost... [2023-01-10T22:00:30.124Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T22:00:30.383Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T22:00:30.397Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:00:30.679Z] ---> logs-deploy.sh [2023-01-10T22:00:30.679Z] lf-activate-venv: SKIPPING [2023-01-10T22:00:30.679Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-204/2 [2023-01-10T22:00:30.679Z] INFO: archiving workspace using pattern(s): [2023-01-10T22:00:31.616Z] Archives upload complete. [2023-01-10T22:00:31.616Z] INFO: archiving logs to Nexus