Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 7566e30f01203e511a46f95a7874e6126d22e67b rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 7566e30f01203e511a46f95a7874e6126d22e67b 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-ssh8252075907687704272.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh8881651985224442179.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12121866868505611306.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh5079611605021966358.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7037314134411740461.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-22603’ is offline Running on prd-ubuntu20.04-docker-8c-8g-22606 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-125 # 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/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7566e30f01203e511a46f95a7874e6126d22e67b into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 4784667fa899ea8d09fe8f3b196c5591d6d63546 Checking out Revision 4784667fa899ea8d09fe8f3b196c5591d6d63546 (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # 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 7566e30f01203e511a46f95a7874e6126d22e67b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4784667fa899ea8d09fe8f3b196c5591d6d63546 # timeout=10 Commit message: "Merge commit '7566e30f01203e511a46f95a7874e6126d22e67b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-12T10:10:17.488Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-12T10:10:17.551Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-12T10:10:17.566Z] ========================================================= [2022-08-12T10:10:17.566Z] EdgeX Global Pipelines Version Info [2022-08-12T10:10:17.566Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk dc36e75410f01dfc05f7ec4ca86b46cd53d25d5c # timeout=10 [2022-08-12T10:10:18.329Z] ------------------- [2022-08-12T10:10:18.329Z] stable info: [2022-08-12T10:10:18.329Z] ------------------- [2022-08-12T10:10:18.329Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T10:10:18.329Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T10:10:18.329Z] Message: update stable to v1.0.238 [2022-08-12T10:10:18.902Z] ------------------- [2022-08-12T10:10:18.902Z] experimental info: [2022-08-12T10:10:18.902Z] ------------------- [2022-08-12T10:10:18.902Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T10:10:18.902Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T10:10:18.902Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-12T10:10:19.110Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-12T10:10:19.124Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-12T10:10:19.140Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-12T10:10:19.159Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-12T10:10:19.184Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-12T10:10:19.199Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-12T10:10:19.211Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-12T10:10:19.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-12T10:10:19.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-12T10:10:19.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-12T10:10:19.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-12T10:10:19.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-12T10:10:19.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-12T10:10:19.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-12T10:10:19.380Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T10:10:19.392Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T10:10:19.406Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T10:10:19.420Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T10:10:19.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-12T10:10:19.453Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-12T10:10:19.475Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-12T10:10:19.492Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-12T10:10:19.504Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-12T10:10:19.515Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-12T10:10:19.527Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-12T10:10:19.539Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-12T10:10:19.550Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-12T10:10:19.565Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-08-12T10:10:19.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-08-12T10:10:19.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-08-12T10:10:19.611Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4784667fa899ea8d09fe8f3b196c5591d6d63546 [Pipeline] echo [2022-08-12T10:10:19.626Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4784667 [Pipeline] echo [2022-08-12T10:10:19.636Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T10:10:19.682Z] provisioning config files... [2022-08-12T10:10:19.697Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config2592940771079923545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T10:10:20.005Z] ---> docker-login.sh [2022-08-12T10:10:20.005Z] nexus3.edgexfoundry.org:10001 [2022-08-12T10:10:20.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:10:20.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:10:20.266Z] Configure a credential helper to remove this warning. See [2022-08-12T10:10:20.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:10:20.266Z] [2022-08-12T10:10:20.266Z] Login Succeeded [2022-08-12T10:10:20.266Z] nexus3.edgexfoundry.org:10002 [2022-08-12T10:10:20.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:10:20.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:10:20.526Z] Configure a credential helper to remove this warning. See [2022-08-12T10:10:20.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:10:20.526Z] [2022-08-12T10:10:20.526Z] Login Succeeded [2022-08-12T10:10:20.526Z] nexus3.edgexfoundry.org:10003 [2022-08-12T10:10:20.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:10:20.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:10:20.526Z] Configure a credential helper to remove this warning. See [2022-08-12T10:10:20.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:10:20.526Z] [2022-08-12T10:10:20.526Z] Login Succeeded [2022-08-12T10:10:20.526Z] nexus3.edgexfoundry.org:10004 [2022-08-12T10:10:20.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:10:20.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:10:20.788Z] Configure a credential helper to remove this warning. See [2022-08-12T10:10:20.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:10:20.788Z] [2022-08-12T10:10:20.788Z] Login Succeeded [2022-08-12T10:10:20.788Z] docker.io [2022-08-12T10:10:20.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:10:21.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:10:21.054Z] Configure a credential helper to remove this warning. See [2022-08-12T10:10:21.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:10:21.054Z] [2022-08-12T10:10:21.054Z] Login Succeeded [2022-08-12T10:10:21.054Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T10:10:21.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-12T10:10:21.455Z] + git rev-list -1 --merges 4784667fa899ea8d09fe8f3b196c5591d6d63546~1..4784667fa899ea8d09fe8f3b196c5591d6d63546 [Pipeline] echo [2022-08-12T10:10:21.481Z] -----------> git rev-list -1 --merges 4784667fa899ea8d09fe8f3b196c5591d6d63546~1..4784667fa899ea8d09fe8f3b196c5591d6d63546 4784667fa899ea8d09fe8f3b196c5591d6d63546 [2022-08-12T10:10:21.481Z] 4784667fa899ea8d09fe8f3b196c5591d6d63546 [false] [Pipeline] sh [2022-08-12T10:10:21.771Z] + git log --format=format:%s -1 4784667fa899ea8d09fe8f3b196c5591d6d63546 [Pipeline] echo [2022-08-12T10:10:21.787Z] ========================================================= [2022-08-12T10:10:21.787Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-12T10:10:21.787Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T10:10:22.131Z] + git log --format=format:%s -1 4784667fa899ea8d09fe8f3b196c5591d6d63546 [Pipeline] echo [2022-08-12T10:10:22.143Z] [semverPrep] GIT_COMMIT: 4784667fa899ea8d09fe8f3b196c5591d6d63546, Commit Message: Merge commit '7566e30f01203e511a46f95a7874e6126d22e67b' into HEAD [Pipeline] echo [2022-08-12T10:10:22.153Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-12T10:10:22.532Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T10:10:22.532Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-12T10:10:22.532Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-12T10:10:22.532Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-12T10:10:22.532Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-12T10:10:22.532Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-12T10:10:22.532Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:10:22.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T10:10:22.977Z] [2022-08-12T10:10:22.977Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:10:23.288Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T10:10:23.288Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-12T10:10:23.288Z] b85a868b505f: Pulling fs layer [2022-08-12T10:10:23.288Z] e2be974225ed: Pulling fs layer [2022-08-12T10:10:23.288Z] 339a4e72a1f5: Pulling fs layer [2022-08-12T10:10:23.288Z] 988bab9f4d93: Pulling fs layer [2022-08-12T10:10:23.288Z] 1469e6f7b9e6: Pulling fs layer [2022-08-12T10:10:23.288Z] eaf3925da568: Pulling fs layer [2022-08-12T10:10:23.288Z] bab4dde63d76: Pulling fs layer [2022-08-12T10:10:23.288Z] bde34c3a00c8: Pulling fs layer [2022-08-12T10:10:23.288Z] b352a97aabf1: Pulling fs layer [2022-08-12T10:10:23.288Z] 4872d77fe225: Pulling fs layer [2022-08-12T10:10:23.288Z] 5851b861e8e6: Pulling fs layer [2022-08-12T10:10:23.288Z] 988bab9f4d93: Waiting [2022-08-12T10:10:23.288Z] eaf3925da568: Waiting [2022-08-12T10:10:23.288Z] bab4dde63d76: Waiting [2022-08-12T10:10:23.288Z] bde34c3a00c8: Waiting [2022-08-12T10:10:23.288Z] 1469e6f7b9e6: Waiting [2022-08-12T10:10:23.288Z] 4872d77fe225: Waiting [2022-08-12T10:10:23.288Z] b352a97aabf1: Waiting [2022-08-12T10:10:23.288Z] e2be974225ed: Download complete [2022-08-12T10:10:23.288Z] 1469e6f7b9e6: Verifying Checksum [2022-08-12T10:10:23.288Z] 1469e6f7b9e6: Download complete [2022-08-12T10:10:23.288Z] eaf3925da568: Verifying Checksum [2022-08-12T10:10:23.288Z] eaf3925da568: Download complete [2022-08-12T10:10:23.551Z] 339a4e72a1f5: Verifying Checksum [2022-08-12T10:10:23.551Z] bde34c3a00c8: Download complete [2022-08-12T10:10:23.551Z] b352a97aabf1: Download complete [2022-08-12T10:10:23.551Z] 4872d77fe225: Verifying Checksum [2022-08-12T10:10:23.551Z] 4872d77fe225: Download complete [2022-08-12T10:10:23.551Z] 5851b861e8e6: Verifying Checksum [2022-08-12T10:10:23.551Z] 5851b861e8e6: Download complete [2022-08-12T10:10:23.551Z] b85a868b505f: Verifying Checksum [2022-08-12T10:10:23.551Z] b85a868b505f: Download complete [2022-08-12T10:10:23.812Z] bab4dde63d76: Verifying Checksum [2022-08-12T10:10:23.812Z] bab4dde63d76: Download complete [2022-08-12T10:10:24.752Z] b85a868b505f: Pull complete [2022-08-12T10:10:25.012Z] e2be974225ed: Pull complete [2022-08-12T10:10:25.272Z] 339a4e72a1f5: Pull complete [2022-08-12T10:10:25.533Z] 988bab9f4d93: Pull complete [2022-08-12T10:10:25.793Z] 1469e6f7b9e6: Pull complete [2022-08-12T10:10:25.793Z] eaf3925da568: Pull complete [2022-08-12T10:10:27.704Z] bab4dde63d76: Pull complete [2022-08-12T10:10:27.704Z] bde34c3a00c8: Pull complete [2022-08-12T10:10:27.704Z] b352a97aabf1: Pull complete [2022-08-12T10:10:27.704Z] 4872d77fe225: Pull complete [2022-08-12T10:10:27.704Z] 5851b861e8e6: Pull complete [2022-08-12T10:10:27.704Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-12T10:10:27.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T10:10:27.704Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T10:10:27.809Z] prd-ubuntu20.04-docker-8c-8g-22606 does not seem to be running inside a container [2022-08-12T10:10:27.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-12T10:10:30.303Z] $ docker top 4a5f77b543d2296f09760fb256af554ac31c286886ca0672eb8db860d5833806 -eo pid,comm [2022-08-12T10:10:30.393Z] 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). [2022-08-12T10:10:30.393Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T10:10:30.435Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T10:10:30.435Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T10:10:30.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T10:10:30.571Z] $ docker exec 4a5f77b543d2296f09760fb256af554ac31c286886ca0672eb8db860d5833806 ssh-agent [2022-08-12T10:10:30.683Z] SSH_AUTH_SOCK=/tmp/ssh-vmOy6UNsUzT6/agent.32 [2022-08-12T10:10:30.683Z] SSH_AGENT_PID=38 [2022-08-12T10:10:30.689Z] Running ssh-add (command line suppressed) [2022-08-12T10:10:30.805Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_5658144541661505670.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_5658144541661505670.key) [2022-08-12T10:10:30.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T10:10:31.115Z] + git tag --points-at HEAD [Pipeline] } [2022-08-12T10:10:31.142Z] $ docker exec --env ******** --env ******** 4a5f77b543d2296f09760fb256af554ac31c286886ca0672eb8db860d5833806 ssh-agent -k [2022-08-12T10:10:31.254Z] unset SSH_AUTH_SOCK; [2022-08-12T10:10:31.254Z] unset SSH_AGENT_PID; [2022-08-12T10:10:31.254Z] echo Agent pid 38 killed; [2022-08-12T10:10:31.288Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-12T10:10:31.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T10:10:31.314Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T10:10:31.428Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T10:10:31.430Z] $ docker exec 4a5f77b543d2296f09760fb256af554ac31c286886ca0672eb8db860d5833806 ssh-agent [2022-08-12T10:10:31.539Z] SSH_AUTH_SOCK=/tmp/ssh-RrozPmNN6rcE/agent.71 [2022-08-12T10:10:31.539Z] SSH_AGENT_PID=78 [2022-08-12T10:10:31.545Z] Running ssh-add (command line suppressed) [2022-08-12T10:10:31.658Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3193534445068526218.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3193534445068526218.key) [2022-08-12T10:10:31.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T10:10:31.967Z] + git semver init [2022-08-12T10:10:32.229Z] 2022-08-12 10:10:32,144 [run_init] DEBUG init version:0.0.0 force:False [2022-08-12T10:10:32.229Z] 2022-08-12 10:10:32,145 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-12T10:10:32.229Z] 2022-08-12 10:10:32,145 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-12T10:10:32.229Z] 2022-08-12 10:10:32,145 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-08-12T10:10:33.172Z] 2022-08-12 10:10:32,985 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-08-12T10:10:33.172Z] 2022-08-12 10:10:32,986 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-08-12T10:10:33.172Z] 2022-08-12 10:10:32,986 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-12T10:10:33.172Z] 2022-08-12 10:10:32,990 [execute] INFO git cat-file --batch-check [2022-08-12T10:10:33.172Z] 2022-08-12 10:10:32,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T10:10:33.172Z] 2022-08-12 10:10:32,997 [execute] INFO git cat-file --batch [2022-08-12T10:10:33.172Z] 2022-08-12 10:10:32,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T10:10:33.172Z] 2022-08-12 10:10:33,003 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-12T10:10:33.172Z] 0.0.0 [Pipeline] } [2022-08-12T10:10:33.191Z] $ docker exec --env ******** --env ******** 4a5f77b543d2296f09760fb256af554ac31c286886ca0672eb8db860d5833806 ssh-agent -k [2022-08-12T10:10:33.313Z] unset SSH_AUTH_SOCK; [2022-08-12T10:10:33.313Z] unset SSH_AGENT_PID; [2022-08-12T10:10:33.313Z] echo Agent pid 78 killed; [2022-08-12T10:10:33.325Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T10:10:33.638Z] + git semver [Pipeline] } [2022-08-12T10:10:33.913Z] $ docker stop --time=1 4a5f77b543d2296f09760fb256af554ac31c286886ca0672eb8db860d5833806 [2022-08-12T10:10:35.186Z] $ docker rm -f 4a5f77b543d2296f09760fb256af554ac31c286886ca0672eb8db860d5833806 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T10:10:35.546Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-12T10:10:35.807Z] Stashed 1 file(s) [Pipeline] echo [2022-08-12T10:10:35.810Z] [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 [2022-08-12T10:10:35.975Z] provisioning config files... [2022-08-12T10:10:35.986Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config8450561952246900696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T10:10:36.291Z] ---> docker-login.sh [2022-08-12T10:10:36.291Z] nexus3.edgexfoundry.org:10001 [2022-08-12T10:10:36.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:10:36.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:10:36.291Z] Configure a credential helper to remove this warning. See [2022-08-12T10:10:36.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:10:36.291Z] [2022-08-12T10:10:36.291Z] Login Succeeded [2022-08-12T10:10:36.291Z] nexus3.edgexfoundry.org:10002 [2022-08-12T10:10:36.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:10:36.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:10:36.291Z] Configure a credential helper to remove this warning. See [2022-08-12T10:10:36.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:10:36.291Z] [2022-08-12T10:10:36.291Z] Login Succeeded [2022-08-12T10:10:36.552Z] nexus3.edgexfoundry.org:10003 [2022-08-12T10:10:36.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:10:36.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:10:36.552Z] Configure a credential helper to remove this warning. See [2022-08-12T10:10:36.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:10:36.552Z] [2022-08-12T10:10:36.552Z] Login Succeeded [2022-08-12T10:10:36.552Z] nexus3.edgexfoundry.org:10004 [2022-08-12T10:10:36.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:10:36.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:10:36.815Z] Configure a credential helper to remove this warning. See [2022-08-12T10:10:36.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:10:36.815Z] [2022-08-12T10:10:36.815Z] Login Succeeded [2022-08-12T10:10:36.815Z] docker.io [2022-08-12T10:10:36.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:10:37.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:10:37.077Z] Configure a credential helper to remove this warning. See [2022-08-12T10:10:37.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:10:37.077Z] [2022-08-12T10:10:37.077Z] Login Succeeded [2022-08-12T10:10:37.077Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T10:10:37.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T10:10:37.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T10:10:37.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T10:10:37.188Z] ========================================================= [2022-08-12T10:10:37.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-12T10:10:37.188Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:10:37.515Z] + 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 . [2022-08-12T10:10:37.515Z] Sending build context to Docker daemon 20.51MB [2022-08-12T10:10:37.515Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T10:10:37.515Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-12T10:10:37.788Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-12T10:10:37.788Z] 2408cc74d12b: Pulling fs layer [2022-08-12T10:10:37.788Z] ea60b727a1ce: Pulling fs layer [2022-08-12T10:10:37.788Z] 30c4a7721957: Pulling fs layer [2022-08-12T10:10:37.788Z] 370296b7ddb6: Pulling fs layer [2022-08-12T10:10:37.788Z] 7c6cee850709: Pulling fs layer [2022-08-12T10:10:37.788Z] 370296b7ddb6: Waiting [2022-08-12T10:10:37.788Z] 39a5fcdaea64: Pulling fs layer [2022-08-12T10:10:37.788Z] 7c6cee850709: Waiting [2022-08-12T10:10:37.788Z] d94ebbe4e438: Pulling fs layer [2022-08-12T10:10:37.788Z] bcfd1f05c69d: Pulling fs layer [2022-08-12T10:10:37.788Z] 59ccb84bbe0f: Pulling fs layer [2022-08-12T10:10:37.788Z] d94ebbe4e438: Waiting [2022-08-12T10:10:37.788Z] 59ccb84bbe0f: Waiting [2022-08-12T10:10:37.788Z] 30c4a7721957: Download complete [2022-08-12T10:10:37.788Z] ea60b727a1ce: Verifying Checksum [2022-08-12T10:10:37.788Z] ea60b727a1ce: Download complete [2022-08-12T10:10:37.788Z] 7c6cee850709: Verifying Checksum [2022-08-12T10:10:37.788Z] 7c6cee850709: Download complete [2022-08-12T10:10:37.788Z] 39a5fcdaea64: Download complete [2022-08-12T10:10:37.788Z] 2408cc74d12b: Verifying Checksum [2022-08-12T10:10:37.788Z] d94ebbe4e438: Download complete [2022-08-12T10:10:38.049Z] 2408cc74d12b: Pull complete [2022-08-12T10:10:38.049Z] ea60b727a1ce: Pull complete [2022-08-12T10:10:38.049Z] 30c4a7721957: Pull complete [2022-08-12T10:10:38.049Z] 59ccb84bbe0f: Verifying Checksum [2022-08-12T10:10:38.049Z] 59ccb84bbe0f: Download complete [2022-08-12T10:10:38.619Z] 370296b7ddb6: Verifying Checksum [2022-08-12T10:10:38.619Z] 370296b7ddb6: Download complete [2022-08-12T10:10:38.619Z] bcfd1f05c69d: Verifying Checksum [2022-08-12T10:10:38.619Z] bcfd1f05c69d: Download complete [2022-08-12T10:10:42.816Z] 370296b7ddb6: Pull complete [2022-08-12T10:10:42.816Z] 7c6cee850709: Pull complete [2022-08-12T10:10:42.816Z] 39a5fcdaea64: Pull complete [2022-08-12T10:10:42.816Z] d94ebbe4e438: Pull complete [2022-08-12T10:10:44.200Z] bcfd1f05c69d: Pull complete [2022-08-12T10:10:45.138Z] 59ccb84bbe0f: Pull complete [2022-08-12T10:10:45.138Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-12T10:10:45.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-12T10:10:45.138Z] ---> a4fb48ad2a94 [2022-08-12T10:10:45.138Z] Step 3/13 : ARG MAKE="make build" [2022-08-12T10:10:50.453Z] ---> Running in 4ad6ad358a4d [2022-08-12T10:10:50.453Z] Removing intermediate container 4ad6ad358a4d [2022-08-12T10:10:50.453Z] ---> a270e863e13d [2022-08-12T10:10:50.453Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T10:10:50.453Z] ---> Running in 386ed798470b [2022-08-12T10:10:50.453Z] Removing intermediate container 386ed798470b [2022-08-12T10:10:50.453Z] ---> 11e2c0e5767f [2022-08-12T10:10:50.453Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T10:10:50.453Z] ---> Running in 3caa5f744571 [2022-08-12T10:10:50.453Z] Removing intermediate container 3caa5f744571 [2022-08-12T10:10:50.453Z] ---> 7c1c987640ea [2022-08-12T10:10:50.453Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-12T10:10:50.453Z] ---> Running in c3dd2f0724f1 [2022-08-12T10:10:50.453Z] Removing intermediate container c3dd2f0724f1 [2022-08-12T10:10:50.453Z] ---> 63a0595d801b [2022-08-12T10:10:50.453Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T10:10:50.453Z] ---> Running in 6ba72ce0673f [2022-08-12T10:10:50.932Z] Still waiting to schedule task [2022-08-12T10:10:50.932Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-22604’ is offline [2022-08-12T10:10:51.026Z] Removing intermediate container 6ba72ce0673f [2022-08-12T10:10:51.026Z] ---> c86158174892 [2022-08-12T10:10:51.026Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T10:10:51.286Z] ---> Running in 972f16a108bc [2022-08-12T10:10:51.547Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T10:10:52.495Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T10:10:52.495Z] OK: 211 MiB in 51 packages [2022-08-12T10:10:53.066Z] Removing intermediate container 972f16a108bc [2022-08-12T10:10:53.066Z] ---> 6bd86254522d [2022-08-12T10:10:53.066Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-12T10:10:53.066Z] ---> Running in 8a9ed37484c8 [2022-08-12T10:10:53.066Z] Removing intermediate container 8a9ed37484c8 [2022-08-12T10:10:53.066Z] ---> 31759c703f2c [2022-08-12T10:10:53.066Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-12T10:10:53.066Z] ---> bb07ef8205b8 [2022-08-12T10:10:53.066Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T10:10:53.066Z] ---> Running in 68eba4437f9c [2022-08-12T10:11:19.646Z] Removing intermediate container 68eba4437f9c [2022-08-12T10:11:19.646Z] ---> 7f7f9d29d8de [2022-08-12T10:11:19.646Z] Step 12/13 : COPY . . [2022-08-12T10:11:19.646Z] ---> 27b88d00d858 [2022-08-12T10:11:19.646Z] Step 13/13 : RUN ${MAKE} [2022-08-12T10:11:19.646Z] ---> Running in b64cfed70064 [2022-08-12T10:11:19.905Z] noop [2022-08-12T10:11:19.905Z] Removing intermediate container b64cfed70064 [2022-08-12T10:11:19.905Z] ---> 446a2bad5ada [2022-08-12T10:11:19.905Z] Successfully built 446a2bad5ada [2022-08-12T10:11:19.905Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:11:20.219Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T10:11:20.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T10:11:20.296Z] prd-ubuntu20.04-docker-8c-8g-22606 does not seem to be running inside a container [2022-08-12T10:11:20.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T10:11:20.665Z] $ docker top eddc6882f01632a6cd43e232a63fb1b6fa005072d144112315a31a0a43491464 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T10:11:21.016Z] + go version [2022-08-12T10:11:21.017Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-12T10:11:21.060Z] $ docker stop --time=1 eddc6882f01632a6cd43e232a63fb1b6fa005072d144112315a31a0a43491464 [2022-08-12T10:11:22.396Z] $ docker rm -f eddc6882f01632a6cd43e232a63fb1b6fa005072d144112315a31a0a43491464 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:11:22.882Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T10:11:22.882Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T10:11:22.970Z] prd-ubuntu20.04-docker-8c-8g-22606 does not seem to be running inside a container [2022-08-12T10:11:23.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T10:11:23.344Z] $ docker top fe02c8ff8d8d0cfb11f6601f6a290bf5d34fafa340b64d0f100e7486d34de284 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T10:11:23.707Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-08-12T10:11:24.010Z] + make test [2022-08-12T10:11:24.010Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-12T10:11:24.269Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-12T10:11:34.253Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-12T10:11:34.513Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.025s coverage: 10.6% of statements [2022-08-12T10:11:34.513Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-12T10:11:37.056Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.986s coverage: 13.8% of statements [2022-08-12T10:11:45.193Z] 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." [2022-08-12T10:11:45.193Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T10:11:47.732Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T10:11:47.733Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T10:11:47.733Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-12T10:11:47.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T10:11:47.765Z] $ docker stop --time=1 fe02c8ff8d8d0cfb11f6601f6a290bf5d34fafa340b64d0f100e7486d34de284 [2022-08-12T10:11:50.282Z] $ docker rm -f fe02c8ff8d8d0cfb11f6601f6a290bf5d34fafa340b64d0f100e7486d34de284 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T10:11:50.746Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T10:11:50.797Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-12T10:11:51.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T10:11:51.612Z] + ls -al . [2022-08-12T10:11:51.612Z] total 232 [2022-08-12T10:11:51.612Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 10:11 . [2022-08-12T10:11:51.612Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 10:10 .. [2022-08-12T10:11:51.612Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 10:11 .git [2022-08-12T10:11:51.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 10:10 .github [2022-08-12T10:11:51.612Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 12 10:10 .gitignore [2022-08-12T10:11:51.612Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 12 10:10 .golangci.yml [2022-08-12T10:11:51.612Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 10:10 .semver [2022-08-12T10:11:51.612Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 12 10:10 Attribution.txt [2022-08-12T10:11:51.612Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 12 10:10 CHANGELOG.md [2022-08-12T10:11:51.612Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 12 10:10 Dockerfile [2022-08-12T10:11:51.612Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 10:10 GOVERNANCE.md [2022-08-12T10:11:51.612Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 12 10:10 Jenkinsfile [2022-08-12T10:11:51.612Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 12 10:10 LICENSE [2022-08-12T10:11:51.612Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 12 10:10 Makefile [2022-08-12T10:11:51.613Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 12 10:10 OWNERS.md [2022-08-12T10:11:51.613Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 12 10:10 README.md [2022-08-12T10:11:51.613Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 10:10 VERSION [2022-08-12T10:11:51.613Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 10:10 bin [2022-08-12T10:11:51.613Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 10:10 cmd [2022-08-12T10:11:51.613Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 12 10:11 coverage.out [2022-08-12T10:11:51.613Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 12 10:10 doc [2022-08-12T10:11:51.613Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 12 10:10 go.mod [2022-08-12T10:11:51.613Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 12 10:10 go.sum [2022-08-12T10:11:51.613Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 10:10 internal [2022-08-12T10:11:51.613Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 10:10 snap [2022-08-12T10:11:51.613Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 12 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:11:51.930Z] + 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=4784667fa899ea8d09fe8f3b196c5591d6d63546 --label arch=amd64 --label version=0.0.0 . [2022-08-12T10:11:51.930Z] Sending build context to Docker daemon 20.59MB [2022-08-12T10:11:51.930Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T10:11:51.930Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-12T10:11:51.930Z] ---> 446a2bad5ada [2022-08-12T10:11:51.930Z] Step 3/27 : ARG MAKE="make build" [2022-08-12T10:11:52.191Z] ---> Running in ccc3f4b7b803 [2022-08-12T10:11:52.191Z] Removing intermediate container ccc3f4b7b803 [2022-08-12T10:11:52.191Z] ---> ca76c71adfee [2022-08-12T10:11:52.191Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T10:11:52.191Z] ---> Running in b8e38d1395b4 [2022-08-12T10:11:52.451Z] Removing intermediate container b8e38d1395b4 [2022-08-12T10:11:52.451Z] ---> 7d8636dd0c9b [2022-08-12T10:11:52.451Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T10:11:52.451Z] ---> Running in bd0c2e0ac730 [2022-08-12T10:11:52.451Z] Removing intermediate container bd0c2e0ac730 [2022-08-12T10:11:52.451Z] ---> 4564b7657d7d [2022-08-12T10:11:52.451Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-12T10:11:52.451Z] ---> Running in 9b825bf5beee [2022-08-12T10:11:52.451Z] Removing intermediate container 9b825bf5beee [2022-08-12T10:11:52.451Z] ---> 7564d75e9635 [2022-08-12T10:11:52.451Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T10:11:52.451Z] ---> Running in 04faf84b7815 [2022-08-12T10:11:53.022Z] Removing intermediate container 04faf84b7815 [2022-08-12T10:11:53.022Z] ---> e0186150685f [2022-08-12T10:11:53.022Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T10:11:53.022Z] ---> Running in cc14648e6c79 [2022-08-12T10:11:53.282Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T10:11:54.224Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T10:11:54.485Z] OK: 211 MiB in 51 packages [2022-08-12T10:11:54.746Z] Removing intermediate container cc14648e6c79 [2022-08-12T10:11:54.746Z] ---> c682730c30f9 [2022-08-12T10:11:54.746Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-12T10:11:54.746Z] ---> Running in a006cb8b34fe [2022-08-12T10:11:54.746Z] Removing intermediate container a006cb8b34fe [2022-08-12T10:11:54.746Z] ---> 041c6b0cabf5 [2022-08-12T10:11:54.746Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-12T10:11:55.008Z] ---> 1934eb7281c8 [2022-08-12T10:11:55.008Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T10:11:55.008Z] ---> Running in 8e4b319b464b [2022-08-12T10:11:55.576Z] Removing intermediate container 8e4b319b464b [2022-08-12T10:11:55.576Z] ---> b49de0cfc6b7 [2022-08-12T10:11:55.576Z] Step 12/27 : COPY . . [2022-08-12T10:11:56.146Z] ---> 47e6b0e619c8 [2022-08-12T10:11:56.146Z] Step 13/27 : RUN ${MAKE} [2022-08-12T10:11:56.146Z] ---> Running in d71e2e8bc213 [2022-08-12T10:11:56.412Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-12T10:12:18.368Z] Removing intermediate container d71e2e8bc213 [2022-08-12T10:12:18.368Z] ---> b450200775e3 [2022-08-12T10:12:18.368Z] Step 14/27 : FROM alpine:3.16 [2022-08-12T10:12:18.368Z] 3.16: Pulling from library/alpine [2022-08-12T10:12:18.368Z] 213ec9aee27d: Pulling fs layer [2022-08-12T10:12:18.368Z] 213ec9aee27d: Verifying Checksum [2022-08-12T10:12:18.368Z] 213ec9aee27d: Download complete [2022-08-12T10:12:18.368Z] 213ec9aee27d: Pull complete [2022-08-12T10:12:18.368Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T10:12:18.368Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T10:12:18.368Z] ---> 9c6f07244728 [2022-08-12T10:12:18.368Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-12T10:12:18.368Z] ---> Running in 937319aef699 [2022-08-12T10:12:18.368Z] Removing intermediate container 937319aef699 [2022-08-12T10:12:18.368Z] ---> c84acf64a0dc [2022-08-12T10:12:18.368Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-12T10:12:18.368Z] ---> Running in 81d17ead1886 [2022-08-12T10:12:18.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T10:12:18.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T10:12:18.631Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-12T10:12:18.631Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-12T10:12:18.631Z] (3/21) Installing readline (8.1.2-r0) [2022-08-12T10:12:18.631Z] (4/21) Installing bash (5.1.16-r2) [2022-08-12T10:12:18.631Z] Executing bash-5.1.16-r2.post-install [2022-08-12T10:12:18.631Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-12T10:12:18.891Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-08-12T10:12:18.891Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-08-12T10:12:18.891Z] (8/21) Installing libcurl (7.83.1-r2) [2022-08-12T10:12:18.891Z] (9/21) Installing curl (7.83.1-r2) [2022-08-12T10:12:18.891Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-12T10:12:18.891Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-08-12T10:12:18.891Z] (12/21) Installing jq (1.6-r1) [2022-08-12T10:12:18.891Z] (13/21) Installing popt (1.18-r0) [2022-08-12T10:12:18.891Z] (14/21) Installing pcre (8.45-r2) [2022-08-12T10:12:18.891Z] (15/21) Installing slang (2.3.2-r0) [2022-08-12T10:12:18.891Z] (16/21) Installing newt (0.52.21-r2) [2022-08-12T10:12:18.891Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T10:12:18.891Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-12T10:12:18.891Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T10:12:18.891Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-12T10:12:18.891Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-12T10:12:18.891Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T10:12:18.891Z] Executing ca-certificates-20220614-r0.trigger [2022-08-12T10:12:18.891Z] OK: 17 MiB in 35 packages [2022-08-12T10:12:19.836Z] Removing intermediate container 81d17ead1886 [2022-08-12T10:12:19.836Z] ---> b10391d0f3a5 [2022-08-12T10:12:19.836Z] Step 17/27 : WORKDIR / [2022-08-12T10:12:19.836Z] ---> Running in 8ffc38c75270 [2022-08-12T10:12:19.836Z] Removing intermediate container 8ffc38c75270 [2022-08-12T10:12:19.836Z] ---> 7644559b3608 [2022-08-12T10:12:19.836Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-12T10:12:20.776Z] ---> 1f33614c9ad3 [2022-08-12T10:12:20.776Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-12T10:12:20.776Z] ---> f280f7518184 [2022-08-12T10:12:20.776Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-12T10:12:20.776Z] ---> 50617224bb35 [2022-08-12T10:12:20.776Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-12T10:12:21.036Z] ---> 1d95e86ca0f1 [2022-08-12T10:12:21.036Z] Step 22/27 : EXPOSE 59984 [2022-08-12T10:12:21.036Z] ---> Running in 48548676ef45 [2022-08-12T10:12:21.036Z] Removing intermediate container 48548676ef45 [2022-08-12T10:12:21.036Z] ---> f009b8757df3 [2022-08-12T10:12:21.036Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-12T10:12:21.036Z] ---> Running in 870a5287cf14 [2022-08-12T10:12:21.297Z] Removing intermediate container 870a5287cf14 [2022-08-12T10:12:21.297Z] ---> cea0ae2f6714 [2022-08-12T10:12:21.297Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T10:12:21.297Z] ---> Running in 1de72ef11b4e [2022-08-12T10:12:21.297Z] Removing intermediate container 1de72ef11b4e [2022-08-12T10:12:21.297Z] ---> 7874bbf604dd [2022-08-12T10:12:21.297Z] Step 25/27 : LABEL arch=amd64 [2022-08-12T10:12:21.297Z] ---> Running in 8b8c972901c7 [2022-08-12T10:12:21.297Z] Removing intermediate container 8b8c972901c7 [2022-08-12T10:12:21.297Z] ---> c7a6be9375af [2022-08-12T10:12:21.297Z] Step 26/27 : LABEL git_sha=4784667fa899ea8d09fe8f3b196c5591d6d63546 [2022-08-12T10:12:21.297Z] ---> Running in 076a3605bdb4 [2022-08-12T10:12:21.556Z] Removing intermediate container 076a3605bdb4 [2022-08-12T10:12:21.556Z] ---> 662b5ecd04e0 [2022-08-12T10:12:21.556Z] Step 27/27 : LABEL version=0.0.0 [2022-08-12T10:12:21.556Z] ---> Running in 337fcefd7118 [2022-08-12T10:12:21.556Z] Removing intermediate container 337fcefd7118 [2022-08-12T10:12:21.556Z] ---> fa4ec1014b99 [2022-08-12T10:12:21.556Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T10:12:21.556Z] Successfully built fa4ec1014b99 [2022-08-12T10:12:21.556Z] 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 [2022-08-12T10:12:22.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T10:12:22.031Z] [2022-08-12T10:12:22.031Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:12:22.333Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T10:12:22.333Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-12T10:12:22.333Z] 5eb5b503b376: Pulling fs layer [2022-08-12T10:12:22.333Z] 5c69ac0246d0: Pulling fs layer [2022-08-12T10:12:22.333Z] ec43610c2a17: Pulling fs layer [2022-08-12T10:12:22.333Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-12T10:12:22.333Z] 33b1e0a273af: Pulling fs layer [2022-08-12T10:12:22.333Z] 5d3b04190fa2: Pulling fs layer [2022-08-12T10:12:22.333Z] 2f39f015ded8: Pulling fs layer [2022-08-12T10:12:22.333Z] 3a2ae6a8a46f: Waiting [2022-08-12T10:12:22.333Z] 33b1e0a273af: Waiting [2022-08-12T10:12:22.333Z] 5d3b04190fa2: Waiting [2022-08-12T10:12:22.333Z] 2f39f015ded8: Waiting [2022-08-12T10:12:22.333Z] 5c69ac0246d0: Verifying Checksum [2022-08-12T10:12:22.333Z] 5c69ac0246d0: Download complete [2022-08-12T10:12:22.333Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-12T10:12:22.333Z] 3a2ae6a8a46f: Download complete [2022-08-12T10:12:22.333Z] ec43610c2a17: Verifying Checksum [2022-08-12T10:12:22.333Z] ec43610c2a17: Download complete [2022-08-12T10:12:22.333Z] 5d3b04190fa2: Verifying Checksum [2022-08-12T10:12:22.333Z] 5d3b04190fa2: Download complete [2022-08-12T10:12:22.333Z] 33b1e0a273af: Verifying Checksum [2022-08-12T10:12:22.333Z] 33b1e0a273af: Download complete [2022-08-12T10:12:22.591Z] 5eb5b503b376: Download complete [2022-08-12T10:12:23.158Z] 2f39f015ded8: Download complete [2022-08-12T10:12:23.725Z] 5eb5b503b376: Pull complete [2022-08-12T10:12:23.985Z] 5c69ac0246d0: Pull complete [2022-08-12T10:12:24.552Z] ec43610c2a17: Pull complete [2022-08-12T10:12:24.552Z] 3a2ae6a8a46f: Pull complete [2022-08-12T10:12:24.552Z] 33b1e0a273af: Pull complete [2022-08-12T10:12:24.810Z] 5d3b04190fa2: Pull complete [2022-08-12T10:12:27.306Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22607 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-08-12T10:12:27.319Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2022-08-12T10:12:27.375Z] Selected Git installation does not exist. Using Default [2022-08-12T10:12:27.376Z] The recommended git tool is: NONE [2022-08-12T10:12:29.000Z] 2f39f015ded8: Pull complete [2022-08-12T10:12:29.000Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-12T10:12:29.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T10:12:29.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T10:12:29.099Z] prd-ubuntu20.04-docker-8c-8g-22606 does not seem to be running inside a container [2022-08-12T10:12:29.135Z] $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T10:12:33.045Z] $ docker top d2650cfab2356c74e008cb3fae95eff8db6b38b03095630d0af8aaa196404ac0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T10:12:33.441Z] ---> job-cost.sh [2022-08-12T10:12:33.441Z] lf-activate-venv: SKIPPING [2022-08-12T10:12:33.441Z] INFO: No Stack... [2022-08-12T10:12:33.702Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T10:12:33.994Z] using credential edgex-jenkins-ssh [2022-08-12T10:12:34.017Z] Cloning the remote Git repository [2022-08-12T10:12:34.322Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T10:12:34.615Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-08-12T10:12:34.615Z] + cut -d, -f6 [Pipeline] lock [2022-08-12T10:12:34.656Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-4-stack-cost] [2022-08-12T10:12:34.665Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-4-stack-cost] did not exist. Created. [2022-08-12T10:12:34.665Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T10:12:35.013Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-12T10:12:35.061Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T10:12:35.068Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T10:12:35.089Z] $ docker stop --time=1 d2650cfab2356c74e008cb3fae95eff8db6b38b03095630d0af8aaa196404ac0 [2022-08-12T10:12:34.088Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-12T10:12:34.171Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-08-12T10:12:34.263Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-12T10:12:34.264Z] > git --version # timeout=10 [2022-08-12T10:12:34.351Z] > git --version # 'git version 2.25.1' [2022-08-12T10:12:34.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T10:12:34.501Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T10:12:36.228Z] $ docker rm -f d2650cfab2356c74e008cb3fae95eff8db6b38b03095630d0af8aaa196404ac0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-12T10:12:36.403Z] Merging remotes/origin/main commit 7566e30f01203e511a46f95a7874e6126d22e67b into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-08-12T10:12:35.627Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-12T10:12:35.687Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T10:12:35.759Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-12T10:12:35.827Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-12T10:12:35.829Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T10:12:35.856Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-12T10:12:36.428Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T10:12:36.450Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-08-12T10:12:37.099Z] Merge succeeded, producing f5ce006dba290c1c0a9e0453c157f05e94e2d178 [2022-08-12T10:12:37.100Z] Checking out Revision f5ce006dba290c1c0a9e0453c157f05e94e2d178 (PR-125) [2022-08-12T10:12:36.653Z] > git remote # timeout=10 [2022-08-12T10:12:36.678Z] > git config --get remote.origin.url # timeout=10 [2022-08-12T10:12:36.691Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T10:12:36.703Z] > git merge 7566e30f01203e511a46f95a7874e6126d22e67b # timeout=10 [2022-08-12T10:12:37.082Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-12T10:12:37.109Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T10:12:37.125Z] > git checkout -f f5ce006dba290c1c0a9e0453c157f05e94e2d178 # timeout=10 [2022-08-12T10:12:41.253Z] Commit message: "Merge commit '7566e30f01203e511a46f95a7874e6126d22e67b' into HEAD" [2022-08-12T10:12:41.279Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T10:12:42.286Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-12T10:12:42.286Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T10:12:42.286Z] Dload Upload Total Spent Left Speed [2022-08-12T10:12:42.286Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90676 [2022-08-12T10:12:41.265Z] > git rev-list --no-walk dc36e75410f01dfc05f7ec4ca86b46cd53d25d5c # timeout=10 [Pipeline] sh [2022-08-12T10:12:43.063Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-12T10:12:43.401Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-12T10:12:43.401Z] + sudo tee /etc/docker/daemon.new [2022-08-12T10:12:43.401Z] { [2022-08-12T10:12:43.401Z] "registry-mirrors": [ [2022-08-12T10:12:43.401Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-12T10:12:43.401Z] ], [2022-08-12T10:12:43.401Z] "bip": "10.250.0.254/24", [2022-08-12T10:12:43.401Z] "hosts": [ [2022-08-12T10:12:43.401Z] "tcp://0.0.0.0:5555", [2022-08-12T10:12:43.401Z] "unix:///var/run/docker.sock" [2022-08-12T10:12:43.401Z] ], [2022-08-12T10:12:43.401Z] "mtu": 1458, [2022-08-12T10:12:43.401Z] "selinux-enabled": true, [2022-08-12T10:12:43.401Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-12T10:12:43.401Z] } [Pipeline] sh [2022-08-12T10:12:43.746Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-12T10:12:44.079Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T10:13:02.422Z] provisioning config files... [2022-08-12T10:13:02.447Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config7618208097522125884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T10:13:03.031Z] ---> docker-login.sh [2022-08-12T10:13:03.031Z] nexus3.edgexfoundry.org:10001 [2022-08-12T10:13:03.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:13:03.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:13:03.905Z] Configure a credential helper to remove this warning. See [2022-08-12T10:13:03.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:13:03.905Z] [2022-08-12T10:13:03.905Z] Login Succeeded [2022-08-12T10:13:03.905Z] nexus3.edgexfoundry.org:10002 [2022-08-12T10:13:04.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:13:04.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:13:04.452Z] Configure a credential helper to remove this warning. See [2022-08-12T10:13:04.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:13:04.452Z] [2022-08-12T10:13:04.452Z] Login Succeeded [2022-08-12T10:13:04.452Z] nexus3.edgexfoundry.org:10003 [2022-08-12T10:13:04.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:13:04.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:13:04.729Z] Configure a credential helper to remove this warning. See [2022-08-12T10:13:04.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:13:04.729Z] [2022-08-12T10:13:04.729Z] Login Succeeded [2022-08-12T10:13:04.729Z] nexus3.edgexfoundry.org:10004 [2022-08-12T10:13:05.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:13:05.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:13:05.332Z] Configure a credential helper to remove this warning. See [2022-08-12T10:13:05.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:13:05.332Z] [2022-08-12T10:13:05.332Z] Login Succeeded [2022-08-12T10:13:05.332Z] docker.io [2022-08-12T10:13:05.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T10:13:06.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T10:13:06.202Z] Configure a credential helper to remove this warning. See [2022-08-12T10:13:06.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T10:13:06.202Z] [2022-08-12T10:13:06.202Z] Login Succeeded [2022-08-12T10:13:06.203Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T10:13:06.222Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T10:13:06.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T10:13:06.489Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T10:13:06.498Z] ========================================================= [2022-08-12T10:13:06.498Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-12T10:13:06.498Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:13:06.859Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-12T10:13:07.471Z] Sending build context to Docker daemon 14.04MB [2022-08-12T10:13:07.471Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T10:13:07.471Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-12T10:13:07.471Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-12T10:13:07.471Z] b3c136eddcbf: Pulling fs layer [2022-08-12T10:13:07.471Z] c0a3192eca97: Pulling fs layer [2022-08-12T10:13:07.471Z] a050256f5b6f: Pulling fs layer [2022-08-12T10:13:07.471Z] 656be50a0ddc: Pulling fs layer [2022-08-12T10:13:07.471Z] 2bbca73fdf42: Pulling fs layer [2022-08-12T10:13:07.471Z] 46d945488cbd: Pulling fs layer [2022-08-12T10:13:07.471Z] 8a5474983e97: Pulling fs layer [2022-08-12T10:13:07.471Z] 329c88fbcd65: Pulling fs layer [2022-08-12T10:13:07.471Z] 2bbca73fdf42: Waiting [2022-08-12T10:13:07.471Z] 46d945488cbd: Waiting [2022-08-12T10:13:07.471Z] 8a5474983e97: Waiting [2022-08-12T10:13:07.471Z] 329c88fbcd65: Waiting [2022-08-12T10:13:07.471Z] 656be50a0ddc: Waiting [2022-08-12T10:13:07.471Z] a050256f5b6f: Verifying Checksum [2022-08-12T10:13:07.471Z] a050256f5b6f: Download complete [2022-08-12T10:13:07.471Z] c0a3192eca97: Download complete [2022-08-12T10:13:07.471Z] 2bbca73fdf42: Verifying Checksum [2022-08-12T10:13:07.471Z] 2bbca73fdf42: Download complete [2022-08-12T10:13:07.751Z] b3c136eddcbf: Download complete [2022-08-12T10:13:07.751Z] 46d945488cbd: Verifying Checksum [2022-08-12T10:13:07.751Z] 46d945488cbd: Download complete [2022-08-12T10:13:08.750Z] b3c136eddcbf: Pull complete [2022-08-12T10:13:08.750Z] 329c88fbcd65: Verifying Checksum [2022-08-12T10:13:08.750Z] 329c88fbcd65: Download complete [2022-08-12T10:13:09.029Z] c0a3192eca97: Pull complete [2022-08-12T10:13:09.310Z] a050256f5b6f: Pull complete [2022-08-12T10:13:09.913Z] 8a5474983e97: Verifying Checksum [2022-08-12T10:13:09.913Z] 8a5474983e97: Download complete [2022-08-12T10:13:10.514Z] 656be50a0ddc: Verifying Checksum [2022-08-12T10:13:10.514Z] 656be50a0ddc: Download complete [2022-08-12T10:13:22.928Z] 656be50a0ddc: Pull complete [2022-08-12T10:13:23.204Z] 2bbca73fdf42: Pull complete [2022-08-12T10:13:23.476Z] 46d945488cbd: Pull complete [2022-08-12T10:13:30.201Z] 8a5474983e97: Pull complete [2022-08-12T10:13:32.181Z] 329c88fbcd65: Pull complete [2022-08-12T10:13:32.181Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-12T10:13:32.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-12T10:13:32.181Z] ---> ff4287adb874 [2022-08-12T10:13:32.181Z] Step 3/13 : ARG MAKE="make build" [2022-08-12T10:13:33.623Z] ---> Running in 1b1178bdecf3 [2022-08-12T10:13:33.897Z] Removing intermediate container 1b1178bdecf3 [2022-08-12T10:13:33.897Z] ---> 0063f7da6c3c [2022-08-12T10:13:33.897Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T10:13:33.897Z] ---> Running in 6ca38941cf30 [2022-08-12T10:13:34.180Z] Removing intermediate container 6ca38941cf30 [2022-08-12T10:13:34.180Z] ---> e43c4312e1a6 [2022-08-12T10:13:34.180Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T10:13:34.180Z] ---> Running in 31268f63a831 [2022-08-12T10:13:34.465Z] Removing intermediate container 31268f63a831 [2022-08-12T10:13:34.465Z] ---> 686e628c50ec [2022-08-12T10:13:34.465Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-12T10:13:34.739Z] ---> Running in 464bffc6c53f [2022-08-12T10:13:35.016Z] Removing intermediate container 464bffc6c53f [2022-08-12T10:13:35.016Z] ---> 61a7c04587fb [2022-08-12T10:13:35.016Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T10:13:35.016Z] ---> Running in 78a6ec6291b7 [2022-08-12T10:13:38.437Z] Removing intermediate container 78a6ec6291b7 [2022-08-12T10:13:38.437Z] ---> 180e85b58903 [2022-08-12T10:13:38.437Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T10:13:38.437Z] ---> Running in 979bb6d17f11 [2022-08-12T10:13:39.035Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T10:13:40.017Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T10:13:40.998Z] OK: 221 MiB in 51 packages [2022-08-12T10:13:41.602Z] Removing intermediate container 979bb6d17f11 [2022-08-12T10:13:41.602Z] ---> dbde8e17d89a [2022-08-12T10:13:41.602Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-12T10:13:41.882Z] ---> Running in c288b4a397f6 [2022-08-12T10:13:42.157Z] Removing intermediate container c288b4a397f6 [2022-08-12T10:13:42.157Z] ---> 79991d69cad1 [2022-08-12T10:13:42.157Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-12T10:13:42.755Z] ---> 7d4f1c9e6bc1 [2022-08-12T10:13:42.755Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T10:13:42.756Z] ---> Running in 0d79187859e2 [2022-08-12T10:14:39.315Z] Removing intermediate container 0d79187859e2 [2022-08-12T10:14:39.315Z] ---> c58c9ebe364d [2022-08-12T10:14:39.315Z] Step 12/13 : COPY . . [2022-08-12T10:14:39.315Z] ---> cfdefe5d24a5 [2022-08-12T10:14:39.315Z] Step 13/13 : RUN ${MAKE} [2022-08-12T10:14:39.315Z] ---> Running in ef88eeb8251a [2022-08-12T10:14:39.315Z] noop [2022-08-12T10:14:39.315Z] Removing intermediate container ef88eeb8251a [2022-08-12T10:14:39.315Z] ---> dedb8a6f1e73 [2022-08-12T10:14:39.315Z] Successfully built dedb8a6f1e73 [2022-08-12T10:14:39.315Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:14:39.680Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T10:14:39.680Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T10:14:39.907Z] prd-ubuntu20.04-docker-arm64-4c-16g-22607 does not seem to be running inside a container [2022-08-12T10:14:39.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-12T10:14:41.257Z] $ docker top bd1147f13f7c9cc6f9da550a7e6b24dbf52d327bdfcf58b4c07d18c3b6ffc775 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T10:14:42.144Z] + go version [2022-08-12T10:14:42.144Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-12T10:14:42.176Z] $ docker stop --time=1 bd1147f13f7c9cc6f9da550a7e6b24dbf52d327bdfcf58b4c07d18c3b6ffc775 [2022-08-12T10:14:43.786Z] $ docker rm -f bd1147f13f7c9cc6f9da550a7e6b24dbf52d327bdfcf58b4c07d18c3b6ffc775 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:14:44.411Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T10:14:44.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T10:14:44.642Z] prd-ubuntu20.04-docker-arm64-4c-16g-22607 does not seem to be running inside a container [2022-08-12T10:14:44.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-12T10:14:45.976Z] $ docker top e429f68135b5cc161607b12e286012c65f2269c418d93ce4fe32b26315c9b873 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T10:14:46.866Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh [2022-08-12T10:14:47.549Z] + make test [2022-08-12T10:14:47.549Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-12T10:14:49.536Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-12T10:16:11.414Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-12T10:16:18.158Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.126s coverage: 10.6% of statements [2022-08-12T10:16:18.158Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-12T10:16:44.963Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.808s coverage: 13.8% of statements [2022-08-12T10:16:44.963Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-12T10:16:44.963Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T10:17:03.314Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T10:17:03.314Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T10:17:03.314Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-12T10:17:03.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T10:17:03.366Z] $ docker stop --time=1 e429f68135b5cc161607b12e286012c65f2269c418d93ce4fe32b26315c9b873 [2022-08-12T10:17:05.154Z] $ docker rm -f e429f68135b5cc161607b12e286012c65f2269c418d93ce4fe32b26315c9b873 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T10:17:06.143Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T10:17:06.174Z] Warning: overwriting stash ‘coverage-report’ [2022-08-12T10:17:06.711Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T10:17:07.117Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T10:17:07.448Z] + ls -al . [2022-08-12T10:17:07.448Z] total 228 [2022-08-12T10:17:07.448Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 10:14 . [2022-08-12T10:17:07.448Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 10:12 .. [2022-08-12T10:17:07.448Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 10:12 .git [2022-08-12T10:17:07.448Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 10:12 .github [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 12 10:12 .gitignore [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 12 10:12 .golangci.yml [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 12 10:12 Attribution.txt [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 12 10:12 CHANGELOG.md [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 12 10:12 Dockerfile [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 10:12 GOVERNANCE.md [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 12 10:12 Jenkinsfile [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 12 10:12 LICENSE [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 12 10:12 Makefile [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 12 10:12 OWNERS.md [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 12 10:12 README.md [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 10:10 VERSION [2022-08-12T10:17:07.448Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 10:12 bin [2022-08-12T10:17:07.448Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 10:12 cmd [2022-08-12T10:17:07.448Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 12 10:16 coverage.out [2022-08-12T10:17:07.448Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 12 10:12 doc [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 12 10:12 go.mod [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 12 10:12 go.sum [2022-08-12T10:17:07.448Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 10:12 internal [2022-08-12T10:17:07.448Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 10:12 snap [2022-08-12T10:17:07.448Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 12 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:17:07.806Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f5ce006dba290c1c0a9e0453c157f05e94e2d178 --label arch=arm64 --label version=0.0.0 . [2022-08-12T10:17:08.403Z] Sending build context to Docker daemon 14.12MB [2022-08-12T10:17:08.403Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T10:17:08.403Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-12T10:17:08.403Z] ---> dedb8a6f1e73 [2022-08-12T10:17:08.403Z] Step 3/27 : ARG MAKE="make build" [2022-08-12T10:17:08.403Z] ---> Running in 0a539962fa6b [2022-08-12T10:17:08.680Z] Removing intermediate container 0a539962fa6b [2022-08-12T10:17:08.680Z] ---> db6881d995fa [2022-08-12T10:17:08.680Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T10:17:08.955Z] ---> Running in ea14f6d7389e [2022-08-12T10:17:09.231Z] Removing intermediate container ea14f6d7389e [2022-08-12T10:17:09.231Z] ---> f95eb830413c [2022-08-12T10:17:09.231Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T10:17:09.231Z] ---> Running in 5301b5501cc5 [2022-08-12T10:17:09.516Z] Removing intermediate container 5301b5501cc5 [2022-08-12T10:17:09.516Z] ---> 4f8e554747f9 [2022-08-12T10:17:09.516Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-12T10:17:09.516Z] ---> Running in 03968300ecec [2022-08-12T10:17:09.802Z] Removing intermediate container 03968300ecec [2022-08-12T10:17:09.802Z] ---> 2ee9c8dfa746 [2022-08-12T10:17:09.802Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T10:17:10.083Z] ---> Running in 9902855f61cd [2022-08-12T10:17:11.566Z] Removing intermediate container 9902855f61cd [2022-08-12T10:17:11.566Z] ---> 66af15c02211 [2022-08-12T10:17:11.566Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T10:17:11.566Z] ---> Running in 4e12d133565d [2022-08-12T10:17:12.551Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T10:17:13.530Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T10:17:14.512Z] OK: 221 MiB in 51 packages [2022-08-12T10:17:15.494Z] Removing intermediate container 4e12d133565d [2022-08-12T10:17:15.494Z] ---> b03c8ced171e [2022-08-12T10:17:15.494Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-12T10:17:15.494Z] ---> Running in 44a82c3fc4f9 [2022-08-12T10:17:15.494Z] Removing intermediate container 44a82c3fc4f9 [2022-08-12T10:17:15.494Z] ---> 77ded6402941 [2022-08-12T10:17:15.494Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-12T10:17:16.108Z] ---> 9401974f78ef [2022-08-12T10:17:16.108Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T10:17:16.381Z] ---> Running in 2f53a89494ee [2022-08-12T10:17:18.378Z] Removing intermediate container 2f53a89494ee [2022-08-12T10:17:18.378Z] ---> 5b73634e32e6 [2022-08-12T10:17:18.378Z] Step 12/27 : COPY . . [2022-08-12T10:17:19.826Z] ---> c4cbda4f6aef [2022-08-12T10:17:19.826Z] Step 13/27 : RUN ${MAKE} [2022-08-12T10:17:19.826Z] ---> Running in 666e71b5e96a [2022-08-12T10:17:20.814Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-12T10:19:27.727Z] Removing intermediate container 666e71b5e96a [2022-08-12T10:19:27.727Z] ---> 7efe4d7da803 [2022-08-12T10:19:27.727Z] Step 14/27 : FROM alpine:3.16 [2022-08-12T10:19:27.727Z] 3.16: Pulling from library/alpine [2022-08-12T10:19:27.727Z] 9b18e9b68314: Pulling fs layer [2022-08-12T10:19:27.727Z] 9b18e9b68314: Verifying Checksum [2022-08-12T10:19:27.727Z] 9b18e9b68314: Download complete [2022-08-12T10:19:28.000Z] 9b18e9b68314: Pull complete [2022-08-12T10:19:28.001Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T10:19:28.001Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T10:19:28.001Z] ---> a6215f271958 [2022-08-12T10:19:28.001Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-12T10:19:28.001Z] ---> Running in f4946cdab456 [2022-08-12T10:19:28.276Z] Removing intermediate container f4946cdab456 [2022-08-12T10:19:28.276Z] ---> 1bb394f27a7e [2022-08-12T10:19:28.276Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-12T10:19:28.557Z] ---> Running in b76df39af3b7 [2022-08-12T10:19:29.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T10:19:29.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T10:19:30.415Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-12T10:19:30.415Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-12T10:19:30.415Z] (3/21) Installing readline (8.1.2-r0) [2022-08-12T10:19:30.415Z] (4/21) Installing bash (5.1.16-r2) [2022-08-12T10:19:30.691Z] Executing bash-5.1.16-r2.post-install [2022-08-12T10:19:30.691Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-12T10:19:30.691Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-08-12T10:19:30.691Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-08-12T10:19:30.691Z] (8/21) Installing libcurl (7.83.1-r2) [2022-08-12T10:19:30.691Z] (9/21) Installing curl (7.83.1-r2) [2022-08-12T10:19:30.691Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-12T10:19:30.691Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-08-12T10:19:30.691Z] (12/21) Installing jq (1.6-r1) [2022-08-12T10:19:30.691Z] (13/21) Installing popt (1.18-r0) [2022-08-12T10:19:30.691Z] (14/21) Installing pcre (8.45-r2) [2022-08-12T10:19:30.691Z] (15/21) Installing slang (2.3.2-r0) [2022-08-12T10:19:30.965Z] (16/21) Installing newt (0.52.21-r2) [2022-08-12T10:19:30.965Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T10:19:30.965Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-12T10:19:30.965Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T10:19:30.965Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-12T10:19:30.965Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-12T10:19:30.965Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T10:19:30.965Z] Executing ca-certificates-20220614-r0.trigger [2022-08-12T10:19:31.240Z] OK: 16 MiB in 35 packages [2022-08-12T10:19:33.225Z] Removing intermediate container b76df39af3b7 [2022-08-12T10:19:33.225Z] ---> d54de22048a3 [2022-08-12T10:19:33.225Z] Step 17/27 : WORKDIR / [2022-08-12T10:19:33.225Z] ---> Running in 464348dfa431 [2022-08-12T10:19:33.225Z] Removing intermediate container 464348dfa431 [2022-08-12T10:19:33.225Z] ---> 4898a41e48e7 [2022-08-12T10:19:33.225Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-12T10:19:34.660Z] ---> 5faf755ca538 [2022-08-12T10:19:34.660Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-12T10:19:35.259Z] ---> feacfa28d1fd [2022-08-12T10:19:35.259Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-12T10:19:35.858Z] ---> 9aa34482ad9c [2022-08-12T10:19:35.858Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-12T10:19:36.458Z] ---> f01babe70467 [2022-08-12T10:19:36.458Z] Step 22/27 : EXPOSE 59984 [2022-08-12T10:19:36.458Z] ---> Running in 7f33835ded00 [2022-08-12T10:19:36.735Z] Removing intermediate container 7f33835ded00 [2022-08-12T10:19:36.736Z] ---> a85027bda937 [2022-08-12T10:19:36.736Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-12T10:19:37.011Z] ---> Running in a3b8239bb5e6 [2022-08-12T10:19:37.285Z] Removing intermediate container a3b8239bb5e6 [2022-08-12T10:19:37.285Z] ---> 5e03c697eebd [2022-08-12T10:19:37.285Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T10:19:37.285Z] ---> Running in 62c081eb5ae5 [2022-08-12T10:19:37.560Z] Removing intermediate container 62c081eb5ae5 [2022-08-12T10:19:37.560Z] ---> ad6f1f8758be [2022-08-12T10:19:37.560Z] Step 25/27 : LABEL arch=arm64 [2022-08-12T10:19:37.560Z] ---> Running in f611e61634d8 [2022-08-12T10:19:37.834Z] Removing intermediate container f611e61634d8 [2022-08-12T10:19:37.834Z] ---> 12b5e50c4a16 [2022-08-12T10:19:37.834Z] Step 26/27 : LABEL git_sha=f5ce006dba290c1c0a9e0453c157f05e94e2d178 [2022-08-12T10:19:38.108Z] ---> Running in 1d2afa3eae7d [2022-08-12T10:19:38.385Z] Removing intermediate container 1d2afa3eae7d [2022-08-12T10:19:38.385Z] ---> 5bfcac348c48 [2022-08-12T10:19:38.385Z] Step 27/27 : LABEL version=0.0.0 [2022-08-12T10:19:38.385Z] ---> Running in 2e2720ae5f0f [2022-08-12T10:19:38.658Z] Removing intermediate container 2e2720ae5f0f [2022-08-12T10:19:38.658Z] ---> 34d5e074224c [2022-08-12T10:19:38.658Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T10:19:38.658Z] Successfully built 34d5e074224c [2022-08-12T10:19:38.658Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:19:39.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T10:19:39.126Z] [2022-08-12T10:19:39.126Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:19:39.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T10:19:39.755Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-12T10:19:39.755Z] 8998bd30e6a1: Pulling fs layer [2022-08-12T10:19:39.755Z] 04944245beec: Pulling fs layer [2022-08-12T10:19:39.755Z] 699f458cf7ca: Pulling fs layer [2022-08-12T10:19:39.755Z] 765212b225bb: Pulling fs layer [2022-08-12T10:19:39.755Z] f23df028b6ca: Pulling fs layer [2022-08-12T10:19:39.755Z] 765212b225bb: Waiting [2022-08-12T10:19:39.755Z] d65c8cfc05b1: Pulling fs layer [2022-08-12T10:19:39.755Z] 2437ff75d9bd: Pulling fs layer [2022-08-12T10:19:39.755Z] f23df028b6ca: Waiting [2022-08-12T10:19:39.755Z] 2437ff75d9bd: Waiting [2022-08-12T10:19:39.755Z] d65c8cfc05b1: Waiting [2022-08-12T10:19:39.755Z] 04944245beec: Verifying Checksum [2022-08-12T10:19:39.755Z] 04944245beec: Download complete [2022-08-12T10:19:39.755Z] 765212b225bb: Verifying Checksum [2022-08-12T10:19:39.755Z] 765212b225bb: Download complete [2022-08-12T10:19:39.755Z] f23df028b6ca: Verifying Checksum [2022-08-12T10:19:39.755Z] f23df028b6ca: Download complete [2022-08-12T10:19:39.755Z] d65c8cfc05b1: Verifying Checksum [2022-08-12T10:19:39.755Z] d65c8cfc05b1: Download complete [2022-08-12T10:19:40.030Z] 699f458cf7ca: Verifying Checksum [2022-08-12T10:19:40.030Z] 699f458cf7ca: Download complete [2022-08-12T10:19:40.305Z] 8998bd30e6a1: Verifying Checksum [2022-08-12T10:19:40.305Z] 8998bd30e6a1: Download complete [2022-08-12T10:19:42.938Z] 2437ff75d9bd: Download complete [2022-08-12T10:19:44.921Z] 8998bd30e6a1: Pull complete [2022-08-12T10:19:45.196Z] 04944245beec: Pull complete [2022-08-12T10:19:46.633Z] 699f458cf7ca: Pull complete [2022-08-12T10:19:46.908Z] 765212b225bb: Pull complete [2022-08-12T10:19:47.889Z] f23df028b6ca: Pull complete [2022-08-12T10:19:47.889Z] d65c8cfc05b1: Pull complete [2022-08-12T10:20:02.996Z] 2437ff75d9bd: Pull complete [2022-08-12T10:20:02.996Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-12T10:20:02.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T10:20:02.996Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T10:20:03.254Z] prd-ubuntu20.04-docker-arm64-4c-16g-22607 does not seem to be running inside a container [2022-08-12T10:20:03.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-12T10:20:05.812Z] $ docker top 754ef4a23b35ead5cffbf91b37a2b0fd9424c6e2f6f193e40cf64cc40c130aa0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T10:20:06.732Z] ---> job-cost.sh [2022-08-12T10:20:06.732Z] lf-activate-venv: SKIPPING [2022-08-12T10:20:06.732Z] INFO: No Stack... [2022-08-12T10:20:07.004Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-12T10:20:07.984Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T10:20:08.650Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2022-08-12T10:20:08.650Z] + cut -d, -f6 [Pipeline] lock [2022-08-12T10:20:08.712Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-4-stack-cost] [2022-08-12T10:20:08.721Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-4-stack-cost] did not exist. Created. [2022-08-12T10:20:08.721Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T10:20:09.393Z] /w/workspace/device-onvif-camera/4@tmp/durable-a96b8c56/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-12T10:20:10.066Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-12T10:20:10.095Z] Warning: overwriting stash ‘stack-cost’ [2022-08-12T10:20:10.155Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T10:20:10.162Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T10:20:10.196Z] $ docker stop --time=1 754ef4a23b35ead5cffbf91b37a2b0fd9424c6e2f6f193e40cf64cc40c130aa0 [2022-08-12T10:20:11.684Z] $ docker rm -f 754ef4a23b35ead5cffbf91b37a2b0fd9424c6e2f6f193e40cf64cc40c130aa0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-12T10:20:12.104Z] provisioning config files... [2022-08-12T10:20:12.113Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7614628069175090597tmp [Pipeline] { [Pipeline] sh [2022-08-12T10:20:12.412Z] + set +x [2022-08-12T10:20:12.413Z] + bash -s -- [2022-08-12T10:20:12.413Z] + curl -s https://codecov.io/bash [2022-08-12T10:20:12.413Z] [2022-08-12T10:20:12.413Z] _____ _ [2022-08-12T10:20:12.413Z] / ____| | | [2022-08-12T10:20:12.413Z] | | ___ __| | ___ ___ _____ __ [2022-08-12T10:20:12.413Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-12T10:20:12.413Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-12T10:20:12.413Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-12T10:20:12.413Z] Bash-1.0.6 [2022-08-12T10:20:12.413Z] [2022-08-12T10:20:12.413Z] [2022-08-12T10:20:12.413Z] ==> git version 2.25.1 found [2022-08-12T10:20:12.413Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-12T10:20:12.413Z] Release-Date: 2020-01-08 [2022-08-12T10:20:12.413Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-12T10:20:12.413Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-12T10:20:12.413Z] ==> Jenkins CI detected. [2022-08-12T10:20:12.413Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-08-12T10:20:12.413Z] project root: . [2022-08-12T10:20:12.413Z] --> token set from env [2022-08-12T10:20:12.413Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-12T10:20:12.413Z] ==> Running gcov in . (disable via -X gcov) [2022-08-12T10:20:12.413Z] ==> Python coveragepy not found [2022-08-12T10:20:12.413Z] ==> Searching for coverage reports in: [2022-08-12T10:20:12.413Z] + . [2022-08-12T10:20:12.413Z] -> Found 1 reports [2022-08-12T10:20:12.413Z] ==> Detecting git/mercurial file structure [2022-08-12T10:20:12.673Z] ==> Reading reports [2022-08-12T10:20:12.673Z] + ./coverage.out bytes=76856 [2022-08-12T10:20:12.673Z] ==> Appending adjustments [2022-08-12T10:20:12.673Z] https://docs.codecov.io/docs/fixing-reports [2022-08-12T10:20:12.673Z] + Found adjustments [2022-08-12T10:20:12.673Z] ==> Gzipping contents [2022-08-12T10:20:12.673Z] 12K /tmp/codecov.QsLeRx.gz [2022-08-12T10:20:12.673Z] ==> Uploading reports [2022-08-12T10:20:12.673Z] url: https://codecov.io [2022-08-12T10:20:12.673Z] query: branch=PR-125&commit=4784667fa899ea8d09fe8f3b196c5591d6d63546&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-12T10:20:12.673Z] -> Pinging Codecov [2022-08-12T10:20:12.673Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=4784667fa899ea8d09fe8f3b196c5591d6d63546&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-12T10:20:12.933Z] -> Uploading to [2022-08-12T10:20:12.933Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-12/F29A59C45E3A92E06B3E522C9905F8EF/4784667fa899ea8d09fe8f3b196c5591d6d63546/f1f4024f-f649-43e6-9e7f-de42b11f80ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T102012Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2d31c97ca08e1cf9829be2b664b65ceb00a3083ded3b10d45bc7eb48b1040f74 [2022-08-12T10:20:13.194Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T10:20:13.194Z] Dload Upload Total Spent Left Speed [2022-08-12T10:20:13.194Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10376 0 0 100 10376 0 44532 --:--:-- --:--:-- --:--:-- 44532 [2022-08-12T10:20:13.195Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/4784667fa899ea8d09fe8f3b196c5591d6d63546 [Pipeline] } [2022-08-12T10:20:13.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-12T10:20:13.955Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-08-12T10:20:13.955Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-12T10:20:13.955Z] total 16 [2022-08-12T10:20:13.955Z] drwxr-xr-x 3 root root 4096 Aug 12 10:12 . [2022-08-12T10:20:13.955Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 10:12 .. [2022-08-12T10:20:13.955Z] drwxr-xr-x 2 root root 4096 Aug 12 10:12 cost [2022-08-12T10:20:13.955Z] -rw-r--r-- 1 root root 91 Aug 12 10:12 cost.csv [2022-08-12T10:20:13.955Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-12T10:20:13.955Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-12T10:20:13.955Z] total 16 [2022-08-12T10:20:13.955Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 10:12 . [2022-08-12T10:20:13.955Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 10:12 .. [2022-08-12T10:20:13.955Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 10:12 cost [2022-08-12T10:20:13.955Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 12 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-12T10:20:14.254Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T10:20:15.117Z] ---> package-listing.sh [2022-08-12T10:20:15.117Z] ++ facter osfamily [2022-08-12T10:20:15.117Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-12T10:20:15.117Z] + OS_FAMILY=debian [2022-08-12T10:20:15.117Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-08-12T10:20:15.117Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-12T10:20:15.117Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-12T10:20:15.117Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-12T10:20:15.117Z] + PACKAGES=/tmp/packages_start.txt [2022-08-12T10:20:15.117Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-12T10:20:15.117Z] + PACKAGES=/tmp/packages_end.txt [2022-08-12T10:20:15.117Z] + case "${OS_FAMILY}" in [2022-08-12T10:20:15.117Z] + dpkg -l [2022-08-12T10:20:15.117Z] + grep '^ii' [2022-08-12T10:20:15.379Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-12T10:20:15.379Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-12T10:20:15.379Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-12T10:20:15.379Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-12T10:20:15.379Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-08-12T10:20:15.379Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-08-12T10:20:15.392Z] 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-12T10:20:15.677Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T10:20:15.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T10:20:15.986Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T10:20:16.069Z] prd-ubuntu20.04-docker-8c-8g-22606 does not seem to be running inside a container [2022-08-12T10:20:16.105Z] $ 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-125/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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T10:20:16.309Z] $ docker top f3bd7051f088caae3db531d9e046fe2958a07ce0261fce8d7869ff689dfddae7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T10:20:16.667Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-12T10:20:16.956Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-12T10:20:17.243Z] + ls /var/log/sa-host [2022-08-12T10:20:17.243Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T10:20:17.318Z] provisioning config files... [2022-08-12T10:20:17.328Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7055383047153723483tmp [Pipeline] { [Pipeline] echo [2022-08-12T10:20:17.345Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T10:20:17.630Z] ---> create-netrc.sh [Pipeline] } [2022-08-12T10:20:17.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-12T10:20:17.975Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-12T10:20:17.985Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T10:20:18.275Z] ---> sudo-logs.sh [2022-08-12T10:20:18.275Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-12T10:20:18.307Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T10:20:18.595Z] ---> job-cost.sh [2022-08-12T10:20:18.595Z] lf-activate-venv: SKIPPING [2022-08-12T10:20:18.595Z] DEBUG: total: 0.2199999988079071 [2022-08-12T10:20:18.595Z] INFO: Retrieving Stack Cost... [2022-08-12T10:20:18.857Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T10:20:19.428Z] INFO: Archiving Costs [Pipeline] echo [2022-08-12T10:20:19.441Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T10:20:19.729Z] ---> logs-deploy.sh [2022-08-12T10:20:19.729Z] lf-activate-venv: SKIPPING [2022-08-12T10:20:19.729Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/4 [2022-08-12T10:20:19.729Z] INFO: archiving workspace using pattern(s): [2022-08-12T10:20:20.672Z] Archives upload complete. [2022-08-12T10:20:20.672Z] INFO: archiving logs to Nexus