Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 35e36fe490a7d7a1e97f3b24aeec797b9423c911 rather than b17f1348cf1c3f347b135c9352a2a32642543706 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-ssh13386624377162543556.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-ssh1650672680569720286.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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12312206460739465540.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-ssh11689716554826937577.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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10127942022199657124.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-29041 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-125 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 5a500f3af249ca31a50e6950c78d688de8286884 Checking out Revision 5a500f3af249ca31a50e6950c78d688de8286884 (PR-125) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a500f3af249ca31a50e6950c78d688de8286884 # timeout=10 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-13T10:11:17.304Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-13T10:11:17.365Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-13T10:11:17.376Z] ========================================================= [2022-09-13T10:11:17.376Z] EdgeX Global Pipelines Version Info [2022-09-13T10:11:17.376Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4011d92071821723e5beaaf815fca455878a89cc # timeout=10 [2022-09-13T10:11:18.116Z] ------------------- [2022-09-13T10:11:18.116Z] stable info: [2022-09-13T10:11:18.116Z] ------------------- [2022-09-13T10:11:18.116Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-13T10:11:18.116Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-13T10:11:18.116Z] Message: update stable to v1.0.239 [2022-09-13T10:11:18.689Z] ------------------- [2022-09-13T10:11:18.689Z] experimental info: [2022-09-13T10:11:18.689Z] ------------------- [2022-09-13T10:11:18.689Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-13T10:11:18.689Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-13T10:11:18.689Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-13T10:11:18.881Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-13T10:11:18.893Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-13T10:11:18.902Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-13T10:11:18.910Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-13T10:11:18.918Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-13T10:11:18.925Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-13T10:11:18.933Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-13T10:11:18.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-13T10:11:18.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-13T10:11:18.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-13T10:11:18.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-13T10:11:18.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-13T10:11:19.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-13T10:11:19.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-13T10:11:19.036Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-13T10:11:19.045Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-13T10:11:19.058Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-13T10:11:19.070Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-13T10:11:19.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-13T10:11:19.088Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-13T10:11:19.096Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-13T10:11:19.105Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-13T10:11:19.114Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-13T10:11:19.134Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-13T10:11:19.154Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-13T10:11:19.169Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-13T10:11:19.187Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-13T10:11:19.199Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-09-13T10:11:19.211Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-09-13T10:11:19.223Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-09-13T10:11:19.239Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a500f3af249ca31a50e6950c78d688de8286884 [Pipeline] echo [2022-09-13T10:11:19.254Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a500f3 [Pipeline] echo [2022-09-13T10:11:19.270Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-13T10:11:19.324Z] provisioning config files... [2022-09-13T10:11:19.339Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config2457964827180141165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:11:19.639Z] ---> docker-login.sh [2022-09-13T10:11:19.639Z] nexus3.edgexfoundry.org:10001 [2022-09-13T10:11:19.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:11:19.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:11:19.903Z] Configure a credential helper to remove this warning. See [2022-09-13T10:11:19.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:11:19.903Z] [2022-09-13T10:11:19.903Z] Login Succeeded [2022-09-13T10:11:19.903Z] nexus3.edgexfoundry.org:10002 [2022-09-13T10:11:19.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:11:20.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:11:20.165Z] Configure a credential helper to remove this warning. See [2022-09-13T10:11:20.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:11:20.165Z] [2022-09-13T10:11:20.165Z] Login Succeeded [2022-09-13T10:11:20.165Z] nexus3.edgexfoundry.org:10003 [2022-09-13T10:11:20.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:11:20.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:11:20.165Z] Configure a credential helper to remove this warning. See [2022-09-13T10:11:20.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:11:20.165Z] [2022-09-13T10:11:20.165Z] Login Succeeded [2022-09-13T10:11:20.165Z] nexus3.edgexfoundry.org:10004 [2022-09-13T10:11:20.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:11:20.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:11:20.426Z] Configure a credential helper to remove this warning. See [2022-09-13T10:11:20.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:11:20.426Z] [2022-09-13T10:11:20.426Z] Login Succeeded [2022-09-13T10:11:20.426Z] docker.io [2022-09-13T10:11:20.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:11:20.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:11:20.687Z] Configure a credential helper to remove this warning. See [2022-09-13T10:11:20.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:11:20.687Z] [2022-09-13T10:11:20.687Z] Login Succeeded [2022-09-13T10:11:20.687Z] ---> docker-login.sh ends [Pipeline] } [2022-09-13T10:11:20.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-13T10:11:21.075Z] + git rev-list -1 --merges 5a500f3af249ca31a50e6950c78d688de8286884~1..5a500f3af249ca31a50e6950c78d688de8286884 [Pipeline] echo [2022-09-13T10:11:21.103Z] -----------> git rev-list -1 --merges 5a500f3af249ca31a50e6950c78d688de8286884~1..5a500f3af249ca31a50e6950c78d688de8286884 5a500f3af249ca31a50e6950c78d688de8286884 [2022-09-13T10:11:21.103Z] 5a500f3af249ca31a50e6950c78d688de8286884 [false] [Pipeline] sh [2022-09-13T10:11:21.395Z] + git log --format=format:%s -1 5a500f3af249ca31a50e6950c78d688de8286884 [Pipeline] echo [2022-09-13T10:11:21.412Z] ========================================================= [2022-09-13T10:11:21.412Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-13T10:11:21.412Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-13T10:11:21.748Z] + git log --format=format:%s -1 5a500f3af249ca31a50e6950c78d688de8286884 [Pipeline] echo [2022-09-13T10:11:21.761Z] [semverPrep] GIT_COMMIT: 5a500f3af249ca31a50e6950c78d688de8286884, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo [2022-09-13T10:11:21.769Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-13T10:11:22.115Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-13T10:11:22.115Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-13T10:11:22.115Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-13T10:11:22.115Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-13T10:11:22.115Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-13T10:11:22.115Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-13T10:11:22.115Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:11:22.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-13T10:11:22.464Z] [2022-09-13T10:11:22.464Z] 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-13T10:11:22.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-13T10:11:22.767Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-13T10:11:22.767Z] b85a868b505f: Pulling fs layer [2022-09-13T10:11:22.767Z] e2be974225ed: Pulling fs layer [2022-09-13T10:11:22.767Z] 339a4e72a1f5: Pulling fs layer [2022-09-13T10:11:22.767Z] 988bab9f4d93: Pulling fs layer [2022-09-13T10:11:22.767Z] 1469e6f7b9e6: Pulling fs layer [2022-09-13T10:11:22.767Z] eaf3925da568: Pulling fs layer [2022-09-13T10:11:22.767Z] bab4dde63d76: Pulling fs layer [2022-09-13T10:11:22.767Z] bde34c3a00c8: Pulling fs layer [2022-09-13T10:11:22.767Z] b352a97aabf1: Pulling fs layer [2022-09-13T10:11:22.767Z] 4872d77fe225: Pulling fs layer [2022-09-13T10:11:22.767Z] 5851b861e8e6: Pulling fs layer [2022-09-13T10:11:22.767Z] bab4dde63d76: Waiting [2022-09-13T10:11:22.767Z] bde34c3a00c8: Waiting [2022-09-13T10:11:22.767Z] b352a97aabf1: Waiting [2022-09-13T10:11:22.767Z] 4872d77fe225: Waiting [2022-09-13T10:11:22.767Z] 5851b861e8e6: Waiting [2022-09-13T10:11:22.767Z] 988bab9f4d93: Waiting [2022-09-13T10:11:22.767Z] 1469e6f7b9e6: Waiting [2022-09-13T10:11:22.767Z] eaf3925da568: Waiting [2022-09-13T10:11:22.767Z] e2be974225ed: Download complete [2022-09-13T10:11:22.767Z] 988bab9f4d93: Verifying Checksum [2022-09-13T10:11:22.767Z] 988bab9f4d93: Download complete [2022-09-13T10:11:22.767Z] 1469e6f7b9e6: Verifying Checksum [2022-09-13T10:11:22.767Z] 1469e6f7b9e6: Download complete [2022-09-13T10:11:23.028Z] eaf3925da568: Download complete [2022-09-13T10:11:23.028Z] 339a4e72a1f5: Verifying Checksum [2022-09-13T10:11:23.028Z] 339a4e72a1f5: Download complete [2022-09-13T10:11:23.028Z] bde34c3a00c8: Verifying Checksum [2022-09-13T10:11:23.028Z] bde34c3a00c8: Download complete [2022-09-13T10:11:23.028Z] b352a97aabf1: Download complete [2022-09-13T10:11:23.028Z] 4872d77fe225: Verifying Checksum [2022-09-13T10:11:23.028Z] 4872d77fe225: Download complete [2022-09-13T10:11:23.028Z] 5851b861e8e6: Verifying Checksum [2022-09-13T10:11:23.029Z] 5851b861e8e6: Download complete [2022-09-13T10:11:23.029Z] b85a868b505f: Verifying Checksum [2022-09-13T10:11:23.029Z] b85a868b505f: Download complete [2022-09-13T10:11:23.288Z] bab4dde63d76: Verifying Checksum [2022-09-13T10:11:23.288Z] bab4dde63d76: Download complete [2022-09-13T10:11:24.224Z] b85a868b505f: Pull complete [2022-09-13T10:11:24.482Z] e2be974225ed: Pull complete [2022-09-13T10:11:24.744Z] 339a4e72a1f5: Pull complete [2022-09-13T10:11:25.004Z] 988bab9f4d93: Pull complete [2022-09-13T10:11:25.266Z] 1469e6f7b9e6: Pull complete [2022-09-13T10:11:25.266Z] eaf3925da568: Pull complete [2022-09-13T10:11:27.174Z] bab4dde63d76: Pull complete [2022-09-13T10:11:27.174Z] bde34c3a00c8: Pull complete [2022-09-13T10:11:27.174Z] b352a97aabf1: Pull complete [2022-09-13T10:11:27.174Z] 4872d77fe225: Pull complete [2022-09-13T10:11:27.174Z] 5851b861e8e6: Pull complete [2022-09-13T10:11:27.174Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-13T10:11:27.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-13T10:11:27.174Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:11:27.271Z] prd-ubuntu20.04-docker-8c-8g-29041 does not seem to be running inside a container [2022-09-13T10:11:27.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-13T10:11:28.560Z] $ docker top f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 -eo pid,comm [2022-09-13T10:11:28.636Z] 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-13T10:11:28.636Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-13T10:11:28.671Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-13T10:11:28.671Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-13T10:11:28.816Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-13T10:11:28.822Z] $ docker exec f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 ssh-agent [2022-09-13T10:11:28.958Z] SSH_AUTH_SOCK=/tmp/ssh-iexQyoBDpUty/agent.33 [2022-09-13T10:11:28.958Z] SSH_AGENT_PID=39 [2022-09-13T10:11:28.964Z] Running ssh-add (command line suppressed) [2022-09-13T10:11:29.090Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3046576905721385030.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3046576905721385030.key) [2022-09-13T10:11:29.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-13T10:11:29.396Z] + git tag --points-at HEAD [Pipeline] } [2022-09-13T10:11:29.419Z] $ docker exec --env ******** --env ******** f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 ssh-agent -k [2022-09-13T10:11:29.521Z] unset SSH_AUTH_SOCK; [2022-09-13T10:11:29.522Z] unset SSH_AGENT_PID; [2022-09-13T10:11:29.522Z] echo Agent pid 39 killed; [2022-09-13T10:11:29.530Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-13T10:11:29.556Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-13T10:11:29.556Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-13T10:11:29.699Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-13T10:11:29.705Z] $ docker exec f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 ssh-agent [2022-09-13T10:11:29.817Z] SSH_AUTH_SOCK=/tmp/ssh-KHkkHnxmXMWE/agent.72 [2022-09-13T10:11:29.817Z] SSH_AGENT_PID=78 [2022-09-13T10:11:29.824Z] Running ssh-add (command line suppressed) [2022-09-13T10:11:29.967Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4002831199659976984.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4002831199659976984.key) [2022-09-13T10:11:29.982Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-13T10:11:30.272Z] + git semver init [2022-09-13T10:11:30.534Z] 2022-09-13 10:11:30,474 [run_init] DEBUG init version:0.0.0 force:False [2022-09-13T10:11:30.534Z] 2022-09-13 10:11:30,475 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-09-13T10:11:30.534Z] 2022-09-13 10:11:30,475 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-09-13T10:11:30.534Z] 2022-09-13 10:11:30,476 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-09-13T10:11:31.475Z] 2022-09-13 10:11:31,437 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-09-13T10:11:31.475Z] 2022-09-13 10:11:31,438 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-09-13T10:11:31.475Z] 2022-09-13 10:11:31,438 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-09-13T10:11:31.475Z] 2022-09-13 10:11:31,442 [execute] INFO git cat-file --batch-check [2022-09-13T10:11:31.475Z] 2022-09-13 10:11:31,442 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-09-13T10:11:31.475Z] 2022-09-13 10:11:31,448 [execute] INFO git cat-file --batch [2022-09-13T10:11:31.475Z] 2022-09-13 10:11:31,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-09-13T10:11:31.475Z] 2022-09-13 10:11:31,453 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-09-13T10:11:31.475Z] 0.0.0 [Pipeline] } [2022-09-13T10:11:31.487Z] $ docker exec --env ******** --env ******** f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 ssh-agent -k [2022-09-13T10:11:31.584Z] unset SSH_AUTH_SOCK; [2022-09-13T10:11:31.585Z] unset SSH_AGENT_PID; [2022-09-13T10:11:31.585Z] echo Agent pid 78 killed; [2022-09-13T10:11:31.595Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-13T10:11:31.902Z] + git semver [Pipeline] } [2022-09-13T10:11:32.176Z] $ docker stop --time=1 f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 [2022-09-13T10:11:33.437Z] $ docker rm -f f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-13T10:11:33.793Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-13T10:11:34.049Z] Stashed 1 file(s) [Pipeline] echo [2022-09-13T10:11:34.052Z] [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-13T10:11:34.204Z] provisioning config files... [2022-09-13T10:11:34.214Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7198271071482421509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:11:34.528Z] ---> docker-login.sh [2022-09-13T10:11:34.528Z] nexus3.edgexfoundry.org:10001 [2022-09-13T10:11:34.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:11:34.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:11:34.528Z] Configure a credential helper to remove this warning. See [2022-09-13T10:11:34.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:11:34.528Z] [2022-09-13T10:11:34.528Z] Login Succeeded [2022-09-13T10:11:34.528Z] nexus3.edgexfoundry.org:10002 [2022-09-13T10:11:34.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:11:34.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:11:34.528Z] Configure a credential helper to remove this warning. See [2022-09-13T10:11:34.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:11:34.528Z] [2022-09-13T10:11:34.528Z] Login Succeeded [2022-09-13T10:11:34.528Z] nexus3.edgexfoundry.org:10003 [2022-09-13T10:11:34.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:11:34.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:11:34.788Z] Configure a credential helper to remove this warning. See [2022-09-13T10:11:34.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:11:34.788Z] [2022-09-13T10:11:34.788Z] Login Succeeded [2022-09-13T10:11:34.788Z] nexus3.edgexfoundry.org:10004 [2022-09-13T10:11:34.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:11:35.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:11:35.048Z] Configure a credential helper to remove this warning. See [2022-09-13T10:11:35.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:11:35.048Z] [2022-09-13T10:11:35.048Z] Login Succeeded [2022-09-13T10:11:35.048Z] docker.io [2022-09-13T10:11:35.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:11:35.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:11:35.309Z] Configure a credential helper to remove this warning. See [2022-09-13T10:11:35.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:11:35.309Z] [2022-09-13T10:11:35.309Z] Login Succeeded [2022-09-13T10:11:35.309Z] ---> docker-login.sh ends [Pipeline] } [2022-09-13T10:11:35.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-13T10:11:35.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-13T10:11:35.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-13T10:11:35.411Z] ========================================================= [2022-09-13T10:11:35.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-13T10:11:35.411Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:11:35.727Z] + 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-13T10:11:35.727Z] Sending build context to Docker daemon 20.65MB [2022-09-13T10:11:35.727Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-13T10:11:35.727Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-13T10:11:35.987Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-13T10:11:35.987Z] 2408cc74d12b: Pulling fs layer [2022-09-13T10:11:35.987Z] ea60b727a1ce: Pulling fs layer [2022-09-13T10:11:35.987Z] 30c4a7721957: Pulling fs layer [2022-09-13T10:11:35.987Z] 370296b7ddb6: Pulling fs layer [2022-09-13T10:11:35.987Z] 7c6cee850709: Pulling fs layer [2022-09-13T10:11:35.987Z] 39a5fcdaea64: Pulling fs layer [2022-09-13T10:11:35.987Z] d94ebbe4e438: Pulling fs layer [2022-09-13T10:11:35.987Z] bcfd1f05c69d: Pulling fs layer [2022-09-13T10:11:35.987Z] 59ccb84bbe0f: Pulling fs layer [2022-09-13T10:11:35.987Z] 370296b7ddb6: Waiting [2022-09-13T10:11:35.987Z] d94ebbe4e438: Waiting [2022-09-13T10:11:35.987Z] 7c6cee850709: Waiting [2022-09-13T10:11:35.987Z] 39a5fcdaea64: Waiting [2022-09-13T10:11:35.987Z] bcfd1f05c69d: Waiting [2022-09-13T10:11:35.987Z] 59ccb84bbe0f: Waiting [2022-09-13T10:11:35.987Z] 30c4a7721957: Verifying Checksum [2022-09-13T10:11:35.987Z] 30c4a7721957: Download complete [2022-09-13T10:11:35.987Z] ea60b727a1ce: Download complete [2022-09-13T10:11:35.987Z] 7c6cee850709: Verifying Checksum [2022-09-13T10:11:35.987Z] 7c6cee850709: Download complete [2022-09-13T10:11:35.987Z] 39a5fcdaea64: Verifying Checksum [2022-09-13T10:11:35.987Z] 39a5fcdaea64: Download complete [2022-09-13T10:11:35.987Z] 2408cc74d12b: Verifying Checksum [2022-09-13T10:11:35.987Z] d94ebbe4e438: Verifying Checksum [2022-09-13T10:11:35.987Z] 2408cc74d12b: Pull complete [2022-09-13T10:11:36.247Z] ea60b727a1ce: Pull complete [2022-09-13T10:11:36.247Z] 30c4a7721957: Pull complete [2022-09-13T10:11:36.506Z] 59ccb84bbe0f: Verifying Checksum [2022-09-13T10:11:36.506Z] 59ccb84bbe0f: Download complete [2022-09-13T10:11:36.766Z] 370296b7ddb6: Download complete [2022-09-13T10:11:36.766Z] bcfd1f05c69d: Download complete [2022-09-13T10:11:40.962Z] 370296b7ddb6: Pull complete [2022-09-13T10:11:40.962Z] 7c6cee850709: Pull complete [2022-09-13T10:11:40.962Z] 39a5fcdaea64: Pull complete [2022-09-13T10:11:40.962Z] d94ebbe4e438: Pull complete [2022-09-13T10:11:43.077Z] bcfd1f05c69d: Pull complete [2022-09-13T10:11:43.337Z] 59ccb84bbe0f: Pull complete [2022-09-13T10:11:43.337Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-13T10:11:43.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-13T10:11:43.337Z] ---> a4fb48ad2a94 [2022-09-13T10:11:43.337Z] Step 3/13 : ARG MAKE="make build" [2022-09-13T10:11:45.250Z] ---> Running in d4c50d436c1a [2022-09-13T10:11:45.250Z] Removing intermediate container d4c50d436c1a [2022-09-13T10:11:45.250Z] ---> 2639f9155579 [2022-09-13T10:11:45.250Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-13T10:11:45.250Z] ---> Running in c241c54c6e94 [2022-09-13T10:11:45.250Z] Removing intermediate container c241c54c6e94 [2022-09-13T10:11:45.250Z] ---> 9464241151a0 [2022-09-13T10:11:45.250Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-13T10:11:45.250Z] ---> Running in da00ebe1983a [2022-09-13T10:11:45.250Z] Removing intermediate container da00ebe1983a [2022-09-13T10:11:45.250Z] ---> fcbf61c3a8c5 [2022-09-13T10:11:45.250Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-13T10:11:45.250Z] ---> Running in 969ff3ab6be6 [2022-09-13T10:11:45.510Z] Removing intermediate container 969ff3ab6be6 [2022-09-13T10:11:45.510Z] ---> 49fad605472d [2022-09-13T10:11:45.510Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-13T10:11:45.510Z] ---> Running in def8a3119723 [2022-09-13T10:11:46.080Z] Removing intermediate container def8a3119723 [2022-09-13T10:11:46.080Z] ---> 1550814b5dce [2022-09-13T10:11:46.080Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-13T10:11:46.080Z] ---> Running in 4f80eb7b0ed6 [2022-09-13T10:11:46.339Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-13T10:11:47.282Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-13T10:11:47.542Z] OK: 211 MiB in 51 packages [2022-09-13T10:11:47.801Z] Removing intermediate container 4f80eb7b0ed6 [2022-09-13T10:11:47.801Z] ---> 3a118a0355f1 [2022-09-13T10:11:47.801Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-13T10:11:47.801Z] ---> Running in c3c8da15e5b4 [2022-09-13T10:11:47.801Z] Removing intermediate container c3c8da15e5b4 [2022-09-13T10:11:47.801Z] ---> 10eb93576d52 [2022-09-13T10:11:47.801Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-13T10:11:48.062Z] ---> 11e1fcf94d54 [2022-09-13T10:11:48.062Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-13T10:11:48.062Z] ---> Running in a82f8ecf477f [2022-09-13T10:11:49.161Z] Still waiting to schedule task [2022-09-13T10:11:49.162Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-29042’ is offline [2022-09-13T10:12:02.965Z] Removing intermediate container a82f8ecf477f [2022-09-13T10:12:02.965Z] ---> 6411bf7e1f4e [2022-09-13T10:12:02.965Z] Step 12/13 : COPY . . [2022-09-13T10:12:02.965Z] ---> f3b404227d6d [2022-09-13T10:12:02.965Z] Step 13/13 : RUN ${MAKE} [2022-09-13T10:12:02.965Z] ---> Running in c124e5480e6e [2022-09-13T10:12:02.965Z] noop [2022-09-13T10:12:02.965Z] Removing intermediate container c124e5480e6e [2022-09-13T10:12:02.965Z] ---> eb67f603ece7 [2022-09-13T10:12:02.965Z] Successfully built eb67f603ece7 [2022-09-13T10:12:02.965Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:12:03.288Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-13T10:12:03.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:12:03.367Z] prd-ubuntu20.04-docker-8c-8g-29041 does not seem to be running inside a container [2022-09-13T10:12:03.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-13T10:12:03.752Z] $ docker top a9fc4770868474ff25808e2a5b957ea2291ee6276f249fcb2744d7e233ae36bf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-13T10:12:04.108Z] + go version [2022-09-13T10:12:04.108Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-13T10:12:04.122Z] $ docker stop --time=1 a9fc4770868474ff25808e2a5b957ea2291ee6276f249fcb2744d7e233ae36bf [2022-09-13T10:12:05.373Z] $ docker rm -f a9fc4770868474ff25808e2a5b957ea2291ee6276f249fcb2744d7e233ae36bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:12:05.795Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-13T10:12:05.795Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:12:05.880Z] prd-ubuntu20.04-docker-8c-8g-29041 does not seem to be running inside a container [2022-09-13T10:12:05.920Z] $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-13T10:12:06.254Z] $ docker top 0ff70b025b3253e9e7f97b294ad373518fe9a23b105ccbaeabc38115b2a367a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-13T10:12:06.654Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-09-13T10:12:06.959Z] + make test [2022-09-13T10:12:06.959Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-13T10:12:07.217Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-13T10:12:17.197Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-13T10:12:17.197Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.030s coverage: 28.6% of statements [2022-09-13T10:12:17.197Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-13T10:12:20.491Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.842s coverage: 13.8% of statements [2022-09-13T10:12:27.057Z] 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-13T10:12:27.057Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-13T10:12:29.592Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-13T10:12:29.592Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-13T10:12:29.592Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-13T10:12:29.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-13T10:12:29.873Z] $ docker stop --time=1 0ff70b025b3253e9e7f97b294ad373518fe9a23b105ccbaeabc38115b2a367a2 [2022-09-13T10:12:31.554Z] $ docker rm -f 0ff70b025b3253e9e7f97b294ad373518fe9a23b105ccbaeabc38115b2a367a2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-13T10:12:32.008Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-13T10:12:32.055Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-13T10:12:32.485Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-13T10:12:32.783Z] + ls -al . [2022-09-13T10:12:32.783Z] total 232 [2022-09-13T10:12:32.783Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 13 10:12 . [2022-09-13T10:12:32.783Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:11 .. [2022-09-13T10:12:32.783Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 13 10:12 .git [2022-09-13T10:12:32.783Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 10:11 .github [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 13 10:11 .gitignore [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 13 10:11 .golangci.yml [2022-09-13T10:12:32.783Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 13 10:11 .semver [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 13 10:11 Attribution.txt [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 13 10:11 CHANGELOG.md [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 1742 Sep 13 10:11 Dockerfile [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 13 10:11 GOVERNANCE.md [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 13 10:11 Jenkinsfile [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 13 10:11 LICENSE [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 13 10:11 Makefile [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 13 10:11 OWNERS.md [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 13 10:11 README.md [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 13 10:11 VERSION [2022-09-13T10:12:32.783Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 13 10:11 bin [2022-09-13T10:12:32.783Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 10:11 cmd [2022-09-13T10:12:32.783Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 13 10:12 coverage.out [2022-09-13T10:12:32.783Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 13 10:11 doc [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 13 10:11 go.mod [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 13 10:11 go.sum [2022-09-13T10:12:32.783Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:11 internal [2022-09-13T10:12:32.783Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:11 snap [2022-09-13T10:12:32.783Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 13 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:12:33.101Z] + 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=5a500f3af249ca31a50e6950c78d688de8286884 --label arch=amd64 --label version=0.0.0 . [2022-09-13T10:12:33.101Z] Sending build context to Docker daemon 20.73MB [2022-09-13T10:12:33.101Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-13T10:12:33.101Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-13T10:12:33.101Z] ---> eb67f603ece7 [2022-09-13T10:12:33.101Z] Step 3/27 : ARG MAKE="make build" [2022-09-13T10:12:33.101Z] ---> Running in 167590411e55 [2022-09-13T10:12:33.360Z] Removing intermediate container 167590411e55 [2022-09-13T10:12:33.360Z] ---> d3e7f3a3d145 [2022-09-13T10:12:33.360Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-13T10:12:33.360Z] ---> Running in 5a1e0c6d504c [2022-09-13T10:12:33.360Z] Removing intermediate container 5a1e0c6d504c [2022-09-13T10:12:33.360Z] ---> 3d03a02295e2 [2022-09-13T10:12:33.360Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-13T10:12:33.360Z] ---> Running in 1b4e5b6ee0c9 [2022-09-13T10:12:33.360Z] Removing intermediate container 1b4e5b6ee0c9 [2022-09-13T10:12:33.360Z] ---> ee66d4265cb8 [2022-09-13T10:12:33.360Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-09-13T10:12:33.619Z] ---> Running in 2736d98a4b7d [2022-09-13T10:12:33.619Z] Removing intermediate container 2736d98a4b7d [2022-09-13T10:12:33.619Z] ---> d62391ea0773 [2022-09-13T10:12:33.619Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-13T10:12:33.619Z] ---> Running in 88a1f1377cab [2022-09-13T10:12:34.187Z] Removing intermediate container 88a1f1377cab [2022-09-13T10:12:34.187Z] ---> ed420e3fc299 [2022-09-13T10:12:34.187Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-13T10:12:34.187Z] ---> Running in eb49239151c8 [2022-09-13T10:12:34.447Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-13T10:12:35.389Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-13T10:12:35.389Z] OK: 211 MiB in 51 packages [2022-09-13T10:12:35.649Z] Removing intermediate container eb49239151c8 [2022-09-13T10:12:35.649Z] ---> 954143d899aa [2022-09-13T10:12:35.649Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-09-13T10:12:35.907Z] ---> Running in 7584cfc29e24 [2022-09-13T10:12:35.907Z] Removing intermediate container 7584cfc29e24 [2022-09-13T10:12:35.907Z] ---> d675cf7fbfb6 [2022-09-13T10:12:35.907Z] Step 10/27 : COPY go.mod vendor* ./ [2022-09-13T10:12:35.907Z] ---> a6531557ca31 [2022-09-13T10:12:35.907Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-13T10:12:35.907Z] ---> Running in 01b65607ea61 [2022-09-13T10:12:36.477Z] Removing intermediate container 01b65607ea61 [2022-09-13T10:12:36.477Z] ---> 078d86682d56 [2022-09-13T10:12:36.477Z] Step 12/27 : COPY . . [2022-09-13T10:12:37.044Z] ---> efba8bae5b8b [2022-09-13T10:12:37.044Z] Step 13/27 : RUN ${MAKE} [2022-09-13T10:12:37.044Z] ---> Running in 7fae1195c43e [2022-09-13T10:12:37.303Z] 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-13T10:12:59.266Z] Removing intermediate container 7fae1195c43e [2022-09-13T10:12:59.266Z] ---> c075b9cf0469 [2022-09-13T10:12:59.266Z] Step 14/27 : FROM alpine:3.16 [2022-09-13T10:12:59.266Z] 3.16: Pulling from library/alpine [2022-09-13T10:12:59.266Z] 213ec9aee27d: Pulling fs layer [2022-09-13T10:12:59.266Z] 213ec9aee27d: Verifying Checksum [2022-09-13T10:12:59.266Z] 213ec9aee27d: Download complete [2022-09-13T10:12:59.266Z] 213ec9aee27d: Pull complete [2022-09-13T10:12:59.266Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-13T10:12:59.266Z] Status: Downloaded newer image for alpine:3.16 [2022-09-13T10:12:59.266Z] ---> 9c6f07244728 [2022-09-13T10:12:59.266Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-13T10:12:59.266Z] ---> Running in 48da1596bb33 [2022-09-13T10:12:59.266Z] Removing intermediate container 48da1596bb33 [2022-09-13T10:12:59.266Z] ---> 14cd0e1fa101 [2022-09-13T10:12:59.266Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-09-13T10:12:59.266Z] ---> Running in 935c03efbcd4 [2022-09-13T10:12:59.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-13T10:12:59.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-13T10:12:59.266Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-13T10:12:59.266Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-13T10:12:59.266Z] (3/21) Installing readline (8.1.2-r0) [2022-09-13T10:12:59.266Z] (4/21) Installing bash (5.1.16-r2) [2022-09-13T10:12:59.266Z] Executing bash-5.1.16-r2.post-install [2022-09-13T10:12:59.266Z] (5/21) Installing ca-certificates (20220614-r0) [2022-09-13T10:12:59.266Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-09-13T10:12:59.266Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-09-13T10:12:59.266Z] (8/21) Installing libcurl (7.83.1-r3) [2022-09-13T10:12:59.266Z] (9/21) Installing curl (7.83.1-r3) [2022-09-13T10:12:59.266Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-09-13T10:12:59.266Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-09-13T10:12:59.266Z] (12/21) Installing jq (1.6-r1) [2022-09-13T10:12:59.266Z] (13/21) Installing popt (1.18-r0) [2022-09-13T10:12:59.266Z] (14/21) Installing pcre (8.45-r2) [2022-09-13T10:12:59.266Z] (15/21) Installing slang (2.3.2-r0) [2022-09-13T10:12:59.266Z] (16/21) Installing newt (0.52.21-r2) [2022-09-13T10:12:59.266Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-09-13T10:12:59.267Z] (18/21) Installing libsodium (1.0.18-r0) [2022-09-13T10:12:59.267Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-13T10:12:59.267Z] (20/21) Installing libzmq (4.3.4-r0) [2022-09-13T10:12:59.267Z] (21/21) Installing zeromq (4.3.4-r0) [2022-09-13T10:12:59.267Z] Executing busybox-1.35.0-r17.trigger [2022-09-13T10:12:59.267Z] Executing ca-certificates-20220614-r0.trigger [2022-09-13T10:12:59.267Z] OK: 17 MiB in 35 packages [2022-09-13T10:12:59.267Z] Removing intermediate container 935c03efbcd4 [2022-09-13T10:12:59.267Z] ---> efb29354a35c [2022-09-13T10:12:59.267Z] Step 17/27 : WORKDIR / [2022-09-13T10:12:59.267Z] ---> Running in 56823601f495 [2022-09-13T10:12:59.267Z] Removing intermediate container 56823601f495 [2022-09-13T10:12:59.267Z] ---> 47377920b1b5 [2022-09-13T10:12:59.267Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-13T10:12:59.267Z] ---> 5a92ecd20c63 [2022-09-13T10:12:59.267Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-13T10:12:59.267Z] ---> 86c9fcb71952 [2022-09-13T10:12:59.267Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-13T10:12:59.267Z] ---> f46565bf6425 [2022-09-13T10:12:59.267Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-09-13T10:12:59.526Z] ---> 570eab0819d2 [2022-09-13T10:12:59.526Z] Step 22/27 : EXPOSE 59984 [2022-09-13T10:12:59.526Z] ---> Running in 31793b05cd1e [2022-09-13T10:12:59.526Z] Removing intermediate container 31793b05cd1e [2022-09-13T10:12:59.526Z] ---> b041646dcf7e [2022-09-13T10:12:59.526Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-13T10:12:59.526Z] ---> Running in d9a2643054d1 [2022-09-13T10:12:59.526Z] Removing intermediate container d9a2643054d1 [2022-09-13T10:12:59.526Z] ---> dc02ce4c6dcb [2022-09-13T10:12:59.526Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-13T10:12:59.526Z] ---> Running in 00e5e4dc9646 [2022-09-13T10:12:59.785Z] Removing intermediate container 00e5e4dc9646 [2022-09-13T10:12:59.785Z] ---> b929fb006326 [2022-09-13T10:12:59.785Z] Step 25/27 : LABEL arch=amd64 [2022-09-13T10:12:59.785Z] ---> Running in 29776a4e77c4 [2022-09-13T10:12:59.785Z] Removing intermediate container 29776a4e77c4 [2022-09-13T10:12:59.785Z] ---> 7eca0ce4623b [2022-09-13T10:12:59.785Z] Step 26/27 : LABEL git_sha=5a500f3af249ca31a50e6950c78d688de8286884 [2022-09-13T10:12:59.785Z] ---> Running in 5e0f2c972b1a [2022-09-13T10:12:59.785Z] Removing intermediate container 5e0f2c972b1a [2022-09-13T10:12:59.785Z] ---> b65bc35c27ee [2022-09-13T10:12:59.785Z] Step 27/27 : LABEL version=0.0.0 [2022-09-13T10:12:59.785Z] ---> Running in 23b08da366cf [2022-09-13T10:13:00.044Z] Removing intermediate container 23b08da366cf [2022-09-13T10:13:00.044Z] ---> 803a9aab9853 [2022-09-13T10:13:00.044Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-13T10:13:00.044Z] Successfully built 803a9aab9853 [2022-09-13T10:13:00.044Z] 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-13T10:13:00.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-13T10:13:00.476Z] [2022-09-13T10:13:00.476Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:13:00.782Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-13T10:13:00.782Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-13T10:13:00.782Z] 5eb5b503b376: Pulling fs layer [2022-09-13T10:13:00.782Z] 5c69ac0246d0: Pulling fs layer [2022-09-13T10:13:00.782Z] ec43610c2a17: Pulling fs layer [2022-09-13T10:13:00.782Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-13T10:13:00.782Z] 33b1e0a273af: Pulling fs layer [2022-09-13T10:13:00.782Z] 5d3b04190fa2: Pulling fs layer [2022-09-13T10:13:00.782Z] 2f39f015ded8: Pulling fs layer [2022-09-13T10:13:00.782Z] 3a2ae6a8a46f: Waiting [2022-09-13T10:13:00.782Z] 33b1e0a273af: Waiting [2022-09-13T10:13:00.782Z] 5d3b04190fa2: Waiting [2022-09-13T10:13:00.782Z] 2f39f015ded8: Waiting [2022-09-13T10:13:00.782Z] 5c69ac0246d0: Download complete [2022-09-13T10:13:00.782Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-13T10:13:00.782Z] 3a2ae6a8a46f: Download complete [2022-09-13T10:13:00.782Z] 33b1e0a273af: Verifying Checksum [2022-09-13T10:13:00.782Z] 33b1e0a273af: Download complete [2022-09-13T10:13:00.782Z] 5d3b04190fa2: Verifying Checksum [2022-09-13T10:13:00.782Z] 5d3b04190fa2: Download complete [2022-09-13T10:13:00.782Z] ec43610c2a17: Verifying Checksum [2022-09-13T10:13:00.782Z] ec43610c2a17: Download complete [2022-09-13T10:13:01.041Z] 5eb5b503b376: Verifying Checksum [2022-09-13T10:13:01.041Z] 5eb5b503b376: Download complete [2022-09-13T10:13:01.610Z] 2f39f015ded8: Download complete [2022-09-13T10:13:02.179Z] 5eb5b503b376: Pull complete [2022-09-13T10:13:02.179Z] 5c69ac0246d0: Pull complete [2022-09-13T10:13:02.748Z] ec43610c2a17: Pull complete [2022-09-13T10:13:02.748Z] 3a2ae6a8a46f: Pull complete [2022-09-13T10:13:03.005Z] 33b1e0a273af: Pull complete [2022-09-13T10:13:03.005Z] 5d3b04190fa2: Pull complete [2022-09-13T10:13:07.194Z] 2f39f015ded8: Pull complete [2022-09-13T10:13:07.194Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-13T10:13:07.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-13T10:13:07.194Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:13:07.288Z] prd-ubuntu20.04-docker-8c-8g-29041 does not seem to be running inside a container [2022-09-13T10:13:07.328Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-13T10:13:08.593Z] $ docker top 2b68f54e17df518f1cc292b3973766ab6f4e53d92251a5f82697aefd8ee6398b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:13:08.979Z] ---> job-cost.sh [2022-09-13T10:13:08.979Z] lf-activate-venv: SKIPPING [2022-09-13T10:13:08.979Z] INFO: No Stack... [2022-09-13T10:13:09.549Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-13T10:13:09.809Z] INFO: Archiving Costs [Pipeline] sh [2022-09-13T10:13:10.101Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-09-13T10:13:10.102Z] + cut -d, -f6 [Pipeline] lock [2022-09-13T10:13:10.115Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] [2022-09-13T10:13:10.121Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] did not exist. Created. [2022-09-13T10:13:10.121Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-13T10:13:10.427Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-13T10:13:10.459Z] Stashed 1 file(s) [Pipeline] } [2022-09-13T10:13:10.465Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-13T10:13:10.486Z] $ docker stop --time=1 2b68f54e17df518f1cc292b3973766ab6f4e53d92251a5f82697aefd8ee6398b [2022-09-13T10:13:11.654Z] $ docker rm -f 2b68f54e17df518f1cc292b3973766ab6f4e53d92251a5f82697aefd8ee6398b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-13T10:16:55.697Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29044 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-09-13T10:16:55.712Z] Running in /w/workspace/device-onvif-camera/13 [Pipeline] { [Pipeline] checkout [2022-09-13T10:16:55.750Z] Selected Git installation does not exist. Using Default [2022-09-13T10:16:55.750Z] The recommended git tool is: NONE [2022-09-13T10:17:01.348Z] using credential edgex-jenkins-ssh [2022-09-13T10:17:01.371Z] Cloning the remote Git repository [2022-09-13T10:17:01.449Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-13T10:17:01.541Z] > git init /w/workspace/device-onvif-camera/13 # timeout=10 [2022-09-13T10:17:01.639Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-13T10:17:01.640Z] > git --version # timeout=10 [2022-09-13T10:17:01.661Z] > git --version # 'git version 2.25.1' [2022-09-13T10:17:01.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-13T10:17:01.833Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-13T10:17:03.262Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-13T10:17:03.291Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-13T10:17:03.327Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-13T10:17:03.381Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-13T10:17:03.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-13T10:17:03.397Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-13T10:17:04.043Z] Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-09-13T10:17:04.934Z] Merge succeeded, producing 27a02180d062f98e024e154abdcad3026828c88f [2022-09-13T10:17:04.934Z] Checking out Revision 27a02180d062f98e024e154abdcad3026828c88f (PR-125) [2022-09-13T10:17:04.068Z] > git config core.sparsecheckout # timeout=10 [2022-09-13T10:17:04.104Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-09-13T10:17:04.352Z] > git remote # timeout=10 [2022-09-13T10:17:04.380Z] > git config --get remote.origin.url # timeout=10 [2022-09-13T10:17:04.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-13T10:17:04.421Z] > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 [2022-09-13T10:17:04.910Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-13T10:17:04.942Z] > git config core.sparsecheckout # timeout=10 [2022-09-13T10:17:04.970Z] > git checkout -f 27a02180d062f98e024e154abdcad3026828c88f # timeout=10 [2022-09-13T10:17:09.493Z] Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" [2022-09-13T10:17:09.523Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-13T10:17:10.570Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-13T10:17:10.570Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-13T10:17:10.570Z] Dload Upload Total Spent Left Speed [2022-09-13T10:17:10.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh [2022-09-13T10:17:09.503Z] > git rev-list --no-walk 4011d92071821723e5beaaf815fca455878a89cc # timeout=10 [2022-09-13T10:17:11.344Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-13T10:17:11.704Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-13T10:17:11.704Z] + sudo tee /etc/docker/daemon.new [2022-09-13T10:17:11.704Z] { [2022-09-13T10:17:11.704Z] "registry-mirrors": [ [2022-09-13T10:17:11.704Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-13T10:17:11.704Z] ], [2022-09-13T10:17:11.704Z] "bip": "10.250.0.254/24", [2022-09-13T10:17:11.704Z] "hosts": [ [2022-09-13T10:17:11.704Z] "tcp://0.0.0.0:5555", [2022-09-13T10:17:11.704Z] "unix:///var/run/docker.sock" [2022-09-13T10:17:11.704Z] ], [2022-09-13T10:17:11.704Z] "mtu": 1458, [2022-09-13T10:17:11.704Z] "selinux-enabled": true, [2022-09-13T10:17:11.704Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-13T10:17:11.704Z] } [Pipeline] sh [2022-09-13T10:17:12.071Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-13T10:17:12.418Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-13T10:17:30.786Z] provisioning config files... [2022-09-13T10:17:30.814Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/13@tmp/config489604517265035259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:17:31.192Z] ---> docker-login.sh [2022-09-13T10:17:31.192Z] nexus3.edgexfoundry.org:10001 [2022-09-13T10:17:31.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:17:32.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:17:32.405Z] Configure a credential helper to remove this warning. See [2022-09-13T10:17:32.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:17:32.405Z] [2022-09-13T10:17:32.405Z] Login Succeeded [2022-09-13T10:17:32.405Z] nexus3.edgexfoundry.org:10002 [2022-09-13T10:17:32.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:17:32.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:17:32.971Z] Configure a credential helper to remove this warning. See [2022-09-13T10:17:32.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:17:32.971Z] [2022-09-13T10:17:32.971Z] Login Succeeded [2022-09-13T10:17:32.971Z] nexus3.edgexfoundry.org:10003 [2022-09-13T10:17:33.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:17:33.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:17:33.537Z] Configure a credential helper to remove this warning. See [2022-09-13T10:17:33.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:17:33.537Z] [2022-09-13T10:17:33.537Z] Login Succeeded [2022-09-13T10:17:33.537Z] nexus3.edgexfoundry.org:10004 [2022-09-13T10:17:33.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:17:33.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:17:33.813Z] Configure a credential helper to remove this warning. See [2022-09-13T10:17:33.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:17:33.813Z] [2022-09-13T10:17:33.813Z] Login Succeeded [2022-09-13T10:17:33.813Z] docker.io [2022-09-13T10:17:34.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:17:34.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:17:34.688Z] Configure a credential helper to remove this warning. See [2022-09-13T10:17:34.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:17:34.688Z] [2022-09-13T10:17:34.688Z] Login Succeeded [2022-09-13T10:17:34.688Z] ---> docker-login.sh ends [Pipeline] } [2022-09-13T10:17:34.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-13T10:17:35.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-13T10:17:35.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-13T10:17:35.311Z] ========================================================= [2022-09-13T10:17:35.311Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-13T10:17:35.311Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:17:35.700Z] + 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-13T10:17:36.306Z] Sending build context to Docker daemon 14.13MB [2022-09-13T10:17:36.306Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-13T10:17:36.306Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-13T10:17:36.589Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-13T10:17:36.589Z] b3c136eddcbf: Pulling fs layer [2022-09-13T10:17:36.590Z] c0a3192eca97: Pulling fs layer [2022-09-13T10:17:36.590Z] a050256f5b6f: Pulling fs layer [2022-09-13T10:17:36.590Z] 656be50a0ddc: Pulling fs layer [2022-09-13T10:17:36.590Z] 2bbca73fdf42: Pulling fs layer [2022-09-13T10:17:36.590Z] 46d945488cbd: Pulling fs layer [2022-09-13T10:17:36.590Z] 8a5474983e97: Pulling fs layer [2022-09-13T10:17:36.590Z] 329c88fbcd65: Pulling fs layer [2022-09-13T10:17:36.590Z] 656be50a0ddc: Waiting [2022-09-13T10:17:36.590Z] 2bbca73fdf42: Waiting [2022-09-13T10:17:36.590Z] 46d945488cbd: Waiting [2022-09-13T10:17:36.590Z] 8a5474983e97: Waiting [2022-09-13T10:17:36.590Z] 329c88fbcd65: Waiting [2022-09-13T10:17:36.590Z] a050256f5b6f: Verifying Checksum [2022-09-13T10:17:36.590Z] a050256f5b6f: Download complete [2022-09-13T10:17:36.590Z] c0a3192eca97: Verifying Checksum [2022-09-13T10:17:36.590Z] c0a3192eca97: Download complete [2022-09-13T10:17:36.590Z] 2bbca73fdf42: Verifying Checksum [2022-09-13T10:17:36.590Z] 2bbca73fdf42: Download complete [2022-09-13T10:17:36.590Z] b3c136eddcbf: Verifying Checksum [2022-09-13T10:17:36.590Z] 46d945488cbd: Verifying Checksum [2022-09-13T10:17:36.590Z] b3c136eddcbf: Download complete [2022-09-13T10:17:36.590Z] 46d945488cbd: Download complete [2022-09-13T10:17:37.593Z] b3c136eddcbf: Pull complete [2022-09-13T10:17:37.871Z] 329c88fbcd65: Verifying Checksum [2022-09-13T10:17:37.871Z] 329c88fbcd65: Download complete [2022-09-13T10:17:38.156Z] c0a3192eca97: Pull complete [2022-09-13T10:17:38.443Z] a050256f5b6f: Pull complete [2022-09-13T10:17:39.053Z] 8a5474983e97: Verifying Checksum [2022-09-13T10:17:39.053Z] 8a5474983e97: Download complete [2022-09-13T10:17:39.653Z] 656be50a0ddc: Verifying Checksum [2022-09-13T10:17:39.653Z] 656be50a0ddc: Download complete [2022-09-13T10:17:54.768Z] 656be50a0ddc: Pull complete [2022-09-13T10:17:54.768Z] 2bbca73fdf42: Pull complete [2022-09-13T10:17:54.768Z] 46d945488cbd: Pull complete [2022-09-13T10:18:00.190Z] 8a5474983e97: Pull complete [2022-09-13T10:18:02.178Z] 329c88fbcd65: Pull complete [2022-09-13T10:18:02.178Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-13T10:18:02.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-13T10:18:02.178Z] ---> ff4287adb874 [2022-09-13T10:18:02.178Z] Step 3/13 : ARG MAKE="make build" [2022-09-13T10:18:04.175Z] ---> Running in 461f07cfcf66 [2022-09-13T10:18:04.455Z] Removing intermediate container 461f07cfcf66 [2022-09-13T10:18:04.455Z] ---> a085111250b8 [2022-09-13T10:18:04.455Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-13T10:18:04.731Z] ---> Running in 0d19b994ef5c [2022-09-13T10:18:05.007Z] Removing intermediate container 0d19b994ef5c [2022-09-13T10:18:05.007Z] ---> 1dc2eeea359f [2022-09-13T10:18:05.007Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-13T10:18:05.007Z] ---> Running in 8a30d88a1486 [2022-09-13T10:18:05.281Z] Removing intermediate container 8a30d88a1486 [2022-09-13T10:18:05.281Z] ---> bf25fbf99000 [2022-09-13T10:18:05.281Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-13T10:18:05.556Z] ---> Running in 7d93c4142051 [2022-09-13T10:18:05.840Z] Removing intermediate container 7d93c4142051 [2022-09-13T10:18:05.840Z] ---> f2336f7936e9 [2022-09-13T10:18:05.840Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-13T10:18:05.840Z] ---> Running in d4a824810c46 [2022-09-13T10:18:07.827Z] Removing intermediate container d4a824810c46 [2022-09-13T10:18:07.827Z] ---> 4745bef2c5b2 [2022-09-13T10:18:07.827Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-13T10:18:07.827Z] ---> Running in 0598a828f0ea [2022-09-13T10:18:08.813Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-13T10:18:09.803Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-13T10:18:10.789Z] OK: 221 MiB in 51 packages [2022-09-13T10:18:11.398Z] Removing intermediate container 0598a828f0ea [2022-09-13T10:18:11.398Z] ---> 8fb2b2bd6666 [2022-09-13T10:18:11.398Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-13T10:18:11.398Z] ---> Running in b148f79aec53 [2022-09-13T10:18:12.003Z] Removing intermediate container b148f79aec53 [2022-09-13T10:18:12.003Z] ---> a81ca2d4066d [2022-09-13T10:18:12.003Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-13T10:18:12.285Z] ---> 42973a6c2887 [2022-09-13T10:18:12.285Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-13T10:18:12.563Z] ---> Running in 7c8dc76a7a36 [2022-09-13T10:19:09.203Z] Removing intermediate container 7c8dc76a7a36 [2022-09-13T10:19:09.203Z] ---> 30e0ab5f98d4 [2022-09-13T10:19:09.203Z] Step 12/13 : COPY . . [2022-09-13T10:19:09.203Z] ---> 27ed41ae7ba7 [2022-09-13T10:19:09.203Z] Step 13/13 : RUN ${MAKE} [2022-09-13T10:19:09.203Z] ---> Running in 73fb245e7b26 [2022-09-13T10:19:09.203Z] noop [2022-09-13T10:19:09.203Z] Removing intermediate container 73fb245e7b26 [2022-09-13T10:19:09.203Z] ---> 5e3e8d56a682 [2022-09-13T10:19:09.203Z] Successfully built 5e3e8d56a682 [2022-09-13T10:19:09.203Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:19:09.580Z] + docker inspect -f . ci-base-image-arm64 [2022-09-13T10:19:09.580Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:19:09.859Z] prd-ubuntu20.04-docker-arm64-4c-16g-29044 does not seem to be running inside a container [2022-09-13T10:19:09.952Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-13T10:19:11.286Z] $ docker top 2d6ca3b918da8538f6d15cc079d5a8ffbfd8e797347480b578a820174c559136 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-13T10:19:12.214Z] + go version [2022-09-13T10:19:12.214Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-13T10:19:12.240Z] $ docker stop --time=1 2d6ca3b918da8538f6d15cc079d5a8ffbfd8e797347480b578a820174c559136 [2022-09-13T10:19:13.864Z] $ docker rm -f 2d6ca3b918da8538f6d15cc079d5a8ffbfd8e797347480b578a820174c559136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:19:14.471Z] + docker inspect -f . ci-base-image-arm64 [2022-09-13T10:19:14.471Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:19:14.701Z] prd-ubuntu20.04-docker-arm64-4c-16g-29044 does not seem to be running inside a container [2022-09-13T10:19:14.793Z] $ 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/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-13T10:19:16.155Z] $ docker top e32c9587f61b2f881f67143edd67d8f73af5f333d1afacae76a3cc0f531514ba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-13T10:19:17.120Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/13 [Pipeline] fileExists [Pipeline] sh [2022-09-13T10:19:17.802Z] + make test [2022-09-13T10:19:17.802Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-13T10:19:19.870Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-13T10:20:57.243Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-13T10:21:01.602Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.180s coverage: 28.6% of statements [2022-09-13T10:21:01.602Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-13T10:21:33.979Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 36.232s coverage: 13.8% of statements [2022-09-13T10:21:33.979Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-13T10:21:33.979Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-13T10:21:56.202Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-13T10:21:56.202Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-13T10:21:56.202Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-13T10:21:56.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-13T10:21:56.246Z] $ docker stop --time=1 e32c9587f61b2f881f67143edd67d8f73af5f333d1afacae76a3cc0f531514ba [2022-09-13T10:21:58.042Z] $ docker rm -f e32c9587f61b2f881f67143edd67d8f73af5f333d1afacae76a3cc0f531514ba [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-13T10:21:59.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-13T10:21:59.151Z] Warning: overwriting stash ‘coverage-report’ [2022-09-13T10:21:59.703Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-13T10:22:00.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-13T10:22:00.451Z] + ls -al . [2022-09-13T10:22:00.451Z] total 228 [2022-09-13T10:22:00.451Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 13 10:19 . [2022-09-13T10:22:00.451Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:17 .. [2022-09-13T10:22:00.451Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 13 10:17 .git [2022-09-13T10:22:00.451Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 10:17 .github [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 13 10:17 .gitignore [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 13 10:17 .golangci.yml [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 13 10:17 Attribution.txt [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 13 10:17 CHANGELOG.md [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 1742 Sep 13 10:17 Dockerfile [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 13 10:17 GOVERNANCE.md [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 13 10:17 Jenkinsfile [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 13 10:17 LICENSE [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 13 10:17 Makefile [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 13 10:17 OWNERS.md [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 13 10:17 README.md [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 13 10:11 VERSION [2022-09-13T10:22:00.451Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 13 10:17 bin [2022-09-13T10:22:00.451Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 10:17 cmd [2022-09-13T10:22:00.451Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 13 10:21 coverage.out [2022-09-13T10:22:00.451Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 13 10:17 doc [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 13 10:17 go.mod [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 13 10:17 go.sum [2022-09-13T10:22:00.451Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:17 internal [2022-09-13T10:22:00.451Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:17 snap [2022-09-13T10:22:00.451Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 13 10:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:22:00.810Z] + 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=27a02180d062f98e024e154abdcad3026828c88f --label arch=arm64 --label version=0.0.0 . [2022-09-13T10:22:01.408Z] Sending build context to Docker daemon 14.21MB [2022-09-13T10:22:01.408Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-13T10:22:01.408Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-13T10:22:01.408Z] ---> 5e3e8d56a682 [2022-09-13T10:22:01.408Z] Step 3/27 : ARG MAKE="make build" [2022-09-13T10:22:01.681Z] ---> Running in 22dc8e5a701f [2022-09-13T10:22:01.954Z] Removing intermediate container 22dc8e5a701f [2022-09-13T10:22:01.954Z] ---> a9347c46b475 [2022-09-13T10:22:01.954Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-13T10:22:01.954Z] ---> Running in d23bc7708911 [2022-09-13T10:22:02.233Z] Removing intermediate container d23bc7708911 [2022-09-13T10:22:02.233Z] ---> 5ee46427b6a2 [2022-09-13T10:22:02.233Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-13T10:22:02.505Z] ---> Running in 54e2c0dc2ee9 [2022-09-13T10:22:02.777Z] Removing intermediate container 54e2c0dc2ee9 [2022-09-13T10:22:02.777Z] ---> 604467cfbd3e [2022-09-13T10:22:02.777Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-09-13T10:22:02.777Z] ---> Running in cc8c77ab03e0 [2022-09-13T10:22:03.054Z] Removing intermediate container cc8c77ab03e0 [2022-09-13T10:22:03.054Z] ---> c28329a4760c [2022-09-13T10:22:03.054Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-13T10:22:03.330Z] ---> Running in e2f3007a7420 [2022-09-13T10:22:05.338Z] Removing intermediate container e2f3007a7420 [2022-09-13T10:22:05.338Z] ---> 193336bba6e1 [2022-09-13T10:22:05.338Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-13T10:22:05.338Z] ---> Running in b757938b406c [2022-09-13T10:22:05.936Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-13T10:22:06.917Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-13T10:22:07.905Z] OK: 221 MiB in 51 packages [2022-09-13T10:22:08.912Z] Removing intermediate container b757938b406c [2022-09-13T10:22:08.912Z] ---> 7b3c6387f454 [2022-09-13T10:22:08.912Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-09-13T10:22:08.912Z] ---> Running in 714e197f25b0 [2022-09-13T10:22:09.188Z] Removing intermediate container 714e197f25b0 [2022-09-13T10:22:09.188Z] ---> 2b571dee1783 [2022-09-13T10:22:09.188Z] Step 10/27 : COPY go.mod vendor* ./ [2022-09-13T10:22:09.794Z] ---> 40ec6a2ea536 [2022-09-13T10:22:09.794Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-13T10:22:09.794Z] ---> Running in adac7c79541c [2022-09-13T10:22:12.429Z] Removing intermediate container adac7c79541c [2022-09-13T10:22:12.429Z] ---> ffeb231c4862 [2022-09-13T10:22:12.429Z] Step 12/27 : COPY . . [2022-09-13T10:22:13.422Z] ---> edff3b0c7de1 [2022-09-13T10:22:13.422Z] Step 13/27 : RUN ${MAKE} [2022-09-13T10:22:13.699Z] ---> Running in ec64e87ed4f7 [2022-09-13T10:22:14.681Z] 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-13T10:24:36.613Z] Removing intermediate container ec64e87ed4f7 [2022-09-13T10:24:36.613Z] ---> 4080b440461c [2022-09-13T10:24:36.613Z] Step 14/27 : FROM alpine:3.16 [2022-09-13T10:24:36.613Z] 3.16: Pulling from library/alpine [2022-09-13T10:24:36.613Z] 9b18e9b68314: Pulling fs layer [2022-09-13T10:24:36.613Z] 9b18e9b68314: Verifying Checksum [2022-09-13T10:24:36.613Z] 9b18e9b68314: Download complete [2022-09-13T10:24:36.613Z] 9b18e9b68314: Pull complete [2022-09-13T10:24:36.613Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-13T10:24:36.613Z] Status: Downloaded newer image for alpine:3.16 [2022-09-13T10:24:36.613Z] ---> a6215f271958 [2022-09-13T10:24:36.613Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-13T10:24:36.613Z] ---> Running in 65271f9a8677 [2022-09-13T10:24:36.613Z] Removing intermediate container 65271f9a8677 [2022-09-13T10:24:36.613Z] ---> fb05d4bea2c3 [2022-09-13T10:24:36.613Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-09-13T10:24:36.613Z] ---> Running in 00d4ea0222b2 [2022-09-13T10:24:36.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-13T10:24:36.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-13T10:24:36.613Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-13T10:24:36.613Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-13T10:24:36.613Z] (3/21) Installing readline (8.1.2-r0) [2022-09-13T10:24:36.613Z] (4/21) Installing bash (5.1.16-r2) [2022-09-13T10:24:36.613Z] Executing bash-5.1.16-r2.post-install [2022-09-13T10:24:36.613Z] (5/21) Installing ca-certificates (20220614-r0) [2022-09-13T10:24:36.613Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-09-13T10:24:36.613Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-09-13T10:24:36.613Z] (8/21) Installing libcurl (7.83.1-r3) [2022-09-13T10:24:36.613Z] (9/21) Installing curl (7.83.1-r3) [2022-09-13T10:24:36.613Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-09-13T10:24:36.613Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-09-13T10:24:36.613Z] (12/21) Installing jq (1.6-r1) [2022-09-13T10:24:36.613Z] (13/21) Installing popt (1.18-r0) [2022-09-13T10:24:36.613Z] (14/21) Installing pcre (8.45-r2) [2022-09-13T10:24:36.613Z] (15/21) Installing slang (2.3.2-r0) [2022-09-13T10:24:36.613Z] (16/21) Installing newt (0.52.21-r2) [2022-09-13T10:24:36.613Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-09-13T10:24:36.614Z] (18/21) Installing libsodium (1.0.18-r0) [2022-09-13T10:24:36.614Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-13T10:24:36.614Z] (20/21) Installing libzmq (4.3.4-r0) [2022-09-13T10:24:36.614Z] (21/21) Installing zeromq (4.3.4-r0) [2022-09-13T10:24:36.614Z] Executing busybox-1.35.0-r17.trigger [2022-09-13T10:24:36.614Z] Executing ca-certificates-20220614-r0.trigger [2022-09-13T10:24:36.614Z] OK: 16 MiB in 35 packages [2022-09-13T10:24:36.614Z] Removing intermediate container 00d4ea0222b2 [2022-09-13T10:24:36.614Z] ---> d02113ce3420 [2022-09-13T10:24:36.614Z] Step 17/27 : WORKDIR / [2022-09-13T10:24:36.614Z] ---> Running in 408b1f797651 [2022-09-13T10:24:36.614Z] Removing intermediate container 408b1f797651 [2022-09-13T10:24:36.614Z] ---> be1613085588 [2022-09-13T10:24:36.614Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-13T10:24:36.614Z] ---> f504b82c10de [2022-09-13T10:24:36.614Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-13T10:24:36.614Z] ---> c8a0c863ac02 [2022-09-13T10:24:36.614Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-13T10:24:36.614Z] ---> 1778fae261eb [2022-09-13T10:24:36.614Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-09-13T10:24:36.614Z] ---> 4b8694bd0044 [2022-09-13T10:24:36.614Z] Step 22/27 : EXPOSE 59984 [2022-09-13T10:24:36.614Z] ---> Running in 51bbc0ad4c22 [2022-09-13T10:24:36.614Z] Removing intermediate container 51bbc0ad4c22 [2022-09-13T10:24:36.614Z] ---> dbd62c3ff9c5 [2022-09-13T10:24:36.614Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-13T10:24:36.614Z] ---> Running in c439b959ceba [2022-09-13T10:24:36.614Z] Removing intermediate container c439b959ceba [2022-09-13T10:24:36.614Z] ---> 5a460c7490a2 [2022-09-13T10:24:36.614Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-13T10:24:36.614Z] ---> Running in 8d5782085392 [2022-09-13T10:24:36.614Z] Removing intermediate container 8d5782085392 [2022-09-13T10:24:36.614Z] ---> 565f8f687866 [2022-09-13T10:24:36.614Z] Step 25/27 : LABEL arch=arm64 [2022-09-13T10:24:36.614Z] ---> Running in 8c22947641b0 [2022-09-13T10:24:36.614Z] Removing intermediate container 8c22947641b0 [2022-09-13T10:24:36.614Z] ---> afec80611bbe [2022-09-13T10:24:36.614Z] Step 26/27 : LABEL git_sha=27a02180d062f98e024e154abdcad3026828c88f [2022-09-13T10:24:36.614Z] ---> Running in f4ba78c5552d [2022-09-13T10:24:36.614Z] Removing intermediate container f4ba78c5552d [2022-09-13T10:24:36.614Z] ---> 138c266d0520 [2022-09-13T10:24:36.614Z] Step 27/27 : LABEL version=0.0.0 [2022-09-13T10:24:36.614Z] ---> Running in fa5ffb9293b6 [2022-09-13T10:24:36.614Z] Removing intermediate container fa5ffb9293b6 [2022-09-13T10:24:36.614Z] ---> 8fe7b54560e5 [2022-09-13T10:24:36.614Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-13T10:24:36.614Z] Successfully built 8fe7b54560e5 [2022-09-13T10:24:36.614Z] 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-13T10:24:37.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-13T10:24:37.069Z] [2022-09-13T10:24:37.069Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:24:37.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-13T10:24:37.701Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-13T10:24:37.701Z] 8998bd30e6a1: Pulling fs layer [2022-09-13T10:24:37.701Z] 04944245beec: Pulling fs layer [2022-09-13T10:24:37.701Z] 699f458cf7ca: Pulling fs layer [2022-09-13T10:24:37.701Z] 765212b225bb: Pulling fs layer [2022-09-13T10:24:37.701Z] f23df028b6ca: Pulling fs layer [2022-09-13T10:24:37.701Z] d65c8cfc05b1: Pulling fs layer [2022-09-13T10:24:37.701Z] 2437ff75d9bd: Pulling fs layer [2022-09-13T10:24:37.701Z] f23df028b6ca: Waiting [2022-09-13T10:24:37.701Z] d65c8cfc05b1: Waiting [2022-09-13T10:24:37.701Z] 2437ff75d9bd: Waiting [2022-09-13T10:24:37.701Z] 765212b225bb: Waiting [2022-09-13T10:24:37.701Z] 04944245beec: Verifying Checksum [2022-09-13T10:24:37.701Z] 04944245beec: Download complete [2022-09-13T10:24:37.701Z] 765212b225bb: Download complete [2022-09-13T10:24:37.701Z] f23df028b6ca: Download complete [2022-09-13T10:24:37.701Z] d65c8cfc05b1: Verifying Checksum [2022-09-13T10:24:37.701Z] d65c8cfc05b1: Download complete [2022-09-13T10:24:37.974Z] 699f458cf7ca: Verifying Checksum [2022-09-13T10:24:37.974Z] 699f458cf7ca: Download complete [2022-09-13T10:24:38.248Z] 8998bd30e6a1: Verifying Checksum [2022-09-13T10:24:38.248Z] 8998bd30e6a1: Download complete [2022-09-13T10:24:40.870Z] 2437ff75d9bd: Verifying Checksum [2022-09-13T10:24:40.871Z] 2437ff75d9bd: Download complete [2022-09-13T10:24:42.853Z] 8998bd30e6a1: Pull complete [2022-09-13T10:24:43.127Z] 04944245beec: Pull complete [2022-09-13T10:24:44.562Z] 699f458cf7ca: Pull complete [2022-09-13T10:24:44.835Z] 765212b225bb: Pull complete [2022-09-13T10:24:45.818Z] f23df028b6ca: Pull complete [2022-09-13T10:24:45.818Z] d65c8cfc05b1: Pull complete [2022-09-13T10:25:04.248Z] 2437ff75d9bd: Pull complete [2022-09-13T10:25:04.248Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-13T10:25:04.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-13T10:25:04.248Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:25:04.491Z] prd-ubuntu20.04-docker-arm64-4c-16g-29044 does not seem to be running inside a container [2022-09-13T10:25:04.572Z] $ 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/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-13T10:25:07.112Z] $ docker top 4aa2f98965ee41ba216c98838add544bbdd738947635cfe2180041f449f37c0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:25:08.038Z] ---> job-cost.sh [2022-09-13T10:25:08.038Z] lf-activate-venv: SKIPPING [2022-09-13T10:25:08.038Z] INFO: No Stack... [2022-09-13T10:25:08.636Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-13T10:25:09.663Z] INFO: Archiving Costs [Pipeline] sh [2022-09-13T10:25:10.368Z] + cut -d, -f6 [2022-09-13T10:25:10.368Z] + cat /w/workspace/device-onvif-camera/13/archives/cost.csv [Pipeline] lock [2022-09-13T10:25:10.405Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] [2022-09-13T10:25:10.413Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] did not exist. Created. [2022-09-13T10:25:10.414Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-13T10:25:11.184Z] /w/workspace/device-onvif-camera/13@tmp/durable-279a236c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-13T10:25:11.864Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-13T10:25:11.892Z] Warning: overwriting stash ‘stack-cost’ [2022-09-13T10:25:11.957Z] Stashed 1 file(s) [Pipeline] } [2022-09-13T10:25:11.964Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-13T10:25:11.983Z] $ docker stop --time=1 4aa2f98965ee41ba216c98838add544bbdd738947635cfe2180041f449f37c0b [2022-09-13T10:25:13.490Z] $ docker rm -f 4aa2f98965ee41ba216c98838add544bbdd738947635cfe2180041f449f37c0b [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-13T10:25:13.971Z] provisioning config files... [2022-09-13T10:25:13.980Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config6090526349734344333tmp [Pipeline] { [Pipeline] sh [2022-09-13T10:25:14.283Z] + set +x [2022-09-13T10:25:14.283Z] + bash -s -- [2022-09-13T10:25:14.283Z] + curl -s https://codecov.io/bash [2022-09-13T10:25:14.283Z] [2022-09-13T10:25:14.283Z] _____ _ [2022-09-13T10:25:14.283Z] / ____| | | [2022-09-13T10:25:14.283Z] | | ___ __| | ___ ___ _____ __ [2022-09-13T10:25:14.283Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-13T10:25:14.283Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-13T10:25:14.283Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-13T10:25:14.283Z] Bash-1.0.6 [2022-09-13T10:25:14.283Z] [2022-09-13T10:25:14.283Z] [2022-09-13T10:25:14.283Z] ==> git version 2.25.1 found [2022-09-13T10:25:14.283Z] ==> 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-13T10:25:14.283Z] Release-Date: 2020-01-08 [2022-09-13T10:25:14.283Z] 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-13T10:25:14.283Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-13T10:25:14.283Z] ==> Jenkins CI detected. [2022-09-13T10:25:14.283Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-09-13T10:25:14.283Z] project root: . [2022-09-13T10:25:14.283Z] --> token set from env [2022-09-13T10:25:14.283Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-13T10:25:14.283Z] ==> Running gcov in . (disable via -X gcov) [2022-09-13T10:25:14.283Z] ==> Python coveragepy not found [2022-09-13T10:25:14.283Z] ==> Searching for coverage reports in: [2022-09-13T10:25:14.283Z] + . [2022-09-13T10:25:14.283Z] -> Found 1 reports [2022-09-13T10:25:14.283Z] ==> Detecting git/mercurial file structure [2022-09-13T10:25:14.283Z] ==> Reading reports [2022-09-13T10:25:14.283Z] + ./coverage.out bytes=77283 [2022-09-13T10:25:14.283Z] ==> Appending adjustments [2022-09-13T10:25:14.283Z] https://docs.codecov.io/docs/fixing-reports [2022-09-13T10:25:14.544Z] + Found adjustments [2022-09-13T10:25:14.544Z] ==> Gzipping contents [2022-09-13T10:25:14.544Z] 12K /tmp/codecov.4le6qx.gz [2022-09-13T10:25:14.544Z] ==> Uploading reports [2022-09-13T10:25:14.544Z] url: https://codecov.io [2022-09-13T10:25:14.544Z] query: branch=PR-125&commit=5a500f3af249ca31a50e6950c78d688de8286884&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-09-13T10:25:14.544Z] -> Pinging Codecov [2022-09-13T10:25:14.544Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=5a500f3af249ca31a50e6950c78d688de8286884&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-09-13T10:25:14.804Z] -> Uploading to [2022-09-13T10:25:14.804Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-13/F29A59C45E3A92E06B3E522C9905F8EF/5a500f3af249ca31a50e6950c78d688de8286884/94464581-55eb-4254-b389-583e5688b941.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220913%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220913T102514Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a69e033ade07b4c93172109160e12acf454e6d9ada3655e315f5b2265882a86e [2022-09-13T10:25:14.804Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-13T10:25:14.804Z] Dload Upload Total Spent Left Speed [2022-09-13T10:25:15.065Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10569 0 0 100 10569 0 41940 --:--:-- --:--:-- --:--:-- 41940 [2022-09-13T10:25:15.065Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/5a500f3af249ca31a50e6950c78d688de8286884 [Pipeline] } [2022-09-13T10:25:15.074Z] 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-13T10:25:15.759Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-09-13T10:25:15.759Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-13T10:25:15.759Z] total 16 [2022-09-13T10:25:15.759Z] drwxr-xr-x 3 root root 4096 Sep 13 10:13 . [2022-09-13T10:25:15.759Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 13 10:13 .. [2022-09-13T10:25:15.759Z] drwxr-xr-x 2 root root 4096 Sep 13 10:13 cost [2022-09-13T10:25:15.759Z] -rw-r--r-- 1 root root 92 Sep 13 10:13 cost.csv [2022-09-13T10:25:15.759Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-13T10:25:15.759Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-13T10:25:15.759Z] total 16 [2022-09-13T10:25:15.759Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 13 10:13 . [2022-09-13T10:25:15.759Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 13 10:13 .. [2022-09-13T10:25:15.759Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 13 10:13 cost [2022-09-13T10:25:15.759Z] -rw-r--r-- 1 jenkins jenkins 92 Sep 13 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:25:16.057Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:25:16.927Z] ---> package-listing.sh [2022-09-13T10:25:16.927Z] ++ facter osfamily [2022-09-13T10:25:16.927Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-13T10:25:17.189Z] + OS_FAMILY=debian [2022-09-13T10:25:17.189Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-09-13T10:25:17.189Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-13T10:25:17.189Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-13T10:25:17.189Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-13T10:25:17.189Z] + PACKAGES=/tmp/packages_start.txt [2022-09-13T10:25:17.189Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-09-13T10:25:17.189Z] + PACKAGES=/tmp/packages_end.txt [2022-09-13T10:25:17.189Z] + case "${OS_FAMILY}" in [2022-09-13T10:25:17.189Z] + dpkg -l [2022-09-13T10:25:17.189Z] + grep '^ii' [2022-09-13T10:25:17.189Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-13T10:25:17.189Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-13T10:25:17.189Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-13T10:25:17.189Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-09-13T10:25:17.189Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-09-13T10:25:17.189Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-09-13T10:25:17.203Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-13T10:25:17.488Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:25:18.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-13T10:25:18.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:25:18.141Z] prd-ubuntu20.04-docker-8c-8g-29041 does not seem to be running inside a container [2022-09-13T10:25:18.175Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-13T10:25:18.380Z] $ docker top 913fc33e260705f8421070cc9d10fd8adaebc3026475a049602b817129ddca29 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-13T10:25:18.733Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-13T10:25:19.021Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-13T10:25:19.313Z] + ls /var/log/sa-host [2022-09-13T10:25:19.313Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-13T10:25:19.402Z] provisioning config files... [2022-09-13T10:25:19.414Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config5277936588233380056tmp [Pipeline] { [Pipeline] echo [2022-09-13T10:25:19.428Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:25:19.714Z] ---> create-netrc.sh [Pipeline] } [2022-09-13T10:25:19.722Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:25:20.044Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-13T10:25:20.053Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:25:20.338Z] ---> sudo-logs.sh [2022-09-13T10:25:20.338Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-13T10:25:20.362Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:25:20.647Z] ---> job-cost.sh [2022-09-13T10:25:20.647Z] lf-activate-venv: SKIPPING [2022-09-13T10:25:20.647Z] DEBUG: total: 0.2199999988079071 [2022-09-13T10:25:20.647Z] INFO: Retrieving Stack Cost... [2022-09-13T10:25:20.906Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-13T10:25:21.478Z] INFO: Archiving Costs [Pipeline] echo [2022-09-13T10:25:21.489Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:25:21.773Z] ---> logs-deploy.sh [2022-09-13T10:25:21.773Z] lf-activate-venv: SKIPPING [2022-09-13T10:25:21.773Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/13 [2022-09-13T10:25:21.773Z] INFO: archiving workspace using pattern(s): [2022-09-13T10:25:22.711Z] Archives upload complete. [2022-09-13T10:25:22.972Z] INFO: archiving logs to Nexus [2022-09-13T10:25:23.541Z] ---> uname -a: [2022-09-13T10:25:23.541Z] Linux prd-ubuntu20-04-docker-8c-8g-29041 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-09-13T10:25:23.541Z] [2022-09-13T10:25:23.541Z] [2022-09-13T10:25:23.541Z] ---> lscpu: [2022-09-13T10:25:23.541Z] Architecture: x86_64 [2022-09-13T10:25:23.541Z] CPU op-mode(s): 32-bit, 64-bit [2022-09-13T10:25:23.541Z] Byte Order: Little Endian [2022-09-13T10:25:23.541Z] Address sizes: 40 bits physical, 48 bits virtual [2022-09-13T10:25:23.541Z] CPU(s): 8 [2022-09-13T10:25:23.541Z] On-line CPU(s) list: 0-7 [2022-09-13T10:25:23.541Z] Thread(s) per core: 1 [2022-09-13T10:25:23.541Z] Core(s) per socket: 1 [2022-09-13T10:25:23.541Z] Socket(s): 8 [2022-09-13T10:25:23.541Z] NUMA node(s): 1 [2022-09-13T10:25:23.541Z] Vendor ID: AuthenticAMD [2022-09-13T10:25:23.541Z] CPU family: 23 [2022-09-13T10:25:23.541Z] Model: 49 [2022-09-13T10:25:23.541Z] Model name: AMD EPYC-Rome Processor [2022-09-13T10:25:23.541Z] Stepping: 0 [2022-09-13T10:25:23.541Z] CPU MHz: 2799.998 [2022-09-13T10:25:23.541Z] BogoMIPS: 5599.99 [2022-09-13T10:25:23.541Z] Virtualization: AMD-V [2022-09-13T10:25:23.541Z] Hypervisor vendor: KVM [2022-09-13T10:25:23.541Z] Virtualization type: full [2022-09-13T10:25:23.541Z] L1d cache: 256 KiB [2022-09-13T10:25:23.541Z] L1i cache: 256 KiB [2022-09-13T10:25:23.541Z] L2 cache: 4 MiB [2022-09-13T10:25:23.541Z] L3 cache: 128 MiB [2022-09-13T10:25:23.541Z] NUMA node0 CPU(s): 0-7 [2022-09-13T10:25:23.541Z] Vulnerability Itlb multihit: Not affected [2022-09-13T10:25:23.541Z] Vulnerability L1tf: Not affected [2022-09-13T10:25:23.541Z] Vulnerability Mds: Not affected [2022-09-13T10:25:23.541Z] Vulnerability Meltdown: Not affected [2022-09-13T10:25:23.541Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-09-13T10:25:23.541Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-09-13T10:25:23.541Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-09-13T10:25:23.541Z] Vulnerability Srbds: Not affected [2022-09-13T10:25:23.541Z] Vulnerability Tsx async abort: Not affected [2022-09-13T10:25:23.541Z] 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-13T10:25:23.541Z] [2022-09-13T10:25:23.541Z]