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 c32d12cb3f3d5bd786ac66f0af1d84994387a230 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from c32d12cb3f3d5bd786ac66f0af1d84994387a230 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-ssh13103773040546886972.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh1394913394600805107.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13638038871271475490.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh2198206548256709149.key Verifying host key using known hosts file > 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-ssh15356196908062856446.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8428’ Running on prd-ubuntu20.04-docker-8c-8g-8434 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing e70c45844cf6a1234869e97159d94a5b55ef5df7 Checking out Revision e70c45844cf6a1234869e97159d94a5b55ef5df7 (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e70c45844cf6a1234869e97159d94a5b55ef5df7 # timeout=10 Commit message: "Merge commit 'c32d12cb3f3d5bd786ac66f0af1d84994387a230' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-18T02:12:22.893Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-18T02:12:22.959Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-18T02:12:22.976Z] ========================================================= [2022-10-18T02:12:22.976Z] EdgeX Global Pipelines Version Info [2022-10-18T02:12:22.976Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 763cd0a2806cbbf61bd992f6b7d9723d9827b1c1 # timeout=10 [2022-10-18T02:12:23.675Z] ------------------- [2022-10-18T02:12:23.675Z] stable info: [2022-10-18T02:12:23.675Z] ------------------- [2022-10-18T02:12:23.675Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-18T02:12:23.675Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-18T02:12:23.675Z] Message: update stable to v1.0.243 [2022-10-18T02:12:24.244Z] ------------------- [2022-10-18T02:12:24.244Z] experimental info: [2022-10-18T02:12:24.244Z] ------------------- [2022-10-18T02:12:24.244Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-18T02:12:24.244Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-18T02:12:24.244Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-18T02:12:24.408Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-18T02:12:24.419Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-18T02:12:24.430Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-18T02:12:24.442Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-18T02:12:24.453Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-18T02:12:24.463Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-18T02:12:24.474Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-18T02:12:24.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-18T02:12:24.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-18T02:12:24.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-18T02:12:24.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-18T02:12:24.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-18T02:12:24.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-18T02:12:24.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-18T02:12:24.574Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-18T02:12:24.586Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-18T02:12:24.603Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-18T02:12:24.617Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-18T02:12:24.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-18T02:12:24.638Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-18T02:12:24.652Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-18T02:12:24.663Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-18T02:12:24.674Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-18T02:12:24.687Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-18T02:12:24.700Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-18T02:12:24.714Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-18T02:12:24.728Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-18T02:12:24.741Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-10-18T02:12:24.752Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-10-18T02:12:24.762Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-10-18T02:12:24.775Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e70c45844cf6a1234869e97159d94a5b55ef5df7 [Pipeline] echo [2022-10-18T02:12:24.786Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e70c458 [Pipeline] echo [2022-10-18T02:12:24.797Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T02:12:24.851Z] provisioning config files... [2022-10-18T02:12:24.865Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config14233191316692830932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T02:12:25.162Z] ---> docker-login.sh [2022-10-18T02:12:25.162Z] nexus3.edgexfoundry.org:10001 [2022-10-18T02:12:25.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:12:25.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:12:25.680Z] Configure a credential helper to remove this warning. See [2022-10-18T02:12:25.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:12:25.680Z] [2022-10-18T02:12:25.680Z] Login Succeeded [2022-10-18T02:12:25.680Z] nexus3.edgexfoundry.org:10002 [2022-10-18T02:12:25.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:12:25.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:12:25.680Z] Configure a credential helper to remove this warning. See [2022-10-18T02:12:25.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:12:25.680Z] [2022-10-18T02:12:25.680Z] Login Succeeded [2022-10-18T02:12:25.680Z] nexus3.edgexfoundry.org:10003 [2022-10-18T02:12:25.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:12:25.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:12:25.939Z] Configure a credential helper to remove this warning. See [2022-10-18T02:12:25.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:12:25.939Z] [2022-10-18T02:12:25.939Z] Login Succeeded [2022-10-18T02:12:25.939Z] nexus3.edgexfoundry.org:10004 [2022-10-18T02:12:25.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:12:25.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:12:25.939Z] Configure a credential helper to remove this warning. See [2022-10-18T02:12:25.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:12:25.939Z] [2022-10-18T02:12:25.939Z] Login Succeeded [2022-10-18T02:12:25.939Z] docker.io [2022-10-18T02:12:25.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:12:26.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:12:26.508Z] Configure a credential helper to remove this warning. See [2022-10-18T02:12:26.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:12:26.508Z] [2022-10-18T02:12:26.508Z] Login Succeeded [2022-10-18T02:12:26.508Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T02:12:26.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-18T02:12:26.884Z] + git rev-list -1 --merges e70c45844cf6a1234869e97159d94a5b55ef5df7~1..e70c45844cf6a1234869e97159d94a5b55ef5df7 [Pipeline] echo [2022-10-18T02:12:26.910Z] -----------> git rev-list -1 --merges e70c45844cf6a1234869e97159d94a5b55ef5df7~1..e70c45844cf6a1234869e97159d94a5b55ef5df7 e70c45844cf6a1234869e97159d94a5b55ef5df7 [2022-10-18T02:12:26.910Z] e70c45844cf6a1234869e97159d94a5b55ef5df7 [false] [Pipeline] sh [2022-10-18T02:12:27.199Z] + git log --format=format:%s -1 e70c45844cf6a1234869e97159d94a5b55ef5df7 [Pipeline] echo [2022-10-18T02:12:27.212Z] ========================================================= [2022-10-18T02:12:27.212Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-18T02:12:27.212Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T02:12:27.574Z] + git log --format=format:%s -1 e70c45844cf6a1234869e97159d94a5b55ef5df7 [Pipeline] echo [2022-10-18T02:12:27.584Z] [semverPrep] GIT_COMMIT: e70c45844cf6a1234869e97159d94a5b55ef5df7, Commit Message: Merge commit 'c32d12cb3f3d5bd786ac66f0af1d84994387a230' into HEAD [Pipeline] echo [2022-10-18T02:12:27.592Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-18T02:12:27.960Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-18T02:12:27.960Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-18T02:12:27.960Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-18T02:12:27.960Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-18T02:12:27.960Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-18T02:12:27.960Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-18T02:12:27.960Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T02:12:28.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T02:12:28.370Z] [2022-10-18T02:12:28.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T02:12:28.669Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T02:12:28.670Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-18T02:12:28.670Z] b85a868b505f: Pulling fs layer [2022-10-18T02:12:28.670Z] e2be974225ed: Pulling fs layer [2022-10-18T02:12:28.670Z] 339a4e72a1f5: Pulling fs layer [2022-10-18T02:12:28.670Z] 988bab9f4d93: Pulling fs layer [2022-10-18T02:12:28.670Z] 1469e6f7b9e6: Pulling fs layer [2022-10-18T02:12:28.670Z] eaf3925da568: Pulling fs layer [2022-10-18T02:12:28.670Z] bab4dde63d76: Pulling fs layer [2022-10-18T02:12:28.670Z] bde34c3a00c8: Pulling fs layer [2022-10-18T02:12:28.670Z] b352a97aabf1: Pulling fs layer [2022-10-18T02:12:28.670Z] 4872d77fe225: Pulling fs layer [2022-10-18T02:12:28.670Z] 5851b861e8e6: Pulling fs layer [2022-10-18T02:12:28.670Z] 988bab9f4d93: Waiting [2022-10-18T02:12:28.670Z] 1469e6f7b9e6: Waiting [2022-10-18T02:12:28.670Z] eaf3925da568: Waiting [2022-10-18T02:12:28.670Z] bab4dde63d76: Waiting [2022-10-18T02:12:28.670Z] bde34c3a00c8: Waiting [2022-10-18T02:12:28.670Z] 5851b861e8e6: Waiting [2022-10-18T02:12:28.670Z] 4872d77fe225: Waiting [2022-10-18T02:12:28.670Z] e2be974225ed: Download complete [2022-10-18T02:12:28.670Z] 988bab9f4d93: Verifying Checksum [2022-10-18T02:12:28.670Z] 988bab9f4d93: Download complete [2022-10-18T02:12:28.930Z] 1469e6f7b9e6: Verifying Checksum [2022-10-18T02:12:28.930Z] 1469e6f7b9e6: Download complete [2022-10-18T02:12:28.930Z] 339a4e72a1f5: Verifying Checksum [2022-10-18T02:12:28.930Z] 339a4e72a1f5: Download complete [2022-10-18T02:12:28.930Z] eaf3925da568: Verifying Checksum [2022-10-18T02:12:28.930Z] eaf3925da568: Download complete [2022-10-18T02:12:28.930Z] b352a97aabf1: Verifying Checksum [2022-10-18T02:12:28.930Z] b352a97aabf1: Download complete [2022-10-18T02:12:28.930Z] 4872d77fe225: Verifying Checksum [2022-10-18T02:12:28.930Z] 4872d77fe225: Download complete [2022-10-18T02:12:28.930Z] 5851b861e8e6: Download complete [2022-10-18T02:12:28.930Z] b85a868b505f: Download complete [2022-10-18T02:12:29.189Z] bab4dde63d76: Verifying Checksum [2022-10-18T02:12:29.190Z] bab4dde63d76: Download complete [2022-10-18T02:12:30.573Z] b85a868b505f: Pull complete [2022-10-18T02:12:30.573Z] e2be974225ed: Pull complete [2022-10-18T02:12:30.832Z] 339a4e72a1f5: Pull complete [2022-10-18T02:12:30.832Z] 988bab9f4d93: Pull complete [2022-10-18T02:12:31.413Z] 1469e6f7b9e6: Pull complete [2022-10-18T02:12:31.413Z] eaf3925da568: Pull complete [2022-10-18T02:12:33.453Z] bab4dde63d76: Pull complete [2022-10-18T02:12:33.453Z] bde34c3a00c8: Pull complete [2022-10-18T02:12:33.453Z] b352a97aabf1: Pull complete [2022-10-18T02:12:33.453Z] 4872d77fe225: Pull complete [2022-10-18T02:12:33.453Z] 5851b861e8e6: Pull complete [2022-10-18T02:12:33.453Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-18T02:12:33.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T02:12:33.453Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T02:12:33.549Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2022-10-18T02:12:33.586Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-18T02:12:35.932Z] $ docker top 313aba68af7721fc9f2df8ebdc265a9cde17514a5a862fb9c4d287c21e9f22b1 -eo pid,comm [2022-10-18T02:12:35.990Z] 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-10-18T02:12:35.990Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-18T02:12:36.017Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-18T02:12:36.017Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-18T02:12:36.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-18T02:12:36.150Z] $ docker exec 313aba68af7721fc9f2df8ebdc265a9cde17514a5a862fb9c4d287c21e9f22b1 ssh-agent [2022-10-18T02:12:36.263Z] SSH_AUTH_SOCK=/tmp/ssh-YtRJJzaR5aKq/agent.33 [2022-10-18T02:12:36.263Z] SSH_AGENT_PID=39 [2022-10-18T02:12:36.271Z] Running ssh-add (command line suppressed) [2022-10-18T02:12:36.394Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_10646057415615748850.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_10646057415615748850.key) [2022-10-18T02:12:36.408Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-18T02:12:36.706Z] + git tag --points-at HEAD [Pipeline] } [2022-10-18T02:12:36.720Z] $ docker exec --env ******** --env ******** 313aba68af7721fc9f2df8ebdc265a9cde17514a5a862fb9c4d287c21e9f22b1 ssh-agent -k [2022-10-18T02:12:36.816Z] unset SSH_AUTH_SOCK; [2022-10-18T02:12:36.817Z] unset SSH_AGENT_PID; [2022-10-18T02:12:36.817Z] echo Agent pid 39 killed; [2022-10-18T02:12:36.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-18T02:12:36.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-18T02:12:36.852Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-18T02:12:36.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-18T02:12:36.972Z] $ docker exec 313aba68af7721fc9f2df8ebdc265a9cde17514a5a862fb9c4d287c21e9f22b1 ssh-agent [2022-10-18T02:12:37.076Z] SSH_AUTH_SOCK=/tmp/ssh-980SrrFDSAZN/agent.71 [2022-10-18T02:12:37.076Z] SSH_AGENT_PID=77 [2022-10-18T02:12:37.081Z] Running ssh-add (command line suppressed) [2022-10-18T02:12:37.186Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_5096329517205850439.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_5096329517205850439.key) [2022-10-18T02:12:37.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-18T02:12:37.500Z] + git semver init [2022-10-18T02:12:37.759Z] 2022-10-18 02:12:37,653 [run_init] DEBUG init version:0.0.0 force:False [2022-10-18T02:12:37.759Z] 2022-10-18 02:12:37,653 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-10-18T02:12:37.759Z] 2022-10-18 02:12:37,654 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-10-18T02:12:37.760Z] 2022-10-18 02:12:37,654 [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-10-18T02:12:38.697Z] 2022-10-18 02:12:38,689 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-10-18T02:12:38.697Z] 2022-10-18 02:12:38,690 [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-10-18T02:12:38.697Z] 2022-10-18 02:12:38,690 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-10-18T02:12:38.697Z] 2022-10-18 02:12:38,694 [execute] INFO git cat-file --batch-check [2022-10-18T02:12:38.697Z] 2022-10-18 02:12:38,694 [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-10-18T02:12:38.957Z] 2022-10-18 02:12:38,702 [execute] INFO git cat-file --batch [2022-10-18T02:12:38.957Z] 2022-10-18 02:12:38,702 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-10-18T02:12:38.957Z] 2022-10-18 02:12:38,707 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-10-18T02:12:38.957Z] 0.0.0 [Pipeline] } [2022-10-18T02:12:38.968Z] $ docker exec --env ******** --env ******** 313aba68af7721fc9f2df8ebdc265a9cde17514a5a862fb9c4d287c21e9f22b1 ssh-agent -k [2022-10-18T02:12:39.076Z] unset SSH_AUTH_SOCK; [2022-10-18T02:12:39.082Z] unset SSH_AGENT_PID; [2022-10-18T02:12:39.082Z] echo Agent pid 77 killed; [2022-10-18T02:12:39.086Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-18T02:12:39.392Z] + git semver [Pipeline] } [2022-10-18T02:12:39.664Z] $ docker stop --time=1 313aba68af7721fc9f2df8ebdc265a9cde17514a5a862fb9c4d287c21e9f22b1 [2022-10-18T02:12:40.958Z] $ docker rm -f 313aba68af7721fc9f2df8ebdc265a9cde17514a5a862fb9c4d287c21e9f22b1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T02:12:41.298Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-18T02:12:41.457Z] Stashed 1 file(s) [Pipeline] echo [2022-10-18T02:12:41.459Z] [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-10-18T02:12:41.598Z] provisioning config files... [2022-10-18T02:12:41.608Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7541614841061140732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T02:12:41.906Z] ---> docker-login.sh [2022-10-18T02:12:41.906Z] nexus3.edgexfoundry.org:10001 [2022-10-18T02:12:41.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:12:41.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:12:41.906Z] Configure a credential helper to remove this warning. See [2022-10-18T02:12:41.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:12:41.906Z] [2022-10-18T02:12:41.906Z] Login Succeeded [2022-10-18T02:12:41.906Z] nexus3.edgexfoundry.org:10002 [2022-10-18T02:12:42.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:12:42.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:12:42.165Z] Configure a credential helper to remove this warning. See [2022-10-18T02:12:42.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:12:42.165Z] [2022-10-18T02:12:42.165Z] Login Succeeded [2022-10-18T02:12:42.165Z] nexus3.edgexfoundry.org:10003 [2022-10-18T02:12:42.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:12:42.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:12:42.166Z] Configure a credential helper to remove this warning. See [2022-10-18T02:12:42.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:12:42.166Z] [2022-10-18T02:12:42.166Z] Login Succeeded [2022-10-18T02:12:42.166Z] nexus3.edgexfoundry.org:10004 [2022-10-18T02:12:42.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:12:42.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:12:42.424Z] Configure a credential helper to remove this warning. See [2022-10-18T02:12:42.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:12:42.424Z] [2022-10-18T02:12:42.424Z] Login Succeeded [2022-10-18T02:12:42.424Z] docker.io [2022-10-18T02:12:42.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:12:42.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:12:42.683Z] Configure a credential helper to remove this warning. See [2022-10-18T02:12:42.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:12:42.683Z] [2022-10-18T02:12:42.683Z] Login Succeeded [2022-10-18T02:12:42.683Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T02:12:42.690Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-18T02:12:42.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T02:12:42.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T02:12:42.762Z] ========================================================= [2022-10-18T02:12:42.762Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-18T02:12:42.762Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T02:12:43.069Z] + 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-10-18T02:12:43.069Z] Sending build context to Docker daemon 21.34MB [2022-10-18T02:12:43.069Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T02:12:43.069Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-18T02:12:43.333Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-18T02:12:43.333Z] 213ec9aee27d: Pulling fs layer [2022-10-18T02:12:43.333Z] 4583459ba037: Pulling fs layer [2022-10-18T02:12:43.333Z] 93c1e223e6f2: Pulling fs layer [2022-10-18T02:12:43.333Z] 53926ce57604: Pulling fs layer [2022-10-18T02:12:43.333Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-18T02:12:43.333Z] 30f14e443154: Pulling fs layer [2022-10-18T02:12:43.333Z] 801331c1e519: Pulling fs layer [2022-10-18T02:12:43.333Z] 99cc6dd402b0: Pulling fs layer [2022-10-18T02:12:43.333Z] 7d9ed39f4882: Pulling fs layer [2022-10-18T02:12:43.333Z] 53926ce57604: Waiting [2022-10-18T02:12:43.333Z] 30f14e443154: Waiting [2022-10-18T02:12:43.333Z] 99cc6dd402b0: Waiting [2022-10-18T02:12:43.333Z] 801331c1e519: Waiting [2022-10-18T02:12:43.333Z] 21b2b0c7a3f4: Waiting [2022-10-18T02:12:43.333Z] 7d9ed39f4882: Waiting [2022-10-18T02:12:43.333Z] 93c1e223e6f2: Verifying Checksum [2022-10-18T02:12:43.333Z] 93c1e223e6f2: Download complete [2022-10-18T02:12:43.333Z] 4583459ba037: Download complete [2022-10-18T02:12:43.333Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-18T02:12:43.333Z] 21b2b0c7a3f4: Download complete [2022-10-18T02:12:43.333Z] 30f14e443154: Verifying Checksum [2022-10-18T02:12:43.333Z] 30f14e443154: Download complete [2022-10-18T02:12:43.333Z] 213ec9aee27d: Verifying Checksum [2022-10-18T02:12:43.333Z] 213ec9aee27d: Download complete [2022-10-18T02:12:43.333Z] 801331c1e519: Download complete [2022-10-18T02:12:43.607Z] 213ec9aee27d: Pull complete [2022-10-18T02:12:43.607Z] 4583459ba037: Pull complete [2022-10-18T02:12:43.607Z] 93c1e223e6f2: Pull complete [2022-10-18T02:12:44.197Z] 99cc6dd402b0: Verifying Checksum [2022-10-18T02:12:44.197Z] 99cc6dd402b0: Download complete [2022-10-18T02:12:44.197Z] 53926ce57604: Verifying Checksum [2022-10-18T02:12:44.197Z] 53926ce57604: Download complete [2022-10-18T02:12:44.197Z] 7d9ed39f4882: Download complete [2022-10-18T02:12:48.395Z] 53926ce57604: Pull complete [2022-10-18T02:12:48.395Z] 21b2b0c7a3f4: Pull complete [2022-10-18T02:12:48.395Z] 30f14e443154: Pull complete [2022-10-18T02:12:48.395Z] 801331c1e519: Pull complete [2022-10-18T02:12:50.314Z] 99cc6dd402b0: Pull complete [2022-10-18T02:12:51.261Z] 7d9ed39f4882: Pull complete [2022-10-18T02:12:51.261Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-18T02:12:51.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-18T02:12:51.261Z] ---> 1dedd983c030 [2022-10-18T02:12:51.261Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-18T02:12:54.558Z] ---> Running in ad42c5856a18 [2022-10-18T02:12:54.558Z] Removing intermediate container ad42c5856a18 [2022-10-18T02:12:54.558Z] ---> b68102d63f4c [2022-10-18T02:12:54.558Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-18T02:12:54.558Z] ---> Running in 3fc4b2c24622 [2022-10-18T02:12:54.558Z] Removing intermediate container 3fc4b2c24622 [2022-10-18T02:12:54.558Z] ---> dbd33a00728b [2022-10-18T02:12:54.558Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-18T02:12:54.558Z] ---> Running in e7bbffba3a6b [2022-10-18T02:12:54.817Z] Removing intermediate container e7bbffba3a6b [2022-10-18T02:12:54.817Z] ---> e8f219e5f162 [2022-10-18T02:12:54.817Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-18T02:12:54.817Z] ---> Running in 417cf3cecf9b [2022-10-18T02:12:54.817Z] Removing intermediate container 417cf3cecf9b [2022-10-18T02:12:54.817Z] ---> 3cbd944962fd [2022-10-18T02:12:54.817Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-18T02:12:54.817Z] ---> Running in c6bd1cdc3cc8 [2022-10-18T02:12:55.075Z] Removing intermediate container c6bd1cdc3cc8 [2022-10-18T02:12:55.075Z] ---> 36449bc9498c [2022-10-18T02:12:55.075Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T02:12:55.075Z] ---> Running in ceaf2e29cebf [2022-10-18T02:12:55.642Z] Removing intermediate container ceaf2e29cebf [2022-10-18T02:12:55.643Z] ---> c17b4462411a [2022-10-18T02:12:55.643Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-18T02:12:55.643Z] ---> Running in 3a9ae94c8ac7 [2022-10-18T02:12:55.902Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T02:12:56.571Z] Still waiting to schedule task [2022-10-18T02:12:56.572Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8432’ [2022-10-18T02:12:56.841Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T02:12:57.101Z] OK: 211 MiB in 51 packages [2022-10-18T02:12:57.361Z] Removing intermediate container 3a9ae94c8ac7 [2022-10-18T02:12:57.361Z] ---> 373c0e84da08 [2022-10-18T02:12:57.361Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-18T02:12:57.361Z] ---> Running in e92db0689d9e [2022-10-18T02:12:57.620Z] Removing intermediate container e92db0689d9e [2022-10-18T02:12:57.620Z] ---> 4b090d1e164e [2022-10-18T02:12:57.620Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-18T02:12:57.620Z] ---> e98a60650198 [2022-10-18T02:12:57.620Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T02:12:57.620Z] ---> Running in 04380fd74bbe [2022-10-18T02:13:24.177Z] Removing intermediate container 04380fd74bbe [2022-10-18T02:13:24.177Z] ---> 1a892735d7cc [2022-10-18T02:13:24.177Z] Step 13/14 : COPY . . [2022-10-18T02:13:24.177Z] ---> 1d4cd0ba30bb [2022-10-18T02:13:24.177Z] Step 14/14 : RUN ${MAKE} [2022-10-18T02:13:24.177Z] ---> Running in 4c6b7daa3d93 [2022-10-18T02:13:24.177Z] noop [2022-10-18T02:13:24.177Z] Removing intermediate container 4c6b7daa3d93 [2022-10-18T02:13:24.177Z] ---> ad798c250583 [2022-10-18T02:13:24.177Z] Successfully built ad798c250583 [2022-10-18T02:13:24.177Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T02:13:24.488Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-18T02:13:24.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T02:13:24.558Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2022-10-18T02:13:24.589Z] $ 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 ******** ci-base-image-x86_64 cat [2022-10-18T02:13:24.951Z] $ docker top 5449e8479d4b3454e5319009be90256a10736f98ef19f79322723a02b23826fd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T02:13:25.285Z] + go version [2022-10-18T02:13:25.285Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-18T02:13:25.296Z] $ docker stop --time=1 5449e8479d4b3454e5319009be90256a10736f98ef19f79322723a02b23826fd [2022-10-18T02:13:26.554Z] $ docker rm -f 5449e8479d4b3454e5319009be90256a10736f98ef19f79322723a02b23826fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T02:13:26.981Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-18T02:13:26.981Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T02:13:27.048Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2022-10-18T02:13:27.080Z] $ 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 ******** ci-base-image-x86_64 cat [2022-10-18T02:13:27.412Z] $ docker top 172be98c3d5bb23e3c22116ffe9b48736002a6b36578bd5f263fb7f42f16a6ef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T02:13:27.757Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-10-18T02:13:28.052Z] + make test [2022-10-18T02:13:28.052Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-18T02:13:28.311Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-18T02:13:38.280Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-18T02:13:39.655Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements [2022-10-18T02:13:39.655Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-18T02:13:39.655Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.310s coverage: 86.5% of statements [2022-10-18T02:13:46.229Z] 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-10-18T02:13:46.487Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-18T02:13:49.762Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-18T02:13:49.762Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-18T02:13:49.762Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-18T02:13:49.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-18T02:13:49.785Z] $ docker stop --time=1 172be98c3d5bb23e3c22116ffe9b48736002a6b36578bd5f263fb7f42f16a6ef [2022-10-18T02:13:51.990Z] $ docker rm -f 172be98c3d5bb23e3c22116ffe9b48736002a6b36578bd5f263fb7f42f16a6ef [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T02:13:52.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-18T02:13:52.485Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-18T02:13:52.994Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-18T02:13:53.281Z] + ls -al . [2022-10-18T02:13:53.281Z] total 236 [2022-10-18T02:13:53.281Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 02:13 . [2022-10-18T02:13:53.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 02:12 .. [2022-10-18T02:13:53.281Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 02:13 .git [2022-10-18T02:13:53.281Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 02:12 .github [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 18 02:12 .gitignore [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 02:12 .golangci.yml [2022-10-18T02:13:53.281Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 02:12 .semver [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 18 02:12 Attribution.txt [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 18 02:12 CHANGELOG.md [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 1799 Oct 18 02:12 Dockerfile [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 02:12 GOVERNANCE.md [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 18 02:12 Jenkinsfile [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 02:12 LICENSE [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 18 02:12 Makefile [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 18 02:12 OWNERS.md [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 18 02:12 README.md [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 02:12 VERSION [2022-10-18T02:13:53.281Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 02:12 bin [2022-10-18T02:13:53.281Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 02:12 cmd [2022-10-18T02:13:53.281Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 18 02:13 coverage.out [2022-10-18T02:13:53.281Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 18 02:12 doc [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 18 02:12 go.mod [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 18 02:12 go.sum [2022-10-18T02:13:53.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 02:12 internal [2022-10-18T02:13:53.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 02:12 snap [2022-10-18T02:13:53.281Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 18 02:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T02:13:53.589Z] + 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=e70c45844cf6a1234869e97159d94a5b55ef5df7 --label arch=amd64 --label version=0.0.0 . [2022-10-18T02:13:53.589Z] Sending build context to Docker daemon 21.42MB [2022-10-18T02:13:53.589Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T02:13:53.589Z] Step 2/28 : FROM ${BASE} AS builder [2022-10-18T02:13:53.589Z] ---> ad798c250583 [2022-10-18T02:13:53.590Z] Step 3/28 : ARG ADD_BUILD_TAGS="" [2022-10-18T02:13:53.849Z] ---> Running in 3e5f682cf03e [2022-10-18T02:13:53.849Z] Removing intermediate container 3e5f682cf03e [2022-10-18T02:13:53.849Z] ---> f9e7da9a2053 [2022-10-18T02:13:53.849Z] Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-18T02:13:54.133Z] ---> Running in ae4696475d42 [2022-10-18T02:13:54.133Z] Removing intermediate container ae4696475d42 [2022-10-18T02:13:54.133Z] ---> c4b49b2fda2c [2022-10-18T02:13:54.133Z] Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-18T02:13:54.133Z] ---> Running in 3af33890d797 [2022-10-18T02:13:54.133Z] Removing intermediate container 3af33890d797 [2022-10-18T02:13:54.133Z] ---> ea73fc2d0f63 [2022-10-18T02:13:54.133Z] Step 6/28 : ARG ALPINE_PKG_EXTRA="" [2022-10-18T02:13:54.133Z] ---> Running in b2471a6d31b0 [2022-10-18T02:13:54.133Z] Removing intermediate container b2471a6d31b0 [2022-10-18T02:13:54.133Z] ---> 1849e24e13e3 [2022-10-18T02:13:54.133Z] Step 7/28 : LABEL Name=edgex-device-onvif-camera [2022-10-18T02:13:54.393Z] ---> Running in de44cc56fe63 [2022-10-18T02:13:54.393Z] Removing intermediate container de44cc56fe63 [2022-10-18T02:13:54.393Z] ---> 36ae518f23d4 [2022-10-18T02:13:54.393Z] Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T02:13:54.393Z] ---> Running in 5604f5613e78 [2022-10-18T02:13:54.960Z] Removing intermediate container 5604f5613e78 [2022-10-18T02:13:54.960Z] ---> de3373c7ee04 [2022-10-18T02:13:54.960Z] Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-18T02:13:54.960Z] ---> Running in fa9a4f504813 [2022-10-18T02:13:55.219Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T02:13:56.158Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T02:13:56.418Z] OK: 211 MiB in 51 packages [2022-10-18T02:13:56.677Z] Removing intermediate container fa9a4f504813 [2022-10-18T02:13:56.677Z] ---> 16e425a2fedb [2022-10-18T02:13:56.677Z] Step 10/28 : WORKDIR /device-onvif-camera [2022-10-18T02:13:56.677Z] ---> Running in 6b28e8f32167 [2022-10-18T02:13:56.677Z] Removing intermediate container 6b28e8f32167 [2022-10-18T02:13:56.677Z] ---> 28bf9c7f2d9e [2022-10-18T02:13:56.677Z] Step 11/28 : COPY go.mod vendor* ./ [2022-10-18T02:13:56.936Z] ---> e177ff123d9b [2022-10-18T02:13:56.936Z] Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T02:13:56.936Z] ---> Running in 1b804e2a9fa5 [2022-10-18T02:13:57.501Z] Removing intermediate container 1b804e2a9fa5 [2022-10-18T02:13:57.501Z] ---> 806467fe8078 [2022-10-18T02:13:57.501Z] Step 13/28 : COPY . . [2022-10-18T02:13:58.435Z] ---> a70cbc2292bd [2022-10-18T02:13:58.435Z] Step 14/28 : RUN ${MAKE} [2022-10-18T02:13:58.435Z] ---> Running in 6698bc189dc5 [2022-10-18T02:13:58.693Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-18T02:14:20.669Z] Removing intermediate container 6698bc189dc5 [2022-10-18T02:14:20.669Z] ---> ea0ddc1671c7 [2022-10-18T02:14:20.669Z] Step 15/28 : FROM alpine:3.16 [2022-10-18T02:14:20.669Z] 3.16: Pulling from library/alpine [2022-10-18T02:14:20.669Z] 213ec9aee27d: Already exists [2022-10-18T02:14:20.669Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-18T02:14:20.669Z] Status: Downloaded newer image for alpine:3.16 [2022-10-18T02:14:20.669Z] ---> 9c6f07244728 [2022-10-18T02:14:20.669Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-18T02:14:20.669Z] ---> Running in b1999a3069a6 [2022-10-18T02:14:20.669Z] Removing intermediate container b1999a3069a6 [2022-10-18T02:14:20.669Z] ---> ba868d027968 [2022-10-18T02:14:20.669Z] Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-10-18T02:14:20.669Z] ---> Running in 1af4b2e82830 [2022-10-18T02:14:20.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T02:14:20.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T02:14:20.669Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-18T02:14:20.669Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-18T02:14:20.669Z] (3/21) Installing readline (8.1.2-r0) [2022-10-18T02:14:20.669Z] (4/21) Installing bash (5.1.16-r2) [2022-10-18T02:14:20.669Z] Executing bash-5.1.16-r2.post-install [2022-10-18T02:14:20.669Z] (5/21) Installing ca-certificates (20220614-r0) [2022-10-18T02:14:20.669Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-10-18T02:14:20.669Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-10-18T02:14:20.669Z] (8/21) Installing libcurl (7.83.1-r3) [2022-10-18T02:14:20.669Z] (9/21) Installing curl (7.83.1-r3) [2022-10-18T02:14:20.669Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-10-18T02:14:20.669Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-10-18T02:14:20.669Z] (12/21) Installing jq (1.6-r1) [2022-10-18T02:14:20.669Z] (13/21) Installing popt (1.18-r0) [2022-10-18T02:14:20.669Z] (14/21) Installing pcre (8.45-r2) [2022-10-18T02:14:20.669Z] (15/21) Installing slang (2.3.2-r0) [2022-10-18T02:14:20.669Z] (16/21) Installing newt (0.52.21-r2) [2022-10-18T02:14:20.669Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-10-18T02:14:20.669Z] (18/21) Installing libsodium (1.0.18-r0) [2022-10-18T02:14:20.669Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-18T02:14:20.669Z] (20/21) Installing libzmq (4.3.4-r0) [2022-10-18T02:14:20.669Z] (21/21) Installing zeromq (4.3.4-r0) [2022-10-18T02:14:20.669Z] Executing busybox-1.35.0-r17.trigger [2022-10-18T02:14:20.669Z] Executing ca-certificates-20220614-r0.trigger [2022-10-18T02:14:20.669Z] OK: 17 MiB in 35 packages [2022-10-18T02:14:21.281Z] Removing intermediate container 1af4b2e82830 [2022-10-18T02:14:21.281Z] ---> f33db2e6242a [2022-10-18T02:14:21.281Z] Step 18/28 : WORKDIR / [2022-10-18T02:14:21.281Z] ---> Running in 1e51865cd297 [2022-10-18T02:14:21.281Z] Removing intermediate container 1e51865cd297 [2022-10-18T02:14:21.281Z] ---> 01f91b1611cf [2022-10-18T02:14:21.281Z] Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-18T02:14:22.227Z] ---> 6c65b15b425c [2022-10-18T02:14:22.227Z] Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-18T02:14:22.227Z] ---> 0a30fec65b8b [2022-10-18T02:14:22.227Z] Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-18T02:14:22.227Z] ---> eff403daaeab [2022-10-18T02:14:22.227Z] Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-10-18T02:14:22.487Z] ---> 08d0c0c2423b [2022-10-18T02:14:22.487Z] Step 23/28 : EXPOSE 59984 [2022-10-18T02:14:22.487Z] ---> Running in 4083645f3598 [2022-10-18T02:14:22.487Z] Removing intermediate container 4083645f3598 [2022-10-18T02:14:22.487Z] ---> b592a70fa6e5 [2022-10-18T02:14:22.487Z] Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-18T02:14:22.487Z] ---> Running in e9b46c41dadd [2022-10-18T02:14:22.487Z] Removing intermediate container e9b46c41dadd [2022-10-18T02:14:22.487Z] ---> 3ffd480ba97f [2022-10-18T02:14:22.487Z] Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-18T02:14:22.487Z] ---> Running in 52fa45e80303 [2022-10-18T02:14:22.746Z] Removing intermediate container 52fa45e80303 [2022-10-18T02:14:22.746Z] ---> 9391bc8cb6d7 [2022-10-18T02:14:22.746Z] Step 26/28 : LABEL arch=amd64 [2022-10-18T02:14:22.746Z] ---> Running in a9da3cc213c3 [2022-10-18T02:14:22.746Z] Removing intermediate container a9da3cc213c3 [2022-10-18T02:14:22.746Z] ---> e92eaac977be [2022-10-18T02:14:22.746Z] Step 27/28 : LABEL git_sha=e70c45844cf6a1234869e97159d94a5b55ef5df7 [2022-10-18T02:14:22.746Z] ---> Running in 291be3024edf [2022-10-18T02:14:22.746Z] Removing intermediate container 291be3024edf [2022-10-18T02:14:22.746Z] ---> 02cff96afe93 [2022-10-18T02:14:22.746Z] Step 28/28 : LABEL version=0.0.0 [2022-10-18T02:14:22.746Z] ---> Running in 0c92d82af3d2 [2022-10-18T02:14:23.004Z] Removing intermediate container 0c92d82af3d2 [2022-10-18T02:14:23.004Z] ---> b5491c0e08d2 [2022-10-18T02:14:23.005Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-18T02:14:23.005Z] Successfully built b5491c0e08d2 [2022-10-18T02:14:23.005Z] 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-10-18T02:14:23.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T02:14:23.475Z] [2022-10-18T02:14:23.475Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T02:14:23.796Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T02:14:23.796Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-18T02:14:23.796Z] 5eb5b503b376: Pulling fs layer [2022-10-18T02:14:23.796Z] 5c69ac0246d0: Pulling fs layer [2022-10-18T02:14:23.796Z] ec43610c2a17: Pulling fs layer [2022-10-18T02:14:23.796Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-18T02:14:23.796Z] 33b1e0a273af: Pulling fs layer [2022-10-18T02:14:23.796Z] 5d3b04190fa2: Pulling fs layer [2022-10-18T02:14:23.796Z] 2f39f015ded8: Pulling fs layer [2022-10-18T02:14:23.796Z] 33b1e0a273af: Waiting [2022-10-18T02:14:23.796Z] 5d3b04190fa2: Waiting [2022-10-18T02:14:23.796Z] 2f39f015ded8: Waiting [2022-10-18T02:14:23.796Z] 3a2ae6a8a46f: Waiting [2022-10-18T02:14:23.796Z] 5c69ac0246d0: Verifying Checksum [2022-10-18T02:14:23.796Z] 5c69ac0246d0: Download complete [2022-10-18T02:14:23.796Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-18T02:14:23.796Z] 3a2ae6a8a46f: Download complete [2022-10-18T02:14:24.057Z] 33b1e0a273af: Verifying Checksum [2022-10-18T02:14:24.057Z] 33b1e0a273af: Download complete [2022-10-18T02:14:24.057Z] ec43610c2a17: Verifying Checksum [2022-10-18T02:14:24.057Z] ec43610c2a17: Download complete [2022-10-18T02:14:24.057Z] 5d3b04190fa2: Verifying Checksum [2022-10-18T02:14:24.057Z] 5d3b04190fa2: Download complete [2022-10-18T02:14:24.057Z] 5eb5b503b376: Verifying Checksum [2022-10-18T02:14:24.057Z] 5eb5b503b376: Download complete [2022-10-18T02:14:25.059Z] 2f39f015ded8: Download complete [2022-10-18T02:14:25.317Z] 5eb5b503b376: Pull complete [2022-10-18T02:14:25.317Z] 5c69ac0246d0: Pull complete [2022-10-18T02:14:25.884Z] ec43610c2a17: Pull complete [2022-10-18T02:14:25.884Z] 3a2ae6a8a46f: Pull complete [2022-10-18T02:14:26.143Z] 33b1e0a273af: Pull complete [2022-10-18T02:14:26.143Z] 5d3b04190fa2: Pull complete [2022-10-18T02:14:30.329Z] 2f39f015ded8: Pull complete [2022-10-18T02:14:30.329Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-18T02:14:30.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T02:14:30.329Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T02:14:30.406Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2022-10-18T02:14:30.439Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-18T02:14:34.094Z] $ docker top 5cba68b937f418fa1657656e74d1b25753588707c3a4e4c632d1925bfdfbff09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T02:14:34.509Z] ---> job-cost.sh [2022-10-18T02:14:34.509Z] lf-activate-venv: SKIPPING [2022-10-18T02:14:34.509Z] INFO: No Stack... [2022-10-18T02:14:34.767Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-18T02:14:35.027Z] INFO: Archiving Costs [Pipeline] sh [2022-10-18T02:14:35.318Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-10-18T02:14:35.318Z] + cut -d, -f6 [Pipeline] lock [2022-10-18T02:14:35.333Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-22-stack-cost] [2022-10-18T02:14:35.340Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-22-stack-cost] did not exist. Created. [2022-10-18T02:14:35.340Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-18T02:14:35.635Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-18T02:14:35.666Z] Stashed 1 file(s) [Pipeline] } [2022-10-18T02:14:35.672Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-18T02:14:35.696Z] $ docker stop --time=1 5cba68b937f418fa1657656e74d1b25753588707c3a4e4c632d1925bfdfbff09 [2022-10-18T02:14:36.853Z] $ docker rm -f 5cba68b937f418fa1657656e74d1b25753588707c3a4e4c632d1925bfdfbff09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-18T02:16:26.415Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8435 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-10-18T02:16:26.428Z] Running in /w/workspace/device-onvif-camera/22 [Pipeline] { [Pipeline] checkout [2022-10-18T02:16:26.462Z] The recommended git tool is: git [2022-10-18T02:16:31.753Z] using credential edgex-jenkins-ssh [2022-10-18T02:16:31.774Z] Cloning the remote Git repository [2022-10-18T02:16:31.816Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-18T02:16:31.902Z] > git init /w/workspace/device-onvif-camera/22 # timeout=10 [2022-10-18T02:16:32.081Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-18T02:16:32.083Z] > git --version # timeout=10 [2022-10-18T02:16:32.114Z] > git --version # 'git version 2.25.1' [2022-10-18T02:16:32.119Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T02:16:32.172Z] Verifying host key using known hosts file [2022-10-18T02:16:32.382Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-18T02:16:32.394Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-18T02:16:33.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-18T02:16:33.811Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-18T02:16:34.711Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-18T02:16:34.752Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-18T02:16:34.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T02:16:34.758Z] Verifying host key using known hosts file [2022-10-18T02:16:34.765Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-18T02:16:34.776Z] > 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-10-18T02:16:35.398Z] Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-10-18T02:16:36.127Z] Merge succeeded, producing 5e899e41369974eef9f7169c5674b55eb67d800a [2022-10-18T02:16:36.127Z] Checking out Revision 5e899e41369974eef9f7169c5674b55eb67d800a (PR-125) [2022-10-18T02:16:35.414Z] > git config core.sparsecheckout # timeout=10 [2022-10-18T02:16:35.430Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-10-18T02:16:35.655Z] > git remote # timeout=10 [2022-10-18T02:16:35.674Z] > git config --get remote.origin.url # timeout=10 [2022-10-18T02:16:35.690Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T02:16:35.695Z] Verifying host key using known hosts file [2022-10-18T02:16:35.699Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-18T02:16:35.708Z] > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 [2022-10-18T02:16:36.105Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-18T02:16:36.129Z] > git config core.sparsecheckout # timeout=10 [2022-10-18T02:16:36.141Z] > git checkout -f 5e899e41369974eef9f7169c5674b55eb67d800a # timeout=10 [2022-10-18T02:16:39.645Z] Commit message: "Merge commit 'c32d12cb3f3d5bd786ac66f0af1d84994387a230' into HEAD" [2022-10-18T02:16:39.668Z] First time build. Skipping changelog. [2022-10-18T02:16:39.649Z] > git rev-list --no-walk 763cd0a2806cbbf61bd992f6b7d9723d9827b1c1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T02:16:40.482Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-18T02:16:40.482Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T02:16:40.482Z] Dload Upload Total Spent Left Speed [2022-10-18T02:16:40.482Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2022-10-18T02:16:41.190Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-18T02:16:41.509Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-10-18T02:16:41.509Z] sudo tee /etc/docker/daemon.new [2022-10-18T02:16:41.509Z] { [2022-10-18T02:16:41.509Z] "registry-mirrors": [ [2022-10-18T02:16:41.509Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-18T02:16:41.509Z] ], [2022-10-18T02:16:41.509Z] "bip": "10.250.0.254/24", [2022-10-18T02:16:41.509Z] "hosts": [ [2022-10-18T02:16:41.509Z] "tcp://0.0.0.0:5555", [2022-10-18T02:16:41.509Z] "unix:///var/run/docker.sock" [2022-10-18T02:16:41.509Z] ], [2022-10-18T02:16:41.509Z] "mtu": 1458, [2022-10-18T02:16:41.509Z] "selinux-enabled": true, [2022-10-18T02:16:41.509Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-18T02:16:41.509Z] } [Pipeline] sh [2022-10-18T02:16:41.841Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-18T02:16:42.166Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T02:17:00.409Z] provisioning config files... [2022-10-18T02:17:00.432Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/22@tmp/config10844949604693749097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T02:17:00.784Z] ---> docker-login.sh [2022-10-18T02:17:00.784Z] nexus3.edgexfoundry.org:10001 [2022-10-18T02:17:01.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:17:01.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:17:01.641Z] Configure a credential helper to remove this warning. See [2022-10-18T02:17:01.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:17:01.641Z] [2022-10-18T02:17:01.641Z] Login Succeeded [2022-10-18T02:17:01.641Z] nexus3.edgexfoundry.org:10002 [2022-10-18T02:17:01.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:17:01.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:17:01.912Z] Configure a credential helper to remove this warning. See [2022-10-18T02:17:01.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:17:01.912Z] [2022-10-18T02:17:01.912Z] Login Succeeded [2022-10-18T02:17:01.912Z] nexus3.edgexfoundry.org:10003 [2022-10-18T02:17:02.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:17:02.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:17:02.180Z] Configure a credential helper to remove this warning. See [2022-10-18T02:17:02.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:17:02.180Z] [2022-10-18T02:17:02.180Z] Login Succeeded [2022-10-18T02:17:02.180Z] nexus3.edgexfoundry.org:10004 [2022-10-18T02:17:02.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:17:02.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:17:02.722Z] Configure a credential helper to remove this warning. See [2022-10-18T02:17:02.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:17:02.722Z] [2022-10-18T02:17:02.722Z] Login Succeeded [2022-10-18T02:17:02.722Z] docker.io [2022-10-18T02:17:02.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T02:17:03.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T02:17:03.257Z] Configure a credential helper to remove this warning. See [2022-10-18T02:17:03.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T02:17:03.257Z] [2022-10-18T02:17:03.257Z] Login Succeeded [2022-10-18T02:17:03.257Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T02:17:03.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-18T02:17:03.416Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T02:17:03.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T02:17:03.435Z] ========================================================= [2022-10-18T02:17:03.435Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-18T02:17:03.435Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T02:17:03.766Z] + 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-10-18T02:17:04.353Z] Sending build context to Docker daemon 14.7MB [2022-10-18T02:17:04.353Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T02:17:04.353Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-18T02:17:04.353Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-18T02:17:04.353Z] 9b18e9b68314: Pulling fs layer [2022-10-18T02:17:04.353Z] d32db5db7311: Pulling fs layer [2022-10-18T02:17:04.353Z] d0c4b47475fc: Pulling fs layer [2022-10-18T02:17:04.353Z] 5831b945b038: Pulling fs layer [2022-10-18T02:17:04.353Z] 86bbec2aaacd: Pulling fs layer [2022-10-18T02:17:04.353Z] e10730c5d714: Pulling fs layer [2022-10-18T02:17:04.353Z] 5dd5c2283517: Pulling fs layer [2022-10-18T02:17:04.353Z] d5ac0230b979: Pulling fs layer [2022-10-18T02:17:04.353Z] 5831b945b038: Waiting [2022-10-18T02:17:04.353Z] 86bbec2aaacd: Waiting [2022-10-18T02:17:04.353Z] 5dd5c2283517: Waiting [2022-10-18T02:17:04.353Z] e10730c5d714: Waiting [2022-10-18T02:17:04.353Z] d5ac0230b979: Waiting [2022-10-18T02:17:04.353Z] d0c4b47475fc: Download complete [2022-10-18T02:17:04.353Z] d32db5db7311: Verifying Checksum [2022-10-18T02:17:04.353Z] d32db5db7311: Download complete [2022-10-18T02:17:04.353Z] 86bbec2aaacd: Verifying Checksum [2022-10-18T02:17:04.353Z] 86bbec2aaacd: Download complete [2022-10-18T02:17:04.353Z] e10730c5d714: Download complete [2022-10-18T02:17:04.353Z] 9b18e9b68314: Verifying Checksum [2022-10-18T02:17:04.353Z] 9b18e9b68314: Download complete [2022-10-18T02:17:05.784Z] 9b18e9b68314: Pull complete [2022-10-18T02:17:05.784Z] d5ac0230b979: Verifying Checksum [2022-10-18T02:17:05.784Z] d5ac0230b979: Download complete [2022-10-18T02:17:06.051Z] d32db5db7311: Pull complete [2022-10-18T02:17:06.323Z] d0c4b47475fc: Pull complete [2022-10-18T02:17:06.913Z] 5dd5c2283517: Verifying Checksum [2022-10-18T02:17:06.913Z] 5dd5c2283517: Download complete [2022-10-18T02:17:07.184Z] 5831b945b038: Verifying Checksum [2022-10-18T02:17:07.184Z] 5831b945b038: Download complete [2022-10-18T02:17:19.525Z] 5831b945b038: Pull complete [2022-10-18T02:17:19.525Z] 86bbec2aaacd: Pull complete [2022-10-18T02:17:19.525Z] e10730c5d714: Pull complete [2022-10-18T02:17:26.190Z] 5dd5c2283517: Pull complete [2022-10-18T02:17:28.791Z] d5ac0230b979: Pull complete [2022-10-18T02:17:28.791Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-18T02:17:28.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-18T02:17:28.791Z] ---> 59b3b1a385d4 [2022-10-18T02:17:28.791Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-18T02:17:30.209Z] ---> Running in a3dd5baec3d1 [2022-10-18T02:17:30.476Z] Removing intermediate container a3dd5baec3d1 [2022-10-18T02:17:30.476Z] ---> 6e103390dc29 [2022-10-18T02:17:30.476Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-18T02:17:30.745Z] ---> Running in 963eca2968f3 [2022-10-18T02:17:31.016Z] Removing intermediate container 963eca2968f3 [2022-10-18T02:17:31.016Z] ---> 6cec6766f9c0 [2022-10-18T02:17:31.016Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-18T02:17:31.016Z] ---> Running in c93fe755e4c4 [2022-10-18T02:17:31.290Z] Removing intermediate container c93fe755e4c4 [2022-10-18T02:17:31.290Z] ---> bbe09a040a48 [2022-10-18T02:17:31.291Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-18T02:17:31.564Z] ---> Running in 21b99a83e996 [2022-10-18T02:17:31.833Z] Removing intermediate container 21b99a83e996 [2022-10-18T02:17:31.833Z] ---> 29d7dbf0d372 [2022-10-18T02:17:31.833Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-18T02:17:31.833Z] ---> Running in 5cc415441fac [2022-10-18T02:17:32.113Z] Removing intermediate container 5cc415441fac [2022-10-18T02:17:32.113Z] ---> 17082d048a6d [2022-10-18T02:17:32.113Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T02:17:32.113Z] ---> Running in a99c8c4ae921 [2022-10-18T02:17:34.088Z] Removing intermediate container a99c8c4ae921 [2022-10-18T02:17:34.088Z] ---> 16812906bdef [2022-10-18T02:17:34.088Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-18T02:17:34.088Z] ---> Running in edf7f32557f1 [2022-10-18T02:17:35.050Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T02:17:36.018Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T02:17:36.605Z] OK: 221 MiB in 51 packages [2022-10-18T02:17:37.563Z] Removing intermediate container edf7f32557f1 [2022-10-18T02:17:37.563Z] ---> 679ebe5c8247 [2022-10-18T02:17:37.563Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-18T02:17:37.563Z] ---> Running in c9bb6f1f0909 [2022-10-18T02:17:37.828Z] Removing intermediate container c9bb6f1f0909 [2022-10-18T02:17:37.828Z] ---> 5524b2165a27 [2022-10-18T02:17:37.828Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-18T02:17:38.410Z] ---> 80295b3d31c5 [2022-10-18T02:17:38.410Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T02:17:38.410Z] ---> Running in a6913c3cdb1e [2022-10-18T02:18:34.836Z] Removing intermediate container a6913c3cdb1e [2022-10-18T02:18:34.836Z] ---> 0241ffe8fae5 [2022-10-18T02:18:34.836Z] Step 13/14 : COPY . . [2022-10-18T02:18:34.836Z] ---> 580d79d00870 [2022-10-18T02:18:34.836Z] Step 14/14 : RUN ${MAKE} [2022-10-18T02:18:34.836Z] ---> Running in 9e43d8e01020 [2022-10-18T02:18:34.836Z] noop [2022-10-18T02:18:34.836Z] Removing intermediate container 9e43d8e01020 [2022-10-18T02:18:34.836Z] ---> 68d682ca3025 [2022-10-18T02:18:34.836Z] Successfully built 68d682ca3025 [2022-10-18T02:18:34.836Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T02:18:35.191Z] + docker inspect -f . ci-base-image-arm64 [2022-10-18T02:18:35.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T02:18:35.392Z] prd-ubuntu20.04-docker-arm64-4c-16g-8435 does not seem to be running inside a container [2022-10-18T02:18:35.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/22 -v /w/workspace/device-onvif-camera/22:/w/workspace/device-onvif-camera/22:rw,z -v /w/workspace/device-onvif-camera/22@tmp:/w/workspace/device-onvif-camera/22@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-10-18T02:18:36.824Z] $ docker top af008a0c349e3b647e2076c4935dbdfcc7bed41f87c1a5215d6b19d8b38a8529 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T02:18:37.679Z] + go version [2022-10-18T02:18:37.679Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-18T02:18:37.695Z] $ docker stop --time=1 af008a0c349e3b647e2076c4935dbdfcc7bed41f87c1a5215d6b19d8b38a8529 [2022-10-18T02:18:39.344Z] $ docker rm -f af008a0c349e3b647e2076c4935dbdfcc7bed41f87c1a5215d6b19d8b38a8529 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T02:18:39.929Z] + docker inspect -f . ci-base-image-arm64 [2022-10-18T02:18:39.929Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T02:18:40.116Z] prd-ubuntu20.04-docker-arm64-4c-16g-8435 does not seem to be running inside a container [2022-10-18T02:18:40.184Z] $ 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/22 -v /w/workspace/device-onvif-camera/22:/w/workspace/device-onvif-camera/22:rw,z -v /w/workspace/device-onvif-camera/22@tmp:/w/workspace/device-onvif-camera/22@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-10-18T02:18:41.378Z] $ docker top 8475829be0e497fbe194970c10ffdf1e2795b5fdd49c37dec271789c2237c49e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T02:18:41.914Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/22 [Pipeline] fileExists [Pipeline] sh [2022-10-18T02:18:42.826Z] + make test [2022-10-18T02:18:42.826Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-18T02:18:44.789Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-18T02:20:21.449Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-18T02:20:28.108Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.210s coverage: 28.2% of statements [2022-10-18T02:20:28.108Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-18T02:20:40.410Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.154s coverage: 86.5% of statements [2022-10-18T02:20:40.410Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-18T02:20:40.410Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-18T02:21:12.671Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-18T02:21:12.671Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-18T02:21:12.671Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-18T02:21:12.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-18T02:21:12.697Z] $ docker stop --time=1 8475829be0e497fbe194970c10ffdf1e2795b5fdd49c37dec271789c2237c49e [2022-10-18T02:21:14.544Z] $ docker rm -f 8475829be0e497fbe194970c10ffdf1e2795b5fdd49c37dec271789c2237c49e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T02:21:15.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-18T02:21:15.595Z] Warning: overwriting stash ‘coverage-report’ [2022-10-18T02:21:16.161Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T02:21:16.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-18T02:21:16.871Z] + ls -al . [2022-10-18T02:21:16.871Z] total 232 [2022-10-18T02:21:16.871Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 02:18 . [2022-10-18T02:21:16.871Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 02:16 .. [2022-10-18T02:21:16.871Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 02:16 .git [2022-10-18T02:21:16.871Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 02:16 .github [2022-10-18T02:21:16.871Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 18 02:16 .gitignore [2022-10-18T02:21:16.871Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 02:16 .golangci.yml [2022-10-18T02:21:16.871Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 18 02:16 Attribution.txt [2022-10-18T02:21:16.871Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 18 02:16 CHANGELOG.md [2022-10-18T02:21:16.872Z] -rw-rw-r-- 1 jenkins jenkins 1799 Oct 18 02:16 Dockerfile [2022-10-18T02:21:16.872Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 02:16 GOVERNANCE.md [2022-10-18T02:21:16.872Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 18 02:16 Jenkinsfile [2022-10-18T02:21:16.872Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 02:16 LICENSE [2022-10-18T02:21:16.872Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 18 02:16 Makefile [2022-10-18T02:21:16.872Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 18 02:16 OWNERS.md [2022-10-18T02:21:16.872Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 18 02:16 README.md [2022-10-18T02:21:16.872Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 02:12 VERSION [2022-10-18T02:21:16.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 02:16 bin [2022-10-18T02:21:16.872Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 02:16 cmd [2022-10-18T02:21:16.872Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 18 02:20 coverage.out [2022-10-18T02:21:16.872Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 18 02:16 doc [2022-10-18T02:21:16.872Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 18 02:16 go.mod [2022-10-18T02:21:16.872Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 18 02:16 go.sum [2022-10-18T02:21:16.872Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 02:16 internal [2022-10-18T02:21:16.872Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 02:16 snap [2022-10-18T02:21:16.872Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 18 02:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T02:21:17.213Z] + 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=5e899e41369974eef9f7169c5674b55eb67d800a --label arch=arm64 --label version=0.0.0 . [2022-10-18T02:21:19.157Z] Sending build context to Docker daemon 14.78MB [2022-10-18T02:21:19.157Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T02:21:19.157Z] Step 2/28 : FROM ${BASE} AS builder [2022-10-18T02:21:19.157Z] ---> 68d682ca3025 [2022-10-18T02:21:19.157Z] Step 3/28 : ARG ADD_BUILD_TAGS="" [2022-10-18T02:21:19.157Z] ---> Running in 08ae0727e3bb [2022-10-18T02:21:19.423Z] Removing intermediate container 08ae0727e3bb [2022-10-18T02:21:19.423Z] ---> 1d4e7e15fff3 [2022-10-18T02:21:19.423Z] Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-18T02:21:19.423Z] ---> Running in 42d1040fde80 [2022-10-18T02:21:19.691Z] Removing intermediate container 42d1040fde80 [2022-10-18T02:21:19.691Z] ---> 11e5f708ad58 [2022-10-18T02:21:19.691Z] Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-18T02:21:19.957Z] ---> Running in 55dba5b2700a [2022-10-18T02:21:20.224Z] Removing intermediate container 55dba5b2700a [2022-10-18T02:21:20.224Z] ---> f69c41288df4 [2022-10-18T02:21:20.224Z] Step 6/28 : ARG ALPINE_PKG_EXTRA="" [2022-10-18T02:21:20.224Z] ---> Running in e8212fa17665 [2022-10-18T02:21:20.491Z] Removing intermediate container e8212fa17665 [2022-10-18T02:21:20.491Z] ---> c8b4f2602ccc [2022-10-18T02:21:20.491Z] Step 7/28 : LABEL Name=edgex-device-onvif-camera [2022-10-18T02:21:20.491Z] ---> Running in 50dceaf1a979 [2022-10-18T02:21:20.855Z] Removing intermediate container 50dceaf1a979 [2022-10-18T02:21:20.855Z] ---> 5343c1217ebf [2022-10-18T02:21:20.855Z] Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T02:21:21.125Z] ---> Running in c514cbf5297b [2022-10-18T02:21:23.128Z] Removing intermediate container c514cbf5297b [2022-10-18T02:21:23.128Z] ---> 19457e006774 [2022-10-18T02:21:23.128Z] Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-18T02:21:23.128Z] ---> Running in a48ac31daeee [2022-10-18T02:21:24.124Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T02:21:24.702Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T02:21:25.658Z] OK: 221 MiB in 51 packages [2022-10-18T02:21:26.623Z] Removing intermediate container a48ac31daeee [2022-10-18T02:21:26.623Z] ---> 20f8ebe7f62e [2022-10-18T02:21:26.623Z] Step 10/28 : WORKDIR /device-onvif-camera [2022-10-18T02:21:26.623Z] ---> Running in 959b69aa2eeb [2022-10-18T02:21:26.888Z] Removing intermediate container 959b69aa2eeb [2022-10-18T02:21:26.888Z] ---> f475f37f4ef1 [2022-10-18T02:21:26.888Z] Step 11/28 : COPY go.mod vendor* ./ [2022-10-18T02:21:27.480Z] ---> b548f72d0b09 [2022-10-18T02:21:27.480Z] Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T02:21:27.480Z] ---> Running in 25012af33413 [2022-10-18T02:21:30.821Z] Removing intermediate container 25012af33413 [2022-10-18T02:21:30.821Z] ---> d5ecab733151 [2022-10-18T02:21:30.821Z] Step 13/28 : COPY . . [2022-10-18T02:21:34.167Z] ---> 20400225d954 [2022-10-18T02:21:34.167Z] Step 14/28 : RUN ${MAKE} [2022-10-18T02:21:34.167Z] ---> Running in 8587efaa62df [2022-10-18T02:21:35.577Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-18T02:23:57.263Z] Removing intermediate container 8587efaa62df [2022-10-18T02:23:57.263Z] ---> c4a1df04aa90 [2022-10-18T02:23:57.263Z] Step 15/28 : FROM alpine:3.16 [2022-10-18T02:23:57.843Z] 3.16: Pulling from library/alpine [2022-10-18T02:23:58.114Z] 9b18e9b68314: Already exists [2022-10-18T02:23:58.114Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-18T02:23:58.114Z] Status: Downloaded newer image for alpine:3.16 [2022-10-18T02:23:58.114Z] ---> a6215f271958 [2022-10-18T02:23:58.114Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-18T02:23:58.380Z] ---> Running in 02b7a17da2af [2022-10-18T02:23:58.647Z] Removing intermediate container 02b7a17da2af [2022-10-18T02:23:58.647Z] ---> f167b1c9b1e3 [2022-10-18T02:23:58.647Z] Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-10-18T02:23:58.647Z] ---> Running in 7e4d56e49063 [2022-10-18T02:23:59.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T02:23:59.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T02:24:00.827Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-18T02:24:00.827Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-18T02:24:00.827Z] (3/21) Installing readline (8.1.2-r0) [2022-10-18T02:24:00.827Z] (4/21) Installing bash (5.1.16-r2) [2022-10-18T02:24:00.827Z] Executing bash-5.1.16-r2.post-install [2022-10-18T02:24:00.827Z] (5/21) Installing ca-certificates (20220614-r0) [2022-10-18T02:24:01.094Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-10-18T02:24:01.094Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-10-18T02:24:01.094Z] (8/21) Installing libcurl (7.83.1-r3) [2022-10-18T02:24:01.094Z] (9/21) Installing curl (7.83.1-r3) [2022-10-18T02:24:01.094Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-10-18T02:24:01.094Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-10-18T02:24:01.094Z] (12/21) Installing jq (1.6-r1) [2022-10-18T02:24:01.094Z] (13/21) Installing popt (1.18-r0) [2022-10-18T02:24:01.094Z] (14/21) Installing pcre (8.45-r2) [2022-10-18T02:24:01.094Z] (15/21) Installing slang (2.3.2-r0) [2022-10-18T02:24:01.094Z] (16/21) Installing newt (0.52.21-r2) [2022-10-18T02:24:01.362Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-10-18T02:24:01.362Z] (18/21) Installing libsodium (1.0.18-r0) [2022-10-18T02:24:01.362Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-18T02:24:01.362Z] (20/21) Installing libzmq (4.3.4-r0) [2022-10-18T02:24:01.362Z] (21/21) Installing zeromq (4.3.4-r0) [2022-10-18T02:24:01.362Z] Executing busybox-1.35.0-r17.trigger [2022-10-18T02:24:01.362Z] Executing ca-certificates-20220614-r0.trigger [2022-10-18T02:24:01.627Z] OK: 16 MiB in 35 packages [2022-10-18T02:24:03.041Z] Removing intermediate container 7e4d56e49063 [2022-10-18T02:24:03.041Z] ---> 8c0ea9236105 [2022-10-18T02:24:03.041Z] Step 18/28 : WORKDIR / [2022-10-18T02:24:03.041Z] ---> Running in 2354fcd1ea6f [2022-10-18T02:24:03.307Z] Removing intermediate container 2354fcd1ea6f [2022-10-18T02:24:03.307Z] ---> f3f26fe84285 [2022-10-18T02:24:03.307Z] Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-18T02:24:05.243Z] ---> fe244fbcfa64 [2022-10-18T02:24:05.243Z] Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-18T02:24:05.824Z] ---> 59eddee2d46c [2022-10-18T02:24:05.825Z] Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-18T02:24:06.406Z] ---> 0dbe287bab45 [2022-10-18T02:24:06.406Z] Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-10-18T02:24:06.672Z] ---> 1de5e3270b2c [2022-10-18T02:24:06.672Z] Step 23/28 : EXPOSE 59984 [2022-10-18T02:24:06.672Z] ---> Running in 4f6dd0c65094 [2022-10-18T02:24:06.945Z] Removing intermediate container 4f6dd0c65094 [2022-10-18T02:24:06.945Z] ---> 73b3c4ed47e3 [2022-10-18T02:24:06.945Z] Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-18T02:24:07.213Z] ---> Running in 394374c3f9c8 [2022-10-18T02:24:07.480Z] Removing intermediate container 394374c3f9c8 [2022-10-18T02:24:07.480Z] ---> 0fd22e1eed70 [2022-10-18T02:24:07.480Z] Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-18T02:24:07.480Z] ---> Running in 1df82bcdd68e [2022-10-18T02:24:07.749Z] Removing intermediate container 1df82bcdd68e [2022-10-18T02:24:07.749Z] ---> 0cd72cf92ef4 [2022-10-18T02:24:07.749Z] Step 26/28 : LABEL arch=arm64 [2022-10-18T02:24:07.749Z] ---> Running in 6c05fe531181 [2022-10-18T02:24:08.015Z] Removing intermediate container 6c05fe531181 [2022-10-18T02:24:08.015Z] ---> d93f18809117 [2022-10-18T02:24:08.015Z] Step 27/28 : LABEL git_sha=5e899e41369974eef9f7169c5674b55eb67d800a [2022-10-18T02:24:08.015Z] ---> Running in 400e2c2fdf2d [2022-10-18T02:24:08.280Z] Removing intermediate container 400e2c2fdf2d [2022-10-18T02:24:08.280Z] ---> 365a5941f63c [2022-10-18T02:24:08.280Z] Step 28/28 : LABEL version=0.0.0 [2022-10-18T02:24:08.546Z] ---> Running in ac0ec607fdf5 [2022-10-18T02:24:08.812Z] Removing intermediate container ac0ec607fdf5 [2022-10-18T02:24:08.812Z] ---> 6fa7245b5e48 [2022-10-18T02:24:08.812Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-18T02:24:08.812Z] Successfully built 6fa7245b5e48 [2022-10-18T02:24:08.812Z] 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-10-18T02:24:09.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T02:24:09.244Z] [2022-10-18T02:24:09.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T02:24:09.579Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T02:24:09.580Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-18T02:24:09.580Z] 8998bd30e6a1: Pulling fs layer [2022-10-18T02:24:09.580Z] 04944245beec: Pulling fs layer [2022-10-18T02:24:09.580Z] 699f458cf7ca: Pulling fs layer [2022-10-18T02:24:09.580Z] 765212b225bb: Pulling fs layer [2022-10-18T02:24:09.580Z] f23df028b6ca: Pulling fs layer [2022-10-18T02:24:09.580Z] d65c8cfc05b1: Pulling fs layer [2022-10-18T02:24:09.580Z] 2437ff75d9bd: Pulling fs layer [2022-10-18T02:24:09.580Z] f23df028b6ca: Waiting [2022-10-18T02:24:09.580Z] d65c8cfc05b1: Waiting [2022-10-18T02:24:09.580Z] 2437ff75d9bd: Waiting [2022-10-18T02:24:09.580Z] 765212b225bb: Waiting [2022-10-18T02:24:09.847Z] 04944245beec: Verifying Checksum [2022-10-18T02:24:09.847Z] 04944245beec: Download complete [2022-10-18T02:24:09.847Z] 765212b225bb: Download complete [2022-10-18T02:24:09.847Z] f23df028b6ca: Verifying Checksum [2022-10-18T02:24:09.847Z] f23df028b6ca: Download complete [2022-10-18T02:24:09.847Z] d65c8cfc05b1: Verifying Checksum [2022-10-18T02:24:09.847Z] d65c8cfc05b1: Download complete [2022-10-18T02:24:10.115Z] 699f458cf7ca: Verifying Checksum [2022-10-18T02:24:10.115Z] 699f458cf7ca: Download complete [2022-10-18T02:24:10.384Z] 8998bd30e6a1: Download complete [2022-10-18T02:24:12.326Z] 2437ff75d9bd: Verifying Checksum [2022-10-18T02:24:12.326Z] 2437ff75d9bd: Download complete [2022-10-18T02:24:14.267Z] 8998bd30e6a1: Pull complete [2022-10-18T02:24:14.267Z] 04944245beec: Pull complete [2022-10-18T02:24:15.676Z] 699f458cf7ca: Pull complete [2022-10-18T02:24:15.676Z] 765212b225bb: Pull complete [2022-10-18T02:24:16.633Z] f23df028b6ca: Pull complete [2022-10-18T02:24:16.633Z] d65c8cfc05b1: Pull complete [2022-10-18T02:24:28.947Z] 2437ff75d9bd: Pull complete [2022-10-18T02:24:28.947Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-18T02:24:28.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T02:24:28.947Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T02:24:29.123Z] prd-ubuntu20.04-docker-arm64-4c-16g-8435 does not seem to be running inside a container [2022-10-18T02:24:29.186Z] $ 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/22 -v /w/workspace/device-onvif-camera/22:/w/workspace/device-onvif-camera/22:rw,z -v /w/workspace/device-onvif-camera/22@tmp:/w/workspace/device-onvif-camera/22@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-10-18T02:24:31.990Z] $ docker top 5a0d96aa89be2f79597659dbbe7845762435fbdef1861bf4091d88e42317f150 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T02:24:32.522Z] ---> job-cost.sh [2022-10-18T02:24:32.792Z] lf-activate-venv: SKIPPING [2022-10-18T02:24:32.792Z] INFO: No Stack... [2022-10-18T02:24:33.375Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-18T02:24:34.334Z] INFO: Archiving Costs [Pipeline] sh [2022-10-18T02:24:34.979Z] + cat /w/workspace/device-onvif-camera/22/archives/cost.csv [2022-10-18T02:24:34.979Z] + cut -d, -f6 [Pipeline] lock [2022-10-18T02:24:35.048Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-22-stack-cost] [2022-10-18T02:24:35.054Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-22-stack-cost] did not exist. Created. [2022-10-18T02:24:35.054Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-18T02:24:35.712Z] /w/workspace/device-onvif-camera/22@tmp/durable-18888aed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-18T02:24:36.363Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-18T02:24:36.383Z] Warning: overwriting stash ‘stack-cost’ [2022-10-18T02:24:36.442Z] Stashed 1 file(s) [Pipeline] } [2022-10-18T02:24:36.448Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-18T02:24:36.459Z] $ docker stop --time=1 5a0d96aa89be2f79597659dbbe7845762435fbdef1861bf4091d88e42317f150 [2022-10-18T02:24:37.985Z] $ docker rm -f 5a0d96aa89be2f79597659dbbe7845762435fbdef1861bf4091d88e42317f150 [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-10-18T02:24:38.436Z] provisioning config files... [2022-10-18T02:24:38.442Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config12126773310033679500tmp [Pipeline] { [Pipeline] sh [2022-10-18T02:24:38.730Z] + set +x [2022-10-18T02:24:38.730Z] + bash -s -- [2022-10-18T02:24:38.730Z] + curl -s https://codecov.io/bash [2022-10-18T02:24:38.730Z] [2022-10-18T02:24:38.730Z] _____ _ [2022-10-18T02:24:38.730Z] / ____| | | [2022-10-18T02:24:38.730Z] | | ___ __| | ___ ___ _____ __ [2022-10-18T02:24:38.730Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-18T02:24:38.730Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-18T02:24:38.730Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-18T02:24:38.730Z] Bash-1.0.6 [2022-10-18T02:24:38.730Z] [2022-10-18T02:24:38.730Z] [2022-10-18T02:24:38.730Z] ==> git version 2.25.1 found [2022-10-18T02:24:38.730Z] ==> 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-10-18T02:24:38.730Z] Release-Date: 2020-01-08 [2022-10-18T02:24:38.730Z] 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-10-18T02:24:38.730Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-18T02:24:38.730Z] ==> Jenkins CI detected. [2022-10-18T02:24:38.730Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-10-18T02:24:38.730Z] project root: . [2022-10-18T02:24:38.730Z] --> token set from env [2022-10-18T02:24:38.988Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-18T02:24:38.988Z] ==> Running gcov in . (disable via -X gcov) [2022-10-18T02:24:38.988Z] ==> Python coveragepy not found [2022-10-18T02:24:38.988Z] ==> Searching for coverage reports in: [2022-10-18T02:24:38.988Z] + . [2022-10-18T02:24:38.988Z] -> Found 1 reports [2022-10-18T02:24:38.988Z] ==> Detecting git/mercurial file structure [2022-10-18T02:24:38.988Z] ==> Reading reports [2022-10-18T02:24:38.988Z] + ./coverage.out bytes=78636 [2022-10-18T02:24:38.988Z] ==> Appending adjustments [2022-10-18T02:24:38.988Z] https://docs.codecov.io/docs/fixing-reports [2022-10-18T02:24:38.988Z] + Found adjustments [2022-10-18T02:24:39.247Z] ==> Gzipping contents [2022-10-18T02:24:39.247Z] 12K /tmp/codecov.O9eueh.gz [2022-10-18T02:24:39.247Z] ==> Uploading reports [2022-10-18T02:24:39.247Z] url: https://codecov.io [2022-10-18T02:24:39.247Z] query: branch=PR-125&commit=e70c45844cf6a1234869e97159d94a5b55ef5df7&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-10-18T02:24:39.247Z] -> Pinging Codecov [2022-10-18T02:24:39.247Z] 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=e70c45844cf6a1234869e97159d94a5b55ef5df7&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-10-18T02:24:39.507Z] -> Uploading to [2022-10-18T02:24:39.507Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-18/F29A59C45E3A92E06B3E522C9905F8EF/e70c45844cf6a1234869e97159d94a5b55ef5df7/789dd323-bec5-44f2-b966-5daf0f15868f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221018T022439Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb9323db4eb3e35ffa692b8a6bfe7790dee545ebbffeb42c44e0ded1a0b99cfb [2022-10-18T02:24:39.507Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T02:24:39.507Z] Dload Upload Total Spent Left Speed [2022-10-18T02:24:39.766Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10795 0 0 100 10795 0 48626 --:--:-- --:--:-- --:--:-- 48626 [2022-10-18T02:24:39.766Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e70c45844cf6a1234869e97159d94a5b55ef5df7 [Pipeline] } [2022-10-18T02:24:39.776Z] 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-10-18T02:24:40.464Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-10-18T02:24:40.464Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-18T02:24:40.464Z] total 16 [2022-10-18T02:24:40.464Z] drwxr-xr-x 3 root root 4096 Oct 18 02:14 . [2022-10-18T02:24:40.464Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 02:14 .. [2022-10-18T02:24:40.464Z] drwxr-xr-x 2 root root 4096 Oct 18 02:14 cost [2022-10-18T02:24:40.464Z] -rw-r--r-- 1 root root 92 Oct 18 02:14 cost.csv [2022-10-18T02:24:40.464Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-18T02:24:40.464Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-18T02:24:40.464Z] total 16 [2022-10-18T02:24:40.464Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 02:14 . [2022-10-18T02:24:40.464Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 02:14 .. [2022-10-18T02:24:40.464Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 02:14 cost [2022-10-18T02:24:40.464Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 18 02:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-18T02:24:40.756Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T02:24:41.611Z] ---> package-listing.sh [2022-10-18T02:24:41.611Z] ++ facter osfamily [2022-10-18T02:24:41.611Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-18T02:24:41.869Z] + OS_FAMILY=debian [2022-10-18T02:24:41.869Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-10-18T02:24:41.869Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-18T02:24:41.869Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-18T02:24:41.869Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-18T02:24:41.869Z] + PACKAGES=/tmp/packages_start.txt [2022-10-18T02:24:41.869Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-10-18T02:24:41.869Z] + PACKAGES=/tmp/packages_end.txt [2022-10-18T02:24:41.869Z] + case "${OS_FAMILY}" in [2022-10-18T02:24:41.869Z] + dpkg -l [2022-10-18T02:24:41.869Z] + grep '^ii' [2022-10-18T02:24:41.869Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-18T02:24:41.869Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-18T02:24:41.869Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-18T02:24:41.869Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-10-18T02:24:41.869Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-10-18T02:24:41.869Z] + 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-10-18T02:24:41.879Z] 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-10-18T02:24:42.163Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T02:24:42.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T02:24:42.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T02:24:42.542Z] prd-ubuntu20.04-docker-8c-8g-8434 does not seem to be running inside a container [2022-10-18T02:24:42.578Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-18T02:24:44.033Z] $ docker top 5b4acd003b4f4770c5c1c2ce1339cb266e6975daa22e31710d61390741d8bd06 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T02:24:44.372Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-18T02:24:44.657Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-18T02:24:44.941Z] + ls /var/log/sa-host [2022-10-18T02:24:44.941Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T02:24:45.101Z] provisioning config files... [2022-10-18T02:24:45.108Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config12274201271686932758tmp [Pipeline] { [Pipeline] echo [2022-10-18T02:24:45.123Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T02:24:45.401Z] ---> create-netrc.sh [Pipeline] } [2022-10-18T02:24:45.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-18T02:24:45.727Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-18T02:24:45.734Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T02:24:46.017Z] ---> sudo-logs.sh [2022-10-18T02:24:46.017Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-18T02:24:46.051Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T02:24:46.333Z] ---> job-cost.sh [2022-10-18T02:24:46.333Z] lf-activate-venv: SKIPPING [2022-10-18T02:24:46.333Z] DEBUG: total: 0.2199999988079071 [2022-10-18T02:24:46.333Z] INFO: Retrieving Stack Cost... [2022-10-18T02:24:46.900Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-18T02:24:47.159Z] INFO: Archiving Costs [Pipeline] echo [2022-10-18T02:24:47.169Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T02:24:47.450Z] ---> logs-deploy.sh [2022-10-18T02:24:47.450Z] lf-activate-venv: SKIPPING [2022-10-18T02:24:47.450Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/22 [2022-10-18T02:24:47.450Z] INFO: archiving workspace using pattern(s): [2022-10-18T02:24:48.387Z] Archives upload complete. [2022-10-18T02:24:48.646Z] INFO: archiving logs to Nexus