Pull request #272 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch levski at c87f5736bc0c3f4f0df46418a3ded6651230b9e1 rather than d0e53795f1dec7569479cbb156f17287fbaad7b3 Obtained Jenkinsfile from c87f5736bc0c3f4f0df46418a3ded6651230b9e1 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12116936661012786992.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10275434323814188208.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-272/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-272/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2959067494645640243.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4954913435539939376.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-272/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-272/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17728629470711643303.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, goVersion:1.18, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4897 in /w/workspace/undry_device-onvif-camera_PR-272 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-272 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/levski commit c87f5736bc0c3f4f0df46418a3ded6651230b9e1 into PR head commit d0e53795f1dec7569479cbb156f17287fbaad7b3 Merge succeeded, producing 682eb1fcca66928d8d122742a11e57878cdcd643 Checking out Revision 682eb1fcca66928d8d122742a11e57878cdcd643 (PR-272) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/272/head:refs/remotes/origin/PR-272 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0e53795f1dec7569479cbb156f17287fbaad7b3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c87f5736bc0c3f4f0df46418a3ded6651230b9e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 682eb1fcca66928d8d122742a11e57878cdcd643 # timeout=10 Commit message: "Merge commit 'c87f5736bc0c3f4f0df46418a3ded6651230b9e1' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T16:30:58.224Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T16:30:58.264Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T16:30:58.279Z] ========================================================= [2023-03-21T16:30:58.279Z] EdgeX Global Pipelines Version Info [2023-03-21T16:30:58.279Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a34a17a981ab7e0803829b644f2d315c67df8410 # timeout=10 [2023-03-21T16:30:59.000Z] ------------------- [2023-03-21T16:30:59.000Z] stable info: [2023-03-21T16:30:59.000Z] ------------------- [2023-03-21T16:30:59.000Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T16:30:59.000Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T16:30:59.000Z] Message: update stable to v1.0.245 [2023-03-21T16:30:59.570Z] ------------------- [2023-03-21T16:30:59.570Z] experimental info: [2023-03-21T16:30:59.570Z] ------------------- [2023-03-21T16:30:59.570Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T16:30:59.570Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T16:30:59.570Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T16:30:59.742Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-21T16:30:59.758Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-21T16:30:59.769Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T16:30:59.780Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T16:30:59.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T16:30:59.806Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-21T16:30:59.822Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T16:30:59.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T16:30:59.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T16:30:59.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T16:30:59.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T16:30:59.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-21T16:30:59.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T16:30:59.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T16:30:59.918Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T16:30:59.929Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T16:30:59.940Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T16:30:59.951Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T16:30:59.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T16:30:59.975Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T16:30:59.983Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-21T16:30:59.996Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-21T16:31:00.013Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T16:31:00.028Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T16:31:00.038Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T16:31:00.049Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T16:31:00.060Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T16:31:00.072Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-272 [Pipeline] echo [2023-03-21T16:31:00.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-272 [Pipeline] echo [2023-03-21T16:31:00.097Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-272 [Pipeline] echo [2023-03-21T16:31:00.111Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 682eb1fcca66928d8d122742a11e57878cdcd643 [Pipeline] echo [2023-03-21T16:31:00.127Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 682eb1f [Pipeline] echo [2023-03-21T16:31:00.137Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T16:31:00.177Z] provisioning config files... [2023-03-21T16:31:00.191Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-272@tmp/config3326622966851590230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:31:00.490Z] ---> docker-login.sh [2023-03-21T16:31:00.490Z] nexus3.edgexfoundry.org:10001 [2023-03-21T16:31:01.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:31:01.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:31:01.432Z] Configure a credential helper to remove this warning. See [2023-03-21T16:31:01.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:31:01.432Z] [2023-03-21T16:31:01.432Z] Login Succeeded [2023-03-21T16:31:01.432Z] nexus3.edgexfoundry.org:10002 [2023-03-21T16:31:01.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:31:01.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:31:01.692Z] Configure a credential helper to remove this warning. See [2023-03-21T16:31:01.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:31:01.692Z] [2023-03-21T16:31:01.692Z] Login Succeeded [2023-03-21T16:31:01.692Z] nexus3.edgexfoundry.org:10003 [2023-03-21T16:31:01.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:31:01.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:31:01.692Z] Configure a credential helper to remove this warning. See [2023-03-21T16:31:01.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:31:01.692Z] [2023-03-21T16:31:01.692Z] Login Succeeded [2023-03-21T16:31:01.692Z] nexus3.edgexfoundry.org:10004 [2023-03-21T16:31:01.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:31:01.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:31:01.950Z] Configure a credential helper to remove this warning. See [2023-03-21T16:31:01.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:31:01.950Z] [2023-03-21T16:31:01.950Z] Login Succeeded [2023-03-21T16:31:01.950Z] docker.io [2023-03-21T16:31:01.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:31:02.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:31:02.209Z] Configure a credential helper to remove this warning. See [2023-03-21T16:31:02.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:31:02.209Z] [2023-03-21T16:31:02.209Z] Login Succeeded [2023-03-21T16:31:02.209Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T16:31:02.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T16:31:02.561Z] + git rev-list -1 --merges 682eb1fcca66928d8d122742a11e57878cdcd643~1..682eb1fcca66928d8d122742a11e57878cdcd643 [Pipeline] echo [2023-03-21T16:31:02.601Z] -----------> git rev-list -1 --merges 682eb1fcca66928d8d122742a11e57878cdcd643~1..682eb1fcca66928d8d122742a11e57878cdcd643 682eb1fcca66928d8d122742a11e57878cdcd643 [2023-03-21T16:31:02.601Z] 682eb1fcca66928d8d122742a11e57878cdcd643 [false] [Pipeline] sh [2023-03-21T16:31:02.884Z] + git log --format=format:%s -1 682eb1fcca66928d8d122742a11e57878cdcd643 [Pipeline] echo [2023-03-21T16:31:02.897Z] ========================================================= [2023-03-21T16:31:02.897Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T16:31:02.897Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T16:31:03.207Z] + git log --format=format:%s -1 682eb1fcca66928d8d122742a11e57878cdcd643 [Pipeline] echo [2023-03-21T16:31:03.218Z] [semverPrep] GIT_COMMIT: 682eb1fcca66928d8d122742a11e57878cdcd643, Commit Message: Merge commit 'c87f5736bc0c3f4f0df46418a3ded6651230b9e1' into HEAD [Pipeline] echo [2023-03-21T16:31:03.224Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T16:31:03.581Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T16:31:03.581Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T16:31:03.581Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T16:31:03.581Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T16:31:03.581Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T16:31:03.581Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T16:31:03.581Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:31:04.003Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T16:31:04.003Z] [2023-03-21T16:31:04.003Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:31:04.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T16:31:04.303Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T16:31:04.303Z] b85a868b505f: Pulling fs layer [2023-03-21T16:31:04.303Z] e2be974225ed: Pulling fs layer [2023-03-21T16:31:04.303Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T16:31:04.303Z] 988bab9f4d93: Pulling fs layer [2023-03-21T16:31:04.303Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T16:31:04.303Z] eaf3925da568: Pulling fs layer [2023-03-21T16:31:04.303Z] bab4dde63d76: Pulling fs layer [2023-03-21T16:31:04.303Z] bde34c3a00c8: Pulling fs layer [2023-03-21T16:31:04.303Z] b352a97aabf1: Pulling fs layer [2023-03-21T16:31:04.303Z] 4872d77fe225: Pulling fs layer [2023-03-21T16:31:04.303Z] 5851b861e8e6: Pulling fs layer [2023-03-21T16:31:04.303Z] 1469e6f7b9e6: Waiting [2023-03-21T16:31:04.303Z] 4872d77fe225: Waiting [2023-03-21T16:31:04.303Z] 5851b861e8e6: Waiting [2023-03-21T16:31:04.303Z] eaf3925da568: Waiting [2023-03-21T16:31:04.303Z] b352a97aabf1: Waiting [2023-03-21T16:31:04.303Z] bde34c3a00c8: Waiting [2023-03-21T16:31:04.303Z] 988bab9f4d93: Waiting [2023-03-21T16:31:04.303Z] bab4dde63d76: Waiting [2023-03-21T16:31:04.567Z] e2be974225ed: Verifying Checksum [2023-03-21T16:31:04.567Z] e2be974225ed: Download complete [2023-03-21T16:31:04.567Z] 988bab9f4d93: Verifying Checksum [2023-03-21T16:31:04.567Z] 988bab9f4d93: Download complete [2023-03-21T16:31:04.567Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T16:31:04.567Z] 1469e6f7b9e6: Download complete [2023-03-21T16:31:04.567Z] eaf3925da568: Download complete [2023-03-21T16:31:04.567Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T16:31:04.567Z] 339a4e72a1f5: Download complete [2023-03-21T16:31:04.567Z] bde34c3a00c8: Verifying Checksum [2023-03-21T16:31:04.567Z] bde34c3a00c8: Download complete [2023-03-21T16:31:04.827Z] b352a97aabf1: Verifying Checksum [2023-03-21T16:31:04.827Z] b352a97aabf1: Download complete [2023-03-21T16:31:04.827Z] 4872d77fe225: Download complete [2023-03-21T16:31:04.827Z] 5851b861e8e6: Verifying Checksum [2023-03-21T16:31:04.827Z] 5851b861e8e6: Download complete [2023-03-21T16:31:04.827Z] b85a868b505f: Verifying Checksum [2023-03-21T16:31:04.827Z] b85a868b505f: Download complete [2023-03-21T16:31:05.085Z] bab4dde63d76: Verifying Checksum [2023-03-21T16:31:05.085Z] bab4dde63d76: Download complete [2023-03-21T16:31:06.481Z] b85a868b505f: Pull complete [2023-03-21T16:31:06.749Z] e2be974225ed: Pull complete [2023-03-21T16:31:07.686Z] 339a4e72a1f5: Pull complete [2023-03-21T16:31:07.686Z] 988bab9f4d93: Pull complete [2023-03-21T16:31:07.946Z] 1469e6f7b9e6: Pull complete [2023-03-21T16:31:08.206Z] eaf3925da568: Pull complete [2023-03-21T16:31:10.114Z] bab4dde63d76: Pull complete [2023-03-21T16:31:10.114Z] bde34c3a00c8: Pull complete [2023-03-21T16:31:10.114Z] b352a97aabf1: Pull complete [2023-03-21T16:31:10.114Z] 4872d77fe225: Pull complete [2023-03-21T16:31:10.373Z] 5851b861e8e6: Pull complete [2023-03-21T16:31:10.373Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T16:31:10.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T16:31:10.373Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:31:10.474Z] prd-ubuntu20.04-docker-8c-8g-4897 does not seem to be running inside a container [2023-03-21T16:31:10.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T16:31:14.222Z] $ docker top ee507849eee99cca4fddb5b12c401e021751580608159bc8d8b69b0b607e6947 -eo pid,comm [2023-03-21T16:31:14.277Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-21T16:31:14.277Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T16:31:14.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T16:31:14.313Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T16:31:14.430Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T16:31:14.436Z] $ docker exec ee507849eee99cca4fddb5b12c401e021751580608159bc8d8b69b0b607e6947 ssh-agent [2023-03-21T16:31:14.558Z] SSH_AUTH_SOCK=/tmp/ssh-QJCV0OIr9bS1/agent.32 [2023-03-21T16:31:14.558Z] SSH_AGENT_PID=38 [2023-03-21T16:31:14.565Z] Running ssh-add (command line suppressed) [2023-03-21T16:31:14.679Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-272@tmp/private_key_16252863388633628969.key (/w/workspace/undry_device-onvif-camera_PR-272@tmp/private_key_16252863388633628969.key) [2023-03-21T16:31:14.691Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T16:31:14.982Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T16:31:15.003Z] $ docker exec --env ******** --env ******** ee507849eee99cca4fddb5b12c401e021751580608159bc8d8b69b0b607e6947 ssh-agent -k [2023-03-21T16:31:15.115Z] unset SSH_AUTH_SOCK; [2023-03-21T16:31:15.115Z] unset SSH_AGENT_PID; [2023-03-21T16:31:15.116Z] echo Agent pid 38 killed; [2023-03-21T16:31:15.128Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T16:31:15.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T16:31:15.149Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T16:31:15.266Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T16:31:15.272Z] $ docker exec ee507849eee99cca4fddb5b12c401e021751580608159bc8d8b69b0b607e6947 ssh-agent [2023-03-21T16:31:15.385Z] SSH_AUTH_SOCK=/tmp/ssh-ygIRRdVp5emt/agent.70 [2023-03-21T16:31:15.385Z] SSH_AGENT_PID=76 [2023-03-21T16:31:15.389Z] Running ssh-add (command line suppressed) [2023-03-21T16:31:15.510Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-272@tmp/private_key_6199588239365624180.key (/w/workspace/undry_device-onvif-camera_PR-272@tmp/private_key_6199588239365624180.key) [2023-03-21T16:31:15.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T16:31:15.808Z] + git semver init [2023-03-21T16:31:16.068Z] 2023-03-21 16:31:16,015 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T16:31:16.068Z] 2023-03-21 16:31:16,016 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-272/.semver [2023-03-21T16:31:16.068Z] 2023-03-21 16:31:16,016 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-272/.semver [2023-03-21T16:31:16.068Z] 2023-03-21 16:31:16,017 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-272/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-272, universal_newlines=False, shell=None, istream=None) [2023-03-21T16:31:17.452Z] 2023-03-21 16:31:17,015 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-272/.git/info/exclude [2023-03-21T16:31:17.452Z] 2023-03-21 16:31:17,016 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-272/.semver/PR-272 with force:False [2023-03-21T16:31:17.452Z] 2023-03-21 16:31:17,016 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-272/.semver/PR-272 [2023-03-21T16:31:17.452Z] 2023-03-21 16:31:17,021 [execute] INFO git cat-file --batch-check [2023-03-21T16:31:17.452Z] 2023-03-21 16:31:17,021 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-272/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T16:31:17.452Z] 2023-03-21 16:31:17,029 [execute] INFO git cat-file --batch [2023-03-21T16:31:17.452Z] 2023-03-21 16:31:17,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-272/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T16:31:17.452Z] 2023-03-21 16:31:17,035 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-272/.semver/PR-272 [2023-03-21T16:31:17.452Z] 0.0.0 [Pipeline] } [2023-03-21T16:31:17.466Z] $ docker exec --env ******** --env ******** ee507849eee99cca4fddb5b12c401e021751580608159bc8d8b69b0b607e6947 ssh-agent -k [2023-03-21T16:31:17.567Z] unset SSH_AUTH_SOCK; [2023-03-21T16:31:17.568Z] unset SSH_AGENT_PID; [2023-03-21T16:31:17.568Z] echo Agent pid 76 killed; [2023-03-21T16:31:17.575Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T16:31:17.877Z] + git semver [Pipeline] } [2023-03-21T16:31:18.152Z] $ docker stop --time=1 ee507849eee99cca4fddb5b12c401e021751580608159bc8d8b69b0b607e6947 [2023-03-21T16:31:19.438Z] $ docker rm -f --volumes ee507849eee99cca4fddb5b12c401e021751580608159bc8d8b69b0b607e6947 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T16:31:19.769Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T16:31:19.975Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T16:31:19.978Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T16:31:20.126Z] provisioning config files... [2023-03-21T16:31:20.135Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-272@tmp/config16807504309224573364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:31:20.433Z] ---> docker-login.sh [2023-03-21T16:31:20.433Z] nexus3.edgexfoundry.org:10001 [2023-03-21T16:31:20.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:31:20.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:31:20.433Z] Configure a credential helper to remove this warning. See [2023-03-21T16:31:20.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:31:20.433Z] [2023-03-21T16:31:20.433Z] Login Succeeded [2023-03-21T16:31:20.433Z] nexus3.edgexfoundry.org:10002 [2023-03-21T16:31:20.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:31:20.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:31:20.433Z] Configure a credential helper to remove this warning. See [2023-03-21T16:31:20.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:31:20.433Z] [2023-03-21T16:31:20.433Z] Login Succeeded [2023-03-21T16:31:20.433Z] nexus3.edgexfoundry.org:10003 [2023-03-21T16:31:20.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:31:20.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:31:20.693Z] Configure a credential helper to remove this warning. See [2023-03-21T16:31:20.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:31:20.693Z] [2023-03-21T16:31:20.693Z] Login Succeeded [2023-03-21T16:31:20.693Z] nexus3.edgexfoundry.org:10004 [2023-03-21T16:31:20.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:31:20.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:31:20.693Z] Configure a credential helper to remove this warning. See [2023-03-21T16:31:20.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:31:20.693Z] [2023-03-21T16:31:20.693Z] Login Succeeded [2023-03-21T16:31:20.693Z] docker.io [2023-03-21T16:31:20.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:31:21.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:31:21.212Z] Configure a credential helper to remove this warning. See [2023-03-21T16:31:21.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:31:21.212Z] [2023-03-21T16:31:21.212Z] Login Succeeded [2023-03-21T16:31:21.212Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T16:31:21.219Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T16:31:21.277Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T16:31:21.287Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T16:31:21.293Z] ========================================================= [2023-03-21T16:31:21.293Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-21T16:31:21.293Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:31:21.593Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T16:31:21.593Z] Sending build context to Docker daemon 27.08MB [2023-03-21T16:31:21.593Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T16:31:21.593Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T16:31:21.852Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T16:31:21.852Z] 213ec9aee27d: Pulling fs layer [2023-03-21T16:31:21.852Z] 4583459ba037: Pulling fs layer [2023-03-21T16:31:21.852Z] 93c1e223e6f2: Pulling fs layer [2023-03-21T16:31:21.852Z] 53926ce57604: Pulling fs layer [2023-03-21T16:31:21.852Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-21T16:31:21.852Z] 22ff95d597cd: Pulling fs layer [2023-03-21T16:31:21.852Z] 12d6caf4c0d1: Pulling fs layer [2023-03-21T16:31:21.852Z] 96b7cbca73a9: Pulling fs layer [2023-03-21T16:31:21.852Z] a7acece74701: Pulling fs layer [2023-03-21T16:31:21.852Z] 12d6caf4c0d1: Waiting [2023-03-21T16:31:21.852Z] 53926ce57604: Waiting [2023-03-21T16:31:21.852Z] 96b7cbca73a9: Waiting [2023-03-21T16:31:21.852Z] a7acece74701: Waiting [2023-03-21T16:31:21.852Z] 21b2b0c7a3f4: Waiting [2023-03-21T16:31:21.852Z] 93c1e223e6f2: Verifying Checksum [2023-03-21T16:31:21.852Z] 93c1e223e6f2: Download complete [2023-03-21T16:31:21.852Z] 4583459ba037: Verifying Checksum [2023-03-21T16:31:21.852Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-21T16:31:21.852Z] 21b2b0c7a3f4: Download complete [2023-03-21T16:31:21.852Z] 22ff95d597cd: Download complete [2023-03-21T16:31:21.852Z] 213ec9aee27d: Download complete [2023-03-21T16:31:21.852Z] 12d6caf4c0d1: Verifying Checksum [2023-03-21T16:31:21.852Z] 12d6caf4c0d1: Download complete [2023-03-21T16:31:22.119Z] 213ec9aee27d: Pull complete [2023-03-21T16:31:22.382Z] 4583459ba037: Pull complete [2023-03-21T16:31:22.382Z] 93c1e223e6f2: Pull complete [2023-03-21T16:31:22.382Z] a7acece74701: Verifying Checksum [2023-03-21T16:31:22.382Z] a7acece74701: Download complete [2023-03-21T16:31:22.954Z] 96b7cbca73a9: Verifying Checksum [2023-03-21T16:31:22.954Z] 96b7cbca73a9: Download complete [2023-03-21T16:31:22.954Z] 53926ce57604: Verifying Checksum [2023-03-21T16:31:22.954Z] 53926ce57604: Download complete [2023-03-21T16:31:28.224Z] 53926ce57604: Pull complete [2023-03-21T16:31:28.224Z] 21b2b0c7a3f4: Pull complete [2023-03-21T16:31:28.224Z] 22ff95d597cd: Pull complete [2023-03-21T16:31:28.224Z] 12d6caf4c0d1: Pull complete [2023-03-21T16:31:30.122Z] 96b7cbca73a9: Pull complete [2023-03-21T16:31:31.055Z] a7acece74701: Pull complete [2023-03-21T16:31:31.055Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-21T16:31:31.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-21T16:31:31.055Z] ---> db6d94c90886 [2023-03-21T16:31:31.055Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T16:31:35.082Z] Still waiting to schedule task [2023-03-21T16:31:35.082Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-21T16:31:36.332Z] ---> Running in 93a36db20bdf [2023-03-21T16:31:36.332Z] Removing intermediate container 93a36db20bdf [2023-03-21T16:31:36.332Z] ---> f8edd18b9869 [2023-03-21T16:31:36.332Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T16:31:36.332Z] ---> Running in 9e31bdcb98b7 [2023-03-21T16:31:36.332Z] Removing intermediate container 9e31bdcb98b7 [2023-03-21T16:31:36.332Z] ---> 175ac3bd5113 [2023-03-21T16:31:36.332Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T16:31:36.332Z] ---> Running in 8757f7dca64b [2023-03-21T16:31:36.592Z] Removing intermediate container 8757f7dca64b [2023-03-21T16:31:36.592Z] ---> 3ea5b98ddb1a [2023-03-21T16:31:36.592Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T16:31:36.592Z] ---> Running in e6a22e3a5544 [2023-03-21T16:31:36.592Z] Removing intermediate container e6a22e3a5544 [2023-03-21T16:31:36.592Z] ---> f9a22fc41e63 [2023-03-21T16:31:36.592Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-21T16:31:36.851Z] ---> Running in 0c020ffeb9c4 [2023-03-21T16:31:36.851Z] Removing intermediate container 0c020ffeb9c4 [2023-03-21T16:31:36.851Z] ---> 986fac71e1c0 [2023-03-21T16:31:36.851Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T16:31:36.851Z] ---> Running in 9ad1e12b8636 [2023-03-21T16:31:37.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T16:31:37.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T16:31:37.630Z] OK: 211 MiB in 51 packages [2023-03-21T16:31:37.889Z] Removing intermediate container 9ad1e12b8636 [2023-03-21T16:31:37.889Z] ---> d9bcb9e6ca27 [2023-03-21T16:31:37.889Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-21T16:31:37.889Z] ---> Running in 492109e089ca [2023-03-21T16:31:37.889Z] Removing intermediate container 492109e089ca [2023-03-21T16:31:37.889Z] ---> 064d7d49cac5 [2023-03-21T16:31:37.889Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-21T16:31:38.148Z] ---> 881e39be57f5 [2023-03-21T16:31:38.148Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T16:31:38.148Z] ---> Running in 62d0f242ce46 [2023-03-21T16:32:10.244Z] Removing intermediate container 62d0f242ce46 [2023-03-21T16:32:10.244Z] ---> 79caa2128258 [2023-03-21T16:32:10.244Z] Step 12/13 : COPY . . [2023-03-21T16:32:10.244Z] ---> 47e38396a596 [2023-03-21T16:32:10.244Z] Step 13/13 : RUN ${MAKE} [2023-03-21T16:32:10.244Z] ---> Running in f762a4e0e6f4 [2023-03-21T16:32:10.244Z] noop [2023-03-21T16:32:10.244Z] Removing intermediate container f762a4e0e6f4 [2023-03-21T16:32:10.244Z] ---> 212c8c7ae830 [2023-03-21T16:32:10.244Z] Successfully built 212c8c7ae830 [2023-03-21T16:32:10.244Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:32:10.563Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T16:32:10.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:32:10.641Z] prd-ubuntu20.04-docker-8c-8g-4897 does not seem to be running inside a container [2023-03-21T16:32:10.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T16:32:11.005Z] $ docker top 6288c33bb2fd22124127f086d07f24d968c636242369d1574201cda29546ce1d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T16:32:11.344Z] + go version [2023-03-21T16:32:11.344Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-21T16:32:11.358Z] $ docker stop --time=1 6288c33bb2fd22124127f086d07f24d968c636242369d1574201cda29546ce1d [2023-03-21T16:32:12.664Z] $ docker rm -f --volumes 6288c33bb2fd22124127f086d07f24d968c636242369d1574201cda29546ce1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:32:13.066Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T16:32:13.066Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:32:13.143Z] prd-ubuntu20.04-docker-8c-8g-4897 does not seem to be running inside a container [2023-03-21T16:32:13.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T16:32:13.510Z] $ docker top 3f0734289ae51494b40276b7aff08ef080b809eb2e6140eb7d345cf4c94ef0f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T16:32:13.857Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-272 [Pipeline] fileExists [Pipeline] sh [2023-03-21T16:32:14.153Z] + make test [2023-03-21T16:32:14.153Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-21T16:32:14.411Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-21T16:32:26.608Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-21T16:32:29.142Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 29.3% of statements [2023-03-21T16:32:29.142Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-21T16:32:29.142Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.535s coverage: 86.5% of statements [2023-03-21T16:32:37.246Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-21T16:32:37.246Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-21T16:32:41.435Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T16:32:41.435Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T16:32:41.435Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T16:32:41.450Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T16:32:41.467Z] $ docker stop --time=1 3f0734289ae51494b40276b7aff08ef080b809eb2e6140eb7d345cf4c94ef0f4 [2023-03-21T16:32:44.388Z] $ docker rm -f --volumes 3f0734289ae51494b40276b7aff08ef080b809eb2e6140eb7d345cf4c94ef0f4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T16:32:44.856Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T16:32:44.911Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T16:32:45.442Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T16:32:45.727Z] + ls -al . [2023-03-21T16:32:45.727Z] total 248 [2023-03-21T16:32:45.727Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 16:32 . [2023-03-21T16:32:45.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 16:30 .. [2023-03-21T16:32:45.727Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 16:32 .git [2023-03-21T16:32:45.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 16:30 .github [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 16:30 .gitignore [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 16:30 .golangci.yml [2023-03-21T16:32:45.727Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 16:31 .semver [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 21 16:30 Attribution.txt [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 21 16:30 CHANGELOG.md [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 21 16:30 Dockerfile [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 16:30 GOVERNANCE.md [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 21 16:30 Jenkinsfile [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 16:30 LICENSE [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 2997 Mar 21 16:30 Makefile [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 16:30 OWNERS.md [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 6048 Mar 21 16:30 README.md [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 16:31 VERSION [2023-03-21T16:32:45.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 16:30 bin [2023-03-21T16:32:45.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 16:30 cmd [2023-03-21T16:32:45.727Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 21 16:32 coverage.out [2023-03-21T16:32:45.727Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 16:30 doc [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 3693 Mar 21 16:30 go.mod [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 46117 Mar 21 16:30 go.sum [2023-03-21T16:32:45.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 16:30 internal [2023-03-21T16:32:45.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 16:30 snap [2023-03-21T16:32:45.727Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 16:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:32:46.032Z] + 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=682eb1fcca66928d8d122742a11e57878cdcd643 --label arch=amd64 --label version=0.0.0 . [2023-03-21T16:32:46.032Z] Sending build context to Docker daemon 27.15MB [2023-03-21T16:32:46.032Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T16:32:46.032Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-21T16:32:46.032Z] ---> 212c8c7ae830 [2023-03-21T16:32:46.032Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-21T16:32:46.600Z] ---> Running in 499fe59f8997 [2023-03-21T16:32:46.600Z] Removing intermediate container 499fe59f8997 [2023-03-21T16:32:46.600Z] ---> d638331d4740 [2023-03-21T16:32:46.600Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T16:32:46.600Z] ---> Running in 49dce566b09b [2023-03-21T16:32:46.600Z] Removing intermediate container 49dce566b09b [2023-03-21T16:32:46.600Z] ---> 8cabb13b9210 [2023-03-21T16:32:46.600Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T16:32:46.600Z] ---> Running in 2dd17ab2be21 [2023-03-21T16:32:46.859Z] Removing intermediate container 2dd17ab2be21 [2023-03-21T16:32:46.859Z] ---> 3d655b4d39a5 [2023-03-21T16:32:46.859Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T16:32:46.859Z] ---> Running in d87e8cdd517a [2023-03-21T16:32:46.859Z] Removing intermediate container d87e8cdd517a [2023-03-21T16:32:46.859Z] ---> 5a3e2db6a860 [2023-03-21T16:32:46.859Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-21T16:32:46.859Z] ---> Running in dea2db65d6f1 [2023-03-21T16:32:47.119Z] Removing intermediate container dea2db65d6f1 [2023-03-21T16:32:47.119Z] ---> 85b8ea1d1e1f [2023-03-21T16:32:47.119Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T16:32:47.119Z] ---> Running in bff808ef290c [2023-03-21T16:32:47.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T16:32:47.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T16:32:47.639Z] OK: 211 MiB in 51 packages [2023-03-21T16:32:48.207Z] Removing intermediate container bff808ef290c [2023-03-21T16:32:48.208Z] ---> 8d9daf21fc7c [2023-03-21T16:32:48.208Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-21T16:32:48.208Z] ---> Running in f6ddf1b93db9 [2023-03-21T16:32:48.208Z] Removing intermediate container f6ddf1b93db9 [2023-03-21T16:32:48.208Z] ---> ab24f6428313 [2023-03-21T16:32:48.208Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-21T16:32:48.208Z] ---> 9707d8b39536 [2023-03-21T16:32:48.208Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T16:32:48.467Z] ---> Running in 272bf2adeec9 [2023-03-21T16:32:49.037Z] Removing intermediate container 272bf2adeec9 [2023-03-21T16:32:49.037Z] ---> 0d9ae448317d [2023-03-21T16:32:49.037Z] Step 12/26 : COPY . . [2023-03-21T16:32:49.983Z] ---> ae4abb165840 [2023-03-21T16:32:49.983Z] Step 13/26 : RUN ${MAKE} [2023-03-21T16:32:49.983Z] ---> Running in 6e8534550178 [2023-03-21T16:32:50.241Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-21T16:33:10.425Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4898 in /w/workspace/undry_device-onvif-camera_PR-272 [Pipeline] { [Pipeline] ws [2023-03-21T16:33:10.437Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2023-03-21T16:33:10.478Z] The recommended git tool is: git [2023-03-21T16:33:15.775Z] using credential edgex-jenkins-ssh [2023-03-21T16:33:15.792Z] Cloning the remote Git repository [2023-03-21T16:33:15.829Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T16:33:15.919Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2023-03-21T16:33:16.058Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T16:33:16.059Z] > git --version # timeout=10 [2023-03-21T16:33:16.081Z] > git --version # 'git version 2.25.1' [2023-03-21T16:33:16.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T16:33:16.229Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T16:33:16.777Z] Removing intermediate container 6e8534550178 [2023-03-21T16:33:16.777Z] ---> fbb061396f9e [2023-03-21T16:33:16.777Z] Step 14/26 : FROM alpine:3.16 [2023-03-21T16:33:16.777Z] 3.16: Pulling from library/alpine [2023-03-21T16:33:16.777Z] ef5531b6e74e: Pulling fs layer [2023-03-21T16:33:16.777Z] ef5531b6e74e: Verifying Checksum [2023-03-21T16:33:16.777Z] ef5531b6e74e: Download complete [2023-03-21T16:33:16.777Z] ef5531b6e74e: Pull complete [2023-03-21T16:33:16.777Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-21T16:33:16.777Z] Status: Downloaded newer image for alpine:3.16 [2023-03-21T16:33:16.777Z] ---> dfd21b5a31f5 [2023-03-21T16:33:16.777Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-21T16:33:16.777Z] ---> Running in e2125e193b56 [2023-03-21T16:33:16.777Z] Removing intermediate container e2125e193b56 [2023-03-21T16:33:16.777Z] ---> 6d49690f23c3 [2023-03-21T16:33:16.777Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-21T16:33:16.777Z] ---> Running in 2593e68e933c [2023-03-21T16:33:16.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T16:33:16.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T16:33:16.778Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-21T16:33:16.778Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-21T16:33:16.778Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-21T16:33:16.778Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-21T16:33:16.778Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-21T16:33:16.778Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-21T16:33:16.778Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T16:33:16.778Z] OK: 8 MiB in 20 packages [2023-03-21T16:33:16.778Z] Removing intermediate container 2593e68e933c [2023-03-21T16:33:16.778Z] ---> d598f7a1c7b9 [2023-03-21T16:33:16.778Z] Step 17/26 : WORKDIR / [2023-03-21T16:33:16.778Z] ---> Running in 5da83fa9d893 [2023-03-21T16:33:16.778Z] Removing intermediate container 5da83fa9d893 [2023-03-21T16:33:16.778Z] ---> 2675934f92f9 [2023-03-21T16:33:16.778Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-21T16:33:16.778Z] ---> 85f5c83f58e8 [2023-03-21T16:33:16.778Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-21T16:33:16.778Z] ---> 16f460cff63c [2023-03-21T16:33:16.778Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-21T16:33:17.037Z] ---> c420b6074034 [2023-03-21T16:33:17.037Z] Step 21/26 : EXPOSE 59984 [2023-03-21T16:33:17.037Z] ---> Running in f7216365a814 [2023-03-21T16:33:17.037Z] Removing intermediate container f7216365a814 [2023-03-21T16:33:17.037Z] ---> c526b3925ec0 [2023-03-21T16:33:17.037Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-21T16:33:17.037Z] ---> Running in b75b1193cc20 [2023-03-21T16:33:17.296Z] Removing intermediate container b75b1193cc20 [2023-03-21T16:33:17.296Z] ---> 9abf9cf18706 [2023-03-21T16:33:17.296Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-21T16:33:17.296Z] ---> Running in 9f0780f23303 [2023-03-21T16:33:17.296Z] Removing intermediate container 9f0780f23303 [2023-03-21T16:33:17.296Z] ---> dd6822cd8bd0 [2023-03-21T16:33:17.296Z] Step 24/26 : LABEL arch=amd64 [2023-03-21T16:33:17.296Z] ---> Running in 70d26830ebd4 [2023-03-21T16:33:17.296Z] Removing intermediate container 70d26830ebd4 [2023-03-21T16:33:17.296Z] ---> 5c6900ae4c65 [2023-03-21T16:33:17.296Z] Step 25/26 : LABEL git_sha=682eb1fcca66928d8d122742a11e57878cdcd643 [2023-03-21T16:33:17.296Z] ---> Running in 4faa52344063 [2023-03-21T16:33:17.555Z] Removing intermediate container 4faa52344063 [2023-03-21T16:33:17.555Z] ---> 988c3c9505f3 [2023-03-21T16:33:17.555Z] Step 26/26 : LABEL version=0.0.0 [2023-03-21T16:33:17.555Z] ---> Running in 4199bd83d8af [2023-03-21T16:33:17.555Z] Removing intermediate container 4199bd83d8af [2023-03-21T16:33:17.555Z] ---> cb9f9f9556fd [2023-03-21T16:33:17.555Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T16:33:17.555Z] Successfully built cb9f9f9556fd [2023-03-21T16:33:17.555Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:33:18.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T16:33:18.001Z] [2023-03-21T16:33:18.001Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:33:18.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T16:33:18.299Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T16:33:18.299Z] 5eb5b503b376: Pulling fs layer [2023-03-21T16:33:18.299Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T16:33:18.299Z] ec43610c2a17: Pulling fs layer [2023-03-21T16:33:18.299Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T16:33:18.299Z] 33b1e0a273af: Pulling fs layer [2023-03-21T16:33:18.299Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T16:33:18.299Z] 2f39f015ded8: Pulling fs layer [2023-03-21T16:33:18.299Z] 33b1e0a273af: Waiting [2023-03-21T16:33:18.299Z] 5d3b04190fa2: Waiting [2023-03-21T16:33:18.299Z] 3a2ae6a8a46f: Waiting [2023-03-21T16:33:18.299Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T16:33:18.299Z] 5c69ac0246d0: Download complete [2023-03-21T16:33:18.299Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T16:33:18.299Z] 3a2ae6a8a46f: Download complete [2023-03-21T16:33:18.559Z] 33b1e0a273af: Verifying Checksum [2023-03-21T16:33:18.559Z] 33b1e0a273af: Download complete [2023-03-21T16:33:18.559Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T16:33:18.559Z] 5d3b04190fa2: Download complete [2023-03-21T16:33:18.559Z] ec43610c2a17: Verifying Checksum [2023-03-21T16:33:18.559Z] ec43610c2a17: Download complete [2023-03-21T16:33:18.559Z] 5eb5b503b376: Download complete [2023-03-21T16:33:19.127Z] 2f39f015ded8: Download complete [2023-03-21T16:33:18.283Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-21T16:33:18.314Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T16:33:19.168Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-21T16:33:19.210Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T16:33:19.211Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T16:33:19.230Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/272/head:refs/remotes/origin/PR-272 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-03-21T16:33:19.825Z] Merging remotes/origin/levski commit c87f5736bc0c3f4f0df46418a3ded6651230b9e1 into PR head commit d0e53795f1dec7569479cbb156f17287fbaad7b3 [2023-03-21T16:33:20.062Z] 5eb5b503b376: Pull complete [2023-03-21T16:33:20.062Z] 5c69ac0246d0: Pull complete [2023-03-21T16:33:20.320Z] ec43610c2a17: Pull complete [2023-03-21T16:33:20.579Z] 3a2ae6a8a46f: Pull complete [2023-03-21T16:33:19.842Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T16:33:19.915Z] > git checkout -f d0e53795f1dec7569479cbb156f17287fbaad7b3 # timeout=10 [2023-03-21T16:33:20.209Z] > git remote # timeout=10 [2023-03-21T16:33:20.227Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T16:33:20.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T16:33:20.257Z] > git merge c87f5736bc0c3f4f0df46418a3ded6651230b9e1 # timeout=10 [2023-03-21T16:33:20.750Z] Merge succeeded, producing 5402c3145f4edc2063d8361a63e9325b81a307e5 [2023-03-21T16:33:20.750Z] Checking out Revision 5402c3145f4edc2063d8361a63e9325b81a307e5 (PR-272) [2023-03-21T16:33:20.838Z] 33b1e0a273af: Pull complete [2023-03-21T16:33:20.838Z] 5d3b04190fa2: Pull complete [2023-03-21T16:33:20.726Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T16:33:20.754Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T16:33:20.770Z] > git checkout -f 5402c3145f4edc2063d8361a63e9325b81a307e5 # timeout=10 [2023-03-21T16:33:24.488Z] Commit message: "Merge commit 'c87f5736bc0c3f4f0df46418a3ded6651230b9e1' into HEAD" [2023-03-21T16:33:24.514Z] First time build. Skipping changelog. [2023-03-21T16:33:24.987Z] [2023-03-21T16:33:24.987Z] GitHub has been notified of this commit’s build result [2023-03-21T16:33:24.987Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-03-21T16:33:25.028Z] 2f39f015ded8: Pull complete [2023-03-21T16:33:25.028Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T16:33:25.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T16:33:25.028Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:33:25.091Z] prd-ubuntu20.04-docker-8c-8g-4897 does not seem to be running inside a container [2023-03-21T16:33:25.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T16:33:24.495Z] > git rev-list --no-walk a34a17a981ab7e0803829b644f2d315c67df8410 # timeout=10 [2023-03-21T16:33:28.530Z] $ docker top 960fae98bb13f4e1395a47dab819f1f1a75d4291a04647a40814ffac8726deef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T16:33:28.922Z] ---> job-cost.sh [2023-03-21T16:33:28.922Z] lf-activate-venv: SKIPPING [2023-03-21T16:33:28.922Z] INFO: No Stack... [2023-03-21T16:33:29.150Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T16:33:29.150Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T16:33:29.150Z] Dload Upload Total Spent Left Speed [2023-03-21T16:33:29.150Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 71064 0 --:--:-- --:--:-- --:--:-- 71064 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81216 [2023-03-21T16:33:29.181Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2023-03-21T16:33:29.747Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T16:33:29.845Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T16:33:30.038Z] + cat /w/workspace/undry_device-onvif-camera_PR-272/archives/cost.csv [2023-03-21T16:33:30.038Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T16:33:30.047Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-272-3-stack-cost] [2023-03-21T16:33:30.055Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-272-3-stack-cost] did not exist. Created. [2023-03-21T16:33:30.055Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-272-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T16:33:30.167Z] + sudo tee /etc/docker/daemon.new [2023-03-21T16:33:30.167Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T16:33:30.167Z] { [2023-03-21T16:33:30.167Z] "registry-mirrors": [ [2023-03-21T16:33:30.167Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T16:33:30.167Z] ], [2023-03-21T16:33:30.167Z] "bip": "10.250.0.254/24", [2023-03-21T16:33:30.167Z] "hosts": [ [2023-03-21T16:33:30.167Z] "tcp://0.0.0.0:5555", [2023-03-21T16:33:30.167Z] "unix:///var/run/docker.sock" [2023-03-21T16:33:30.167Z] ], [2023-03-21T16:33:30.167Z] "mtu": 1458, [2023-03-21T16:33:30.167Z] "selinux-enabled": true, [2023-03-21T16:33:30.167Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T16:33:30.167Z] } [Pipeline] sh [2023-03-21T16:33:30.349Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T16:33:30.380Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T16:33:30.389Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-272-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T16:33:30.407Z] $ docker stop --time=1 960fae98bb13f4e1395a47dab819f1f1a75d4291a04647a40814ffac8726deef [2023-03-21T16:33:30.506Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-03-21T16:33:31.691Z] $ docker rm -f --volumes 960fae98bb13f4e1395a47dab819f1f1a75d4291a04647a40814ffac8726deef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T16:33:32.085Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T16:33:50.340Z] provisioning config files... [2023-03-21T16:33:50.363Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config10278984224442584527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:33:50.702Z] ---> docker-login.sh [2023-03-21T16:33:50.702Z] nexus3.edgexfoundry.org:10001 [2023-03-21T16:33:50.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:33:51.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:33:51.237Z] Configure a credential helper to remove this warning. See [2023-03-21T16:33:51.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:33:51.237Z] [2023-03-21T16:33:51.237Z] Login Succeeded [2023-03-21T16:33:51.237Z] nexus3.edgexfoundry.org:10002 [2023-03-21T16:33:51.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:33:51.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:33:51.511Z] Configure a credential helper to remove this warning. See [2023-03-21T16:33:51.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:33:51.511Z] [2023-03-21T16:33:51.511Z] Login Succeeded [2023-03-21T16:33:51.511Z] nexus3.edgexfoundry.org:10003 [2023-03-21T16:33:51.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:33:52.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:33:52.048Z] Configure a credential helper to remove this warning. See [2023-03-21T16:33:52.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:33:52.048Z] [2023-03-21T16:33:52.048Z] Login Succeeded [2023-03-21T16:33:52.048Z] nexus3.edgexfoundry.org:10004 [2023-03-21T16:33:52.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:33:52.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:33:52.316Z] Configure a credential helper to remove this warning. See [2023-03-21T16:33:52.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:33:52.316Z] [2023-03-21T16:33:52.316Z] Login Succeeded [2023-03-21T16:33:52.316Z] docker.io [2023-03-21T16:33:52.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T16:33:52.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T16:33:52.856Z] Configure a credential helper to remove this warning. See [2023-03-21T16:33:52.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T16:33:52.856Z] [2023-03-21T16:33:52.856Z] Login Succeeded [2023-03-21T16:33:52.856Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T16:33:52.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T16:33:53.127Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T16:33:53.145Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T16:33:53.158Z] ========================================================= [2023-03-21T16:33:53.158Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-21T16:33:53.158Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:33:53.515Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T16:33:54.102Z] Sending build context to Docker daemon 19.79MB [2023-03-21T16:33:54.102Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T16:33:54.102Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T16:33:56.056Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T16:33:56.056Z] 9b18e9b68314: Pulling fs layer [2023-03-21T16:33:56.056Z] 35d82f9e3411: Pulling fs layer [2023-03-21T16:33:56.056Z] e16973657156: Pulling fs layer [2023-03-21T16:33:56.056Z] fc693d55d65f: Pulling fs layer [2023-03-21T16:33:56.056Z] 7e9fc2657dce: Pulling fs layer [2023-03-21T16:33:56.056Z] dda99020689f: Pulling fs layer [2023-03-21T16:33:56.056Z] db1c61fa0a46: Pulling fs layer [2023-03-21T16:33:56.056Z] 891c053d2c06: Pulling fs layer [2023-03-21T16:33:56.056Z] fc693d55d65f: Waiting [2023-03-21T16:33:56.056Z] 7e9fc2657dce: Waiting [2023-03-21T16:33:56.056Z] dda99020689f: Waiting [2023-03-21T16:33:56.056Z] db1c61fa0a46: Waiting [2023-03-21T16:33:56.056Z] 891c053d2c06: Waiting [2023-03-21T16:33:56.056Z] e16973657156: Verifying Checksum [2023-03-21T16:33:56.056Z] e16973657156: Download complete [2023-03-21T16:33:56.056Z] 35d82f9e3411: Download complete [2023-03-21T16:33:56.056Z] 7e9fc2657dce: Verifying Checksum [2023-03-21T16:33:56.056Z] 7e9fc2657dce: Download complete [2023-03-21T16:33:56.056Z] dda99020689f: Verifying Checksum [2023-03-21T16:33:56.056Z] dda99020689f: Download complete [2023-03-21T16:33:56.056Z] 9b18e9b68314: Verifying Checksum [2023-03-21T16:33:56.056Z] 9b18e9b68314: Download complete [2023-03-21T16:33:56.643Z] 9b18e9b68314: Pull complete [2023-03-21T16:33:56.911Z] 891c053d2c06: Verifying Checksum [2023-03-21T16:33:56.911Z] 891c053d2c06: Download complete [2023-03-21T16:33:57.181Z] 35d82f9e3411: Pull complete [2023-03-21T16:33:57.450Z] e16973657156: Pull complete [2023-03-21T16:33:58.036Z] db1c61fa0a46: Verifying Checksum [2023-03-21T16:33:58.036Z] db1c61fa0a46: Download complete [2023-03-21T16:33:58.621Z] fc693d55d65f: Verifying Checksum [2023-03-21T16:33:58.621Z] fc693d55d65f: Download complete [2023-03-21T16:34:10.946Z] fc693d55d65f: Pull complete [2023-03-21T16:34:10.946Z] 7e9fc2657dce: Pull complete [2023-03-21T16:34:10.946Z] dda99020689f: Pull complete [2023-03-21T16:34:16.304Z] db1c61fa0a46: Pull complete [2023-03-21T16:34:17.715Z] 891c053d2c06: Pull complete [2023-03-21T16:34:17.715Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-21T16:34:17.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-21T16:34:17.715Z] ---> f96f9c87975a [2023-03-21T16:34:17.715Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T16:34:19.663Z] ---> Running in 6c3a17684700 [2023-03-21T16:34:19.932Z] Removing intermediate container 6c3a17684700 [2023-03-21T16:34:19.933Z] ---> aeee69c4cfa9 [2023-03-21T16:34:19.933Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T16:34:19.933Z] ---> Running in 96f90e121569 [2023-03-21T16:34:20.517Z] Removing intermediate container 96f90e121569 [2023-03-21T16:34:20.517Z] ---> 2dbf19f61b47 [2023-03-21T16:34:20.517Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T16:34:20.517Z] ---> Running in e56248a50a01 [2023-03-21T16:34:20.784Z] Removing intermediate container e56248a50a01 [2023-03-21T16:34:20.784Z] ---> b7531f062503 [2023-03-21T16:34:20.784Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T16:34:20.784Z] ---> Running in 8c2260877b1b [2023-03-21T16:34:21.052Z] Removing intermediate container 8c2260877b1b [2023-03-21T16:34:21.052Z] ---> efd9ec8d5089 [2023-03-21T16:34:21.052Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-21T16:34:21.052Z] ---> Running in 093282bf7952 [2023-03-21T16:34:21.641Z] Removing intermediate container 093282bf7952 [2023-03-21T16:34:21.641Z] ---> 967edb2f10f9 [2023-03-21T16:34:21.641Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T16:34:21.641Z] ---> Running in 0aee4d6d589a [2023-03-21T16:34:22.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T16:34:22.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T16:34:23.825Z] OK: 221 MiB in 51 packages [2023-03-21T16:34:24.794Z] Removing intermediate container 0aee4d6d589a [2023-03-21T16:34:24.794Z] ---> 622867e351fc [2023-03-21T16:34:24.794Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-21T16:34:24.794Z] ---> Running in 395fb555a116 [2023-03-21T16:34:25.062Z] Removing intermediate container 395fb555a116 [2023-03-21T16:34:25.062Z] ---> 540005ea4493 [2023-03-21T16:34:25.062Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-21T16:34:25.334Z] ---> b0bad07dc579 [2023-03-21T16:34:25.334Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T16:34:25.606Z] ---> Running in b0305d06899e [2023-03-21T16:35:22.034Z] Removing intermediate container b0305d06899e [2023-03-21T16:35:22.035Z] ---> 07a3f669fac6 [2023-03-21T16:35:22.035Z] Step 12/13 : COPY . . [2023-03-21T16:35:22.035Z] ---> e8abec2a1caf [2023-03-21T16:35:22.035Z] Step 13/13 : RUN ${MAKE} [2023-03-21T16:35:22.035Z] ---> Running in 133c70a8c9bd [2023-03-21T16:35:22.035Z] noop [2023-03-21T16:35:22.620Z] Removing intermediate container 133c70a8c9bd [2023-03-21T16:35:22.620Z] ---> f3442d16dd75 [2023-03-21T16:35:22.620Z] Successfully built f3442d16dd75 [2023-03-21T16:35:22.620Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:35:22.969Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T16:35:22.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:35:23.168Z] prd-ubuntu20.04-docker-arm64-4c-16g-4898 does not seem to be running inside a container [2023-03-21T16:35:23.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T16:35:24.441Z] $ docker top 4c608316a67500f96f381e5997e0ec5f989aac8000ed1d7811aea2aa7f72149e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T16:35:25.261Z] + go version [2023-03-21T16:35:25.261Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-21T16:35:25.288Z] $ docker stop --time=1 4c608316a67500f96f381e5997e0ec5f989aac8000ed1d7811aea2aa7f72149e [2023-03-21T16:35:27.225Z] $ docker rm -f --volumes 4c608316a67500f96f381e5997e0ec5f989aac8000ed1d7811aea2aa7f72149e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:35:27.745Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T16:35:27.745Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:35:27.919Z] prd-ubuntu20.04-docker-arm64-4c-16g-4898 does not seem to be running inside a container [2023-03-21T16:35:27.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T16:35:29.133Z] $ docker top 91d8711f1e94cb423090e2a326d7d03e15e021bc2e60975edb2f52be2eb17dbf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T16:35:29.643Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-03-21T16:35:30.311Z] + make test [2023-03-21T16:35:30.311Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-21T16:35:32.269Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-21T16:37:08.942Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-21T16:37:09.211Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.208s coverage: 29.3% of statements [2023-03-21T16:37:09.211Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-21T16:37:31.298Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.149s coverage: 86.5% of statements [2023-03-21T16:37:31.298Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T16:37:31.298Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-21T16:38:03.535Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T16:38:03.535Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T16:38:03.535Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T16:38:03.558Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T16:38:03.587Z] $ docker stop --time=1 91d8711f1e94cb423090e2a326d7d03e15e021bc2e60975edb2f52be2eb17dbf [2023-03-21T16:38:05.596Z] $ docker rm -f --volumes 91d8711f1e94cb423090e2a326d7d03e15e021bc2e60975edb2f52be2eb17dbf [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T16:38:06.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T16:38:06.654Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T16:38:07.276Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T16:38:07.659Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T16:38:08.104Z] + ls -al . [2023-03-21T16:38:08.104Z] total 244 [2023-03-21T16:38:08.104Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 16:35 . [2023-03-21T16:38:08.104Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 16:33 .. [2023-03-21T16:38:08.104Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 16:33 .git [2023-03-21T16:38:08.104Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 16:33 .github [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 16:33 .gitignore [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 16:33 .golangci.yml [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 21 16:33 Attribution.txt [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 21 16:33 CHANGELOG.md [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 21 16:33 Dockerfile [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 16:33 GOVERNANCE.md [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 21 16:33 Jenkinsfile [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 16:33 LICENSE [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 2997 Mar 21 16:33 Makefile [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 16:33 OWNERS.md [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 6048 Mar 21 16:33 README.md [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 16:31 VERSION [2023-03-21T16:38:08.104Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 16:33 bin [2023-03-21T16:38:08.104Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 16:33 cmd [2023-03-21T16:38:08.104Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 21 16:37 coverage.out [2023-03-21T16:38:08.104Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 16:33 doc [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 3693 Mar 21 16:33 go.mod [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 46117 Mar 21 16:33 go.sum [2023-03-21T16:38:08.104Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 16:33 internal [2023-03-21T16:38:08.104Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 16:33 snap [2023-03-21T16:38:08.104Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 16:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:38:08.496Z] + 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=5402c3145f4edc2063d8361a63e9325b81a307e5 --label arch=arm64 --label version=0.0.0 . [2023-03-21T16:38:09.105Z] Sending build context to Docker daemon 19.87MB [2023-03-21T16:38:09.105Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T16:38:09.105Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-21T16:38:09.105Z] ---> f3442d16dd75 [2023-03-21T16:38:09.105Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-21T16:38:09.378Z] ---> Running in d70a5581b440 [2023-03-21T16:38:09.659Z] Removing intermediate container d70a5581b440 [2023-03-21T16:38:09.659Z] ---> 919dd73333b2 [2023-03-21T16:38:09.659Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T16:38:09.659Z] ---> Running in 1a4b104ffce3 [2023-03-21T16:38:09.936Z] Removing intermediate container 1a4b104ffce3 [2023-03-21T16:38:09.936Z] ---> 5ae8c02818fa [2023-03-21T16:38:09.936Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T16:38:10.211Z] ---> Running in ff509b8241be [2023-03-21T16:38:10.480Z] Removing intermediate container ff509b8241be [2023-03-21T16:38:10.480Z] ---> 8b636af8e218 [2023-03-21T16:38:10.480Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T16:38:10.480Z] ---> Running in fa180e0bbf6a [2023-03-21T16:38:11.065Z] Removing intermediate container fa180e0bbf6a [2023-03-21T16:38:11.065Z] ---> fdd037e607d1 [2023-03-21T16:38:11.065Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-21T16:38:11.065Z] ---> Running in 163f1961733a [2023-03-21T16:38:11.336Z] Removing intermediate container 163f1961733a [2023-03-21T16:38:11.336Z] ---> 25ee06d85f67 [2023-03-21T16:38:11.336Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T16:38:11.336Z] ---> Running in 5137c886c6ff [2023-03-21T16:38:12.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T16:38:12.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T16:38:13.727Z] OK: 221 MiB in 51 packages [2023-03-21T16:38:14.689Z] Removing intermediate container 5137c886c6ff [2023-03-21T16:38:14.689Z] ---> a543f0b3aff1 [2023-03-21T16:38:14.689Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-21T16:38:14.957Z] ---> Running in cdc4100597ab [2023-03-21T16:38:15.541Z] Removing intermediate container cdc4100597ab [2023-03-21T16:38:15.541Z] ---> 979e6ec74af7 [2023-03-21T16:38:15.541Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-21T16:38:16.139Z] ---> 68bb09794f9e [2023-03-21T16:38:16.139Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T16:38:16.139Z] ---> Running in 192939bd70a1 [2023-03-21T16:38:18.736Z] Removing intermediate container 192939bd70a1 [2023-03-21T16:38:18.736Z] ---> 88edf3c38ad0 [2023-03-21T16:38:18.736Z] Step 12/26 : COPY . . [2023-03-21T16:38:20.166Z] ---> d58aea70080a [2023-03-21T16:38:20.166Z] Step 13/26 : RUN ${MAKE} [2023-03-21T16:38:20.436Z] ---> Running in 4a75c194f37f [2023-03-21T16:38:21.395Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-21T16:40:58.152Z] Removing intermediate container 4a75c194f37f [2023-03-21T16:40:58.152Z] ---> cd0b25997759 [2023-03-21T16:40:58.152Z] Step 14/26 : FROM alpine:3.16 [2023-03-21T16:40:58.152Z] 3.16: Pulling from library/alpine [2023-03-21T16:40:58.152Z] 3760b48202b3: Pulling fs layer [2023-03-21T16:40:58.152Z] 3760b48202b3: Verifying Checksum [2023-03-21T16:40:58.152Z] 3760b48202b3: Download complete [2023-03-21T16:40:58.152Z] 3760b48202b3: Pull complete [2023-03-21T16:40:58.152Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-21T16:40:58.152Z] Status: Downloaded newer image for alpine:3.16 [2023-03-21T16:40:58.152Z] ---> 4c81e5bf8899 [2023-03-21T16:40:58.152Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-21T16:40:58.152Z] ---> Running in 0ef59be71f29 [2023-03-21T16:40:58.152Z] Removing intermediate container 0ef59be71f29 [2023-03-21T16:40:58.152Z] ---> eeaf2ecedfd5 [2023-03-21T16:40:58.152Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-21T16:40:58.152Z] ---> Running in 21fae60971e7 [2023-03-21T16:40:58.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T16:40:58.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T16:40:58.152Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-21T16:40:58.152Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-21T16:40:58.152Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-21T16:40:58.152Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-21T16:40:58.152Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-21T16:40:58.152Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-21T16:40:58.152Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T16:40:58.152Z] OK: 8 MiB in 20 packages [2023-03-21T16:40:58.152Z] Removing intermediate container 21fae60971e7 [2023-03-21T16:40:58.152Z] ---> 3144c2cd8874 [2023-03-21T16:40:58.152Z] Step 17/26 : WORKDIR / [2023-03-21T16:40:58.152Z] ---> Running in 292dcce65ca4 [2023-03-21T16:40:58.152Z] Removing intermediate container 292dcce65ca4 [2023-03-21T16:40:58.152Z] ---> 80994ceb1e0b [2023-03-21T16:40:58.152Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-21T16:40:58.152Z] ---> ac4e85a7169d [2023-03-21T16:40:58.152Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-21T16:40:58.152Z] ---> fc381cac0e6c [2023-03-21T16:40:58.152Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-21T16:40:58.152Z] ---> e80c3c3c4990 [2023-03-21T16:40:58.152Z] Step 21/26 : EXPOSE 59984 [2023-03-21T16:40:58.152Z] ---> Running in eec90f4025fb [2023-03-21T16:40:58.152Z] Removing intermediate container eec90f4025fb [2023-03-21T16:40:58.152Z] ---> fec050567261 [2023-03-21T16:40:58.152Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-21T16:40:58.152Z] ---> Running in 3c2b3789156e [2023-03-21T16:40:58.152Z] Removing intermediate container 3c2b3789156e [2023-03-21T16:40:58.152Z] ---> 18cec4f38bde [2023-03-21T16:40:58.152Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-21T16:40:58.152Z] ---> Running in 548bd2e78153 [2023-03-21T16:40:58.152Z] Removing intermediate container 548bd2e78153 [2023-03-21T16:40:58.152Z] ---> 551547bd0fd5 [2023-03-21T16:40:58.152Z] Step 24/26 : LABEL arch=arm64 [2023-03-21T16:40:58.152Z] ---> Running in af08b206dbac [2023-03-21T16:40:58.152Z] Removing intermediate container af08b206dbac [2023-03-21T16:40:58.152Z] ---> 3b769a222724 [2023-03-21T16:40:58.152Z] Step 25/26 : LABEL git_sha=5402c3145f4edc2063d8361a63e9325b81a307e5 [2023-03-21T16:40:58.152Z] ---> Running in 26af08ecd4db [2023-03-21T16:40:58.152Z] Removing intermediate container 26af08ecd4db [2023-03-21T16:40:58.152Z] ---> 383193a6538e [2023-03-21T16:40:58.152Z] Step 26/26 : LABEL version=0.0.0 [2023-03-21T16:40:58.152Z] ---> Running in 093e9f233b07 [2023-03-21T16:40:58.152Z] Removing intermediate container 093e9f233b07 [2023-03-21T16:40:58.152Z] ---> 89992e7d9867 [2023-03-21T16:40:58.152Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T16:40:58.152Z] Successfully built 89992e7d9867 [2023-03-21T16:40:58.152Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:40:58.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T16:40:58.561Z] [2023-03-21T16:40:58.561Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:40:58.887Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T16:40:58.887Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T16:40:58.887Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T16:40:58.887Z] 04944245beec: Pulling fs layer [2023-03-21T16:40:58.887Z] 699f458cf7ca: Pulling fs layer [2023-03-21T16:40:58.887Z] 765212b225bb: Pulling fs layer [2023-03-21T16:40:58.887Z] f23df028b6ca: Pulling fs layer [2023-03-21T16:40:58.887Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T16:40:58.887Z] 765212b225bb: Waiting [2023-03-21T16:40:58.887Z] f23df028b6ca: Waiting [2023-03-21T16:40:58.887Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T16:40:58.887Z] d65c8cfc05b1: Waiting [2023-03-21T16:40:58.887Z] 2437ff75d9bd: Waiting [2023-03-21T16:40:59.158Z] 04944245beec: Verifying Checksum [2023-03-21T16:40:59.158Z] 04944245beec: Download complete [2023-03-21T16:40:59.158Z] 765212b225bb: Verifying Checksum [2023-03-21T16:40:59.158Z] 765212b225bb: Download complete [2023-03-21T16:40:59.158Z] f23df028b6ca: Verifying Checksum [2023-03-21T16:40:59.158Z] f23df028b6ca: Download complete [2023-03-21T16:40:59.158Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T16:40:59.158Z] d65c8cfc05b1: Download complete [2023-03-21T16:40:59.427Z] 699f458cf7ca: Verifying Checksum [2023-03-21T16:40:59.427Z] 699f458cf7ca: Download complete [2023-03-21T16:40:59.697Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T16:40:59.697Z] 8998bd30e6a1: Download complete [2023-03-21T16:41:02.296Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T16:41:02.296Z] 2437ff75d9bd: Download complete [2023-03-21T16:41:03.706Z] 8998bd30e6a1: Pull complete [2023-03-21T16:41:03.972Z] 04944245beec: Pull complete [2023-03-21T16:41:05.401Z] 699f458cf7ca: Pull complete [2023-03-21T16:41:05.673Z] 765212b225bb: Pull complete [2023-03-21T16:41:06.633Z] f23df028b6ca: Pull complete [2023-03-21T16:41:06.633Z] d65c8cfc05b1: Pull complete [2023-03-21T16:41:21.635Z] 2437ff75d9bd: Pull complete [2023-03-21T16:41:21.635Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T16:41:21.635Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T16:41:21.635Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:41:21.823Z] prd-ubuntu20.04-docker-arm64-4c-16g-4898 does not seem to be running inside a container [2023-03-21T16:41:21.903Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T16:41:24.488Z] $ docker top f146ba485fa404dfa87d9f26d5244d2a2e7732938cc9a85e5fb7037dde40306d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:41:25.323Z] ---> job-cost.sh [2023-03-21T16:41:25.323Z] lf-activate-venv: SKIPPING [2023-03-21T16:41:25.323Z] INFO: No Stack... [2023-03-21T16:41:25.590Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T16:41:26.551Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T16:41:27.186Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [2023-03-21T16:41:27.186Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T16:41:27.255Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-272-3-stack-cost] [2023-03-21T16:41:27.268Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-272-3-stack-cost] did not exist. Created. [2023-03-21T16:41:27.269Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-272-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T16:41:27.926Z] /w/workspace/device-onvif-camera/3@tmp/durable-68347106/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T16:41:28.570Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T16:41:28.595Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T16:41:29.320Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T16:41:29.330Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-272-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T16:41:29.366Z] $ docker stop --time=1 f146ba485fa404dfa87d9f26d5244d2a2e7732938cc9a85e5fb7037dde40306d [2023-03-21T16:41:30.865Z] $ docker rm -f --volumes f146ba485fa404dfa87d9f26d5244d2a2e7732938cc9a85e5fb7037dde40306d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-21T16:41:31.250Z] provisioning config files... [2023-03-21T16:41:31.257Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-272@tmp/config8549284063781812955tmp [Pipeline] { [Pipeline] sh [2023-03-21T16:41:31.547Z] + set +x [2023-03-21T16:41:31.547Z] + curl -s https://codecov.io/bash [2023-03-21T16:41:31.547Z] + bash -s -- [2023-03-21T16:41:31.547Z] [2023-03-21T16:41:31.547Z] _____ _ [2023-03-21T16:41:31.547Z] / ____| | | [2023-03-21T16:41:31.547Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T16:41:31.547Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T16:41:31.547Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T16:41:31.547Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T16:41:31.547Z] Bash-1.0.6 [2023-03-21T16:41:31.547Z] [2023-03-21T16:41:31.547Z] [2023-03-21T16:41:31.547Z] ==> git version 2.25.1 found [2023-03-21T16:41:31.547Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-21T16:41:31.547Z] Release-Date: 2020-01-08 [2023-03-21T16:41:31.547Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-21T16:41:31.547Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T16:41:31.547Z] ==> Jenkins CI detected. [2023-03-21T16:41:31.547Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-272 [2023-03-21T16:41:31.547Z] project root: . [2023-03-21T16:41:31.547Z] --> token set from env [2023-03-21T16:41:31.547Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T16:41:31.547Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T16:41:31.547Z] ==> Python coveragepy not found [2023-03-21T16:41:31.547Z] ==> Searching for coverage reports in: [2023-03-21T16:41:31.547Z] + . [2023-03-21T16:41:31.547Z] -> Found 1 reports [2023-03-21T16:41:31.547Z] ==> Detecting git/mercurial file structure [2023-03-21T16:41:31.547Z] ==> Reading reports [2023-03-21T16:41:31.806Z] + ./coverage.out bytes=79184 [2023-03-21T16:41:31.806Z] ==> Appending adjustments [2023-03-21T16:41:31.806Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T16:41:31.806Z] + Found adjustments [2023-03-21T16:41:31.806Z] ==> Gzipping contents [2023-03-21T16:41:31.806Z] 12K /tmp/codecov.2EOWMj.gz [2023-03-21T16:41:31.806Z] ==> Uploading reports [2023-03-21T16:41:31.806Z] url: https://codecov.io [2023-03-21T16:41:31.806Z] query: branch=PR-272&commit=682eb1fcca66928d8d122742a11e57878cdcd643&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-272%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=272&job=&cmd_args= [2023-03-21T16:41:31.806Z] -> Pinging Codecov [2023-03-21T16:41:31.806Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-272&commit=682eb1fcca66928d8d122742a11e57878cdcd643&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-272%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=272&job=&cmd_args= [2023-03-21T16:41:32.066Z] -> Uploading to [2023-03-21T16:41:32.066Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/F29A59C45E3A92E06B3E522C9905F8EF/682eb1fcca66928d8d122742a11e57878cdcd643/7cfde2a6-a019-4c2f-af17-d26dc92560ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T164131Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66ea366e2cdb1191970349a61362f9779a65ca92a82d545591a2763d0b0502e4 [2023-03-21T16:41:32.066Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T16:41:32.066Z] Dload Upload Total Spent Left Speed [2023-03-21T16:41:32.326Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10844 0 0 100 10844 0 49067 --:--:-- --:--:-- --:--:-- 48846 100 10844 0 0 100 10844 0 40014 --:--:-- --:--:-- --:--:-- 39867 [2023-03-21T16:41:32.326Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/682eb1fcca66928d8d122742a11e57878cdcd643 [Pipeline] } [2023-03-21T16:41:32.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-21T16:41:33.087Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-272/archives ] [2023-03-21T16:41:33.087Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-272/archives [2023-03-21T16:41:33.087Z] total 16 [2023-03-21T16:41:33.087Z] drwxr-xr-x 3 root root 4096 Mar 21 16:33 . [2023-03-21T16:41:33.087Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 16:33 .. [2023-03-21T16:41:33.087Z] drwxr-xr-x 2 root root 4096 Mar 21 16:33 cost [2023-03-21T16:41:33.087Z] -rw-r--r-- 1 root root 91 Mar 21 16:33 cost.csv [2023-03-21T16:41:33.087Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-272/archives [2023-03-21T16:41:33.087Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-272/archives [2023-03-21T16:41:33.087Z] total 16 [2023-03-21T16:41:33.087Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 16:33 . [2023-03-21T16:41:33.087Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 16:33 .. [2023-03-21T16:41:33.087Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 16:33 cost [2023-03-21T16:41:33.087Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 21 16:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:41:33.373Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:41:34.225Z] ---> package-listing.sh [2023-03-21T16:41:34.226Z] ++ facter osfamily [2023-03-21T16:41:34.226Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T16:41:34.226Z] + OS_FAMILY=debian [2023-03-21T16:41:34.226Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-272 [2023-03-21T16:41:34.226Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T16:41:34.226Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T16:41:34.226Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T16:41:34.226Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T16:41:34.226Z] + '[' /w/workspace/undry_device-onvif-camera_PR-272 ']' [2023-03-21T16:41:34.226Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T16:41:34.226Z] + case "${OS_FAMILY}" in [2023-03-21T16:41:34.226Z] + dpkg -l [2023-03-21T16:41:34.226Z] + grep '^ii' [2023-03-21T16:41:34.485Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T16:41:34.485Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T16:41:34.485Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T16:41:34.485Z] + '[' /w/workspace/undry_device-onvif-camera_PR-272 ']' [2023-03-21T16:41:34.485Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-272/archives/ [2023-03-21T16:41:34.485Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-272/archives/ [Pipeline] echo [2023-03-21T16:41:34.495Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-272/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T16:41:34.781Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T16:41:35.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T16:41:35.329Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T16:41:35.392Z] prd-ubuntu20.04-docker-8c-8g-4897 does not seem to be running inside a container [2023-03-21T16:41:35.423Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-272/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-272 -v /w/workspace/undry_device-onvif-camera_PR-272:/w/workspace/undry_device-onvif-camera_PR-272:rw,z -v /w/workspace/undry_device-onvif-camera_PR-272@tmp:/w/workspace/undry_device-onvif-camera_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T16:41:35.628Z] $ docker top 36eac95644b86277edd05627a96461e18717d2721f5804c2d349bb32714d6109 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T16:41:35.960Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T16:41:36.246Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T16:41:36.528Z] + ls /var/log/sa-host [2023-03-21T16:41:36.528Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T16:41:36.664Z] provisioning config files... [2023-03-21T16:41:36.672Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-272@tmp/config4200738082126934717tmp [Pipeline] { [Pipeline] echo [2023-03-21T16:41:36.681Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:41:36.966Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T16:41:36.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:41:37.289Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T16:41:37.296Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:41:37.577Z] ---> sudo-logs.sh [2023-03-21T16:41:37.577Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T16:41:37.603Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:41:37.885Z] ---> job-cost.sh [2023-03-21T16:41:37.885Z] lf-activate-venv: SKIPPING [2023-03-21T16:41:37.885Z] DEBUG: total: 0.2199999988079071 [2023-03-21T16:41:37.885Z] INFO: Retrieving Stack Cost... [2023-03-21T16:41:38.149Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T16:41:38.718Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T16:41:38.729Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T16:41:39.015Z] ---> logs-deploy.sh [2023-03-21T16:41:39.015Z] lf-activate-venv: SKIPPING [2023-03-21T16:41:39.015Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-272/3 [2023-03-21T16:41:39.015Z] INFO: archiving workspace using pattern(s): [2023-03-21T16:41:39.952Z] Archives upload complete. [2023-03-21T16:41:39.952Z] INFO: archiving logs to Nexus