Pull request #161 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 35e36fe490a7d7a1e97f3b24aeec797b9423c911 rather than 0a136b88d8fa23126117eab72594ed7c26daf5db Obtained Jenkinsfile from 35e36fe490a7d7a1e97f3b24aeec797b9423c911 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-ssh13817423222377574652.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh14072396268212359750.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5727946083799666049.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7464152696283593385.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11783694133082908147.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-29712 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-161 # 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 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 0a136b88d8fa23126117eab72594ed7c26daf5db Merge succeeded, producing e2e4c8c2b3599cd0daeee61c77ab7372acd48187 Checking out Revision e2e4c8c2b3599cd0daeee61c77ab7372acd48187 (PR-161) > 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/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a136b88d8fa23126117eab72594ed7c26daf5db # 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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2e4c8c2b3599cd0daeee61c77ab7372acd48187 # timeout=10 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk ed29f599da865107c070fe9ddbfee24c8b64b8a5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-17T03:54:25.102Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-17T03:54:25.146Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-17T03:54:25.159Z] ========================================================= [2022-09-17T03:54:25.159Z] EdgeX Global Pipelines Version Info [2022-09-17T03:54:25.159Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-17T03:54:25.906Z] ------------------- [2022-09-17T03:54:25.906Z] stable info: [2022-09-17T03:54:25.906Z] ------------------- [2022-09-17T03:54:25.906Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-17T03:54:25.906Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-17T03:54:25.906Z] Message: update stable to v1.0.239 [2022-09-17T03:54:26.480Z] ------------------- [2022-09-17T03:54:26.480Z] experimental info: [2022-09-17T03:54:26.480Z] ------------------- [2022-09-17T03:54:26.480Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-17T03:54:26.480Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-17T03:54:26.480Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-17T03:54:26.663Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-17T03:54:26.675Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-17T03:54:26.692Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-17T03:54:26.705Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-17T03:54:26.713Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-17T03:54:26.721Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-17T03:54:26.729Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-17T03:54:26.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-17T03:54:26.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-17T03:54:26.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-17T03:54:26.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-17T03:54:26.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-17T03:54:26.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-17T03:54:26.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-17T03:54:26.834Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-17T03:54:26.845Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-17T03:54:26.859Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-17T03:54:26.876Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-17T03:54:26.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-17T03:54:26.905Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-17T03:54:26.916Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-17T03:54:26.929Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-17T03:54:26.947Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-17T03:54:26.960Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-17T03:54:26.976Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-17T03:54:26.988Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-17T03:54:26.999Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-17T03:54:27.011Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo [2022-09-17T03:54:27.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo [2022-09-17T03:54:27.033Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo [2022-09-17T03:54:27.047Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2e4c8c2b3599cd0daeee61c77ab7372acd48187 [Pipeline] echo [2022-09-17T03:54:27.061Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2e4c8c [Pipeline] echo [2022-09-17T03:54:27.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-17T03:54:27.121Z] provisioning config files... [2022-09-17T03:54:27.137Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config7676284135234817142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-17T03:54:27.452Z] ---> docker-login.sh [2022-09-17T03:54:27.452Z] nexus3.edgexfoundry.org:10001 [2022-09-17T03:54:27.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:54:27.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:54:27.976Z] Configure a credential helper to remove this warning. See [2022-09-17T03:54:27.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:54:27.976Z] [2022-09-17T03:54:27.976Z] Login Succeeded [2022-09-17T03:54:27.976Z] nexus3.edgexfoundry.org:10002 [2022-09-17T03:54:27.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:54:28.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:54:28.237Z] Configure a credential helper to remove this warning. See [2022-09-17T03:54:28.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:54:28.237Z] [2022-09-17T03:54:28.237Z] Login Succeeded [2022-09-17T03:54:28.237Z] nexus3.edgexfoundry.org:10003 [2022-09-17T03:54:28.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:54:28.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:54:28.237Z] Configure a credential helper to remove this warning. See [2022-09-17T03:54:28.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:54:28.237Z] [2022-09-17T03:54:28.237Z] Login Succeeded [2022-09-17T03:54:28.237Z] nexus3.edgexfoundry.org:10004 [2022-09-17T03:54:28.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:54:28.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:54:28.498Z] Configure a credential helper to remove this warning. See [2022-09-17T03:54:28.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:54:28.498Z] [2022-09-17T03:54:28.498Z] Login Succeeded [2022-09-17T03:54:28.498Z] docker.io [2022-09-17T03:54:28.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:54:28.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:54:28.760Z] Configure a credential helper to remove this warning. See [2022-09-17T03:54:28.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:54:28.760Z] [2022-09-17T03:54:28.760Z] Login Succeeded [2022-09-17T03:54:28.760Z] ---> docker-login.sh ends [Pipeline] } [2022-09-17T03:54:28.769Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-17T03:54:29.159Z] + git rev-list -1 --merges e2e4c8c2b3599cd0daeee61c77ab7372acd48187~1..e2e4c8c2b3599cd0daeee61c77ab7372acd48187 [Pipeline] echo [2022-09-17T03:54:29.189Z] -----------> git rev-list -1 --merges e2e4c8c2b3599cd0daeee61c77ab7372acd48187~1..e2e4c8c2b3599cd0daeee61c77ab7372acd48187 e2e4c8c2b3599cd0daeee61c77ab7372acd48187 [2022-09-17T03:54:29.189Z] e2e4c8c2b3599cd0daeee61c77ab7372acd48187 [false] [Pipeline] sh [2022-09-17T03:54:29.482Z] + git log --format=format:%s -1 e2e4c8c2b3599cd0daeee61c77ab7372acd48187 [Pipeline] echo [2022-09-17T03:54:29.500Z] ========================================================= [2022-09-17T03:54:29.500Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-17T03:54:29.500Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-17T03:54:29.841Z] + git log --format=format:%s -1 e2e4c8c2b3599cd0daeee61c77ab7372acd48187 [Pipeline] echo [2022-09-17T03:54:29.856Z] [semverPrep] GIT_COMMIT: e2e4c8c2b3599cd0daeee61c77ab7372acd48187, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo [2022-09-17T03:54:29.866Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-17T03:54:30.245Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-17T03:54:30.246Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-17T03:54:30.246Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-17T03:54:30.246Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-17T03:54:30.246Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-17T03:54:30.246Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-17T03:54:30.246Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T03:54:30.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-17T03:54:30.664Z] [2022-09-17T03:54:30.664Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T03:54:30.967Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-17T03:54:30.967Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-17T03:54:30.967Z] b85a868b505f: Pulling fs layer [2022-09-17T03:54:30.967Z] e2be974225ed: Pulling fs layer [2022-09-17T03:54:30.967Z] 339a4e72a1f5: Pulling fs layer [2022-09-17T03:54:30.967Z] 988bab9f4d93: Pulling fs layer [2022-09-17T03:54:30.967Z] 1469e6f7b9e6: Pulling fs layer [2022-09-17T03:54:30.967Z] eaf3925da568: Pulling fs layer [2022-09-17T03:54:30.967Z] bab4dde63d76: Pulling fs layer [2022-09-17T03:54:30.967Z] bde34c3a00c8: Pulling fs layer [2022-09-17T03:54:30.967Z] b352a97aabf1: Pulling fs layer [2022-09-17T03:54:30.967Z] 4872d77fe225: Pulling fs layer [2022-09-17T03:54:30.967Z] 5851b861e8e6: Pulling fs layer [2022-09-17T03:54:30.967Z] 988bab9f4d93: Waiting [2022-09-17T03:54:30.967Z] bab4dde63d76: Waiting [2022-09-17T03:54:30.967Z] bde34c3a00c8: Waiting [2022-09-17T03:54:30.967Z] 1469e6f7b9e6: Waiting [2022-09-17T03:54:30.967Z] eaf3925da568: Waiting [2022-09-17T03:54:30.967Z] b352a97aabf1: Waiting [2022-09-17T03:54:30.967Z] 5851b861e8e6: Waiting [2022-09-17T03:54:30.967Z] e2be974225ed: Verifying Checksum [2022-09-17T03:54:30.967Z] e2be974225ed: Download complete [2022-09-17T03:54:30.967Z] 988bab9f4d93: Verifying Checksum [2022-09-17T03:54:30.967Z] 988bab9f4d93: Download complete [2022-09-17T03:54:31.228Z] 1469e6f7b9e6: Verifying Checksum [2022-09-17T03:54:31.228Z] 1469e6f7b9e6: Download complete [2022-09-17T03:54:31.228Z] 339a4e72a1f5: Verifying Checksum [2022-09-17T03:54:31.228Z] 339a4e72a1f5: Download complete [2022-09-17T03:54:31.228Z] eaf3925da568: Download complete [2022-09-17T03:54:31.228Z] bde34c3a00c8: Verifying Checksum [2022-09-17T03:54:31.228Z] bde34c3a00c8: Download complete [2022-09-17T03:54:31.228Z] b352a97aabf1: Verifying Checksum [2022-09-17T03:54:31.228Z] b352a97aabf1: Download complete [2022-09-17T03:54:31.228Z] 4872d77fe225: Verifying Checksum [2022-09-17T03:54:31.228Z] 4872d77fe225: Download complete [2022-09-17T03:54:31.228Z] 5851b861e8e6: Verifying Checksum [2022-09-17T03:54:31.229Z] 5851b861e8e6: Download complete [2022-09-17T03:54:31.229Z] b85a868b505f: Verifying Checksum [2022-09-17T03:54:31.229Z] b85a868b505f: Download complete [2022-09-17T03:54:31.490Z] bab4dde63d76: Verifying Checksum [2022-09-17T03:54:31.490Z] bab4dde63d76: Download complete [2022-09-17T03:54:32.880Z] b85a868b505f: Pull complete [2022-09-17T03:54:32.880Z] e2be974225ed: Pull complete [2022-09-17T03:54:33.454Z] 339a4e72a1f5: Pull complete [2022-09-17T03:54:33.454Z] 988bab9f4d93: Pull complete [2022-09-17T03:54:33.717Z] 1469e6f7b9e6: Pull complete [2022-09-17T03:54:33.717Z] eaf3925da568: Pull complete [2022-09-17T03:54:35.631Z] bab4dde63d76: Pull complete [2022-09-17T03:54:35.895Z] bde34c3a00c8: Pull complete [2022-09-17T03:54:35.895Z] b352a97aabf1: Pull complete [2022-09-17T03:54:35.895Z] 4872d77fe225: Pull complete [2022-09-17T03:54:36.157Z] 5851b861e8e6: Pull complete [2022-09-17T03:54:36.157Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-17T03:54:36.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-17T03:54:36.157Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-17T03:54:36.301Z] prd-ubuntu20.04-docker-8c-8g-29712 does not seem to be running inside a container [2022-09-17T03:54:36.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@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-devops/py-git-semver:0.1.4 cat [2022-09-17T03:54:37.504Z] $ docker top f098631c4fb5bc7f601803f0ba477d05da98a325a0284b5cc18b5b35f771d53f -eo pid,comm [2022-09-17T03:54:37.572Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-17T03:54:37.572Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-17T03:54:37.609Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-17T03:54:37.609Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-17T03:54:37.741Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-17T03:54:37.746Z] $ docker exec f098631c4fb5bc7f601803f0ba477d05da98a325a0284b5cc18b5b35f771d53f ssh-agent [2022-09-17T03:54:37.879Z] SSH_AUTH_SOCK=/tmp/ssh-sKtZ84zwG8vZ/agent.32 [2022-09-17T03:54:37.879Z] SSH_AGENT_PID=39 [2022-09-17T03:54:37.885Z] Running ssh-add (command line suppressed) [2022-09-17T03:54:38.013Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_7860334976970967213.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_7860334976970967213.key) [2022-09-17T03:54:38.029Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-17T03:54:38.322Z] + git tag --points-at HEAD [Pipeline] } [2022-09-17T03:54:38.344Z] $ docker exec --env ******** --env ******** f098631c4fb5bc7f601803f0ba477d05da98a325a0284b5cc18b5b35f771d53f ssh-agent -k [2022-09-17T03:54:38.457Z] unset SSH_AUTH_SOCK; [2022-09-17T03:54:38.457Z] unset SSH_AGENT_PID; [2022-09-17T03:54:38.457Z] echo Agent pid 39 killed; [2022-09-17T03:54:38.469Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-17T03:54:38.491Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-17T03:54:38.492Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-17T03:54:38.625Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-17T03:54:38.630Z] $ docker exec f098631c4fb5bc7f601803f0ba477d05da98a325a0284b5cc18b5b35f771d53f ssh-agent [2022-09-17T03:54:38.762Z] SSH_AUTH_SOCK=/tmp/ssh-WPrOoyJRxvcB/agent.72 [2022-09-17T03:54:38.763Z] SSH_AGENT_PID=78 [2022-09-17T03:54:38.768Z] Running ssh-add (command line suppressed) [2022-09-17T03:54:38.888Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_3610769733557313095.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_3610769733557313095.key) [2022-09-17T03:54:38.902Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-17T03:54:39.195Z] + git semver init [2022-09-17T03:54:39.457Z] 2022-09-17 03:54:39,398 [run_init] DEBUG init version:0.0.0 force:False [2022-09-17T03:54:39.457Z] 2022-09-17 03:54:39,399 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-161/.semver [2022-09-17T03:54:39.457Z] 2022-09-17 03:54:39,399 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-161/.semver [2022-09-17T03:54:39.457Z] 2022-09-17 03:54:39,399 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-161/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-161, universal_newlines=False, shell=None, istream=None) [2022-09-17T03:54:40.400Z] 2022-09-17 03:54:40,315 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-161/.git/info/exclude [2022-09-17T03:54:40.400Z] 2022-09-17 03:54:40,316 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 with force:False [2022-09-17T03:54:40.400Z] 2022-09-17 03:54:40,316 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-17T03:54:40.400Z] 2022-09-17 03:54:40,320 [execute] INFO git cat-file --batch-check [2022-09-17T03:54:40.400Z] 2022-09-17 03:54:40,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2022-09-17T03:54:40.400Z] 2022-09-17 03:54:40,327 [execute] INFO git cat-file --batch [2022-09-17T03:54:40.400Z] 2022-09-17 03:54:40,327 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2022-09-17T03:54:40.400Z] 2022-09-17 03:54:40,333 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-17T03:54:40.400Z] 0.0.0 [Pipeline] } [2022-09-17T03:54:40.413Z] $ docker exec --env ******** --env ******** f098631c4fb5bc7f601803f0ba477d05da98a325a0284b5cc18b5b35f771d53f ssh-agent -k [2022-09-17T03:54:40.544Z] unset SSH_AUTH_SOCK; [2022-09-17T03:54:40.544Z] unset SSH_AGENT_PID; [2022-09-17T03:54:40.544Z] echo Agent pid 78 killed; [2022-09-17T03:54:40.554Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-17T03:54:40.862Z] + git semver [Pipeline] } [2022-09-17T03:54:41.141Z] $ docker stop --time=1 f098631c4fb5bc7f601803f0ba477d05da98a325a0284b5cc18b5b35f771d53f [2022-09-17T03:54:42.463Z] $ docker rm -f f098631c4fb5bc7f601803f0ba477d05da98a325a0284b5cc18b5b35f771d53f [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-17T03:54:42.816Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-17T03:54:43.070Z] Stashed 1 file(s) [Pipeline] echo [2022-09-17T03:54:43.072Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-17T03:54:43.180Z] provisioning config files... [2022-09-17T03:54:43.193Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config7936841277603969324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-17T03:54:43.498Z] ---> docker-login.sh [2022-09-17T03:54:43.498Z] nexus3.edgexfoundry.org:10001 [2022-09-17T03:54:43.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:54:43.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:54:43.498Z] Configure a credential helper to remove this warning. See [2022-09-17T03:54:43.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:54:43.498Z] [2022-09-17T03:54:43.498Z] Login Succeeded [2022-09-17T03:54:43.498Z] nexus3.edgexfoundry.org:10002 [2022-09-17T03:54:43.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:54:43.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:54:43.759Z] Configure a credential helper to remove this warning. See [2022-09-17T03:54:43.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:54:43.759Z] [2022-09-17T03:54:43.759Z] Login Succeeded [2022-09-17T03:54:43.759Z] nexus3.edgexfoundry.org:10003 [2022-09-17T03:54:43.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:54:43.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:54:43.759Z] Configure a credential helper to remove this warning. See [2022-09-17T03:54:43.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:54:43.759Z] [2022-09-17T03:54:43.759Z] Login Succeeded [2022-09-17T03:54:43.759Z] nexus3.edgexfoundry.org:10004 [2022-09-17T03:54:44.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:54:44.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:54:44.021Z] Configure a credential helper to remove this warning. See [2022-09-17T03:54:44.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:54:44.021Z] [2022-09-17T03:54:44.021Z] Login Succeeded [2022-09-17T03:54:44.021Z] docker.io [2022-09-17T03:54:44.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:54:44.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:54:44.282Z] Configure a credential helper to remove this warning. See [2022-09-17T03:54:44.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:54:44.282Z] [2022-09-17T03:54:44.282Z] Login Succeeded [2022-09-17T03:54:44.543Z] ---> docker-login.sh ends [Pipeline] } [2022-09-17T03:54:44.553Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-17T03:54:44.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-17T03:54:44.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-17T03:54:44.645Z] ========================================================= [2022-09-17T03:54:44.645Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-17T03:54:44.645Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T03:54:44.958Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-17T03:54:44.958Z] Sending build context to Docker daemon 20.71MB [2022-09-17T03:54:44.958Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-17T03:54:44.958Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-17T03:54:45.222Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-17T03:54:45.222Z] 2408cc74d12b: Pulling fs layer [2022-09-17T03:54:45.222Z] ea60b727a1ce: Pulling fs layer [2022-09-17T03:54:45.222Z] 30c4a7721957: Pulling fs layer [2022-09-17T03:54:45.222Z] 370296b7ddb6: Pulling fs layer [2022-09-17T03:54:45.222Z] 7c6cee850709: Pulling fs layer [2022-09-17T03:54:45.222Z] 39a5fcdaea64: Pulling fs layer [2022-09-17T03:54:45.222Z] d94ebbe4e438: Pulling fs layer [2022-09-17T03:54:45.222Z] bcfd1f05c69d: Pulling fs layer [2022-09-17T03:54:45.222Z] 59ccb84bbe0f: Pulling fs layer [2022-09-17T03:54:45.222Z] 7c6cee850709: Waiting [2022-09-17T03:54:45.222Z] 39a5fcdaea64: Waiting [2022-09-17T03:54:45.222Z] d94ebbe4e438: Waiting [2022-09-17T03:54:45.222Z] bcfd1f05c69d: Waiting [2022-09-17T03:54:45.222Z] 59ccb84bbe0f: Waiting [2022-09-17T03:54:45.222Z] 370296b7ddb6: Waiting [2022-09-17T03:54:45.222Z] 30c4a7721957: Verifying Checksum [2022-09-17T03:54:45.222Z] 30c4a7721957: Download complete [2022-09-17T03:54:45.222Z] ea60b727a1ce: Verifying Checksum [2022-09-17T03:54:45.222Z] ea60b727a1ce: Download complete [2022-09-17T03:54:45.222Z] 7c6cee850709: Verifying Checksum [2022-09-17T03:54:45.222Z] 7c6cee850709: Download complete [2022-09-17T03:54:45.222Z] 39a5fcdaea64: Verifying Checksum [2022-09-17T03:54:45.222Z] 39a5fcdaea64: Download complete [2022-09-17T03:54:45.222Z] 2408cc74d12b: Verifying Checksum [2022-09-17T03:54:45.222Z] 2408cc74d12b: Download complete [2022-09-17T03:54:45.222Z] d94ebbe4e438: Verifying Checksum [2022-09-17T03:54:45.222Z] d94ebbe4e438: Download complete [2022-09-17T03:54:45.483Z] 2408cc74d12b: Pull complete [2022-09-17T03:54:45.483Z] ea60b727a1ce: Pull complete [2022-09-17T03:54:45.483Z] 30c4a7721957: Pull complete [2022-09-17T03:54:45.745Z] 59ccb84bbe0f: Verifying Checksum [2022-09-17T03:54:45.745Z] 59ccb84bbe0f: Download complete [2022-09-17T03:54:46.005Z] 370296b7ddb6: Verifying Checksum [2022-09-17T03:54:46.005Z] 370296b7ddb6: Download complete [2022-09-17T03:54:46.005Z] bcfd1f05c69d: Verifying Checksum [2022-09-17T03:54:46.005Z] bcfd1f05c69d: Download complete [2022-09-17T03:54:50.203Z] 370296b7ddb6: Pull complete [2022-09-17T03:54:50.203Z] 7c6cee850709: Pull complete [2022-09-17T03:54:50.203Z] 39a5fcdaea64: Pull complete [2022-09-17T03:54:50.203Z] d94ebbe4e438: Pull complete [2022-09-17T03:54:52.742Z] bcfd1f05c69d: Pull complete [2022-09-17T03:54:53.311Z] 59ccb84bbe0f: Pull complete [2022-09-17T03:54:53.311Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-17T03:54:53.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-17T03:54:53.311Z] ---> a4fb48ad2a94 [2022-09-17T03:54:53.311Z] Step 3/13 : ARG MAKE="make build" [2022-09-17T03:54:54.703Z] ---> Running in 2f40fb1ebef9 [2022-09-17T03:54:54.703Z] Removing intermediate container 2f40fb1ebef9 [2022-09-17T03:54:54.703Z] ---> 269d26b97fbd [2022-09-17T03:54:54.703Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-17T03:54:54.703Z] ---> Running in 23b34c41986b [2022-09-17T03:54:54.703Z] Removing intermediate container 23b34c41986b [2022-09-17T03:54:54.703Z] ---> e84d3a2fa53f [2022-09-17T03:54:54.703Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-17T03:54:54.703Z] ---> Running in 694570b44ef3 [2022-09-17T03:54:54.965Z] Removing intermediate container 694570b44ef3 [2022-09-17T03:54:54.965Z] ---> 753953e4952e [2022-09-17T03:54:54.965Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-17T03:54:54.965Z] ---> Running in da3887fd4858 [2022-09-17T03:54:54.965Z] Removing intermediate container da3887fd4858 [2022-09-17T03:54:54.965Z] ---> d79e9005fa88 [2022-09-17T03:54:54.965Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-17T03:54:54.965Z] ---> Running in addff0b33cb3 [2022-09-17T03:54:55.536Z] Removing intermediate container addff0b33cb3 [2022-09-17T03:54:55.536Z] ---> 47c119a72281 [2022-09-17T03:54:55.536Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-17T03:54:55.536Z] ---> Running in bbd6f13433c6 [2022-09-17T03:54:55.797Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-17T03:54:56.740Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-17T03:54:57.311Z] OK: 211 MiB in 51 packages [2022-09-17T03:54:57.311Z] Removing intermediate container bbd6f13433c6 [2022-09-17T03:54:57.311Z] ---> f923de05304e [2022-09-17T03:54:57.311Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-17T03:54:57.573Z] ---> Running in 4a9cd15d2562 [2022-09-17T03:54:57.573Z] Removing intermediate container 4a9cd15d2562 [2022-09-17T03:54:57.573Z] ---> a61ffb7def0b [2022-09-17T03:54:57.573Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-17T03:54:57.573Z] ---> 43a93f0d62d3 [2022-09-17T03:54:57.573Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-17T03:54:57.573Z] ---> Running in fdfe3bd5ed86 [2022-09-17T03:54:58.153Z] Still waiting to schedule task [2022-09-17T03:54:58.153Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-17T03:55:19.546Z] Removing intermediate container fdfe3bd5ed86 [2022-09-17T03:55:19.546Z] ---> 4a4816475e3e [2022-09-17T03:55:19.546Z] Step 12/13 : COPY . . [2022-09-17T03:55:19.546Z] ---> 623231a1b1cb [2022-09-17T03:55:19.546Z] Step 13/13 : RUN ${MAKE} [2022-09-17T03:55:19.546Z] ---> Running in 6cdef950caf4 [2022-09-17T03:55:19.546Z] noop [2022-09-17T03:55:19.546Z] Removing intermediate container 6cdef950caf4 [2022-09-17T03:55:19.546Z] ---> b7840be6c352 [2022-09-17T03:55:19.546Z] Successfully built b7840be6c352 [2022-09-17T03:55:19.546Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T03:55:19.881Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-17T03:55:19.881Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-17T03:55:19.969Z] prd-ubuntu20.04-docker-8c-8g-29712 does not seem to be running inside a container [2022-09-17T03:55:20.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-17T03:55:20.409Z] $ docker top 7834fec30b16d34ea04b7b77d5e87a9b2d6f230651eb774639d0855d401b6d35 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-17T03:55:20.782Z] + go version [2022-09-17T03:55:20.782Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-17T03:55:20.798Z] $ docker stop --time=1 7834fec30b16d34ea04b7b77d5e87a9b2d6f230651eb774639d0855d401b6d35 [2022-09-17T03:55:22.076Z] $ docker rm -f 7834fec30b16d34ea04b7b77d5e87a9b2d6f230651eb774639d0855d401b6d35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T03:55:22.500Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-17T03:55:22.500Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-17T03:55:22.585Z] prd-ubuntu20.04-docker-8c-8g-29712 does not seem to be running inside a container [2022-09-17T03:55:22.663Z] $ 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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-17T03:55:23.021Z] $ docker top 0f6e121aeafa18377ca515a4c105b18e6d791356f8a55bb7f2dc528082eec0c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-17T03:55:23.440Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] fileExists [Pipeline] sh [2022-09-17T03:55:23.764Z] + make test [2022-09-17T03:55:23.764Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-17T03:55:24.025Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-17T03:55:36.261Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-17T03:55:36.261Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.6% of statements [2022-09-17T03:55:36.261Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-17T03:55:38.167Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.933s coverage: 13.8% of statements [2022-09-17T03:55:44.746Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-17T03:55:44.746Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-17T03:55:48.045Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-17T03:55:48.045Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-17T03:55:48.045Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-17T03:55:48.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-17T03:55:48.074Z] $ docker stop --time=1 0f6e121aeafa18377ca515a4c105b18e6d791356f8a55bb7f2dc528082eec0c4 [2022-09-17T03:55:49.701Z] $ docker rm -f 0f6e121aeafa18377ca515a4c105b18e6d791356f8a55bb7f2dc528082eec0c4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-17T03:55:50.153Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-17T03:55:50.214Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-17T03:55:50.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-17T03:55:51.017Z] + ls -al . [2022-09-17T03:55:51.017Z] total 232 [2022-09-17T03:55:51.017Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 17 03:55 . [2022-09-17T03:55:51.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 03:54 .. [2022-09-17T03:55:51.017Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 03:55 .git [2022-09-17T03:55:51.017Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 03:54 .github [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 17 03:54 .gitignore [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 17 03:54 .golangci.yml [2022-09-17T03:55:51.017Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 17 03:54 .semver [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 17 03:54 Attribution.txt [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 17 03:54 CHANGELOG.md [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 17 03:54 Dockerfile [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 17 03:54 GOVERNANCE.md [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 17 03:54 Jenkinsfile [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 17 03:54 LICENSE [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 17 03:54 Makefile [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 17 03:54 OWNERS.md [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 17 03:54 README.md [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 03:54 VERSION [2022-09-17T03:55:51.017Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 03:54 bin [2022-09-17T03:55:51.017Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 03:54 cmd [2022-09-17T03:55:51.017Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 17 03:55 coverage.out [2022-09-17T03:55:51.017Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 17 03:54 doc [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 17 03:54 go.mod [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 17 03:54 go.sum [2022-09-17T03:55:51.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 03:54 internal [2022-09-17T03:55:51.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 03:54 snap [2022-09-17T03:55:51.017Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 17 03:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T03:55:51.327Z] + 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=e2e4c8c2b3599cd0daeee61c77ab7372acd48187 --label arch=amd64 --label version=0.0.0 . [2022-09-17T03:55:51.327Z] Sending build context to Docker daemon 20.79MB [2022-09-17T03:55:51.327Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-17T03:55:51.327Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-17T03:55:51.327Z] ---> b7840be6c352 [2022-09-17T03:55:51.327Z] Step 3/26 : ARG MAKE="make build" [2022-09-17T03:55:51.327Z] ---> Running in 81c6f82b8c47 [2022-09-17T03:55:51.586Z] Removing intermediate container 81c6f82b8c47 [2022-09-17T03:55:51.586Z] ---> 844674a58de0 [2022-09-17T03:55:51.586Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-17T03:55:51.586Z] ---> Running in 4c444bba15b1 [2022-09-17T03:55:51.586Z] Removing intermediate container 4c444bba15b1 [2022-09-17T03:55:51.586Z] ---> 4ba4c4a0b4d5 [2022-09-17T03:55:51.586Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-17T03:55:51.586Z] ---> Running in eec76cb7a784 [2022-09-17T03:55:51.847Z] Removing intermediate container eec76cb7a784 [2022-09-17T03:55:51.847Z] ---> db5aeabc66c4 [2022-09-17T03:55:51.847Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-17T03:55:51.847Z] ---> Running in 1372cd9db250 [2022-09-17T03:55:51.847Z] Removing intermediate container 1372cd9db250 [2022-09-17T03:55:51.847Z] ---> 4c336bcb50d8 [2022-09-17T03:55:51.847Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-17T03:55:51.847Z] ---> Running in 054c7f29a371 [2022-09-17T03:55:52.416Z] Removing intermediate container 054c7f29a371 [2022-09-17T03:55:52.416Z] ---> 188e15e95f42 [2022-09-17T03:55:52.416Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-17T03:55:52.416Z] ---> Running in 523c8ea85464 [2022-09-17T03:55:52.677Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-17T03:55:53.616Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-17T03:55:53.876Z] OK: 211 MiB in 51 packages [2022-09-17T03:55:54.138Z] Removing intermediate container 523c8ea85464 [2022-09-17T03:55:54.138Z] ---> a29e76b7c712 [2022-09-17T03:55:54.138Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-17T03:55:54.138Z] ---> Running in f8b43f4c4581 [2022-09-17T03:55:54.138Z] Removing intermediate container f8b43f4c4581 [2022-09-17T03:55:54.138Z] ---> da77bc9d41ea [2022-09-17T03:55:54.138Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-17T03:55:54.399Z] ---> 29988b7c0954 [2022-09-17T03:55:54.399Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-17T03:55:54.400Z] ---> Running in aa82d0882314 [2022-09-17T03:55:54.980Z] Removing intermediate container aa82d0882314 [2022-09-17T03:55:54.980Z] ---> 9a38e43e6f7f [2022-09-17T03:55:54.980Z] Step 12/26 : COPY . . [2022-09-17T03:55:55.239Z] ---> dd0a66515381 [2022-09-17T03:55:55.239Z] Step 13/26 : RUN ${MAKE} [2022-09-17T03:55:55.500Z] ---> Running in e709008a6583 [2022-09-17T03:55:55.759Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-17T03:56:14.331Z] Removing intermediate container e709008a6583 [2022-09-17T03:56:14.331Z] ---> 044ee5c0d262 [2022-09-17T03:56:14.331Z] Step 14/26 : FROM alpine:3.16 [2022-09-17T03:56:14.901Z] 3.16: Pulling from library/alpine [2022-09-17T03:56:15.161Z] 213ec9aee27d: Pulling fs layer [2022-09-17T03:56:15.161Z] 213ec9aee27d: Verifying Checksum [2022-09-17T03:56:15.161Z] 213ec9aee27d: Download complete [2022-09-17T03:56:15.420Z] 213ec9aee27d: Pull complete [2022-09-17T03:56:15.421Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-17T03:56:15.421Z] Status: Downloaded newer image for alpine:3.16 [2022-09-17T03:56:15.421Z] ---> 9c6f07244728 [2022-09-17T03:56:15.421Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-17T03:56:15.421Z] ---> Running in 5397863950ee [2022-09-17T03:56:15.421Z] Removing intermediate container 5397863950ee [2022-09-17T03:56:15.421Z] ---> be397decb5ac [2022-09-17T03:56:15.421Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-17T03:56:15.421Z] ---> Running in 146e388f8548 [2022-09-17T03:56:15.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-17T03:56:15.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-17T03:56:15.940Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-17T03:56:15.940Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-17T03:56:16.201Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-17T03:56:16.201Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-17T03:56:16.201Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-17T03:56:16.201Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-17T03:56:16.201Z] Executing busybox-1.35.0-r17.trigger [2022-09-17T03:56:16.201Z] OK: 8 MiB in 20 packages [2022-09-17T03:56:16.460Z] Removing intermediate container 146e388f8548 [2022-09-17T03:56:16.461Z] ---> f7003f0eb6e9 [2022-09-17T03:56:16.461Z] Step 17/26 : WORKDIR / [2022-09-17T03:56:16.461Z] ---> Running in b812477c06a3 [2022-09-17T03:56:16.461Z] Removing intermediate container b812477c06a3 [2022-09-17T03:56:16.461Z] ---> bf01e0d61ddc [2022-09-17T03:56:16.461Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-17T03:56:17.030Z] ---> bb53df3cfb3d [2022-09-17T03:56:17.030Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-17T03:56:17.290Z] ---> 156d3cf67200 [2022-09-17T03:56:17.291Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-17T03:56:17.291Z] ---> cdcca3320c58 [2022-09-17T03:56:17.291Z] Step 21/26 : EXPOSE 59984 [2022-09-17T03:56:17.291Z] ---> Running in c48d1b07283c [2022-09-17T03:56:17.291Z] Removing intermediate container c48d1b07283c [2022-09-17T03:56:17.291Z] ---> 2e482c522689 [2022-09-17T03:56:17.291Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-17T03:56:17.552Z] ---> Running in 52ec49d699ed [2022-09-17T03:56:17.552Z] Removing intermediate container 52ec49d699ed [2022-09-17T03:56:17.552Z] ---> 4829db403c80 [2022-09-17T03:56:17.552Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-17T03:56:17.552Z] ---> Running in 9932ecfa7e25 [2022-09-17T03:56:17.552Z] Removing intermediate container 9932ecfa7e25 [2022-09-17T03:56:17.552Z] ---> 6a947180c684 [2022-09-17T03:56:17.552Z] Step 24/26 : LABEL arch=amd64 [2022-09-17T03:56:17.552Z] ---> Running in c1c7d8977dc1 [2022-09-17T03:56:17.812Z] Removing intermediate container c1c7d8977dc1 [2022-09-17T03:56:17.812Z] ---> 7d8ee83c184b [2022-09-17T03:56:17.812Z] Step 25/26 : LABEL git_sha=e2e4c8c2b3599cd0daeee61c77ab7372acd48187 [2022-09-17T03:56:17.812Z] ---> Running in 2b5072ca14fc [2022-09-17T03:56:17.812Z] Removing intermediate container 2b5072ca14fc [2022-09-17T03:56:17.812Z] ---> 838a59c9784d [2022-09-17T03:56:17.812Z] Step 26/26 : LABEL version=0.0.0 [2022-09-17T03:56:17.812Z] ---> Running in 01e8758dea70 [2022-09-17T03:56:17.812Z] Removing intermediate container 01e8758dea70 [2022-09-17T03:56:17.812Z] ---> 436c063da6ec [2022-09-17T03:56:17.812Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-17T03:56:17.812Z] Successfully built 436c063da6ec [2022-09-17T03:56:17.812Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T03:56:18.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-17T03:56:18.302Z] [2022-09-17T03:56:18.302Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T03:56:18.605Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-17T03:56:18.605Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-17T03:56:18.605Z] 5eb5b503b376: Pulling fs layer [2022-09-17T03:56:18.605Z] 5c69ac0246d0: Pulling fs layer [2022-09-17T03:56:18.605Z] ec43610c2a17: Pulling fs layer [2022-09-17T03:56:18.605Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-17T03:56:18.605Z] 33b1e0a273af: Pulling fs layer [2022-09-17T03:56:18.605Z] 5d3b04190fa2: Pulling fs layer [2022-09-17T03:56:18.605Z] 2f39f015ded8: Pulling fs layer [2022-09-17T03:56:18.605Z] 33b1e0a273af: Waiting [2022-09-17T03:56:18.605Z] 5d3b04190fa2: Waiting [2022-09-17T03:56:18.605Z] 2f39f015ded8: Waiting [2022-09-17T03:56:18.605Z] 3a2ae6a8a46f: Waiting [2022-09-17T03:56:18.605Z] 5c69ac0246d0: Verifying Checksum [2022-09-17T03:56:18.605Z] 5c69ac0246d0: Download complete [2022-09-17T03:56:18.605Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-17T03:56:18.605Z] 3a2ae6a8a46f: Download complete [2022-09-17T03:56:18.605Z] 33b1e0a273af: Verifying Checksum [2022-09-17T03:56:18.605Z] 33b1e0a273af: Download complete [2022-09-17T03:56:18.866Z] 5d3b04190fa2: Download complete [2022-09-17T03:56:18.866Z] ec43610c2a17: Verifying Checksum [2022-09-17T03:56:18.866Z] ec43610c2a17: Download complete [2022-09-17T03:56:18.866Z] 5eb5b503b376: Verifying Checksum [2022-09-17T03:56:18.866Z] 5eb5b503b376: Download complete [2022-09-17T03:56:19.434Z] 2f39f015ded8: Download complete [2022-09-17T03:56:20.001Z] 5eb5b503b376: Pull complete [2022-09-17T03:56:20.001Z] 5c69ac0246d0: Pull complete [2022-09-17T03:56:20.570Z] ec43610c2a17: Pull complete [2022-09-17T03:56:20.570Z] 3a2ae6a8a46f: Pull complete [2022-09-17T03:56:20.828Z] 33b1e0a273af: Pull complete [2022-09-17T03:56:20.828Z] 5d3b04190fa2: Pull complete [2022-09-17T03:56:25.019Z] 2f39f015ded8: Pull complete [2022-09-17T03:56:25.019Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-17T03:56:25.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-17T03:56:25.019Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-17T03:56:25.111Z] prd-ubuntu20.04-docker-8c-8g-29712 does not seem to be running inside a container [2022-09-17T03:56:25.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/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-17T03:56:26.273Z] $ docker top 84be4acfdd8313cd1a1d342e1410d7a2cfa523ac86e7c1a3090b41d6cadee7f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-17T03:56:26.694Z] ---> job-cost.sh [2022-09-17T03:56:26.694Z] lf-activate-venv: SKIPPING [2022-09-17T03:56:26.694Z] INFO: No Stack... [2022-09-17T03:56:26.954Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-17T03:56:27.525Z] INFO: Archiving Costs [Pipeline] sh [2022-09-17T03:56:27.815Z] + cat /w/workspace/undry_device-onvif-camera_PR-161/archives/cost.csv [2022-09-17T03:56:27.815Z] + cut -d, -f6 [Pipeline] lock [2022-09-17T03:56:27.830Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-3-stack-cost] [2022-09-17T03:56:27.836Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-3-stack-cost] did not exist. Created. [2022-09-17T03:56:27.836Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-17T03:56:28.137Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-17T03:56:28.173Z] Stashed 1 file(s) [Pipeline] } [2022-09-17T03:56:28.181Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-17T03:56:28.204Z] $ docker stop --time=1 84be4acfdd8313cd1a1d342e1410d7a2cfa523ac86e7c1a3090b41d6cadee7f8 [2022-09-17T03:56:29.369Z] $ docker rm -f 84be4acfdd8313cd1a1d342e1410d7a2cfa523ac86e7c1a3090b41d6cadee7f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-17T03:56:40.264Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29713 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] ws [2022-09-17T03:56:40.277Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-09-17T03:56:40.315Z] Selected Git installation does not exist. Using Default [2022-09-17T03:56:40.316Z] The recommended git tool is: NONE [2022-09-17T03:56:46.389Z] using credential edgex-jenkins-ssh [2022-09-17T03:56:46.411Z] Cloning the remote Git repository [2022-09-17T03:56:46.467Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-17T03:56:46.542Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-09-17T03:56:46.627Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-17T03:56:46.628Z] > git --version # timeout=10 [2022-09-17T03:56:46.652Z] > git --version # 'git version 2.25.1' [2022-09-17T03:56:46.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-17T03:56:46.749Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-17T03:56:48.726Z] Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 0a136b88d8fa23126117eab72594ed7c26daf5db [2022-09-17T03:56:47.902Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-17T03:56:47.926Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-17T03:56:48.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-17T03:56:48.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-17T03:56:48.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-17T03:56:48.087Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-17T03:56:48.742Z] > git config core.sparsecheckout # timeout=10 [2022-09-17T03:56:48.757Z] > git checkout -f 0a136b88d8fa23126117eab72594ed7c26daf5db # timeout=10 [2022-09-17T03:56:48.979Z] > git remote # timeout=10 [2022-09-17T03:56:48.996Z] > git config --get remote.origin.url # timeout=10 [2022-09-17T03:56:49.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-17T03:56:49.020Z] > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 [2022-09-17T03:56:49.320Z] Merge succeeded, producing fabcafb8c4a4f5502acad4fd27e1cf233dc77c24 [2022-09-17T03:56:49.320Z] Checking out Revision fabcafb8c4a4f5502acad4fd27e1cf233dc77c24 (PR-161) [2022-09-17T03:56:49.300Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-17T03:56:49.324Z] > git config core.sparsecheckout # timeout=10 [2022-09-17T03:56:49.343Z] > git checkout -f fabcafb8c4a4f5502acad4fd27e1cf233dc77c24 # timeout=10 [2022-09-17T03:56:53.473Z] Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" [2022-09-17T03:56:53.498Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-17T03:56:54.403Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-17T03:56:54.403Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-17T03:56:54.403Z] Dload Upload Total Spent Left Speed [2022-09-17T03:56:54.403Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2022-09-17T03:56:55.070Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-17T03:56:53.479Z] > git rev-list --no-walk ed29f599da865107c070fe9ddbfee24c8b64b8a5 # timeout=10 [2022-09-17T03:56:55.459Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-17T03:56:55.459Z] + sudo tee /etc/docker/daemon.new [2022-09-17T03:56:55.459Z] { [2022-09-17T03:56:55.459Z] "registry-mirrors": [ [2022-09-17T03:56:55.459Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-17T03:56:55.459Z] ], [2022-09-17T03:56:55.459Z] "bip": "10.250.0.254/24", [2022-09-17T03:56:55.459Z] "hosts": [ [2022-09-17T03:56:55.459Z] "tcp://0.0.0.0:5555", [2022-09-17T03:56:55.459Z] "unix:///var/run/docker.sock" [2022-09-17T03:56:55.459Z] ], [2022-09-17T03:56:55.459Z] "mtu": 1458, [2022-09-17T03:56:55.459Z] "selinux-enabled": true, [2022-09-17T03:56:55.459Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-17T03:56:55.459Z] } [Pipeline] sh [2022-09-17T03:56:55.824Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-17T03:56:56.178Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-17T03:57:14.528Z] provisioning config files... [2022-09-17T03:57:14.550Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config1267392967467900941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-17T03:57:15.117Z] ---> docker-login.sh [2022-09-17T03:57:15.117Z] nexus3.edgexfoundry.org:10001 [2022-09-17T03:57:15.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:57:16.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:57:16.008Z] Configure a credential helper to remove this warning. See [2022-09-17T03:57:16.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:57:16.008Z] [2022-09-17T03:57:16.008Z] Login Succeeded [2022-09-17T03:57:16.008Z] nexus3.edgexfoundry.org:10002 [2022-09-17T03:57:16.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:57:16.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:57:16.560Z] Configure a credential helper to remove this warning. See [2022-09-17T03:57:16.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:57:16.560Z] [2022-09-17T03:57:16.560Z] Login Succeeded [2022-09-17T03:57:16.560Z] nexus3.edgexfoundry.org:10003 [2022-09-17T03:57:16.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:57:17.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:57:17.112Z] Configure a credential helper to remove this warning. See [2022-09-17T03:57:17.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:57:17.112Z] [2022-09-17T03:57:17.112Z] Login Succeeded [2022-09-17T03:57:17.112Z] nexus3.edgexfoundry.org:10004 [2022-09-17T03:57:17.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:57:17.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:57:17.385Z] Configure a credential helper to remove this warning. See [2022-09-17T03:57:17.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:57:17.385Z] [2022-09-17T03:57:17.385Z] Login Succeeded [2022-09-17T03:57:17.385Z] docker.io [2022-09-17T03:57:17.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T03:57:18.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T03:57:18.253Z] Configure a credential helper to remove this warning. See [2022-09-17T03:57:18.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T03:57:18.253Z] [2022-09-17T03:57:18.253Z] Login Succeeded [2022-09-17T03:57:18.253Z] ---> docker-login.sh ends [Pipeline] } [2022-09-17T03:57:18.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-17T03:57:18.539Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-17T03:57:18.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-17T03:57:18.566Z] ========================================================= [2022-09-17T03:57:18.566Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-17T03:57:18.566Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T03:57:18.962Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-17T03:57:19.561Z] Sending build context to Docker daemon 14.19MB [2022-09-17T03:57:19.561Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-17T03:57:19.561Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-17T03:57:19.561Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-17T03:57:19.561Z] b3c136eddcbf: Pulling fs layer [2022-09-17T03:57:19.561Z] c0a3192eca97: Pulling fs layer [2022-09-17T03:57:19.561Z] a050256f5b6f: Pulling fs layer [2022-09-17T03:57:19.561Z] 656be50a0ddc: Pulling fs layer [2022-09-17T03:57:19.561Z] 2bbca73fdf42: Pulling fs layer [2022-09-17T03:57:19.561Z] 46d945488cbd: Pulling fs layer [2022-09-17T03:57:19.561Z] 8a5474983e97: Pulling fs layer [2022-09-17T03:57:19.561Z] 329c88fbcd65: Pulling fs layer [2022-09-17T03:57:19.561Z] 656be50a0ddc: Waiting [2022-09-17T03:57:19.561Z] 2bbca73fdf42: Waiting [2022-09-17T03:57:19.561Z] 46d945488cbd: Waiting [2022-09-17T03:57:19.561Z] 8a5474983e97: Waiting [2022-09-17T03:57:19.561Z] 329c88fbcd65: Waiting [2022-09-17T03:57:19.561Z] a050256f5b6f: Verifying Checksum [2022-09-17T03:57:19.561Z] a050256f5b6f: Download complete [2022-09-17T03:57:19.841Z] c0a3192eca97: Verifying Checksum [2022-09-17T03:57:19.841Z] c0a3192eca97: Download complete [2022-09-17T03:57:19.841Z] 2bbca73fdf42: Verifying Checksum [2022-09-17T03:57:19.841Z] 2bbca73fdf42: Download complete [2022-09-17T03:57:19.841Z] 46d945488cbd: Verifying Checksum [2022-09-17T03:57:19.841Z] 46d945488cbd: Download complete [2022-09-17T03:57:19.841Z] b3c136eddcbf: Verifying Checksum [2022-09-17T03:57:19.841Z] b3c136eddcbf: Download complete [2022-09-17T03:57:20.837Z] b3c136eddcbf: Pull complete [2022-09-17T03:57:20.837Z] 329c88fbcd65: Verifying Checksum [2022-09-17T03:57:20.837Z] 329c88fbcd65: Download complete [2022-09-17T03:57:21.445Z] c0a3192eca97: Pull complete [2022-09-17T03:57:21.723Z] a050256f5b6f: Pull complete [2022-09-17T03:57:21.998Z] 8a5474983e97: Verifying Checksum [2022-09-17T03:57:21.998Z] 8a5474983e97: Download complete [2022-09-17T03:57:22.599Z] 656be50a0ddc: Verifying Checksum [2022-09-17T03:57:22.599Z] 656be50a0ddc: Download complete [2022-09-17T03:57:34.992Z] 656be50a0ddc: Pull complete [2022-09-17T03:57:34.992Z] 2bbca73fdf42: Pull complete [2022-09-17T03:57:35.266Z] 46d945488cbd: Pull complete [2022-09-17T03:57:42.003Z] 8a5474983e97: Pull complete [2022-09-17T03:57:43.444Z] 329c88fbcd65: Pull complete [2022-09-17T03:57:43.444Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-17T03:57:43.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-17T03:57:43.444Z] ---> ff4287adb874 [2022-09-17T03:57:43.444Z] Step 3/13 : ARG MAKE="make build" [2022-09-17T03:57:45.423Z] ---> Running in 1a6f8f2a8bcc [2022-09-17T03:57:45.696Z] Removing intermediate container 1a6f8f2a8bcc [2022-09-17T03:57:45.696Z] ---> 4e630ebd7105 [2022-09-17T03:57:45.696Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-17T03:57:45.696Z] ---> Running in c1c0679eab91 [2022-09-17T03:57:47.129Z] Removing intermediate container c1c0679eab91 [2022-09-17T03:57:47.129Z] ---> 4ee41829e6e5 [2022-09-17T03:57:47.129Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-17T03:57:47.129Z] ---> Running in 8bd7d412b6ed [2022-09-17T03:57:47.403Z] Removing intermediate container 8bd7d412b6ed [2022-09-17T03:57:47.403Z] ---> e47151a18e6d [2022-09-17T03:57:47.403Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-17T03:57:47.683Z] ---> Running in 707237b180c7 [2022-09-17T03:57:47.957Z] Removing intermediate container 707237b180c7 [2022-09-17T03:57:47.957Z] ---> 49a75636d36b [2022-09-17T03:57:47.957Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-17T03:57:47.957Z] ---> Running in e853a687740c [2022-09-17T03:57:49.946Z] Removing intermediate container e853a687740c [2022-09-17T03:57:49.946Z] ---> 58571aa2a727 [2022-09-17T03:57:49.946Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-17T03:57:49.946Z] ---> Running in ece80d9af2b0 [2022-09-17T03:57:50.927Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-17T03:57:51.521Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-17T03:57:52.501Z] OK: 221 MiB in 51 packages [2022-09-17T03:57:53.489Z] Removing intermediate container ece80d9af2b0 [2022-09-17T03:57:53.489Z] ---> 9922748f205f [2022-09-17T03:57:53.489Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-17T03:57:53.489Z] ---> Running in c7215bc689fb [2022-09-17T03:57:53.777Z] Removing intermediate container c7215bc689fb [2022-09-17T03:57:53.777Z] ---> e82cbeefab11 [2022-09-17T03:57:53.777Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-17T03:57:54.380Z] ---> 2a42da798c23 [2022-09-17T03:57:54.380Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-17T03:57:54.380Z] ---> Running in 2f1d329ab0e5 [2022-09-17T03:58:50.927Z] Removing intermediate container 2f1d329ab0e5 [2022-09-17T03:58:50.927Z] ---> 8a926c974a5e [2022-09-17T03:58:50.927Z] Step 12/13 : COPY . . [2022-09-17T03:58:50.927Z] ---> 14c49edf8b55 [2022-09-17T03:58:50.927Z] Step 13/13 : RUN ${MAKE} [2022-09-17T03:58:50.927Z] ---> Running in e47d4b334b48 [2022-09-17T03:58:50.927Z] noop [2022-09-17T03:58:50.927Z] Removing intermediate container e47d4b334b48 [2022-09-17T03:58:50.927Z] ---> 4bd86f3596d7 [2022-09-17T03:58:50.927Z] Successfully built 4bd86f3596d7 [2022-09-17T03:58:50.927Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T03:58:51.294Z] + docker inspect -f . ci-base-image-arm64 [2022-09-17T03:58:51.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-17T03:58:51.552Z] prd-ubuntu20.04-docker-arm64-4c-16g-29713 does not seem to be running inside a container [2022-09-17T03:58:51.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-17T03:58:52.968Z] $ docker top baeba5f6472abe4c414f73a3a68a03df56697abbea81c5dad84c99a2a7d49e17 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-17T03:58:53.897Z] + go version [2022-09-17T03:58:53.897Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-17T03:58:53.922Z] $ docker stop --time=1 baeba5f6472abe4c414f73a3a68a03df56697abbea81c5dad84c99a2a7d49e17 [2022-09-17T03:58:55.559Z] $ docker rm -f baeba5f6472abe4c414f73a3a68a03df56697abbea81c5dad84c99a2a7d49e17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T03:58:56.199Z] + docker inspect -f . ci-base-image-arm64 [2022-09-17T03:58:56.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-17T03:58:56.434Z] prd-ubuntu20.04-docker-arm64-4c-16g-29713 does not seem to be running inside a container [2022-09-17T03:58:56.520Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-17T03:58:57.735Z] $ docker top 2e7204255ba45f07c74ae070fc5be48d0190251d3ee90bd0a9433863314e0917 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-17T03:58:58.648Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-09-17T03:58:59.326Z] + make test [2022-09-17T03:58:59.326Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-17T03:59:01.319Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-17T04:00:23.207Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-17T04:00:33.424Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.223s coverage: 28.6% of statements [2022-09-17T04:00:33.424Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-17T04:01:05.800Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 36.046s coverage: 13.8% of statements [2022-09-17T04:01:05.800Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-17T04:01:05.800Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-17T04:01:24.175Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-17T04:01:24.175Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-17T04:01:24.175Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-17T04:01:24.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-17T04:01:24.212Z] $ docker stop --time=1 2e7204255ba45f07c74ae070fc5be48d0190251d3ee90bd0a9433863314e0917 [2022-09-17T04:01:25.984Z] $ docker rm -f 2e7204255ba45f07c74ae070fc5be48d0190251d3ee90bd0a9433863314e0917 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-17T04:01:27.012Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-17T04:01:27.043Z] Warning: overwriting stash ‘coverage-report’ [2022-09-17T04:01:27.726Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-17T04:01:28.161Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-17T04:01:28.515Z] + ls -al . [2022-09-17T04:01:28.515Z] total 228 [2022-09-17T04:01:28.515Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 03:59 . [2022-09-17T04:01:28.515Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 03:56 .. [2022-09-17T04:01:28.515Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 03:56 .git [2022-09-17T04:01:28.515Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 03:56 .github [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 17 03:56 .gitignore [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 17 03:56 .golangci.yml [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 17 03:56 Attribution.txt [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 17 03:56 CHANGELOG.md [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 17 03:56 Dockerfile [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 17 03:56 GOVERNANCE.md [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 17 03:56 Jenkinsfile [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 17 03:56 LICENSE [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 17 03:56 Makefile [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 17 03:56 OWNERS.md [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 17 03:56 README.md [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 03:54 VERSION [2022-09-17T04:01:28.515Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 03:56 bin [2022-09-17T04:01:28.515Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 03:56 cmd [2022-09-17T04:01:28.515Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 17 04:01 coverage.out [2022-09-17T04:01:28.515Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 17 03:56 doc [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 17 03:56 go.mod [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 17 03:56 go.sum [2022-09-17T04:01:28.515Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 03:56 internal [2022-09-17T04:01:28.515Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 03:56 snap [2022-09-17T04:01:28.515Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 17 03:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T04:01:28.916Z] + 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=fabcafb8c4a4f5502acad4fd27e1cf233dc77c24 --label arch=arm64 --label version=0.0.0 . [2022-09-17T04:01:29.530Z] Sending build context to Docker daemon 14.27MB [2022-09-17T04:01:29.530Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-17T04:01:29.530Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-17T04:01:29.530Z] ---> 4bd86f3596d7 [2022-09-17T04:01:29.530Z] Step 3/26 : ARG MAKE="make build" [2022-09-17T04:01:29.810Z] ---> Running in 2e2c12409e7c [2022-09-17T04:01:30.099Z] Removing intermediate container 2e2c12409e7c [2022-09-17T04:01:30.099Z] ---> 75496f50d753 [2022-09-17T04:01:30.099Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-17T04:01:30.373Z] ---> Running in 403ea1840059 [2022-09-17T04:01:30.647Z] Removing intermediate container 403ea1840059 [2022-09-17T04:01:30.647Z] ---> fd85685f3eb4 [2022-09-17T04:01:30.647Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-17T04:01:30.647Z] ---> Running in a7039f7c1f2c [2022-09-17T04:01:30.921Z] Removing intermediate container a7039f7c1f2c [2022-09-17T04:01:30.921Z] ---> 82f20037d935 [2022-09-17T04:01:30.921Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-17T04:01:30.921Z] ---> Running in d1bc1110a09c [2022-09-17T04:01:31.196Z] Removing intermediate container d1bc1110a09c [2022-09-17T04:01:31.196Z] ---> 67e2045df1bb [2022-09-17T04:01:31.196Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-17T04:01:31.483Z] ---> Running in df0156f5fc05 [2022-09-17T04:01:32.934Z] Removing intermediate container df0156f5fc05 [2022-09-17T04:01:32.934Z] ---> ccdda93fa70c [2022-09-17T04:01:32.934Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-17T04:01:33.210Z] ---> Running in f8d66e00b945 [2022-09-17T04:01:34.202Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-17T04:01:35.177Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-17T04:01:35.773Z] OK: 221 MiB in 51 packages [2022-09-17T04:01:36.782Z] Removing intermediate container f8d66e00b945 [2022-09-17T04:01:36.782Z] ---> cebd061f7bb0 [2022-09-17T04:01:36.782Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-17T04:01:36.782Z] ---> Running in 7f85495cac1c [2022-09-17T04:01:37.057Z] Removing intermediate container 7f85495cac1c [2022-09-17T04:01:37.057Z] ---> e93003c0cac6 [2022-09-17T04:01:37.057Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-17T04:01:37.673Z] ---> 4d78bc51dff9 [2022-09-17T04:01:37.673Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-17T04:01:37.673Z] ---> Running in 7163955c3563 [2022-09-17T04:01:39.654Z] Removing intermediate container 7163955c3563 [2022-09-17T04:01:39.654Z] ---> 425284ba17f0 [2022-09-17T04:01:39.654Z] Step 12/26 : COPY . . [2022-09-17T04:01:41.088Z] ---> 65652b007b09 [2022-09-17T04:01:41.088Z] Step 13/26 : RUN ${MAKE} [2022-09-17T04:01:41.088Z] ---> Running in bb810374671a [2022-09-17T04:01:42.068Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-17T04:04:04.023Z] Removing intermediate container bb810374671a [2022-09-17T04:04:04.023Z] ---> ca924c7028c3 [2022-09-17T04:04:04.023Z] Step 14/26 : FROM alpine:3.16 [2022-09-17T04:04:04.023Z] 3.16: Pulling from library/alpine [2022-09-17T04:04:04.023Z] 9b18e9b68314: Pulling fs layer [2022-09-17T04:04:04.023Z] 9b18e9b68314: Verifying Checksum [2022-09-17T04:04:04.023Z] 9b18e9b68314: Download complete [2022-09-17T04:04:04.023Z] 9b18e9b68314: Pull complete [2022-09-17T04:04:04.023Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-17T04:04:04.023Z] Status: Downloaded newer image for alpine:3.16 [2022-09-17T04:04:04.023Z] ---> a6215f271958 [2022-09-17T04:04:04.023Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-17T04:04:04.023Z] ---> Running in 7003dfbd150a [2022-09-17T04:04:04.023Z] Removing intermediate container 7003dfbd150a [2022-09-17T04:04:04.023Z] ---> 0a6e3697bd57 [2022-09-17T04:04:04.023Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-17T04:04:04.023Z] ---> Running in 6583b49dec76 [2022-09-17T04:04:04.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-17T04:04:04.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-17T04:04:04.023Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-17T04:04:04.023Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-17T04:04:04.023Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-17T04:04:04.023Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-17T04:04:04.023Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-17T04:04:04.023Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-17T04:04:04.023Z] Executing busybox-1.35.0-r17.trigger [2022-09-17T04:04:04.023Z] OK: 8 MiB in 20 packages [2022-09-17T04:04:04.023Z] Removing intermediate container 6583b49dec76 [2022-09-17T04:04:04.023Z] ---> 159c0d21b0c3 [2022-09-17T04:04:04.023Z] Step 17/26 : WORKDIR / [2022-09-17T04:04:04.023Z] ---> Running in 4ddc58c59b47 [2022-09-17T04:04:04.023Z] Removing intermediate container 4ddc58c59b47 [2022-09-17T04:04:04.023Z] ---> dc1329bd2603 [2022-09-17T04:04:04.023Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-17T04:04:04.023Z] ---> 2d0056baa761 [2022-09-17T04:04:04.023Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-17T04:04:04.023Z] ---> 65e065b8fb68 [2022-09-17T04:04:04.023Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-17T04:04:04.023Z] ---> 97c7020d8e7b [2022-09-17T04:04:04.023Z] Step 21/26 : EXPOSE 59984 [2022-09-17T04:04:04.023Z] ---> Running in 332a0f4caf75 [2022-09-17T04:04:04.023Z] Removing intermediate container 332a0f4caf75 [2022-09-17T04:04:04.023Z] ---> 66ae08f24735 [2022-09-17T04:04:04.023Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-17T04:04:04.023Z] ---> Running in 3b6a4381ebf8 [2022-09-17T04:04:04.023Z] Removing intermediate container 3b6a4381ebf8 [2022-09-17T04:04:04.023Z] ---> 6a12494f9259 [2022-09-17T04:04:04.023Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-17T04:04:04.023Z] ---> Running in f3aa0c76d158 [2022-09-17T04:04:04.023Z] Removing intermediate container f3aa0c76d158 [2022-09-17T04:04:04.023Z] ---> da7a07a8947b [2022-09-17T04:04:04.023Z] Step 24/26 : LABEL arch=arm64 [2022-09-17T04:04:04.023Z] ---> Running in 63bb988a62f9 [2022-09-17T04:04:04.023Z] Removing intermediate container 63bb988a62f9 [2022-09-17T04:04:04.023Z] ---> 1d5dc2e56fc5 [2022-09-17T04:04:04.023Z] Step 25/26 : LABEL git_sha=fabcafb8c4a4f5502acad4fd27e1cf233dc77c24 [2022-09-17T04:04:04.023Z] ---> Running in b7fb5c97cf49 [2022-09-17T04:04:04.023Z] Removing intermediate container b7fb5c97cf49 [2022-09-17T04:04:04.024Z] ---> ca802b105150 [2022-09-17T04:04:04.024Z] Step 26/26 : LABEL version=0.0.0 [2022-09-17T04:04:04.024Z] ---> Running in 64d38c7df068 [2022-09-17T04:04:04.024Z] Removing intermediate container 64d38c7df068 [2022-09-17T04:04:04.024Z] ---> 927de94d1358 [2022-09-17T04:04:04.024Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-17T04:04:04.024Z] Successfully built 927de94d1358 [2022-09-17T04:04:04.024Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T04:04:04.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-17T04:04:04.484Z] [2022-09-17T04:04:04.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T04:04:04.829Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-17T04:04:05.116Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-17T04:04:05.116Z] 8998bd30e6a1: Pulling fs layer [2022-09-17T04:04:05.116Z] 04944245beec: Pulling fs layer [2022-09-17T04:04:05.116Z] 699f458cf7ca: Pulling fs layer [2022-09-17T04:04:05.116Z] 765212b225bb: Pulling fs layer [2022-09-17T04:04:05.116Z] f23df028b6ca: Pulling fs layer [2022-09-17T04:04:05.116Z] d65c8cfc05b1: Pulling fs layer [2022-09-17T04:04:05.116Z] 2437ff75d9bd: Pulling fs layer [2022-09-17T04:04:05.116Z] 765212b225bb: Waiting [2022-09-17T04:04:05.116Z] f23df028b6ca: Waiting [2022-09-17T04:04:05.116Z] d65c8cfc05b1: Waiting [2022-09-17T04:04:05.116Z] 2437ff75d9bd: Waiting [2022-09-17T04:04:05.116Z] 04944245beec: Verifying Checksum [2022-09-17T04:04:05.116Z] 04944245beec: Download complete [2022-09-17T04:04:05.116Z] 765212b225bb: Verifying Checksum [2022-09-17T04:04:05.116Z] 765212b225bb: Download complete [2022-09-17T04:04:05.116Z] f23df028b6ca: Download complete [2022-09-17T04:04:05.116Z] d65c8cfc05b1: Verifying Checksum [2022-09-17T04:04:05.116Z] d65c8cfc05b1: Download complete [2022-09-17T04:04:05.393Z] 699f458cf7ca: Verifying Checksum [2022-09-17T04:04:05.393Z] 699f458cf7ca: Download complete [2022-09-17T04:04:05.665Z] 8998bd30e6a1: Download complete [2022-09-17T04:04:08.299Z] 2437ff75d9bd: Download complete [2022-09-17T04:04:09.735Z] 8998bd30e6a1: Pull complete [2022-09-17T04:04:10.334Z] 04944245beec: Pull complete [2022-09-17T04:04:11.783Z] 699f458cf7ca: Pull complete [2022-09-17T04:04:12.057Z] 765212b225bb: Pull complete [2022-09-17T04:04:13.036Z] f23df028b6ca: Pull complete [2022-09-17T04:04:13.036Z] d65c8cfc05b1: Pull complete [2022-09-17T04:04:28.134Z] 2437ff75d9bd: Pull complete [2022-09-17T04:04:28.134Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-17T04:04:28.134Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-17T04:04:28.134Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-17T04:04:28.400Z] prd-ubuntu20.04-docker-arm64-4c-16g-29713 does not seem to be running inside a container [2022-09-17T04:04:28.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-17T04:04:31.091Z] $ docker top 69e62a5084ec160e26dcb4fef8d833db26b0cf880ed718bf939c45c49c18ae0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-17T04:04:32.094Z] ---> job-cost.sh [2022-09-17T04:04:32.094Z] lf-activate-venv: SKIPPING [2022-09-17T04:04:32.094Z] INFO: No Stack... [2022-09-17T04:04:32.367Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-17T04:04:33.341Z] INFO: Archiving Costs [Pipeline] sh [2022-09-17T04:04:34.006Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [2022-09-17T04:04:34.006Z] + cut -d, -f6 [Pipeline] lock [2022-09-17T04:04:34.069Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-3-stack-cost] [2022-09-17T04:04:34.075Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-3-stack-cost] did not exist. Created. [2022-09-17T04:04:34.075Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-17T04:04:34.742Z] /w/workspace/device-onvif-camera/3@tmp/durable-e8f8cf2f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-17T04:04:35.411Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-17T04:04:35.438Z] Warning: overwriting stash ‘stack-cost’ [2022-09-17T04:04:35.494Z] Stashed 1 file(s) [Pipeline] } [2022-09-17T04:04:35.501Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-17T04:04:35.523Z] $ docker stop --time=1 69e62a5084ec160e26dcb4fef8d833db26b0cf880ed718bf939c45c49c18ae0a [2022-09-17T04:04:37.044Z] $ docker rm -f 69e62a5084ec160e26dcb4fef8d833db26b0cf880ed718bf939c45c49c18ae0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-17T04:04:37.498Z] provisioning config files... [2022-09-17T04:04:37.519Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config3161592102510831485tmp [Pipeline] { [Pipeline] sh [2022-09-17T04:04:37.823Z] + set +x [2022-09-17T04:04:37.823Z] + bash -s -- [2022-09-17T04:04:37.823Z] + curl -s https://codecov.io/bash [2022-09-17T04:04:37.823Z] [2022-09-17T04:04:37.823Z] _____ _ [2022-09-17T04:04:37.823Z] / ____| | | [2022-09-17T04:04:37.823Z] | | ___ __| | ___ ___ _____ __ [2022-09-17T04:04:37.823Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-17T04:04:37.824Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-17T04:04:37.824Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-17T04:04:37.824Z] Bash-1.0.6 [2022-09-17T04:04:37.824Z] [2022-09-17T04:04:37.824Z] [2022-09-17T04:04:37.824Z] ==> git version 2.25.1 found [2022-09-17T04:04:37.824Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-17T04:04:37.824Z] Release-Date: 2020-01-08 [2022-09-17T04:04:37.824Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-17T04:04:37.824Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-17T04:04:37.824Z] ==> Jenkins CI detected. [2022-09-17T04:04:37.824Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-161 [2022-09-17T04:04:37.824Z] project root: . [2022-09-17T04:04:37.824Z] --> token set from env [2022-09-17T04:04:37.824Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-17T04:04:37.824Z] ==> Running gcov in . (disable via -X gcov) [2022-09-17T04:04:37.824Z] ==> Python coveragepy not found [2022-09-17T04:04:37.824Z] ==> Searching for coverage reports in: [2022-09-17T04:04:37.824Z] + . [2022-09-17T04:04:37.824Z] -> Found 1 reports [2022-09-17T04:04:37.824Z] ==> Detecting git/mercurial file structure [2022-09-17T04:04:38.084Z] ==> Reading reports [2022-09-17T04:04:38.084Z] + ./coverage.out bytes=77283 [2022-09-17T04:04:38.084Z] ==> Appending adjustments [2022-09-17T04:04:38.084Z] https://docs.codecov.io/docs/fixing-reports [2022-09-17T04:04:38.084Z] + Found adjustments [2022-09-17T04:04:38.084Z] ==> Gzipping contents [2022-09-17T04:04:38.084Z] 12K /tmp/codecov.h7TSNM.gz [2022-09-17T04:04:38.084Z] ==> Uploading reports [2022-09-17T04:04:38.084Z] url: https://codecov.io [2022-09-17T04:04:38.084Z] query: branch=PR-161&commit=e2e4c8c2b3599cd0daeee61c77ab7372acd48187&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-17T04:04:38.084Z] -> Pinging Codecov [2022-09-17T04:04:38.084Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-161&commit=e2e4c8c2b3599cd0daeee61c77ab7372acd48187&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-17T04:04:38.345Z] -> Uploading to [2022-09-17T04:04:38.345Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-17/F29A59C45E3A92E06B3E522C9905F8EF/e2e4c8c2b3599cd0daeee61c77ab7372acd48187/8ea31b93-afbc-4074-afb6-e03f68bd5817.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220917%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220917T040438Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=22b8fc79e65d3d2708b974015a94629ed7ce4d0d8af10e93c95433d86e75996b [2022-09-17T04:04:38.607Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-17T04:04:38.607Z] Dload Upload Total Spent Left Speed [2022-09-17T04:04:38.607Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10539 0 0 100 10539 0 41821 --:--:-- --:--:-- --:--:-- 41821 [2022-09-17T04:04:38.875Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e2e4c8c2b3599cd0daeee61c77ab7372acd48187 [Pipeline] } [2022-09-17T04:04:38.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-17T04:04:39.673Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-161/archives ] [2022-09-17T04:04:39.674Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-17T04:04:39.674Z] total 16 [2022-09-17T04:04:39.674Z] drwxr-xr-x 3 root root 4096 Sep 17 03:56 . [2022-09-17T04:04:39.674Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 17 03:56 .. [2022-09-17T04:04:39.674Z] drwxr-xr-x 2 root root 4096 Sep 17 03:56 cost [2022-09-17T04:04:39.674Z] -rw-r--r-- 1 root root 91 Sep 17 03:56 cost.csv [2022-09-17T04:04:39.674Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-17T04:04:39.674Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-17T04:04:39.674Z] total 16 [2022-09-17T04:04:39.674Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 17 03:56 . [2022-09-17T04:04:39.674Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 17 03:56 .. [2022-09-17T04:04:39.674Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 17 03:56 cost [2022-09-17T04:04:39.674Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 17 03:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-17T04:04:39.967Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-17T04:04:40.833Z] ---> package-listing.sh [2022-09-17T04:04:40.833Z] ++ facter osfamily [2022-09-17T04:04:40.833Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-17T04:04:41.093Z] + OS_FAMILY=debian [2022-09-17T04:04:41.093Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-161 [2022-09-17T04:04:41.093Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-17T04:04:41.093Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-17T04:04:41.093Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-17T04:04:41.093Z] + PACKAGES=/tmp/packages_start.txt [2022-09-17T04:04:41.093Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-17T04:04:41.093Z] + PACKAGES=/tmp/packages_end.txt [2022-09-17T04:04:41.093Z] + case "${OS_FAMILY}" in [2022-09-17T04:04:41.093Z] + dpkg -l [2022-09-17T04:04:41.093Z] + grep '^ii' [2022-09-17T04:04:41.093Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-17T04:04:41.093Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-17T04:04:41.093Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-17T04:04:41.093Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-17T04:04:41.093Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-161/archives/ [2022-09-17T04:04:41.093Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-161/archives/ [Pipeline] echo [2022-09-17T04:04:41.105Z] 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-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-17T04:04:41.388Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T04:04:41.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-17T04:04:41.961Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-17T04:04:42.049Z] prd-ubuntu20.04-docker-8c-8g-29712 does not seem to be running inside a container [2022-09-17T04:04:42.094Z] $ 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-161/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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-17T04:04:42.315Z] $ docker top 9b1bea1a7017061c906b60571e812bd5f789396732ca6dbb472afa0c61589039 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-17T04:04:42.698Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-17T04:04:42.989Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-17T04:04:43.280Z] + ls /var/log/sa-host [2022-09-17T04:04:43.280Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-17T04:04:43.423Z] provisioning config files... [2022-09-17T04:04:43.434Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config1709974008451930586tmp [Pipeline] { [Pipeline] echo [2022-09-17T04:04:43.446Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-17T04:04:43.733Z] ---> create-netrc.sh [Pipeline] } [2022-09-17T04:04:43.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-17T04:04:44.079Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-17T04:04:44.089Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-17T04:04:44.380Z] ---> sudo-logs.sh [2022-09-17T04:04:44.380Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-17T04:04:44.407Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-17T04:04:44.696Z] ---> job-cost.sh [2022-09-17T04:04:44.696Z] lf-activate-venv: SKIPPING [2022-09-17T04:04:44.696Z] DEBUG: total: 0.2199999988079071 [2022-09-17T04:04:44.696Z] INFO: Retrieving Stack Cost... [2022-09-17T04:04:44.961Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-17T04:04:45.531Z] INFO: Archiving Costs [Pipeline] echo [2022-09-17T04:04:45.543Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-17T04:04:45.835Z] ---> logs-deploy.sh [2022-09-17T04:04:45.835Z] lf-activate-venv: SKIPPING [2022-09-17T04:04:45.835Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-161/3 [2022-09-17T04:04:45.835Z] INFO: archiving workspace using pattern(s): [2022-09-17T04:04:46.778Z] Archives upload complete. [2022-09-17T04:04:47.040Z] INFO: archiving logs to Nexus [2022-09-17T04:04:47.612Z] ---> uname -a: [2022-09-17T04:04:47.612Z] Linux prd-ubuntu20-04-docker-8c-8g-29712 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-09-17T04:04:47.612Z] [2022-09-17T04:04:47.612Z] [2022-09-17T04:04:47.612Z] ---> lscpu: [2022-09-17T04:04:47.612Z] Architecture: x86_64 [2022-09-17T04:04:47.612Z] CPU op-mode(s): 32-bit, 64-bit [2022-09-17T04:04:47.612Z] Byte Order: Little Endian [2022-09-17T04:04:47.612Z] Address sizes: 40 bits physical, 48 bits virtual [2022-09-17T04:04:47.612Z] CPU(s): 8 [2022-09-17T04:04:47.612Z] On-line CPU(s) list: 0-7 [2022-09-17T04:04:47.612Z] Thread(s) per core: 1 [2022-09-17T04:04:47.612Z] Core(s) per socket: 1 [2022-09-17T04:04:47.612Z] Socket(s): 8 [2022-09-17T04:04:47.612Z] NUMA node(s): 1 [2022-09-17T04:04:47.612Z] Vendor ID: AuthenticAMD [2022-09-17T04:04:47.612Z] CPU family: 23 [2022-09-17T04:04:47.612Z] Model: 49 [2022-09-17T04:04:47.612Z] Model name: AMD EPYC-Rome Processor [2022-09-17T04:04:47.612Z] Stepping: 0 [2022-09-17T04:04:47.612Z] CPU MHz: 2799.998 [2022-09-17T04:04:47.612Z] BogoMIPS: 5599.99 [2022-09-17T04:04:47.612Z] Virtualization: AMD-V [2022-09-17T04:04:47.612Z] Hypervisor vendor: KVM [2022-09-17T04:04:47.612Z] Virtualization type: full [2022-09-17T04:04:47.612Z] L1d cache: 256 KiB [2022-09-17T04:04:47.612Z] L1i cache: 256 KiB [2022-09-17T04:04:47.612Z] L2 cache: 4 MiB [2022-09-17T04:04:47.612Z] L3 cache: 128 MiB [2022-09-17T04:04:47.612Z] NUMA node0 CPU(s): 0-7 [2022-09-17T04:04:47.612Z] Vulnerability Itlb multihit: Not affected [2022-09-17T04:04:47.612Z] Vulnerability L1tf: Not affected [2022-09-17T04:04:47.612Z] Vulnerability Mds: Not affected [2022-09-17T04:04:47.612Z] Vulnerability Meltdown: Not affected [2022-09-17T04:04:47.612Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-09-17T04:04:47.612Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-09-17T04:04:47.612Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-09-17T04:04:47.612Z] Vulnerability Srbds: Not affected [2022-09-17T04:04:47.612Z] Vulnerability Tsx async abort: Not affected [2022-09-17T04:04:47.612Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-09-17T04:04:47.612Z] [2022-09-17T04:04:47.612Z] [2022-09-17T04:04:47.612Z] ---> nproc: [2022-09-17T04:04:47.612Z] 8 [2022-09-17T04:04:47.612Z] [2022-09-17T04:04:47.612Z] [2022-09-17T04:04:47.612Z] ---> df -h: [2022-09-17T04:04:47.612Z] Filesystem Size Used Avail Use% Mounted on [2022-09-17T04:04:47.612Z] overlay 155G 11G 145G 8% / [2022-09-17T04:04:47.612Z] tmpfs 64M 0 64M 0% /dev [2022-09-17T04:04:47.612Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-09-17T04:04:47.612Z] shm 64M 0 64M 0% /dev/shm [2022-09-17T04:04:47.612Z] /dev/vda1 155G 11G 145G 8% /facter-os [2022-09-17T04:04:47.612Z] [2022-09-17T04:04:47.612Z]