Pull request #237 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 4a9e67fa37862f83ef90b637e6c765491ff37d3a rather than ac31bd981295d58b78427e1e3f64b29a017dbb8d Obtained Jenkinsfile from 4a9e67fa37862f83ef90b637e6c765491ff37d3a Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1955412637898756722.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5170284460443865390.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-237/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-237/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1258971783064510680.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-237/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13008144372072605623.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh14443219301809162776.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-237/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-237/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17673316590444522471.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6953 in /w/workspace/undry_device-onvif-camera_PR-237 [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-237 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit ac31bd981295d58b78427e1e3f64b29a017dbb8d Merge succeeded, producing e192c59c41c52f4fb37d3cdf3d8245e897e817e9 Checking out Revision e192c59c41c52f4fb37d3cdf3d8245e897e817e9 (PR-237) > git config core.sparsecheckout # timeout=10 > git checkout -f ac31bd981295d58b78427e1e3f64b29a017dbb8d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e192c59c41c52f4fb37d3cdf3d8245e897e817e9 # timeout=10 Commit message: "Merge commit '4a9e67fa37862f83ef90b637e6c765491ff37d3a' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-22T00:33:19.441Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-22T00:33:19.637Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-22T00:33:19.737Z] ========================================================= [2023-02-22T00:33:19.737Z] EdgeX Global Pipelines Version Info [2023-02-22T00:33:19.737Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-22T00:33:20.496Z] ------------------- [2023-02-22T00:33:20.496Z] stable info: [2023-02-22T00:33:20.496Z] ------------------- [2023-02-22T00:33:20.496Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-22T00:33:20.496Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T00:33:20.496Z] Message: update stable to v1.0.244 [2023-02-22T00:33:21.069Z] ------------------- [2023-02-22T00:33:21.069Z] experimental info: [2023-02-22T00:33:21.069Z] ------------------- [2023-02-22T00:33:21.069Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-22T00:33:21.069Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T00:33:21.069Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-22T00:33:21.373Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-02-22T00:33:21.416Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-02-22T00:33:21.454Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-22T00:33:21.495Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-22T00:33:21.536Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-22T00:33:21.579Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-22T00:33:21.625Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-22T00:33:21.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-22T00:33:21.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-22T00:33:21.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-22T00:33:21.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-22T00:33:21.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-02-22T00:33:21.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-22T00:33:21.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-22T00:33:21.948Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-22T00:33:21.989Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-22T00:33:22.032Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T00:33:22.075Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T00:33:22.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-22T00:33:22.158Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-22T00:33:22.203Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-22T00:33:22.246Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-02-22T00:33:22.288Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-22T00:33:22.332Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-22T00:33:22.373Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-22T00:33:22.419Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-22T00:33:22.460Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-22T00:33:22.496Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-237 [Pipeline] echo [2023-02-22T00:33:22.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-237 [Pipeline] echo [2023-02-22T00:33:22.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-237 [Pipeline] echo [2023-02-22T00:33:22.635Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e192c59c41c52f4fb37d3cdf3d8245e897e817e9 [Pipeline] echo [2023-02-22T00:33:22.674Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e192c59 [Pipeline] echo [2023-02-22T00:33:22.711Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T00:33:22.835Z] provisioning config files... [2023-02-22T00:33:22.848Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-237@tmp/config12451702490792567231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T00:33:23.192Z] ---> docker-login.sh [2023-02-22T00:33:23.192Z] nexus3.edgexfoundry.org:10001 [2023-02-22T00:33:23.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:33:23.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:33:23.454Z] Configure a credential helper to remove this warning. See [2023-02-22T00:33:23.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:33:23.454Z] [2023-02-22T00:33:23.454Z] Login Succeeded [2023-02-22T00:33:23.454Z] nexus3.edgexfoundry.org:10002 [2023-02-22T00:33:23.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:33:23.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:33:23.714Z] Configure a credential helper to remove this warning. See [2023-02-22T00:33:23.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:33:23.714Z] [2023-02-22T00:33:23.714Z] Login Succeeded [2023-02-22T00:33:23.714Z] nexus3.edgexfoundry.org:10003 [2023-02-22T00:33:23.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:33:23.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:33:23.714Z] Configure a credential helper to remove this warning. See [2023-02-22T00:33:23.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:33:23.714Z] [2023-02-22T00:33:23.714Z] Login Succeeded [2023-02-22T00:33:23.714Z] nexus3.edgexfoundry.org:10004 [2023-02-22T00:33:23.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:33:23.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:33:23.974Z] Configure a credential helper to remove this warning. See [2023-02-22T00:33:23.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:33:23.974Z] [2023-02-22T00:33:23.974Z] Login Succeeded [2023-02-22T00:33:23.974Z] docker.io [2023-02-22T00:33:23.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:33:24.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:33:24.235Z] Configure a credential helper to remove this warning. See [2023-02-22T00:33:24.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:33:24.235Z] [2023-02-22T00:33:24.235Z] Login Succeeded [2023-02-22T00:33:24.235Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T00:33:24.262Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-22T00:33:24.886Z] + git rev-list -1 --merges e192c59c41c52f4fb37d3cdf3d8245e897e817e9~1..e192c59c41c52f4fb37d3cdf3d8245e897e817e9 [Pipeline] echo [2023-02-22T00:33:24.961Z] -----------> git rev-list -1 --merges e192c59c41c52f4fb37d3cdf3d8245e897e817e9~1..e192c59c41c52f4fb37d3cdf3d8245e897e817e9 e192c59c41c52f4fb37d3cdf3d8245e897e817e9 [2023-02-22T00:33:24.961Z] e192c59c41c52f4fb37d3cdf3d8245e897e817e9 [false] [Pipeline] sh [2023-02-22T00:33:25.271Z] + git log --format=format:%s -1 e192c59c41c52f4fb37d3cdf3d8245e897e817e9 [Pipeline] echo [2023-02-22T00:33:25.305Z] ========================================================= [2023-02-22T00:33:25.305Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-22T00:33:25.305Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T00:33:25.737Z] + git log --format=format:%s -1 e192c59c41c52f4fb37d3cdf3d8245e897e817e9 [Pipeline] echo [2023-02-22T00:33:25.767Z] [semverPrep] GIT_COMMIT: e192c59c41c52f4fb37d3cdf3d8245e897e817e9, Commit Message: Merge commit '4a9e67fa37862f83ef90b637e6c765491ff37d3a' into HEAD [Pipeline] echo [2023-02-22T00:33:25.797Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-22T00:33:26.219Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-22T00:33:26.219Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-22T00:33:26.219Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-22T00:33:26.219Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-22T00:33:26.219Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2023-02-22T00:33:26.219Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-22T00:33:26.219Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:33:26.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T00:33:26.715Z] [2023-02-22T00:33:26.715Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:33:27.097Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T00:33:27.097Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-22T00:33:27.097Z] b85a868b505f: Pulling fs layer [2023-02-22T00:33:27.097Z] e2be974225ed: Pulling fs layer [2023-02-22T00:33:27.097Z] 339a4e72a1f5: Pulling fs layer [2023-02-22T00:33:27.097Z] 988bab9f4d93: Pulling fs layer [2023-02-22T00:33:27.097Z] 1469e6f7b9e6: Pulling fs layer [2023-02-22T00:33:27.097Z] 988bab9f4d93: Waiting [2023-02-22T00:33:27.097Z] eaf3925da568: Pulling fs layer [2023-02-22T00:33:27.097Z] bab4dde63d76: Pulling fs layer [2023-02-22T00:33:27.097Z] 1469e6f7b9e6: Waiting [2023-02-22T00:33:27.097Z] eaf3925da568: Waiting [2023-02-22T00:33:27.097Z] bde34c3a00c8: Pulling fs layer [2023-02-22T00:33:27.097Z] b352a97aabf1: Pulling fs layer [2023-02-22T00:33:27.097Z] bab4dde63d76: Waiting [2023-02-22T00:33:27.097Z] bde34c3a00c8: Waiting [2023-02-22T00:33:27.097Z] 4872d77fe225: Pulling fs layer [2023-02-22T00:33:27.097Z] 5851b861e8e6: Pulling fs layer [2023-02-22T00:33:27.097Z] 4872d77fe225: Waiting [2023-02-22T00:33:27.097Z] 5851b861e8e6: Waiting [2023-02-22T00:33:27.097Z] e2be974225ed: Verifying Checksum [2023-02-22T00:33:27.097Z] e2be974225ed: Download complete [2023-02-22T00:33:27.097Z] 988bab9f4d93: Verifying Checksum [2023-02-22T00:33:27.097Z] 988bab9f4d93: Download complete [2023-02-22T00:33:27.356Z] 1469e6f7b9e6: Verifying Checksum [2023-02-22T00:33:27.356Z] 1469e6f7b9e6: Download complete [2023-02-22T00:33:27.356Z] eaf3925da568: Download complete [2023-02-22T00:33:27.356Z] 339a4e72a1f5: Verifying Checksum [2023-02-22T00:33:27.356Z] 339a4e72a1f5: Download complete [2023-02-22T00:33:27.356Z] bde34c3a00c8: Verifying Checksum [2023-02-22T00:33:27.356Z] bde34c3a00c8: Download complete [2023-02-22T00:33:27.356Z] b352a97aabf1: Verifying Checksum [2023-02-22T00:33:27.356Z] 4872d77fe225: Download complete [2023-02-22T00:33:27.356Z] 5851b861e8e6: Download complete [2023-02-22T00:33:27.356Z] b85a868b505f: Verifying Checksum [2023-02-22T00:33:27.356Z] b85a868b505f: Download complete [2023-02-22T00:33:27.615Z] bab4dde63d76: Verifying Checksum [2023-02-22T00:33:27.615Z] bab4dde63d76: Download complete [2023-02-22T00:33:28.997Z] b85a868b505f: Pull complete [2023-02-22T00:33:28.997Z] e2be974225ed: Pull complete [2023-02-22T00:33:29.567Z] 339a4e72a1f5: Pull complete [2023-02-22T00:33:29.567Z] 988bab9f4d93: Pull complete [2023-02-22T00:33:29.826Z] 1469e6f7b9e6: Pull complete [2023-02-22T00:33:29.826Z] eaf3925da568: Pull complete [2023-02-22T00:33:31.753Z] bab4dde63d76: Pull complete [2023-02-22T00:33:31.753Z] bde34c3a00c8: Pull complete [2023-02-22T00:33:32.013Z] b352a97aabf1: Pull complete [2023-02-22T00:33:32.013Z] 4872d77fe225: Pull complete [2023-02-22T00:33:32.013Z] 5851b861e8e6: Pull complete [2023-02-22T00:33:32.013Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-22T00:33:32.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T00:33:32.274Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T00:33:32.484Z] prd-ubuntu20.04-docker-8c-8g-6953 does not seem to be running inside a container [2023-02-22T00:33:32.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-237 -v /w/workspace/undry_device-onvif-camera_PR-237:/w/workspace/undry_device-onvif-camera_PR-237:rw,z -v /w/workspace/undry_device-onvif-camera_PR-237@tmp:/w/workspace/undry_device-onvif-camera_PR-237@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-22T00:33:34.176Z] $ docker top c9584e6c70a9794043e98eff3ffd2e6cf0fd87454b8fa4a24f1231a9d261dd3a -eo pid,comm [2023-02-22T00:33:34.234Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-22T00:33:34.234Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-22T00:33:34.366Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T00:33:34.366Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T00:33:34.486Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T00:33:34.488Z] $ docker exec c9584e6c70a9794043e98eff3ffd2e6cf0fd87454b8fa4a24f1231a9d261dd3a ssh-agent [2023-02-22T00:33:34.588Z] SSH_AUTH_SOCK=/tmp/ssh-WfncsiLne4Ae/agent.32 [2023-02-22T00:33:34.588Z] SSH_AGENT_PID=38 [2023-02-22T00:33:34.596Z] Running ssh-add (command line suppressed) [2023-02-22T00:33:34.704Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-237@tmp/private_key_16585959936022870503.key (/w/workspace/undry_device-onvif-camera_PR-237@tmp/private_key_16585959936022870503.key) [2023-02-22T00:33:34.723Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T00:33:35.058Z] + git tag --points-at HEAD [Pipeline] } [2023-02-22T00:33:35.084Z] $ docker exec --env ******** --env ******** c9584e6c70a9794043e98eff3ffd2e6cf0fd87454b8fa4a24f1231a9d261dd3a ssh-agent -k [2023-02-22T00:33:35.194Z] unset SSH_AUTH_SOCK; [2023-02-22T00:33:35.195Z] unset SSH_AGENT_PID; [2023-02-22T00:33:35.195Z] echo Agent pid 38 killed; [2023-02-22T00:33:35.206Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-22T00:33:35.288Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T00:33:35.288Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T00:33:35.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T00:33:35.414Z] $ docker exec c9584e6c70a9794043e98eff3ffd2e6cf0fd87454b8fa4a24f1231a9d261dd3a ssh-agent [2023-02-22T00:33:35.538Z] SSH_AUTH_SOCK=/tmp/ssh-15MjY6Ohp1v3/agent.70 [2023-02-22T00:33:35.538Z] SSH_AGENT_PID=76 [2023-02-22T00:33:35.543Z] Running ssh-add (command line suppressed) [2023-02-22T00:33:35.649Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-237@tmp/private_key_5870542299168023905.key (/w/workspace/undry_device-onvif-camera_PR-237@tmp/private_key_5870542299168023905.key) [2023-02-22T00:33:35.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T00:33:36.002Z] + git semver init [2023-02-22T00:33:36.261Z] 2023-02-22 00:33:36,202 [run_init] DEBUG init version:0.0.0 force:False [2023-02-22T00:33:36.261Z] 2023-02-22 00:33:36,204 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-237/.semver [2023-02-22T00:33:36.261Z] 2023-02-22 00:33:36,204 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-237/.semver [2023-02-22T00:33:36.261Z] 2023-02-22 00:33:36,205 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-237/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-237, universal_newlines=False, shell=None, istream=None) [2023-02-22T00:33:37.200Z] 2023-02-22 00:33:37,161 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-237/.git/info/exclude [2023-02-22T00:33:37.200Z] 2023-02-22 00:33:37,162 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-237/.semver/PR-237 with force:False [2023-02-22T00:33:37.200Z] 2023-02-22 00:33:37,162 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-237/.semver/PR-237 [2023-02-22T00:33:37.200Z] 2023-02-22 00:33:37,167 [execute] INFO git cat-file --batch-check [2023-02-22T00:33:37.200Z] 2023-02-22 00:33:37,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-237/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T00:33:37.200Z] 2023-02-22 00:33:37,174 [execute] INFO git cat-file --batch [2023-02-22T00:33:37.200Z] 2023-02-22 00:33:37,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-237/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T00:33:37.200Z] 2023-02-22 00:33:37,179 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-237/.semver/PR-237 [2023-02-22T00:33:37.200Z] 0.0.0 [Pipeline] } [2023-02-22T00:33:37.223Z] $ docker exec --env ******** --env ******** c9584e6c70a9794043e98eff3ffd2e6cf0fd87454b8fa4a24f1231a9d261dd3a ssh-agent -k [2023-02-22T00:33:37.332Z] unset SSH_AUTH_SOCK; [2023-02-22T00:33:37.333Z] unset SSH_AGENT_PID; [2023-02-22T00:33:37.333Z] echo Agent pid 76 killed; [2023-02-22T00:33:37.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-22T00:33:37.759Z] + git semver [Pipeline] } [2023-02-22T00:33:38.045Z] $ docker stop --time=1 c9584e6c70a9794043e98eff3ffd2e6cf0fd87454b8fa4a24f1231a9d261dd3a [2023-02-22T00:33:39.396Z] $ docker rm -f --volumes c9584e6c70a9794043e98eff3ffd2e6cf0fd87454b8fa4a24f1231a9d261dd3a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T00:33:39.799Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-22T00:33:40.076Z] Stashed 1 file(s) [Pipeline] echo [2023-02-22T00:33:40.095Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T00:33:40.712Z] provisioning config files... [2023-02-22T00:33:40.722Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-237@tmp/config13073159774814182808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T00:33:41.066Z] ---> docker-login.sh [2023-02-22T00:33:41.066Z] nexus3.edgexfoundry.org:10001 [2023-02-22T00:33:41.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:33:41.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:33:41.066Z] Configure a credential helper to remove this warning. See [2023-02-22T00:33:41.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:33:41.066Z] [2023-02-22T00:33:41.066Z] Login Succeeded [2023-02-22T00:33:41.066Z] nexus3.edgexfoundry.org:10002 [2023-02-22T00:33:41.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:33:41.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:33:41.066Z] Configure a credential helper to remove this warning. See [2023-02-22T00:33:41.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:33:41.066Z] [2023-02-22T00:33:41.066Z] Login Succeeded [2023-02-22T00:33:41.066Z] nexus3.edgexfoundry.org:10003 [2023-02-22T00:33:41.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:33:41.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:33:41.326Z] Configure a credential helper to remove this warning. See [2023-02-22T00:33:41.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:33:41.326Z] [2023-02-22T00:33:41.326Z] Login Succeeded [2023-02-22T00:33:41.326Z] nexus3.edgexfoundry.org:10004 [2023-02-22T00:33:41.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:33:41.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:33:41.326Z] Configure a credential helper to remove this warning. See [2023-02-22T00:33:41.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:33:41.326Z] [2023-02-22T00:33:41.326Z] Login Succeeded [2023-02-22T00:33:41.326Z] docker.io [2023-02-22T00:33:41.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:33:41.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:33:41.846Z] Configure a credential helper to remove this warning. See [2023-02-22T00:33:41.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:33:41.846Z] [2023-02-22T00:33:41.846Z] Login Succeeded [2023-02-22T00:33:41.846Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T00:33:41.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T00:33:42.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T00:33:42.106Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T00:33:42.141Z] ========================================================= [2023-02-22T00:33:42.141Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-22T00:33:42.141Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:33:42.601Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-22T00:33:42.601Z] Sending build context to Docker daemon 27.85MB [2023-02-22T00:33:42.601Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T00:33:42.601Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-22T00:33:42.862Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-22T00:33:42.862Z] 213ec9aee27d: Pulling fs layer [2023-02-22T00:33:42.862Z] 4583459ba037: Pulling fs layer [2023-02-22T00:33:42.862Z] 93c1e223e6f2: Pulling fs layer [2023-02-22T00:33:42.862Z] 53926ce57604: Pulling fs layer [2023-02-22T00:33:42.862Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-22T00:33:42.862Z] 22ff95d597cd: Pulling fs layer [2023-02-22T00:33:42.862Z] 12d6caf4c0d1: Pulling fs layer [2023-02-22T00:33:42.862Z] 96b7cbca73a9: Pulling fs layer [2023-02-22T00:33:42.862Z] a7acece74701: Pulling fs layer [2023-02-22T00:33:42.862Z] 22ff95d597cd: Waiting [2023-02-22T00:33:42.862Z] 12d6caf4c0d1: Waiting [2023-02-22T00:33:42.862Z] 53926ce57604: Waiting [2023-02-22T00:33:42.862Z] a7acece74701: Waiting [2023-02-22T00:33:42.862Z] 21b2b0c7a3f4: Waiting [2023-02-22T00:33:42.862Z] 93c1e223e6f2: Verifying Checksum [2023-02-22T00:33:42.862Z] 93c1e223e6f2: Download complete [2023-02-22T00:33:42.862Z] 4583459ba037: Verifying Checksum [2023-02-22T00:33:42.862Z] 4583459ba037: Download complete [2023-02-22T00:33:42.862Z] 21b2b0c7a3f4: Download complete [2023-02-22T00:33:42.862Z] 22ff95d597cd: Verifying Checksum [2023-02-22T00:33:42.862Z] 22ff95d597cd: Download complete [2023-02-22T00:33:42.862Z] 213ec9aee27d: Verifying Checksum [2023-02-22T00:33:42.862Z] 213ec9aee27d: Download complete [2023-02-22T00:33:42.862Z] 12d6caf4c0d1: Verifying Checksum [2023-02-22T00:33:42.862Z] 12d6caf4c0d1: Download complete [2023-02-22T00:33:43.127Z] 213ec9aee27d: Pull complete [2023-02-22T00:33:43.127Z] 4583459ba037: Pull complete [2023-02-22T00:33:43.392Z] 93c1e223e6f2: Pull complete [2023-02-22T00:33:43.392Z] a7acece74701: Verifying Checksum [2023-02-22T00:33:43.392Z] a7acece74701: Download complete [2023-02-22T00:33:43.652Z] 96b7cbca73a9: Verifying Checksum [2023-02-22T00:33:43.652Z] 96b7cbca73a9: Download complete [2023-02-22T00:33:43.652Z] 53926ce57604: Verifying Checksum [2023-02-22T00:33:43.652Z] 53926ce57604: Download complete [2023-02-22T00:33:47.843Z] 53926ce57604: Pull complete [2023-02-22T00:33:47.843Z] 21b2b0c7a3f4: Pull complete [2023-02-22T00:33:47.843Z] 22ff95d597cd: Pull complete [2023-02-22T00:33:48.107Z] 12d6caf4c0d1: Pull complete [2023-02-22T00:33:50.643Z] 96b7cbca73a9: Pull complete [2023-02-22T00:33:51.212Z] a7acece74701: Pull complete [2023-02-22T00:33:51.212Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-22T00:33:51.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-22T00:33:51.212Z] ---> db6d94c90886 [2023-02-22T00:33:51.212Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-22T00:33:53.123Z] ---> Running in f39a91d6bbc2 [2023-02-22T00:33:53.123Z] Removing intermediate container f39a91d6bbc2 [2023-02-22T00:33:53.123Z] ---> 8d619b845aff [2023-02-22T00:33:53.123Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-22T00:33:53.123Z] ---> Running in 20be29dde6de [2023-02-22T00:33:53.383Z] Removing intermediate container 20be29dde6de [2023-02-22T00:33:53.383Z] ---> 03b699d8b5d9 [2023-02-22T00:33:53.383Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-22T00:33:53.383Z] ---> Running in 4ae1003b3b84 [2023-02-22T00:33:53.383Z] Removing intermediate container 4ae1003b3b84 [2023-02-22T00:33:53.383Z] ---> a2bba374e8b8 [2023-02-22T00:33:53.383Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-22T00:33:53.642Z] ---> Running in 2ce8823ce59f [2023-02-22T00:33:53.642Z] Removing intermediate container 2ce8823ce59f [2023-02-22T00:33:53.642Z] ---> 8d154554c0fc [2023-02-22T00:33:53.642Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-22T00:33:53.642Z] ---> Running in 0a6197d65699 [2023-02-22T00:33:53.642Z] Removing intermediate container 0a6197d65699 [2023-02-22T00:33:53.642Z] ---> 8cc3985060c2 [2023-02-22T00:33:53.642Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-22T00:33:53.902Z] ---> Running in 111f782ef8e6 [2023-02-22T00:33:54.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T00:33:54.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T00:33:54.680Z] OK: 211 MiB in 51 packages [2023-02-22T00:33:54.941Z] Removing intermediate container 111f782ef8e6 [2023-02-22T00:33:54.941Z] ---> 63c8bbed76c9 [2023-02-22T00:33:54.941Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-22T00:33:54.941Z] ---> Running in f689f2a72839 [2023-02-22T00:33:55.199Z] Removing intermediate container f689f2a72839 [2023-02-22T00:33:55.199Z] ---> 5d3b1802ab15 [2023-02-22T00:33:55.199Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-22T00:33:55.199Z] ---> cf428ba01d94 [2023-02-22T00:33:55.199Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T00:33:55.459Z] ---> Running in ec3ea92482f2 [2023-02-22T00:33:55.512Z] Still waiting to schedule task [2023-02-22T00:33:55.512Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-22T00:34:34.177Z] Removing intermediate container ec3ea92482f2 [2023-02-22T00:34:34.177Z] ---> ef18963bf2ac [2023-02-22T00:34:34.177Z] Step 12/13 : COPY . . [2023-02-22T00:34:35.112Z] ---> 617d011ced4a [2023-02-22T00:34:35.112Z] Step 13/13 : RUN ${MAKE} [2023-02-22T00:34:35.112Z] ---> Running in 4030056e3c81 [2023-02-22T00:34:35.374Z] noop [2023-02-22T00:34:35.634Z] Removing intermediate container 4030056e3c81 [2023-02-22T00:34:35.634Z] ---> f1099e1ba7eb [2023-02-22T00:34:35.634Z] Successfully built f1099e1ba7eb [2023-02-22T00:34:35.634Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:34:36.071Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T00:34:36.071Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T00:34:36.221Z] prd-ubuntu20.04-docker-8c-8g-6953 does not seem to be running inside a container [2023-02-22T00:34:36.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-237 -v /w/workspace/undry_device-onvif-camera_PR-237:/w/workspace/undry_device-onvif-camera_PR-237:rw,z -v /w/workspace/undry_device-onvif-camera_PR-237@tmp:/w/workspace/undry_device-onvif-camera_PR-237@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 ******** ci-base-image-x86_64 cat [2023-02-22T00:34:36.631Z] $ docker top 3be121f8fa4f190418fde4b9afa049a1d098cb025e7e35c0299ab758b6a6faf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T00:34:37.022Z] + go version [2023-02-22T00:34:37.022Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-22T00:34:37.054Z] $ docker stop --time=1 3be121f8fa4f190418fde4b9afa049a1d098cb025e7e35c0299ab758b6a6faf1 [2023-02-22T00:34:38.396Z] $ docker rm -f --volumes 3be121f8fa4f190418fde4b9afa049a1d098cb025e7e35c0299ab758b6a6faf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:34:39.177Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T00:34:39.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T00:34:39.333Z] prd-ubuntu20.04-docker-8c-8g-6953 does not seem to be running inside a container [2023-02-22T00:34:39.363Z] $ 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-237 -v /w/workspace/undry_device-onvif-camera_PR-237:/w/workspace/undry_device-onvif-camera_PR-237:rw,z -v /w/workspace/undry_device-onvif-camera_PR-237@tmp:/w/workspace/undry_device-onvif-camera_PR-237@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 ******** ci-base-image-x86_64 cat [2023-02-22T00:34:39.729Z] $ docker top c5bbe806b384c4d1bddf3263dc96fae3e50582a98106fcc4f1e98291c203e612 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T00:34:40.120Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-237 [Pipeline] fileExists [Pipeline] sh [2023-02-22T00:34:40.475Z] + make test [2023-02-22T00:34:40.475Z] go test ./... -coverprofile=coverage.out ./... [2023-02-22T00:34:40.735Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-22T00:34:50.699Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-22T00:34:53.987Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 29.3% of statements [2023-02-22T00:34:53.987Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-22T00:34:53.987Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.471s coverage: 86.5% of statements [2023-02-22T00:35:02.096Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-22T00:35:02.096Z] go vet ./... [2023-02-22T00:35:04.625Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-22T00:35:04.625Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-22T00:35:04.625Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-22T00:35:04.662Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-22T00:35:04.695Z] $ docker stop --time=1 c5bbe806b384c4d1bddf3263dc96fae3e50582a98106fcc4f1e98291c203e612 [2023-02-22T00:35:06.732Z] $ docker rm -f --volumes c5bbe806b384c4d1bddf3263dc96fae3e50582a98106fcc4f1e98291c203e612 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T00:35:07.249Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-22T00:35:07.326Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-22T00:35:08.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-22T00:35:08.348Z] + ls -al . [2023-02-22T00:35:08.348Z] total 236 [2023-02-22T00:35:08.348Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 00:34 . [2023-02-22T00:35:08.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 00:33 .. [2023-02-22T00:35:08.348Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 00:34 .git [2023-02-22T00:35:08.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 00:33 .github [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 22 00:33 .gitignore [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 00:33 .golangci.yml [2023-02-22T00:35:08.348Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 00:33 .semver [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 22 00:33 Attribution.txt [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 22 00:33 CHANGELOG.md [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 22 00:33 Dockerfile [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 00:33 GOVERNANCE.md [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 22 00:33 Jenkinsfile [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 22 00:33 LICENSE [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 2716 Feb 22 00:33 Makefile [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 22 00:33 OWNERS.md [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 5931 Feb 22 00:33 README.md [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 00:33 VERSION [2023-02-22T00:35:08.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 00:33 bin [2023-02-22T00:35:08.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 00:33 cmd [2023-02-22T00:35:08.348Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 22 00:34 coverage.out [2023-02-22T00:35:08.348Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 00:33 doc [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 22 00:33 go.mod [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 22 00:33 go.sum [2023-02-22T00:35:08.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 00:33 internal [2023-02-22T00:35:08.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 00:33 snap [2023-02-22T00:35:08.348Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 22 00:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:35:08.745Z] + 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=e192c59c41c52f4fb37d3cdf3d8245e897e817e9 --label arch=amd64 --label version=0.0.0 . [2023-02-22T00:35:08.745Z] Sending build context to Docker daemon 27.93MB [2023-02-22T00:35:08.745Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T00:35:08.745Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-22T00:35:08.745Z] ---> f1099e1ba7eb [2023-02-22T00:35:08.745Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-22T00:35:09.313Z] ---> Running in 908786d9cd85 [2023-02-22T00:35:09.313Z] Removing intermediate container 908786d9cd85 [2023-02-22T00:35:09.313Z] ---> 36debadd7e06 [2023-02-22T00:35:09.313Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-22T00:35:09.602Z] ---> Running in a08e8314bc00 [2023-02-22T00:35:09.861Z] Removing intermediate container a08e8314bc00 [2023-02-22T00:35:09.861Z] ---> f2d791e2a02a [2023-02-22T00:35:09.861Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-22T00:35:10.140Z] ---> Running in 4209a042cf45 [2023-02-22T00:35:10.140Z] Removing intermediate container 4209a042cf45 [2023-02-22T00:35:10.140Z] ---> e329f0f206bd [2023-02-22T00:35:10.140Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-22T00:35:10.400Z] ---> Running in 0dbe7bee7c9f [2023-02-22T00:35:10.400Z] Removing intermediate container 0dbe7bee7c9f [2023-02-22T00:35:10.400Z] ---> 2a7cb6cbf88f [2023-02-22T00:35:10.400Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-22T00:35:10.661Z] ---> Running in ffa4ae65d652 [2023-02-22T00:35:10.661Z] Removing intermediate container ffa4ae65d652 [2023-02-22T00:35:10.661Z] ---> 5073c092ad59 [2023-02-22T00:35:10.661Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-22T00:35:10.661Z] ---> Running in 25db73b0ec10 [2023-02-22T00:35:10.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T00:35:11.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T00:35:11.437Z] OK: 211 MiB in 51 packages [2023-02-22T00:35:11.697Z] Removing intermediate container 25db73b0ec10 [2023-02-22T00:35:11.697Z] ---> ad396dd258f0 [2023-02-22T00:35:11.697Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-22T00:35:11.697Z] ---> Running in c328cb852f65 [2023-02-22T00:35:11.956Z] Removing intermediate container c328cb852f65 [2023-02-22T00:35:11.956Z] ---> 89839f7607f0 [2023-02-22T00:35:11.956Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-22T00:35:11.956Z] ---> fcf3155c0f3a [2023-02-22T00:35:11.956Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T00:35:11.956Z] ---> Running in 92ed683a8e79 [2023-02-22T00:35:13.333Z] Removing intermediate container 92ed683a8e79 [2023-02-22T00:35:13.333Z] ---> 334c538442ed [2023-02-22T00:35:13.333Z] Step 12/26 : COPY . . [2023-02-22T00:35:13.917Z] ---> 81dd5f02ef4a [2023-02-22T00:35:13.917Z] Step 13/26 : RUN ${MAKE} [2023-02-22T00:35:14.176Z] ---> Running in cbf943468610 [2023-02-22T00:35:14.744Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-02-22T00:35:36.670Z] Removing intermediate container cbf943468610 [2023-02-22T00:35:36.670Z] ---> afc2255e99de [2023-02-22T00:35:36.670Z] Step 14/26 : FROM alpine:3.16 [2023-02-22T00:35:36.670Z] 3.16: Pulling from library/alpine [2023-02-22T00:35:36.670Z] ef5531b6e74e: Pulling fs layer [2023-02-22T00:35:36.670Z] ef5531b6e74e: Verifying Checksum [2023-02-22T00:35:36.670Z] ef5531b6e74e: Download complete [2023-02-22T00:35:36.670Z] ef5531b6e74e: Pull complete [2023-02-22T00:35:36.670Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-22T00:35:36.670Z] Status: Downloaded newer image for alpine:3.16 [2023-02-22T00:35:36.670Z] ---> dfd21b5a31f5 [2023-02-22T00:35:36.670Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-22T00:35:36.670Z] ---> Running in 4b5429529ba5 [2023-02-22T00:35:36.670Z] Removing intermediate container 4b5429529ba5 [2023-02-22T00:35:36.670Z] ---> 632e9a559310 [2023-02-22T00:35:36.670Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-22T00:35:36.670Z] ---> Running in 65a1fa130dea [2023-02-22T00:35:36.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T00:35:36.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T00:35:36.670Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-22T00:35:36.670Z] Executing busybox-1.35.0-r17.trigger [2023-02-22T00:35:36.670Z] OK: 6 MiB in 15 packages [2023-02-22T00:35:36.670Z] Removing intermediate container 65a1fa130dea [2023-02-22T00:35:36.670Z] ---> 9ba0dc3af8e0 [2023-02-22T00:35:36.670Z] Step 17/26 : WORKDIR / [2023-02-22T00:35:36.670Z] ---> Running in f10f40b9c4d5 [2023-02-22T00:35:36.670Z] Removing intermediate container f10f40b9c4d5 [2023-02-22T00:35:36.670Z] ---> dd0a5ad96db3 [2023-02-22T00:35:36.670Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-22T00:35:36.670Z] ---> f8f9010b6b01 [2023-02-22T00:35:36.670Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-22T00:35:36.670Z] ---> f9853ee2927f [2023-02-22T00:35:36.670Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-22T00:35:36.931Z] ---> becd3e0d4d14 [2023-02-22T00:35:36.931Z] Step 21/26 : EXPOSE 59984 [2023-02-22T00:35:36.931Z] ---> Running in 7b159709e3ca [2023-02-22T00:35:36.931Z] Removing intermediate container 7b159709e3ca [2023-02-22T00:35:36.931Z] ---> 40c2354d02a7 [2023-02-22T00:35:36.931Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-22T00:35:36.931Z] ---> Running in 6b8fde217e7f [2023-02-22T00:35:37.192Z] Removing intermediate container 6b8fde217e7f [2023-02-22T00:35:37.192Z] ---> ceeb5b68ef3b [2023-02-22T00:35:37.192Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-22T00:35:37.192Z] ---> Running in 75bb98766dd7 [2023-02-22T00:35:37.192Z] Removing intermediate container 75bb98766dd7 [2023-02-22T00:35:37.192Z] ---> e43d53ab66d2 [2023-02-22T00:35:37.192Z] Step 24/26 : LABEL arch=amd64 [2023-02-22T00:35:37.192Z] ---> Running in 47ca3f7df155 [2023-02-22T00:35:37.451Z] Removing intermediate container 47ca3f7df155 [2023-02-22T00:35:37.451Z] ---> b814458d4e6c [2023-02-22T00:35:37.451Z] Step 25/26 : LABEL git_sha=e192c59c41c52f4fb37d3cdf3d8245e897e817e9 [2023-02-22T00:35:37.451Z] ---> Running in 37371b87b1ab [2023-02-22T00:35:37.451Z] Removing intermediate container 37371b87b1ab [2023-02-22T00:35:37.451Z] ---> 6fd58240fadf [2023-02-22T00:35:37.451Z] Step 26/26 : LABEL version=0.0.0 [2023-02-22T00:35:37.451Z] ---> Running in ec87aa4966f0 [2023-02-22T00:35:37.709Z] Removing intermediate container ec87aa4966f0 [2023-02-22T00:35:37.709Z] ---> d1e8e23e58ac [2023-02-22T00:35:37.709Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-22T00:35:37.709Z] Successfully built d1e8e23e58ac [2023-02-22T00:35:37.709Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:35:38.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T00:35:38.570Z] [2023-02-22T00:35:38.570Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:35:38.955Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T00:35:38.956Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-22T00:35:38.956Z] 5eb5b503b376: Pulling fs layer [2023-02-22T00:35:38.956Z] 5c69ac0246d0: Pulling fs layer [2023-02-22T00:35:38.956Z] ec43610c2a17: Pulling fs layer [2023-02-22T00:35:38.956Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-22T00:35:38.956Z] 33b1e0a273af: Pulling fs layer [2023-02-22T00:35:38.956Z] 5d3b04190fa2: Pulling fs layer [2023-02-22T00:35:38.956Z] 2f39f015ded8: Pulling fs layer [2023-02-22T00:35:38.956Z] 3a2ae6a8a46f: Waiting [2023-02-22T00:35:38.956Z] 5d3b04190fa2: Waiting [2023-02-22T00:35:38.956Z] 33b1e0a273af: Waiting [2023-02-22T00:35:38.956Z] 2f39f015ded8: Waiting [2023-02-22T00:35:38.956Z] 5c69ac0246d0: Download complete [2023-02-22T00:35:38.956Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-22T00:35:38.956Z] 3a2ae6a8a46f: Download complete [2023-02-22T00:35:39.216Z] 33b1e0a273af: Verifying Checksum [2023-02-22T00:35:39.216Z] 33b1e0a273af: Download complete [2023-02-22T00:35:39.216Z] 5d3b04190fa2: Download complete [2023-02-22T00:35:39.216Z] ec43610c2a17: Verifying Checksum [2023-02-22T00:35:39.216Z] ec43610c2a17: Download complete [2023-02-22T00:35:39.216Z] 5eb5b503b376: Verifying Checksum [2023-02-22T00:35:39.216Z] 5eb5b503b376: Download complete [2023-02-22T00:35:39.784Z] 2f39f015ded8: Download complete [2023-02-22T00:35:40.352Z] 5eb5b503b376: Pull complete [2023-02-22T00:35:40.610Z] 5c69ac0246d0: Pull complete [2023-02-22T00:35:40.868Z] ec43610c2a17: Pull complete [2023-02-22T00:35:40.868Z] 3a2ae6a8a46f: Pull complete [2023-02-22T00:35:41.127Z] 33b1e0a273af: Pull complete [2023-02-22T00:35:41.127Z] 5d3b04190fa2: Pull complete [2023-02-22T00:35:45.316Z] 2f39f015ded8: Pull complete [2023-02-22T00:35:45.316Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-22T00:35:45.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T00:35:45.316Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T00:35:45.536Z] prd-ubuntu20.04-docker-8c-8g-6953 does not seem to be running inside a container [2023-02-22T00:35:45.565Z] $ 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-237 -v /w/workspace/undry_device-onvif-camera_PR-237:/w/workspace/undry_device-onvif-camera_PR-237:rw,z -v /w/workspace/undry_device-onvif-camera_PR-237@tmp:/w/workspace/undry_device-onvif-camera_PR-237@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-22T00:35:47.215Z] $ docker top 05115879f5103e649a7caa8ba87b267e634233080c8274c6f727c93e4868593e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T00:35:47.688Z] ---> job-cost.sh [2023-02-22T00:35:47.688Z] lf-activate-venv: SKIPPING [2023-02-22T00:35:47.688Z] INFO: No Stack... [2023-02-22T00:35:47.948Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T00:35:48.207Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T00:35:48.523Z] + cat /w/workspace/undry_device-onvif-camera_PR-237/archives/cost.csv [2023-02-22T00:35:48.523Z] + cut -d, -f6 [Pipeline] lock [2023-02-22T00:35:48.564Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-237-1-stack-cost] [2023-02-22T00:35:48.570Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-237-1-stack-cost] did not exist. Created. [2023-02-22T00:35:48.570Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-237-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-22T00:35:48.980Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-22T00:35:49.036Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T00:35:49.063Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-237-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T00:35:49.132Z] $ docker stop --time=1 05115879f5103e649a7caa8ba87b267e634233080c8274c6f727c93e4868593e [2023-02-22T00:35:50.291Z] $ docker rm -f --volumes 05115879f5103e649a7caa8ba87b267e634233080c8274c6f727c93e4868593e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-22T00:37:22.298Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6955 in /w/workspace/undry_device-onvif-camera_PR-237 [Pipeline] { [Pipeline] ws [2023-02-22T00:37:22.360Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-22T00:37:22.441Z] The recommended git tool is: git [2023-02-22T00:37:27.418Z] using credential edgex-jenkins-ssh [2023-02-22T00:37:27.435Z] Cloning the remote Git repository [2023-02-22T00:37:27.480Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-22T00:37:27.556Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-02-22T00:37:27.705Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-22T00:37:27.706Z] > git --version # timeout=10 [2023-02-22T00:37:27.726Z] > git --version # 'git version 2.25.1' [2023-02-22T00:37:27.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T00:37:27.792Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T00:37:30.166Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-22T00:37:30.187Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T00:37:31.069Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-22T00:37:31.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-22T00:37:31.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T00:37:31.136Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-22T00:37:31.765Z] Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit ac31bd981295d58b78427e1e3f64b29a017dbb8d [2023-02-22T00:37:32.316Z] Merge succeeded, producing 684f5ae64f4d7370abea8747c975d217c5cfe1ba [2023-02-22T00:37:32.316Z] Checking out Revision 684f5ae64f4d7370abea8747c975d217c5cfe1ba (PR-237) [2023-02-22T00:37:31.784Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T00:37:31.807Z] > git checkout -f ac31bd981295d58b78427e1e3f64b29a017dbb8d # timeout=10 [2023-02-22T00:37:32.091Z] > git remote # timeout=10 [2023-02-22T00:37:32.109Z] > git config --get remote.origin.url # timeout=10 [2023-02-22T00:37:32.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T00:37:32.138Z] > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 [2023-02-22T00:37:32.303Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-22T00:37:32.325Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T00:37:32.341Z] > git checkout -f 684f5ae64f4d7370abea8747c975d217c5cfe1ba # timeout=10 [2023-02-22T00:37:35.842Z] Commit message: "Merge commit '4a9e67fa37862f83ef90b637e6c765491ff37d3a' into HEAD" [2023-02-22T00:37:35.842Z] First time build. Skipping changelog. [2023-02-22T00:37:35.895Z] > git --version # timeout=10 [2023-02-22T00:37:35.907Z] > git --version # 'git version 2.25.1' [2023-02-22T00:37:35.921Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T00:37:37.011Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-22T00:37:37.012Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T00:37:37.012Z] Dload Upload Total Spent Left Speed [2023-02-22T00:37:37.012Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-02-22T00:37:37.788Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-22T00:37:38.127Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-22T00:37:38.127Z] + sudo tee /etc/docker/daemon.new [2023-02-22T00:37:38.127Z] { [2023-02-22T00:37:38.127Z] "registry-mirrors": [ [2023-02-22T00:37:38.127Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-22T00:37:38.127Z] ], [2023-02-22T00:37:38.127Z] "bip": "10.250.0.254/24", [2023-02-22T00:37:38.127Z] "hosts": [ [2023-02-22T00:37:38.127Z] "tcp://0.0.0.0:5555", [2023-02-22T00:37:38.127Z] "unix:///var/run/docker.sock" [2023-02-22T00:37:38.127Z] ], [2023-02-22T00:37:38.127Z] "mtu": 1458, [2023-02-22T00:37:38.127Z] "selinux-enabled": true, [2023-02-22T00:37:38.127Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-22T00:37:38.127Z] } [Pipeline] sh [2023-02-22T00:37:38.468Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-22T00:37:38.820Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T00:37:57.162Z] provisioning config files... [2023-02-22T00:37:57.193Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6378055767477470625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T00:37:57.608Z] ---> docker-login.sh [2023-02-22T00:37:57.608Z] nexus3.edgexfoundry.org:10001 [2023-02-22T00:37:57.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:37:58.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:37:58.153Z] Configure a credential helper to remove this warning. See [2023-02-22T00:37:58.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:37:58.153Z] [2023-02-22T00:37:58.153Z] Login Succeeded [2023-02-22T00:37:58.153Z] nexus3.edgexfoundry.org:10002 [2023-02-22T00:37:58.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:37:58.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:37:58.423Z] Configure a credential helper to remove this warning. See [2023-02-22T00:37:58.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:37:58.423Z] [2023-02-22T00:37:58.423Z] Login Succeeded [2023-02-22T00:37:58.696Z] nexus3.edgexfoundry.org:10003 [2023-02-22T00:37:58.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:37:58.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:37:58.967Z] Configure a credential helper to remove this warning. See [2023-02-22T00:37:58.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:37:58.967Z] [2023-02-22T00:37:58.967Z] Login Succeeded [2023-02-22T00:37:58.967Z] nexus3.edgexfoundry.org:10004 [2023-02-22T00:37:59.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:37:59.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:37:59.241Z] Configure a credential helper to remove this warning. See [2023-02-22T00:37:59.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:37:59.241Z] [2023-02-22T00:37:59.241Z] Login Succeeded [2023-02-22T00:37:59.241Z] docker.io [2023-02-22T00:37:59.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T00:37:59.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T00:37:59.779Z] Configure a credential helper to remove this warning. See [2023-02-22T00:37:59.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T00:37:59.779Z] [2023-02-22T00:37:59.779Z] Login Succeeded [2023-02-22T00:37:59.779Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T00:37:59.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T00:38:00.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T00:38:00.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T00:38:00.268Z] ========================================================= [2023-02-22T00:38:00.268Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-22T00:38:00.268Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:38:00.772Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-22T00:38:01.363Z] Sending build context to Docker daemon 20.67MB [2023-02-22T00:38:01.363Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T00:38:01.363Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-22T00:38:01.635Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-22T00:38:01.635Z] 9b18e9b68314: Pulling fs layer [2023-02-22T00:38:01.635Z] 35d82f9e3411: Pulling fs layer [2023-02-22T00:38:01.635Z] e16973657156: Pulling fs layer [2023-02-22T00:38:01.635Z] fc693d55d65f: Pulling fs layer [2023-02-22T00:38:01.635Z] 7e9fc2657dce: Pulling fs layer [2023-02-22T00:38:01.635Z] dda99020689f: Pulling fs layer [2023-02-22T00:38:01.635Z] db1c61fa0a46: Pulling fs layer [2023-02-22T00:38:01.635Z] 891c053d2c06: Pulling fs layer [2023-02-22T00:38:01.635Z] dda99020689f: Waiting [2023-02-22T00:38:01.635Z] db1c61fa0a46: Waiting [2023-02-22T00:38:01.635Z] fc693d55d65f: Waiting [2023-02-22T00:38:01.635Z] 891c053d2c06: Waiting [2023-02-22T00:38:01.635Z] 7e9fc2657dce: Waiting [2023-02-22T00:38:01.635Z] e16973657156: Verifying Checksum [2023-02-22T00:38:01.635Z] e16973657156: Download complete [2023-02-22T00:38:01.635Z] 35d82f9e3411: Verifying Checksum [2023-02-22T00:38:01.635Z] 35d82f9e3411: Download complete [2023-02-22T00:38:01.635Z] 7e9fc2657dce: Verifying Checksum [2023-02-22T00:38:01.635Z] 7e9fc2657dce: Download complete [2023-02-22T00:38:01.635Z] dda99020689f: Download complete [2023-02-22T00:38:01.635Z] 9b18e9b68314: Download complete [2023-02-22T00:38:02.617Z] 9b18e9b68314: Pull complete [2023-02-22T00:38:02.891Z] 891c053d2c06: Verifying Checksum [2023-02-22T00:38:02.891Z] 891c053d2c06: Download complete [2023-02-22T00:38:03.162Z] 35d82f9e3411: Pull complete [2023-02-22T00:38:03.436Z] e16973657156: Pull complete [2023-02-22T00:38:04.032Z] db1c61fa0a46: Verifying Checksum [2023-02-22T00:38:04.032Z] db1c61fa0a46: Download complete [2023-02-22T00:38:04.622Z] fc693d55d65f: Verifying Checksum [2023-02-22T00:38:04.622Z] fc693d55d65f: Download complete [2023-02-22T00:38:17.518Z] fc693d55d65f: Pull complete [2023-02-22T00:38:17.518Z] 7e9fc2657dce: Pull complete [2023-02-22T00:38:17.518Z] dda99020689f: Pull complete [2023-02-22T00:38:22.892Z] db1c61fa0a46: Pull complete [2023-02-22T00:38:24.331Z] 891c053d2c06: Pull complete [2023-02-22T00:38:24.331Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-22T00:38:24.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-22T00:38:24.331Z] ---> f96f9c87975a [2023-02-22T00:38:24.331Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-22T00:38:26.285Z] ---> Running in 3fca8eb33139 [2023-02-22T00:38:26.552Z] Removing intermediate container 3fca8eb33139 [2023-02-22T00:38:26.552Z] ---> 56b39f335eeb [2023-02-22T00:38:26.552Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-22T00:38:26.552Z] ---> Running in 1d4d1e16c3ec [2023-02-22T00:38:26.820Z] Removing intermediate container 1d4d1e16c3ec [2023-02-22T00:38:26.820Z] ---> b566c7b122a1 [2023-02-22T00:38:26.820Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-22T00:38:27.094Z] ---> Running in 4c6e33d500d1 [2023-02-22T00:38:27.362Z] Removing intermediate container 4c6e33d500d1 [2023-02-22T00:38:27.362Z] ---> a2bbf2f8171b [2023-02-22T00:38:27.362Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-22T00:38:27.362Z] ---> Running in d5b65c73d342 [2023-02-22T00:38:27.631Z] Removing intermediate container d5b65c73d342 [2023-02-22T00:38:27.631Z] ---> 4333b1297e4a [2023-02-22T00:38:27.631Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-22T00:38:27.631Z] ---> Running in c9a755dd41c3 [2023-02-22T00:38:27.898Z] Removing intermediate container c9a755dd41c3 [2023-02-22T00:38:27.898Z] ---> 973694a2dd14 [2023-02-22T00:38:27.898Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-22T00:38:28.166Z] ---> Running in c51ebc2100fe [2023-02-22T00:38:29.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T00:38:29.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T00:38:30.670Z] OK: 221 MiB in 51 packages [2023-02-22T00:38:31.251Z] Removing intermediate container c51ebc2100fe [2023-02-22T00:38:31.251Z] ---> 640ea25c82b5 [2023-02-22T00:38:31.251Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-22T00:38:31.251Z] ---> Running in 1d3f16cfa213 [2023-02-22T00:38:31.523Z] Removing intermediate container 1d3f16cfa213 [2023-02-22T00:38:31.523Z] ---> 58bca0655135 [2023-02-22T00:38:31.523Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-22T00:38:32.123Z] ---> 8c2e09815a36 [2023-02-22T00:38:32.123Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T00:38:32.124Z] ---> Running in ead18d3ec4ab [2023-02-22T00:39:53.751Z] Removing intermediate container ead18d3ec4ab [2023-02-22T00:39:53.751Z] ---> 4cd4b4df723e [2023-02-22T00:39:53.751Z] Step 12/13 : COPY . . [2023-02-22T00:39:53.751Z] ---> 00766be25a77 [2023-02-22T00:39:53.751Z] Step 13/13 : RUN ${MAKE} [2023-02-22T00:39:53.751Z] ---> Running in ea16b92ddf8e [2023-02-22T00:39:53.751Z] noop [2023-02-22T00:39:53.751Z] Removing intermediate container ea16b92ddf8e [2023-02-22T00:39:53.751Z] ---> b19858f91976 [2023-02-22T00:39:53.751Z] Successfully built b19858f91976 [2023-02-22T00:39:53.751Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:39:54.246Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T00:39:54.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T00:39:54.514Z] prd-ubuntu20.04-docker-arm64-4c-16g-6955 does not seem to be running inside a container [2023-02-22T00:39:54.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2023-02-22T00:39:55.847Z] $ docker top 67eed00b053300d30dc1b053c25af7d38a3a41aa6d3ca8c5705f335fb62b5d17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T00:39:56.735Z] + go version [2023-02-22T00:39:56.735Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-22T00:39:56.774Z] $ docker stop --time=1 67eed00b053300d30dc1b053c25af7d38a3a41aa6d3ca8c5705f335fb62b5d17 [2023-02-22T00:39:58.403Z] $ docker rm -f --volumes 67eed00b053300d30dc1b053c25af7d38a3a41aa6d3ca8c5705f335fb62b5d17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:39:59.277Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T00:39:59.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T00:39:59.533Z] prd-ubuntu20.04-docker-arm64-4c-16g-6955 does not seem to be running inside a container [2023-02-22T00:39:59.602Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2023-02-22T00:40:00.794Z] $ docker top 86ac29aff4a67180442ed0d42f5f47253561f02633db435a1f69e3f8351b7057 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T00:40:01.351Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-22T00:40:02.009Z] + make test [2023-02-22T00:40:02.009Z] go test ./... -coverprofile=coverage.out ./... [2023-02-22T00:40:03.968Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-22T00:41:40.606Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-22T00:41:40.606Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.189s coverage: 29.3% of statements [2023-02-22T00:41:40.607Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-22T00:41:55.669Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.678s coverage: 86.5% of statements [2023-02-22T00:41:55.669Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-22T00:41:55.669Z] go vet ./... [2023-02-22T00:42:27.915Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-22T00:42:27.915Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-22T00:42:27.915Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-22T00:42:27.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-22T00:42:27.988Z] $ docker stop --time=1 86ac29aff4a67180442ed0d42f5f47253561f02633db435a1f69e3f8351b7057 [2023-02-22T00:42:29.728Z] $ docker rm -f --volumes 86ac29aff4a67180442ed0d42f5f47253561f02633db435a1f69e3f8351b7057 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T00:42:30.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-22T00:42:30.753Z] Warning: overwriting stash ‘coverage-report’ [2023-02-22T00:42:31.270Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T00:42:31.860Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-22T00:42:32.194Z] + ls -al . [2023-02-22T00:42:32.194Z] total 232 [2023-02-22T00:42:32.194Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 22 00:40 . [2023-02-22T00:42:32.194Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 00:37 .. [2023-02-22T00:42:32.194Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 00:37 .git [2023-02-22T00:42:32.194Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 00:37 .github [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 22 00:37 .gitignore [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 00:37 .golangci.yml [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 22 00:37 Attribution.txt [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 22 00:37 CHANGELOG.md [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 22 00:37 Dockerfile [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 00:37 GOVERNANCE.md [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 22 00:37 Jenkinsfile [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 22 00:37 LICENSE [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 2716 Feb 22 00:37 Makefile [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 22 00:37 OWNERS.md [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 5931 Feb 22 00:37 README.md [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 00:33 VERSION [2023-02-22T00:42:32.194Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 00:37 bin [2023-02-22T00:42:32.194Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 00:37 cmd [2023-02-22T00:42:32.194Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 22 00:41 coverage.out [2023-02-22T00:42:32.194Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 00:37 doc [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 22 00:37 go.mod [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 22 00:37 go.sum [2023-02-22T00:42:32.194Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 00:37 internal [2023-02-22T00:42:32.194Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 00:37 snap [2023-02-22T00:42:32.194Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 22 00:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:42:32.612Z] + 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=684f5ae64f4d7370abea8747c975d217c5cfe1ba --label arch=arm64 --label version=0.0.0 . [2023-02-22T00:42:33.193Z] Sending build context to Docker daemon 20.75MB [2023-02-22T00:42:33.193Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T00:42:33.193Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-22T00:42:33.193Z] ---> b19858f91976 [2023-02-22T00:42:33.193Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-22T00:42:33.459Z] ---> Running in 71f7b60bc3ed [2023-02-22T00:42:33.725Z] Removing intermediate container 71f7b60bc3ed [2023-02-22T00:42:33.725Z] ---> 805941946cb1 [2023-02-22T00:42:33.725Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-22T00:42:33.725Z] ---> Running in a72f7ada4587 [2023-02-22T00:42:33.992Z] Removing intermediate container a72f7ada4587 [2023-02-22T00:42:33.992Z] ---> f0084b7004ee [2023-02-22T00:42:33.992Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-22T00:42:33.992Z] ---> Running in d2e711521153 [2023-02-22T00:42:34.258Z] Removing intermediate container d2e711521153 [2023-02-22T00:42:34.258Z] ---> f9bc879e38c6 [2023-02-22T00:42:34.258Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-22T00:42:34.523Z] ---> Running in 04ef6d3897ac [2023-02-22T00:42:34.790Z] Removing intermediate container 04ef6d3897ac [2023-02-22T00:42:34.790Z] ---> bd14e77f7539 [2023-02-22T00:42:34.790Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-22T00:42:34.790Z] ---> Running in 2c1ee12aa2dc [2023-02-22T00:42:35.055Z] Removing intermediate container 2c1ee12aa2dc [2023-02-22T00:42:35.055Z] ---> 7689b1642037 [2023-02-22T00:42:35.055Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-22T00:42:35.055Z] ---> Running in c34d471e0811 [2023-02-22T00:42:36.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T00:42:36.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T00:42:37.243Z] OK: 221 MiB in 51 packages [2023-02-22T00:42:38.200Z] Removing intermediate container c34d471e0811 [2023-02-22T00:42:38.200Z] ---> d557145b28d6 [2023-02-22T00:42:38.200Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-22T00:42:38.200Z] ---> Running in b0113ce598f5 [2023-02-22T00:42:38.466Z] Removing intermediate container b0113ce598f5 [2023-02-22T00:42:38.466Z] ---> 9e1de1356968 [2023-02-22T00:42:38.466Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-22T00:42:38.738Z] ---> d9a9de4c3dc6 [2023-02-22T00:42:38.738Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T00:42:39.004Z] ---> Running in 442aa4daa758 [2023-02-22T00:42:41.595Z] Removing intermediate container 442aa4daa758 [2023-02-22T00:42:41.595Z] ---> 505206e7871c [2023-02-22T00:42:41.595Z] Step 12/26 : COPY . . [2023-02-22T00:42:43.003Z] ---> ed0a150e9dd5 [2023-02-22T00:42:43.003Z] Step 13/26 : RUN ${MAKE} [2023-02-22T00:42:43.003Z] ---> Running in 0c51a2e3a0ae [2023-02-22T00:42:43.962Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-02-22T00:44:50.635Z] Removing intermediate container 0c51a2e3a0ae [2023-02-22T00:44:50.635Z] ---> ec2f95deaae3 [2023-02-22T00:44:50.635Z] Step 14/26 : FROM alpine:3.16 [2023-02-22T00:44:50.635Z] 3.16: Pulling from library/alpine [2023-02-22T00:44:50.635Z] 3760b48202b3: Pulling fs layer [2023-02-22T00:44:50.635Z] 3760b48202b3: Verifying Checksum [2023-02-22T00:44:50.635Z] 3760b48202b3: Download complete [2023-02-22T00:44:50.635Z] 3760b48202b3: Pull complete [2023-02-22T00:44:50.635Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-22T00:44:50.635Z] Status: Downloaded newer image for alpine:3.16 [2023-02-22T00:44:50.635Z] ---> 4c81e5bf8899 [2023-02-22T00:44:50.635Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-22T00:44:50.635Z] ---> Running in a53c196db5e3 [2023-02-22T00:44:50.635Z] Removing intermediate container a53c196db5e3 [2023-02-22T00:44:50.635Z] ---> c5419e203c9f [2023-02-22T00:44:50.635Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-22T00:44:50.635Z] ---> Running in 980f89962dab [2023-02-22T00:44:51.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T00:44:51.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T00:44:52.825Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-22T00:44:52.825Z] Executing busybox-1.35.0-r17.trigger [2023-02-22T00:44:52.825Z] OK: 5 MiB in 15 packages [2023-02-22T00:44:54.242Z] Removing intermediate container 980f89962dab [2023-02-22T00:44:54.242Z] ---> b746581614bb [2023-02-22T00:44:54.242Z] Step 17/26 : WORKDIR / [2023-02-22T00:44:54.242Z] ---> Running in d1561f1ad267 [2023-02-22T00:44:54.510Z] Removing intermediate container d1561f1ad267 [2023-02-22T00:44:54.510Z] ---> a7384b1a9127 [2023-02-22T00:44:54.510Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-22T00:44:55.926Z] ---> 8b488c314994 [2023-02-22T00:44:55.926Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-22T00:44:56.510Z] ---> fadf105876e7 [2023-02-22T00:44:56.510Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-22T00:44:57.111Z] ---> 527fddeaa8c8 [2023-02-22T00:44:57.111Z] Step 21/26 : EXPOSE 59984 [2023-02-22T00:44:57.111Z] ---> Running in c9b66216b4d9 [2023-02-22T00:44:57.380Z] Removing intermediate container c9b66216b4d9 [2023-02-22T00:44:57.380Z] ---> 82cea756ff9f [2023-02-22T00:44:57.380Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-22T00:44:57.380Z] ---> Running in e5d364a9f425 [2023-02-22T00:44:57.648Z] Removing intermediate container e5d364a9f425 [2023-02-22T00:44:57.648Z] ---> 245746bae280 [2023-02-22T00:44:57.648Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-22T00:44:57.648Z] ---> Running in 35d8d322eefb [2023-02-22T00:44:58.237Z] Removing intermediate container 35d8d322eefb [2023-02-22T00:44:58.237Z] ---> bf97ed9f2304 [2023-02-22T00:44:58.237Z] Step 24/26 : LABEL arch=arm64 [2023-02-22T00:44:58.237Z] ---> Running in 1e26c9f39e7b [2023-02-22T00:44:58.503Z] Removing intermediate container 1e26c9f39e7b [2023-02-22T00:44:58.503Z] ---> f4600c360681 [2023-02-22T00:44:58.503Z] Step 25/26 : LABEL git_sha=684f5ae64f4d7370abea8747c975d217c5cfe1ba [2023-02-22T00:44:58.503Z] ---> Running in a63e0b88606d [2023-02-22T00:44:58.769Z] Removing intermediate container a63e0b88606d [2023-02-22T00:44:58.769Z] ---> a59ec2242bb3 [2023-02-22T00:44:58.769Z] Step 26/26 : LABEL version=0.0.0 [2023-02-22T00:44:58.769Z] ---> Running in f42e49cd598c [2023-02-22T00:44:59.034Z] Removing intermediate container f42e49cd598c [2023-02-22T00:44:59.034Z] ---> 527a2fc27a2b [2023-02-22T00:44:59.034Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-22T00:44:59.034Z] Successfully built 527a2fc27a2b [2023-02-22T00:44:59.034Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:44:59.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T00:44:59.875Z] [2023-02-22T00:44:59.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:45:00.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T00:45:00.289Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-22T00:45:00.289Z] 8998bd30e6a1: Pulling fs layer [2023-02-22T00:45:00.289Z] 04944245beec: Pulling fs layer [2023-02-22T00:45:00.289Z] 699f458cf7ca: Pulling fs layer [2023-02-22T00:45:00.289Z] 765212b225bb: Pulling fs layer [2023-02-22T00:45:00.289Z] f23df028b6ca: Pulling fs layer [2023-02-22T00:45:00.289Z] d65c8cfc05b1: Pulling fs layer [2023-02-22T00:45:00.289Z] 2437ff75d9bd: Pulling fs layer [2023-02-22T00:45:00.289Z] 765212b225bb: Waiting [2023-02-22T00:45:00.289Z] f23df028b6ca: Waiting [2023-02-22T00:45:00.289Z] d65c8cfc05b1: Waiting [2023-02-22T00:45:00.289Z] 2437ff75d9bd: Waiting [2023-02-22T00:45:00.557Z] 04944245beec: Verifying Checksum [2023-02-22T00:45:00.557Z] 04944245beec: Download complete [2023-02-22T00:45:00.557Z] 765212b225bb: Verifying Checksum [2023-02-22T00:45:00.557Z] 765212b225bb: Download complete [2023-02-22T00:45:00.557Z] f23df028b6ca: Verifying Checksum [2023-02-22T00:45:00.557Z] f23df028b6ca: Download complete [2023-02-22T00:45:00.557Z] d65c8cfc05b1: Verifying Checksum [2023-02-22T00:45:00.557Z] d65c8cfc05b1: Download complete [2023-02-22T00:45:00.557Z] 699f458cf7ca: Verifying Checksum [2023-02-22T00:45:00.557Z] 699f458cf7ca: Download complete [2023-02-22T00:45:01.252Z] 8998bd30e6a1: Verifying Checksum [2023-02-22T00:45:01.252Z] 8998bd30e6a1: Download complete [2023-02-22T00:45:03.255Z] 2437ff75d9bd: Verifying Checksum [2023-02-22T00:45:03.255Z] 2437ff75d9bd: Download complete [2023-02-22T00:45:05.288Z] 8998bd30e6a1: Pull complete [2023-02-22T00:45:05.886Z] 04944245beec: Pull complete [2023-02-22T00:45:07.822Z] 699f458cf7ca: Pull complete [2023-02-22T00:45:07.822Z] 765212b225bb: Pull complete [2023-02-22T00:45:08.778Z] f23df028b6ca: Pull complete [2023-02-22T00:45:08.778Z] d65c8cfc05b1: Pull complete [2023-02-22T00:45:23.754Z] 2437ff75d9bd: Pull complete [2023-02-22T00:45:23.754Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-22T00:45:23.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T00:45:23.754Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T00:45:24.084Z] prd-ubuntu20.04-docker-arm64-4c-16g-6955 does not seem to be running inside a container [2023-02-22T00:45:24.148Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-22T00:45:26.731Z] $ docker top 99bb10b281eea672bc5653b60fe0f8e1f1af476243c25b49ccfe25503a3d2688 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T00:45:27.626Z] ---> job-cost.sh [2023-02-22T00:45:27.626Z] lf-activate-venv: SKIPPING [2023-02-22T00:45:27.626Z] INFO: No Stack... [2023-02-22T00:45:27.893Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-22T00:45:28.852Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T00:45:29.510Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-02-22T00:45:29.510Z] + cut -d, -f6 [Pipeline] lock [2023-02-22T00:45:29.593Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-237-1-stack-cost] [2023-02-22T00:45:29.598Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-237-1-stack-cost] did not exist. Created. [2023-02-22T00:45:29.598Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-237-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-22T00:45:30.009Z] /w/workspace/device-onvif-camera/1@tmp/durable-22b88ebc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-22T00:45:30.631Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-22T00:45:30.926Z] Warning: overwriting stash ‘stack-cost’ [2023-02-22T00:45:30.985Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T00:45:31.000Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-237-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T00:45:31.078Z] $ docker stop --time=1 99bb10b281eea672bc5653b60fe0f8e1f1af476243c25b49ccfe25503a3d2688 [2023-02-22T00:45:32.599Z] $ docker rm -f --volumes 99bb10b281eea672bc5653b60fe0f8e1f1af476243c25b49ccfe25503a3d2688 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-22T00:45:33.559Z] provisioning config files... [2023-02-22T00:45:33.567Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-237@tmp/config2050324183901996496tmp [Pipeline] { [Pipeline] sh [2023-02-22T00:45:33.901Z] + set +x [2023-02-22T00:45:33.901Z] + bash -s -- [2023-02-22T00:45:33.901Z] + curl -s https://codecov.io/bash [2023-02-22T00:45:33.901Z] [2023-02-22T00:45:33.901Z] _____ _ [2023-02-22T00:45:33.901Z] / ____| | | [2023-02-22T00:45:33.901Z] | | ___ __| | ___ ___ _____ __ [2023-02-22T00:45:33.901Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-22T00:45:33.901Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-22T00:45:33.901Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-22T00:45:33.901Z] Bash-1.0.6 [2023-02-22T00:45:33.901Z] [2023-02-22T00:45:33.901Z] [2023-02-22T00:45:33.901Z] ==> git version 2.25.1 found [2023-02-22T00:45:33.901Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-22T00:45:33.901Z] Release-Date: 2020-01-08 [2023-02-22T00:45:33.901Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-22T00:45:33.901Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-22T00:45:33.901Z] ==> Jenkins CI detected. [2023-02-22T00:45:33.901Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-237 [2023-02-22T00:45:33.901Z] project root: . [2023-02-22T00:45:33.901Z] --> token set from env [2023-02-22T00:45:33.901Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-22T00:45:33.901Z] ==> Running gcov in . (disable via -X gcov) [2023-02-22T00:45:33.901Z] ==> Python coveragepy not found [2023-02-22T00:45:33.901Z] ==> Searching for coverage reports in: [2023-02-22T00:45:33.901Z] + . [2023-02-22T00:45:33.901Z] -> Found 1 reports [2023-02-22T00:45:33.901Z] ==> Detecting git/mercurial file structure [2023-02-22T00:45:33.901Z] ==> Reading reports [2023-02-22T00:45:33.901Z] + ./coverage.out bytes=79184 [2023-02-22T00:45:33.901Z] ==> Appending adjustments [2023-02-22T00:45:33.901Z] https://docs.codecov.io/docs/fixing-reports [2023-02-22T00:45:34.159Z] + Found adjustments [2023-02-22T00:45:34.159Z] ==> Gzipping contents [2023-02-22T00:45:34.159Z] 12K /tmp/codecov.v6QbuO.gz [2023-02-22T00:45:34.159Z] ==> Uploading reports [2023-02-22T00:45:34.159Z] url: https://codecov.io [2023-02-22T00:45:34.159Z] query: branch=PR-237&commit=e192c59c41c52f4fb37d3cdf3d8245e897e817e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-237%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=237&job=&cmd_args= [2023-02-22T00:45:34.159Z] -> Pinging Codecov [2023-02-22T00:45:34.159Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-237&commit=e192c59c41c52f4fb37d3cdf3d8245e897e817e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-237%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=237&job=&cmd_args= [2023-02-22T00:45:34.419Z] -> Uploading to [2023-02-22T00:45:34.419Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-22/F29A59C45E3A92E06B3E522C9905F8EF/e192c59c41c52f4fb37d3cdf3d8245e897e817e9/0dbb73a2-da3e-479d-b0f4-136efb5a0a54.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230222T004534Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7ffa3b5f6a4a44dcf734682177ca93022fedfdad5f1b6b203d78ecbf89f02b78 [2023-02-22T00:45:34.419Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T00:45:34.419Z] Dload Upload Total Spent Left Speed [2023-02-22T00:45:34.677Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10846 0 0 100 10846 0 34762 --:--:-- --:--:-- --:--:-- 34762 [2023-02-22T00:45:34.677Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e192c59c41c52f4fb37d3cdf3d8245e897e817e9 [Pipeline] } [2023-02-22T00:45:34.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-22T00:45:36.662Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-237/archives ] [2023-02-22T00:45:36.662Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-237/archives [2023-02-22T00:45:36.662Z] total 16 [2023-02-22T00:45:36.662Z] drwxr-xr-x 3 root root 4096 Feb 22 00:35 . [2023-02-22T00:45:36.662Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 22 00:35 .. [2023-02-22T00:45:36.662Z] drwxr-xr-x 2 root root 4096 Feb 22 00:35 cost [2023-02-22T00:45:36.662Z] -rw-r--r-- 1 root root 91 Feb 22 00:35 cost.csv [2023-02-22T00:45:36.662Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-237/archives [2023-02-22T00:45:36.662Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-237/archives [2023-02-22T00:45:36.662Z] total 16 [2023-02-22T00:45:36.662Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 00:35 . [2023-02-22T00:45:36.662Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 22 00:35 .. [2023-02-22T00:45:36.662Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 00:35 cost [2023-02-22T00:45:36.662Z] -rw-r--r-- 1 jenkins jenkins 91 Feb 22 00:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-22T00:45:36.985Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T00:45:37.876Z] ---> package-listing.sh [2023-02-22T00:45:37.876Z] ++ facter osfamily [2023-02-22T00:45:37.876Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-22T00:45:38.135Z] + OS_FAMILY=debian [2023-02-22T00:45:38.135Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-237 [2023-02-22T00:45:38.135Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-22T00:45:38.135Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-22T00:45:38.135Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-22T00:45:38.135Z] + PACKAGES=/tmp/packages_start.txt [2023-02-22T00:45:38.135Z] + '[' /w/workspace/undry_device-onvif-camera_PR-237 ']' [2023-02-22T00:45:38.135Z] + PACKAGES=/tmp/packages_end.txt [2023-02-22T00:45:38.135Z] + case "${OS_FAMILY}" in [2023-02-22T00:45:38.135Z] + dpkg -l [2023-02-22T00:45:38.135Z] + grep '^ii' [2023-02-22T00:45:38.135Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-22T00:45:38.135Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-22T00:45:38.135Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-22T00:45:38.135Z] + '[' /w/workspace/undry_device-onvif-camera_PR-237 ']' [2023-02-22T00:45:38.135Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-237/archives/ [2023-02-22T00:45:38.135Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-237/archives/ [Pipeline] echo [2023-02-22T00:45:38.337Z] 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-237/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-22T00:45:38.634Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T00:45:39.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T00:45:39.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T00:45:39.438Z] prd-ubuntu20.04-docker-8c-8g-6953 does not seem to be running inside a container [2023-02-22T00:45:39.466Z] $ 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-237/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-237 -v /w/workspace/undry_device-onvif-camera_PR-237:/w/workspace/undry_device-onvif-camera_PR-237:rw,z -v /w/workspace/undry_device-onvif-camera_PR-237@tmp:/w/workspace/undry_device-onvif-camera_PR-237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-22T00:45:39.685Z] $ docker top d4d3f7fe0af94d7c83e8d20bef07855cc7161deb6336770629ead23e4bcd7a4b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T00:45:40.090Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-22T00:45:40.429Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-22T00:45:40.742Z] + ls /var/log/sa-host [2023-02-22T00:45:40.742Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T00:45:40.952Z] provisioning config files... [2023-02-22T00:45:40.964Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-237@tmp/config1067452373833219949tmp [Pipeline] { [Pipeline] echo [2023-02-22T00:45:41.019Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T00:45:41.334Z] ---> create-netrc.sh [Pipeline] } [2023-02-22T00:45:41.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-22T00:45:41.775Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-22T00:45:41.817Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T00:45:42.126Z] ---> sudo-logs.sh [2023-02-22T00:45:42.126Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-22T00:45:42.212Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T00:45:42.524Z] ---> job-cost.sh [2023-02-22T00:45:42.524Z] lf-activate-venv: SKIPPING [2023-02-22T00:45:42.524Z] DEBUG: total: 0.2199999988079071 [2023-02-22T00:45:42.524Z] INFO: Retrieving Stack Cost... [2023-02-22T00:45:42.783Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T00:45:43.352Z] INFO: Archiving Costs [Pipeline] echo [2023-02-22T00:45:43.387Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T00:45:43.703Z] ---> logs-deploy.sh [2023-02-22T00:45:43.703Z] lf-activate-venv: SKIPPING [2023-02-22T00:45:43.703Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-237/1 [2023-02-22T00:45:43.703Z] INFO: archiving workspace using pattern(s): [2023-02-22T00:45:44.638Z] Archives upload complete. [2023-02-22T00:45:44.638Z] INFO: archiving logs to Nexus