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 4a1514bac2c3623567fb323734989edc763968b8 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 4a1514bac2c3623567fb323734989edc763968b8 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-ssh11172964602373595120.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6862624541375347508.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > 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-ssh13063900455534216645.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh151251250698720087.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2060717443644803666.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-177 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a1514bac2c3623567fb323734989edc763968b8 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 7511f98d1e678939634bd840bdd91670cce2e45d Checking out Revision 7511f98d1e678939634bd840bdd91670cce2e45d (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 > git merge 4a1514bac2c3623567fb323734989edc763968b8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7511f98d1e678939634bd840bdd91670cce2e45d # timeout=10 Commit message: "Merge commit '4a1514bac2c3623567fb323734989edc763968b8' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:53 ========================================================= 22:10:53 EdgeX Global Pipelines Version Info 22:10:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 89219144a53c6e8b1666f89d686f6be0004021e5 # timeout=10 22:10:53 ------------------- 22:10:53 stable info: 22:10:53 ------------------- 22:10:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:10:53 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:10:53 Message: update stable to v1.0.244 22:10:54 ------------------- 22:10:54 experimental info: 22:10:54 ------------------- 22:10:54 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:10:54 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7511f98d1e678939634bd840bdd91670cce2e45d [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7511f98 [Pipeline] echo 22:10:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:54 provisioning config files... 22:10:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config6256455167873874100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:55 ---> docker-login.sh 22:10:55 nexus3.edgexfoundry.org:10001 22:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:55 Configure a credential helper to remove this warning. See 22:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:55 22:10:55 Login Succeeded 22:10:55 nexus3.edgexfoundry.org:10002 22:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:55 Configure a credential helper to remove this warning. See 22:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:55 22:10:55 Login Succeeded 22:10:55 nexus3.edgexfoundry.org:10003 22:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:55 Configure a credential helper to remove this warning. See 22:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:55 22:10:55 Login Succeeded 22:10:55 nexus3.edgexfoundry.org:10004 22:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:55 Configure a credential helper to remove this warning. See 22:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:55 22:10:55 Login Succeeded 22:10:55 docker.io 22:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:56 Configure a credential helper to remove this warning. See 22:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:56 22:10:56 Login Succeeded 22:10:56 ---> docker-login.sh ends [Pipeline] } 22:10:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:10:56 + git rev-list -1 --merges 7511f98d1e678939634bd840bdd91670cce2e45d~1..7511f98d1e678939634bd840bdd91670cce2e45d [Pipeline] echo 22:10:56 -----------> git rev-list -1 --merges 7511f98d1e678939634bd840bdd91670cce2e45d~1..7511f98d1e678939634bd840bdd91670cce2e45d 7511f98d1e678939634bd840bdd91670cce2e45d 22:10:56 7511f98d1e678939634bd840bdd91670cce2e45d [false] [Pipeline] sh 22:10:56 + git log --format=format:%s -1 7511f98d1e678939634bd840bdd91670cce2e45d [Pipeline] echo 22:10:56 ========================================================= 22:10:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:10:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:57 + git log --format=format:%s -1 7511f98d1e678939634bd840bdd91670cce2e45d [Pipeline] echo 22:10:57 [semverPrep] GIT_COMMIT: 7511f98d1e678939634bd840bdd91670cce2e45d, Commit Message: Merge commit '4a1514bac2c3623567fb323734989edc763968b8' into HEAD [Pipeline] echo 22:10:57 [semverPrep] This is not a build commit. [Pipeline] sh 22:10:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:57 + grep -v github /etc/ssh/ssh_known_hosts 22:10:57 + [ -e /tmp/ssh_known_hosts ] 22:10:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:10:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:10:57 + sudo tee -a /etc/ssh/ssh_known_hosts 22:10:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:57 22:10:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:58 0.1.4: Pulling from edgex-devops/py-git-semver 22:10:58 b85a868b505f: Pulling fs layer 22:10:58 e2be974225ed: Pulling fs layer 22:10:58 339a4e72a1f5: Pulling fs layer 22:10:58 988bab9f4d93: Pulling fs layer 22:10:58 1469e6f7b9e6: Pulling fs layer 22:10:58 eaf3925da568: Pulling fs layer 22:10:58 bab4dde63d76: Pulling fs layer 22:10:58 bde34c3a00c8: Pulling fs layer 22:10:58 b352a97aabf1: Pulling fs layer 22:10:58 4872d77fe225: Pulling fs layer 22:10:58 5851b861e8e6: Pulling fs layer 22:10:58 bab4dde63d76: Waiting 22:10:58 bde34c3a00c8: Waiting 22:10:58 b352a97aabf1: Waiting 22:10:58 4872d77fe225: Waiting 22:10:58 5851b861e8e6: Waiting 22:10:58 988bab9f4d93: Waiting 22:10:58 eaf3925da568: Waiting 22:10:58 1469e6f7b9e6: Waiting 22:10:58 e2be974225ed: Download complete 22:10:58 988bab9f4d93: Verifying Checksum 22:10:58 988bab9f4d93: Download complete 22:10:58 1469e6f7b9e6: Verifying Checksum 22:10:58 1469e6f7b9e6: Download complete 22:10:58 eaf3925da568: Verifying Checksum 22:10:58 eaf3925da568: Download complete 22:10:58 339a4e72a1f5: Verifying Checksum 22:10:58 339a4e72a1f5: Download complete 22:10:58 bde34c3a00c8: Verifying Checksum 22:10:58 bde34c3a00c8: Download complete 22:10:58 b352a97aabf1: Download complete 22:10:58 4872d77fe225: Verifying Checksum 22:10:58 4872d77fe225: Download complete 22:10:58 5851b861e8e6: Download complete 22:10:58 b85a868b505f: Download complete 22:10:58 bab4dde63d76: Verifying Checksum 22:10:58 bab4dde63d76: Download complete 22:10:59 b85a868b505f: Pull complete 22:10:59 e2be974225ed: Pull complete 22:11:00 339a4e72a1f5: Pull complete 22:11:00 988bab9f4d93: Pull complete 22:11:00 1469e6f7b9e6: Pull complete 22:11:00 eaf3925da568: Pull complete 22:11:02 bab4dde63d76: Pull complete 22:11:02 bde34c3a00c8: Pull complete 22:11:02 b352a97aabf1: Pull complete 22:11:02 4872d77fe225: Pull complete 22:11:02 5851b861e8e6: Pull complete 22:11:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:02 prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container 22:11:02 $ 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 22:11:05 $ docker top 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf -eo pid,comm 22:11:05 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). 22:11:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:05 [ssh-agent] Looking for ssh-agent implementation... 22:11:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:05 $ docker exec 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf ssh-agent 22:11:05 SSH_AUTH_SOCK=/tmp/ssh-4EicPwgpHVwK/agent.32 22:11:05 SSH_AGENT_PID=38 22:11:05 Running ssh-add (command line suppressed) 22:11:05 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4669325525451025004.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4669325525451025004.key) 22:11:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:06 + git tag --points-at HEAD [Pipeline] } 22:11:06 $ docker exec --env ******** --env ******** 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf ssh-agent -k 22:11:06 unset SSH_AUTH_SOCK; 22:11:06 unset SSH_AGENT_PID; 22:11:06 echo Agent pid 38 killed; 22:11:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:06 [ssh-agent] Looking for ssh-agent implementation... 22:11:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:06 $ docker exec 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf ssh-agent 22:11:06 SSH_AUTH_SOCK=/tmp/ssh-6jBvkHVchTGz/agent.70 22:11:06 SSH_AGENT_PID=76 22:11:06 Running ssh-add (command line suppressed) 22:11:06 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_14291795254635762731.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_14291795254635762731.key) 22:11:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:06 + git semver init 22:11:07 2022-12-19 22:11:07,075 [run_init] DEBUG init version:0.0.0 force:False 22:11:07 2022-12-19 22:11:07,076 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver 22:11:07 2022-12-19 22:11:07,076 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver 22:11:07 2022-12-19 22:11:07,076 [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) 22:11:08 2022-12-19 22:11:08,228 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude 22:11:08 2022-12-19 22:11:08,228 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False 22:11:08 2022-12-19 22:11:08,229 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 22:11:08 2022-12-19 22:11:08,233 [execute] INFO git cat-file --batch-check 22:11:08 2022-12-19 22:11:08,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 22:11:08 2022-12-19 22:11:08,240 [execute] INFO git cat-file --batch 22:11:08 2022-12-19 22:11:08,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 22:11:08 2022-12-19 22:11:08,245 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 22:11:08 0.0.0 [Pipeline] } 22:11:08 $ docker exec --env ******** --env ******** 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf ssh-agent -k 22:11:08 unset SSH_AUTH_SOCK; 22:11:08 unset SSH_AGENT_PID; 22:11:08 echo Agent pid 76 killed; 22:11:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:08 + git semver [Pipeline] } 22:11:09 $ docker stop --time=1 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf 22:11:10 $ docker rm -f --volumes 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf [Pipeline] // withDockerContainer [Pipeline] sh 22:11:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:11 Stashed 1 file(s) [Pipeline] echo 22:11:11 [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 22:11:11 provisioning config files... 22:11:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config13172083313960622736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:11 ---> docker-login.sh 22:11:11 nexus3.edgexfoundry.org:10001 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 nexus3.edgexfoundry.org:10002 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 nexus3.edgexfoundry.org:10003 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 nexus3.edgexfoundry.org:10004 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 docker.io 22:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:12 Configure a credential helper to remove this warning. See 22:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:12 22:11:12 Login Succeeded 22:11:12 ---> docker-login.sh ends [Pipeline] } 22:11:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:12 ========================================================= 22:11:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:11:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:12 + 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 . 22:11:12 Sending build context to Docker daemon 27.67MB 22:11:12 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:11:12 Step 2/13 : FROM ${BASE} AS builder 22:11:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:12 213ec9aee27d: Pulling fs layer 22:11:12 4583459ba037: Pulling fs layer 22:11:12 93c1e223e6f2: Pulling fs layer 22:11:12 53926ce57604: Pulling fs layer 22:11:12 21b2b0c7a3f4: Pulling fs layer 22:11:12 22ff95d597cd: Pulling fs layer 22:11:12 12d6caf4c0d1: Pulling fs layer 22:11:12 96b7cbca73a9: Pulling fs layer 22:11:12 a7acece74701: Pulling fs layer 22:11:12 22ff95d597cd: Waiting 22:11:12 12d6caf4c0d1: Waiting 22:11:12 96b7cbca73a9: Waiting 22:11:12 a7acece74701: Waiting 22:11:12 53926ce57604: Waiting 22:11:12 21b2b0c7a3f4: Waiting 22:11:12 93c1e223e6f2: Verifying Checksum 22:11:12 93c1e223e6f2: Download complete 22:11:12 4583459ba037: Verifying Checksum 22:11:12 4583459ba037: Download complete 22:11:12 21b2b0c7a3f4: Verifying Checksum 22:11:12 21b2b0c7a3f4: Download complete 22:11:12 22ff95d597cd: Verifying Checksum 22:11:12 22ff95d597cd: Download complete 22:11:12 213ec9aee27d: Verifying Checksum 22:11:12 213ec9aee27d: Download complete 22:11:12 12d6caf4c0d1: Download complete 22:11:12 213ec9aee27d: Pull complete 22:11:12 4583459ba037: Pull complete 22:11:13 93c1e223e6f2: Pull complete 22:11:13 a7acece74701: Verifying Checksum 22:11:13 a7acece74701: Download complete 22:11:13 53926ce57604: Verifying Checksum 22:11:13 53926ce57604: Download complete 22:11:13 96b7cbca73a9: Verifying Checksum 22:11:13 96b7cbca73a9: Download complete 22:11:17 53926ce57604: Pull complete 22:11:17 21b2b0c7a3f4: Pull complete 22:11:17 22ff95d597cd: Pull complete 22:11:17 12d6caf4c0d1: Pull complete 22:11:19 96b7cbca73a9: Pull complete 22:11:20 a7acece74701: Pull complete 22:11:20 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:11:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:11:20 ---> db6d94c90886 22:11:20 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:24 ---> Running in cc804b7a9b8a 22:11:24 Removing intermediate container cc804b7a9b8a 22:11:24 ---> 17404a79beab 22:11:24 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:24 ---> Running in 361f75f380a7 22:11:24 Removing intermediate container 361f75f380a7 22:11:24 ---> 278936911de1 22:11:24 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:11:24 ---> Running in e86056358830 22:11:24 Removing intermediate container e86056358830 22:11:24 ---> 64ebd73ec36b 22:11:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:24 ---> Running in e311910170e1 22:11:24 Removing intermediate container e311910170e1 22:11:24 ---> 1d70915d4a26 22:11:24 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:24 ---> Running in 13c33183d792 22:11:24 Removing intermediate container 13c33183d792 22:11:24 ---> b62de5dc1790 22:11:24 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:24 ---> Running in dd4fea0906d9 22:11:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:11:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:11:24 OK: 211 MiB in 51 packages 22:11:25 Removing intermediate container dd4fea0906d9 22:11:25 ---> 6c4e27be5c76 22:11:25 Step 9/13 : WORKDIR /device-onvif-camera 22:11:25 ---> Running in b4add95ec3fa 22:11:25 Removing intermediate container b4add95ec3fa 22:11:25 ---> 547917f4cb4d 22:11:25 Step 10/13 : COPY go.mod vendor* ./ 22:11:25 ---> 5a72d4253f7d 22:11:25 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:25 ---> Running in a401504741ab 22:11:26 Still waiting to schedule task 22:11:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:11:47 Removing intermediate container a401504741ab 22:11:47 ---> 7cf358cf78f4 22:11:47 Step 12/13 : COPY . . 22:11:47 ---> 9d516e5147b5 22:11:47 Step 13/13 : RUN ${MAKE} 22:11:47 ---> Running in caad5d9c3abf 22:11:47 noop 22:11:47 Removing intermediate container caad5d9c3abf 22:11:47 ---> 524d71690714 22:11:47 Successfully built 524d71690714 22:11:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:47 + docker inspect -f . ci-base-image-x86_64 22:11:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:47 prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container 22:11:47 $ 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 22:11:48 $ docker top 290ae71a602efa66bdda3b76dfc2e7ba799a3ef2a99b3f6acef1a611c5bc2435 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:48 + go version 22:11:48 go version go1.18.7 linux/amd64 [Pipeline] } 22:11:48 $ docker stop --time=1 290ae71a602efa66bdda3b76dfc2e7ba799a3ef2a99b3f6acef1a611c5bc2435 22:11:49 $ docker rm -f --volumes 290ae71a602efa66bdda3b76dfc2e7ba799a3ef2a99b3f6acef1a611c5bc2435 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:50 + docker inspect -f . ci-base-image-x86_64 22:11:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:50 prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container 22:11:50 $ 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 22:11:50 $ docker top 6cf69459e161f0c2c53d9626762cfef1def9cad78ecb197729125bf5fda314f6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:50 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh 22:11:51 + make test 22:11:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:11:51 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:03 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 29.3% of statements 22:12:03 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:03 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.296s coverage: 86.5% of statements 22:12:10 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." 22:12:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:12:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:13 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:13 $ docker stop --time=1 6cf69459e161f0c2c53d9626762cfef1def9cad78ecb197729125bf5fda314f6 22:12:15 $ docker rm -f --volumes 6cf69459e161f0c2c53d9626762cfef1def9cad78ecb197729125bf5fda314f6 [Pipeline] // withDockerContainer [Pipeline] sh 22:12:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:12:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:17 + ls -al . 22:12:17 total 248 22:12:17 drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 22:11 . 22:12:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 22:10 .. 22:12:17 drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 22:12 .git 22:12:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 22:10 .github 22:12:17 -rw-rw-r-- 1 jenkins jenkins 496 Dec 19 22:10 .gitignore 22:12:17 -rw-rw-r-- 1 jenkins jenkins 42 Dec 19 22:10 .golangci.yml 22:12:17 drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 22:11 .semver 22:12:17 -rw-rw-r-- 1 jenkins jenkins 9742 Dec 19 22:10 Attribution.txt 22:12:17 -rw-rw-r-- 1 jenkins jenkins 6312 Dec 19 22:10 CHANGELOG.md 22:12:17 -rw-rw-r-- 1 jenkins jenkins 1710 Dec 19 22:10 Dockerfile 22:12:17 -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 22:10 GOVERNANCE.md 22:12:17 -rw-rw-r-- 1 jenkins jenkins 734 Dec 19 22:10 Jenkinsfile 22:12:17 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 19 22:10 LICENSE 22:12:17 -rw-rw-r-- 1 jenkins jenkins 2858 Dec 19 22:10 Makefile 22:12:17 -rw-rw-r-- 1 jenkins jenkins 625 Dec 19 22:10 OWNERS.md 22:12:17 -rw-rw-r-- 1 jenkins jenkins 6595 Dec 19 22:10 README.md 22:12:17 -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 22:11 VERSION 22:12:17 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 22:10 bin 22:12:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 22:10 cmd 22:12:17 -rw-r--r-- 1 jenkins jenkins 79184 Dec 19 22:12 coverage.out 22:12:17 drwxrwxr-x 6 jenkins jenkins 4096 Dec 19 22:10 doc 22:12:17 -rw-rw-r-- 1 jenkins jenkins 3688 Dec 19 22:10 go.mod 22:12:17 -rw-rw-r-- 1 jenkins jenkins 46249 Dec 19 22:10 go.sum 22:12:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 22:10 internal 22:12:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 22:10 snap 22:12:17 -rw-rw-r-- 1 jenkins jenkins 236 Dec 19 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:17 + 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=7511f98d1e678939634bd840bdd91670cce2e45d --label arch=amd64 --label version=0.0.0 . 22:12:17 Sending build context to Docker daemon 27.75MB 22:12:17 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 22:12:17 Step 2/27 : FROM ${BASE} AS builder 22:12:17 ---> 524d71690714 22:12:17 Step 3/27 : ARG ADD_BUILD_TAGS="" 22:12:17 ---> Running in ac4a6a7cb33c 22:12:17 Removing intermediate container ac4a6a7cb33c 22:12:17 ---> 136bd0c38b1f 22:12:17 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:17 ---> Running in cbe59d3b6915 22:12:17 Removing intermediate container cbe59d3b6915 22:12:17 ---> d9b385356f68 22:12:17 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:12:17 ---> Running in c42f21cf1199 22:12:18 Removing intermediate container c42f21cf1199 22:12:18 ---> 44fc1dbcbade 22:12:18 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 22:12:18 ---> Running in c769fcdc0fe7 22:12:18 Removing intermediate container c769fcdc0fe7 22:12:18 ---> 90c51aecf26c 22:12:18 Step 7/27 : LABEL Name=edgex-device-onvif-camera 22:12:18 ---> Running in 08d2b1d0be83 22:12:18 Removing intermediate container 08d2b1d0be83 22:12:18 ---> c940640ada75 22:12:18 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:18 ---> Running in a82c1dd17c88 22:12:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:12:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:12:19 OK: 211 MiB in 51 packages 22:12:19 Removing intermediate container a82c1dd17c88 22:12:19 ---> eb05cca73c4a 22:12:19 Step 9/27 : WORKDIR /device-onvif-camera 22:12:19 ---> Running in fcd054a90f18 22:12:19 Removing intermediate container fcd054a90f18 22:12:19 ---> 347b054ca1f2 22:12:19 Step 10/27 : COPY go.mod vendor* ./ 22:12:19 ---> 97581dd81749 22:12:19 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:19 ---> Running in 2307516711f4 22:12:20 Removing intermediate container 2307516711f4 22:12:20 ---> 930a41239e72 22:12:20 Step 12/27 : COPY . . 22:12:21 ---> b60733346411 22:12:21 Step 13/27 : RUN ${MAKE} 22:12:21 ---> Running in f145180594ef 22:12:21 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/v3/internal/common.SDKVersion=v3.0.0-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 22:12:43 Removing intermediate container f145180594ef 22:12:43 ---> ce9a9a955524 22:12:43 Step 14/27 : FROM alpine:3.16 22:12:43 3.16: Pulling from library/alpine 22:12:43 ca7dd9ec2225: Pulling fs layer 22:12:43 ca7dd9ec2225: Verifying Checksum 22:12:43 ca7dd9ec2225: Download complete 22:12:43 ca7dd9ec2225: Pull complete 22:12:43 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:12:43 Status: Downloaded newer image for alpine:3.16 22:12:43 ---> bfe296a52501 22:12:43 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:12:43 ---> Running in a48a6b5f4a21 22:12:43 Removing intermediate container a48a6b5f4a21 22:12:43 ---> af2cbcf88a38 22:12:43 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 22:12:43 ---> Running in 310dc6148e5b 22:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:12:44 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 22:12:44 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 22:12:44 (3/21) Installing readline (8.1.2-r0) 22:12:44 (4/21) Installing bash (5.1.16-r2) 22:12:44 Executing bash-5.1.16-r2.post-install 22:12:44 (5/21) Installing ca-certificates (20220614-r0) 22:12:44 (6/21) Installing brotli-libs (1.0.9-r6) 22:12:44 (7/21) Installing nghttp2-libs (1.47.0-r0) 22:12:44 (8/21) Installing libcurl (7.83.1-r4) 22:12:44 (9/21) Installing curl (7.83.1-r4) 22:12:44 (10/21) Installing dumb-init (1.2.5-r1) 22:12:44 (11/21) Installing oniguruma (6.9.8-r0) 22:12:44 (12/21) Installing jq (1.6-r1) 22:12:44 (13/21) Installing popt (1.18-r0) 22:12:44 (14/21) Installing pcre (8.45-r2) 22:12:44 (15/21) Installing slang (2.3.2-r0) 22:12:44 (16/21) Installing newt (0.52.21-r2) 22:12:44 (17/21) Installing libgcc (11.2.1_git20220219-r2) 22:12:44 (18/21) Installing libsodium (1.0.18-r0) 22:12:44 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 22:12:44 (20/21) Installing libzmq (4.3.4-r0) 22:12:44 (21/21) Installing zeromq (4.3.4-r0) 22:12:44 Executing busybox-1.35.0-r17.trigger 22:12:44 Executing ca-certificates-20220614-r0.trigger 22:12:44 OK: 17 MiB in 35 packages 22:12:44 Removing intermediate container 310dc6148e5b 22:12:44 ---> d5759f554169 22:12:44 Step 17/27 : WORKDIR / 22:12:45 ---> Running in 56dec56edc79 22:12:45 Removing intermediate container 56dec56edc79 22:12:45 ---> 956cbce23411 22:12:45 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 22:12:45 ---> 5a09ae074253 22:12:45 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 22:12:45 ---> 612938139010 22:12:45 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:12:45 ---> 430d7e2c66e3 22:12:45 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 22:12:45 ---> a92a5f582cfb 22:12:45 Step 22/27 : EXPOSE 59984 22:12:45 ---> Running in 5595b1b74f7a 22:12:46 Removing intermediate container 5595b1b74f7a 22:12:46 ---> d6ec41a7b8ef 22:12:46 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 22:12:46 ---> Running in 11af4a0700dc 22:12:46 Removing intermediate container 11af4a0700dc 22:12:46 ---> 90ef6565c29d 22:12:46 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:12:46 ---> Running in b1b0b0eecf16 22:12:46 Removing intermediate container b1b0b0eecf16 22:12:46 ---> 83bd0cdcd7a8 22:12:46 Step 25/27 : LABEL arch=amd64 22:12:46 ---> Running in a5e0b972eb0f 22:12:46 Removing intermediate container a5e0b972eb0f 22:12:46 ---> 8023c176864f 22:12:46 Step 26/27 : LABEL git_sha=7511f98d1e678939634bd840bdd91670cce2e45d 22:12:46 ---> Running in 21d55b511859 22:12:46 Removing intermediate container 21d55b511859 22:12:46 ---> 8adffc852abf 22:12:46 Step 27/27 : LABEL version=0.0.0 22:12:46 ---> Running in db7fed680ef4 22:12:46 Removing intermediate container db7fed680ef4 22:12:46 ---> 84d3b48a1fca 22:12:46 [Warning] One or more build-args [ARCH] were not consumed 22:12:46 Successfully built 84d3b48a1fca 22:12:46 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 22:12:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:47 22:12:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:47 latest: Pulling from edgex-lftools-log-publisher 22:12:47 5eb5b503b376: Pulling fs layer 22:12:47 5c69ac0246d0: Pulling fs layer 22:12:47 ec43610c2a17: Pulling fs layer 22:12:47 3a2ae6a8a46f: Pulling fs layer 22:12:47 33b1e0a273af: Pulling fs layer 22:12:47 5d3b04190fa2: Pulling fs layer 22:12:47 2f39f015ded8: Pulling fs layer 22:12:47 33b1e0a273af: Waiting 22:12:47 5d3b04190fa2: Waiting 22:12:47 2f39f015ded8: Waiting 22:12:47 3a2ae6a8a46f: Waiting 22:12:47 5c69ac0246d0: Verifying Checksum 22:12:47 5c69ac0246d0: Download complete 22:12:47 3a2ae6a8a46f: Verifying Checksum 22:12:47 3a2ae6a8a46f: Download complete 22:12:47 33b1e0a273af: Verifying Checksum 22:12:47 33b1e0a273af: Download complete 22:12:47 5d3b04190fa2: Download complete 22:12:47 ec43610c2a17: Verifying Checksum 22:12:47 ec43610c2a17: Download complete 22:12:47 5eb5b503b376: Verifying Checksum 22:12:47 5eb5b503b376: Download complete 22:12:48 2f39f015ded8: Download complete 22:12:48 5eb5b503b376: Pull complete 22:12:49 5c69ac0246d0: Pull complete 22:12:49 ec43610c2a17: Pull complete 22:12:49 3a2ae6a8a46f: Pull complete 22:12:49 33b1e0a273af: Pull complete 22:12:49 5d3b04190fa2: Pull complete 22:12:54 2f39f015ded8: Pull complete 22:12:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:12:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:54 prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container 22:12:54 $ 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 22:12:56 $ docker top dd396e9db710417090c0efbe183ef6b7e5f4f955faa64eba5948ae5634286172 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:57 ---> job-cost.sh 22:12:57 lf-activate-venv: SKIPPING 22:12:57 INFO: No Stack... 22:12:57 INFO: Retrieving Pricing Info for: v3-standard-8 22:12:57 INFO: Archiving Costs [Pipeline] sh 22:12:58 + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv 22:12:58 + cut -d, -f6 [Pipeline] lock 22:12:58 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] 22:12:58 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] did not exist. Created. 22:12:58 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:12:58 + echo total: 0.2199999988079071 [Pipeline] stash 22:12:58 Stashed 1 file(s) [Pipeline] } 22:12:58 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] [Pipeline] // lock [Pipeline] } 22:12:58 $ docker stop --time=1 dd396e9db710417090c0efbe183ef6b7e5f4f955faa64eba5948ae5634286172 22:12:59 $ docker rm -f --volumes dd396e9db710417090c0efbe183ef6b7e5f4f955faa64eba5948ae5634286172 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:13:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-179 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws 22:13:46 Running in /w/workspace/device-onvif-camera/32 [Pipeline] { [Pipeline] checkout 22:13:46 The recommended git tool is: git 22:13:51 using credential edgex-jenkins-ssh 22:13:51 Cloning the remote Git repository 22:13:51 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:13:51 > git init /w/workspace/device-onvif-camera/32 # timeout=10 22:13:52 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:13:52 > git --version # timeout=10 22:13:52 > git --version # 'git version 2.25.1' 22:13:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:53 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:13:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:55 Merging remotes/origin/main commit 4a1514bac2c3623567fb323734989edc763968b8 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 22:13:54 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:13:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:13:54 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:54 > 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 22:13:55 > git config core.sparsecheckout # timeout=10 22:13:55 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 22:13:56 Merge succeeded, producing 52710e1d2eb7a52d62a6472d1aa706ed0696a19f 22:13:56 Checking out Revision 52710e1d2eb7a52d62a6472d1aa706ed0696a19f (PR-125) 22:13:55 > git remote # timeout=10 22:13:55 > git config --get remote.origin.url # timeout=10 22:13:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:55 > git merge 4a1514bac2c3623567fb323734989edc763968b8 # timeout=10 22:13:56 > git rev-parse HEAD^{commit} # timeout=10 22:13:56 > git config core.sparsecheckout # timeout=10 22:13:56 > git checkout -f 52710e1d2eb7a52d62a6472d1aa706ed0696a19f # timeout=10 22:13:59 Commit message: "Merge commit '4a1514bac2c3623567fb323734989edc763968b8' into HEAD" 22:13:59 First time build. Skipping changelog. 22:13:59 > git rev-list --no-walk 89219144a53c6e8b1666f89d686f6be0004021e5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:14:00 % Total % Received % Xferd Average Speed Time Time Time Current 22:14:00 Dload Upload Total Spent Left Speed 22:14:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 22:14:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:14:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:14:01 + sudo tee /etc/docker/daemon.new 22:14:01 { 22:14:01 "registry-mirrors": [ 22:14:01 "https://nexus3.edgexfoundry.org:10001" 22:14:01 ], 22:14:01 "bip": "10.250.0.254/24", 22:14:01 "hosts": [ 22:14:01 "tcp://0.0.0.0:5555", 22:14:01 "unix:///var/run/docker.sock" 22:14:01 ], 22:14:01 "mtu": 1458, 22:14:01 "selinux-enabled": true, 22:14:01 "seccomp-profile": "/etc/docker/seccomp.json" 22:14:01 } [Pipeline] sh 22:14:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:14:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:20 provisioning config files... 22:14:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/32@tmp/config16347122986981320139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:20 ---> docker-login.sh 22:14:20 nexus3.edgexfoundry.org:10001 22:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:21 Configure a credential helper to remove this warning. See 22:14:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:21 22:14:21 Login Succeeded 22:14:21 nexus3.edgexfoundry.org:10002 22:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:22 Configure a credential helper to remove this warning. See 22:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:22 22:14:22 Login Succeeded 22:14:22 nexus3.edgexfoundry.org:10003 22:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:22 Configure a credential helper to remove this warning. See 22:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:22 22:14:22 Login Succeeded 22:14:22 nexus3.edgexfoundry.org:10004 22:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:22 Configure a credential helper to remove this warning. See 22:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:22 22:14:22 Login Succeeded 22:14:22 docker.io 22:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:23 Configure a credential helper to remove this warning. See 22:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:23 22:14:23 Login Succeeded 22:14:23 ---> docker-login.sh ends [Pipeline] } 22:14:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:14:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:23 ========================================================= 22:14:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:14:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:23 + 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 . 22:14:24 Sending build context to Docker daemon 20.53MB 22:14:24 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:14:24 Step 2/13 : FROM ${BASE} AS builder 22:14:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:14:24 9b18e9b68314: Pulling fs layer 22:14:24 35d82f9e3411: Pulling fs layer 22:14:24 e16973657156: Pulling fs layer 22:14:24 fc693d55d65f: Pulling fs layer 22:14:24 7e9fc2657dce: Pulling fs layer 22:14:24 dda99020689f: Pulling fs layer 22:14:24 db1c61fa0a46: Pulling fs layer 22:14:24 891c053d2c06: Pulling fs layer 22:14:24 fc693d55d65f: Waiting 22:14:24 7e9fc2657dce: Waiting 22:14:24 dda99020689f: Waiting 22:14:24 db1c61fa0a46: Waiting 22:14:24 891c053d2c06: Waiting 22:14:24 e16973657156: Download complete 22:14:24 35d82f9e3411: Verifying Checksum 22:14:24 35d82f9e3411: Download complete 22:14:24 7e9fc2657dce: Verifying Checksum 22:14:24 7e9fc2657dce: Download complete 22:14:24 dda99020689f: Verifying Checksum 22:14:24 dda99020689f: Download complete 22:14:24 9b18e9b68314: Verifying Checksum 22:14:24 9b18e9b68314: Download complete 22:14:25 9b18e9b68314: Pull complete 22:14:25 891c053d2c06: Verifying Checksum 22:14:25 891c053d2c06: Download complete 22:14:26 35d82f9e3411: Pull complete 22:14:26 e16973657156: Pull complete 22:14:27 db1c61fa0a46: Verifying Checksum 22:14:27 db1c61fa0a46: Download complete 22:14:27 fc693d55d65f: Verifying Checksum 22:14:27 fc693d55d65f: Download complete 22:14:42 fc693d55d65f: Pull complete 22:14:42 7e9fc2657dce: Pull complete 22:14:42 dda99020689f: Pull complete 22:14:48 db1c61fa0a46: Pull complete 22:14:49 891c053d2c06: Pull complete 22:14:49 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:14:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:14:49 ---> f96f9c87975a 22:14:49 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:14:51 ---> Running in dc76825de068 22:14:52 Removing intermediate container dc76825de068 22:14:52 ---> c941d578f41d 22:14:52 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:52 ---> Running in 2236df17f023 22:14:52 Removing intermediate container 2236df17f023 22:14:52 ---> 77bbd4154fb8 22:14:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:14:52 ---> Running in a1692bd26a2c 22:14:52 Removing intermediate container a1692bd26a2c 22:14:52 ---> 08d277eeda08 22:14:52 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:14:53 ---> Running in da30d73168b2 22:14:53 Removing intermediate container da30d73168b2 22:14:53 ---> df90b77c6356 22:14:53 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:14:53 ---> Running in 5cbc6d4bdd05 22:14:53 Removing intermediate container 5cbc6d4bdd05 22:14:53 ---> 4ca8815818d8 22:14:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:53 ---> Running in c0b6dfc31223 22:14:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:14:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:14:56 OK: 221 MiB in 51 packages 22:14:57 Removing intermediate container c0b6dfc31223 22:14:57 ---> 99f2ff61db30 22:14:57 Step 9/13 : WORKDIR /device-onvif-camera 22:14:57 ---> Running in 8973c5669c16 22:14:57 Removing intermediate container 8973c5669c16 22:14:57 ---> 872de0f6c044 22:14:57 Step 10/13 : COPY go.mod vendor* ./ 22:14:58 ---> a0eeae96f54c 22:14:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:58 ---> Running in 559dca3cc924 22:15:54 Removing intermediate container 559dca3cc924 22:15:54 ---> 266c93549c5c 22:15:54 Step 12/13 : COPY . . 22:15:54 ---> b66c9ff8cfcd 22:15:54 Step 13/13 : RUN ${MAKE} 22:15:54 ---> Running in 834e66fe318d 22:15:54 noop 22:15:54 Removing intermediate container 834e66fe318d 22:15:54 ---> 10d57a3949fe 22:15:54 Successfully built 10d57a3949fe 22:15:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:54 + docker inspect -f . ci-base-image-arm64 22:15:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:55 prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container 22:15:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/32 -v /w/workspace/device-onvif-camera/32:/w/workspace/device-onvif-camera/32:rw,z -v /w/workspace/device-onvif-camera/32@tmp:/w/workspace/device-onvif-camera/32@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 22:15:56 $ docker top da0561512935d7bf412746aa97cb7eb23ab2dfadfdf04ba19c3983d06d9c4bd5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:57 + go version 22:15:57 go version go1.18.7 linux/arm64 [Pipeline] } 22:15:57 $ docker stop --time=1 da0561512935d7bf412746aa97cb7eb23ab2dfadfdf04ba19c3983d06d9c4bd5 22:15:58 $ docker rm -f --volumes da0561512935d7bf412746aa97cb7eb23ab2dfadfdf04ba19c3983d06d9c4bd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:59 + docker inspect -f . ci-base-image-arm64 22:15:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:59 prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container 22:15:59 $ 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/32 -v /w/workspace/device-onvif-camera/32:/w/workspace/device-onvif-camera/32:rw,z -v /w/workspace/device-onvif-camera/32@tmp:/w/workspace/device-onvif-camera/32@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 22:16:00 $ docker top e535c918abfaa9ea5f27c2b535decc7f30537a869701a4203dcb1066974157e0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:01 + git config --global --add safe.directory /w/workspace/device-onvif-camera/32 [Pipeline] fileExists [Pipeline] sh 22:16:02 + make test 22:16:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:16:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:17:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:17:42 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.165s coverage: 29.3% of statements 22:17:42 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:17:53 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 17.711s coverage: 86.5% of statements 22:17:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:17:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:18:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:18:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:18:25 ./bin/test-attribution-txt.sh [Pipeline] echo 22:18:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:18:25 $ docker stop --time=1 e535c918abfaa9ea5f27c2b535decc7f30537a869701a4203dcb1066974157e0 22:18:27 $ docker rm -f --volumes e535c918abfaa9ea5f27c2b535decc7f30537a869701a4203dcb1066974157e0 [Pipeline] // withDockerContainer [Pipeline] sh 22:18:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:18:28 Warning: overwriting stash ‘coverage-report’ 22:18:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:18:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:18:29 + ls -al . 22:18:29 total 244 22:18:29 drwxrwxr-x 9 jenkins jenkins 4096 Dec 19 22:16 . 22:18:29 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 22:13 .. 22:18:29 drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 22:13 .git 22:18:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 22:13 .github 22:18:29 -rw-rw-r-- 1 jenkins jenkins 496 Dec 19 22:13 .gitignore 22:18:29 -rw-rw-r-- 1 jenkins jenkins 42 Dec 19 22:13 .golangci.yml 22:18:29 -rw-rw-r-- 1 jenkins jenkins 9742 Dec 19 22:13 Attribution.txt 22:18:29 -rw-rw-r-- 1 jenkins jenkins 6312 Dec 19 22:13 CHANGELOG.md 22:18:29 -rw-rw-r-- 1 jenkins jenkins 1710 Dec 19 22:13 Dockerfile 22:18:29 -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 22:13 GOVERNANCE.md 22:18:29 -rw-rw-r-- 1 jenkins jenkins 734 Dec 19 22:13 Jenkinsfile 22:18:29 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 19 22:13 LICENSE 22:18:29 -rw-rw-r-- 1 jenkins jenkins 2858 Dec 19 22:13 Makefile 22:18:29 -rw-rw-r-- 1 jenkins jenkins 625 Dec 19 22:13 OWNERS.md 22:18:29 -rw-rw-r-- 1 jenkins jenkins 6595 Dec 19 22:13 README.md 22:18:29 -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 22:11 VERSION 22:18:29 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 22:13 bin 22:18:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 22:13 cmd 22:18:29 -rw-r--r-- 1 jenkins jenkins 79184 Dec 19 22:17 coverage.out 22:18:29 drwxrwxr-x 6 jenkins jenkins 4096 Dec 19 22:13 doc 22:18:29 -rw-rw-r-- 1 jenkins jenkins 3688 Dec 19 22:13 go.mod 22:18:29 -rw-rw-r-- 1 jenkins jenkins 46249 Dec 19 22:13 go.sum 22:18:29 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 22:13 internal 22:18:29 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 22:13 snap 22:18:29 -rw-rw-r-- 1 jenkins jenkins 236 Dec 19 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:30 + 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=52710e1d2eb7a52d62a6472d1aa706ed0696a19f --label arch=arm64 --label version=0.0.0 . 22:18:30 Sending build context to Docker daemon 20.61MB 22:18:30 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 22:18:30 Step 2/27 : FROM ${BASE} AS builder 22:18:30 ---> 10d57a3949fe 22:18:30 Step 3/27 : ARG ADD_BUILD_TAGS="" 22:18:31 ---> Running in 4c00a344b212 22:18:31 Removing intermediate container 4c00a344b212 22:18:31 ---> b62e2157015f 22:18:31 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:31 ---> Running in 183b61f9cad6 22:18:31 Removing intermediate container 183b61f9cad6 22:18:31 ---> 04089cebc512 22:18:31 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:18:31 ---> Running in e1928be3cff7 22:18:32 Removing intermediate container e1928be3cff7 22:18:32 ---> d58e32381b4e 22:18:32 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 22:18:32 ---> Running in 6f81ad0332a8 22:18:32 Removing intermediate container 6f81ad0332a8 22:18:32 ---> 7906819fd9a8 22:18:32 Step 7/27 : LABEL Name=edgex-device-onvif-camera 22:18:32 ---> Running in 60176c86db51 22:18:32 Removing intermediate container 60176c86db51 22:18:32 ---> 9a961af2a74b 22:18:32 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:18:32 ---> Running in 2674a1e08567 22:18:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:18:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:18:35 OK: 221 MiB in 51 packages 22:18:36 Removing intermediate container 2674a1e08567 22:18:36 ---> 82c94166a4db 22:18:36 Step 9/27 : WORKDIR /device-onvif-camera 22:18:36 ---> Running in baac45e8fd4d 22:18:36 Removing intermediate container baac45e8fd4d 22:18:36 ---> eab8524e0c4b 22:18:36 Step 10/27 : COPY go.mod vendor* ./ 22:18:37 ---> 09a0bed34a67 22:18:37 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:18:37 ---> Running in f80b0e817aba 22:18:40 Removing intermediate container f80b0e817aba 22:18:40 ---> 07ed908b758c 22:18:40 Step 12/27 : COPY . . 22:18:41 ---> a7bf48b58b12 22:18:41 Step 13/27 : RUN ${MAKE} 22:18:41 ---> Running in 0105bf9825ed 22:18:42 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/v3/internal/common.SDKVersion=v3.0.0-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 22:21:04 Removing intermediate container 0105bf9825ed 22:21:04 ---> c5064eb732f1 22:21:04 Step 14/27 : FROM alpine:3.16 22:21:04 3.16: Pulling from library/alpine 22:21:04 6875df1f5354: Pulling fs layer 22:21:04 6875df1f5354: Verifying Checksum 22:21:04 6875df1f5354: Download complete 22:21:04 6875df1f5354: Pull complete 22:21:04 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:21:04 Status: Downloaded newer image for alpine:3.16 22:21:04 ---> 2b4661558fb8 22:21:04 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:21:05 ---> Running in e4911844ad43 22:21:05 Removing intermediate container e4911844ad43 22:21:05 ---> 32af5e622a22 22:21:05 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 22:21:05 ---> Running in aafaefea45d9 22:21:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:21:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:21:07 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 22:21:07 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 22:21:07 (3/21) Installing readline (8.1.2-r0) 22:21:07 (4/21) Installing bash (5.1.16-r2) 22:21:07 Executing bash-5.1.16-r2.post-install 22:21:07 (5/21) Installing ca-certificates (20220614-r0) 22:21:07 (6/21) Installing brotli-libs (1.0.9-r6) 22:21:07 (7/21) Installing nghttp2-libs (1.47.0-r0) 22:21:07 (8/21) Installing libcurl (7.83.1-r4) 22:21:07 (9/21) Installing curl (7.83.1-r4) 22:21:07 (10/21) Installing dumb-init (1.2.5-r1) 22:21:07 (11/21) Installing oniguruma (6.9.8-r0) 22:21:07 (12/21) Installing jq (1.6-r1) 22:21:07 (13/21) Installing popt (1.18-r0) 22:21:07 (14/21) Installing pcre (8.45-r2) 22:21:07 (15/21) Installing slang (2.3.2-r0) 22:21:08 (16/21) Installing newt (0.52.21-r2) 22:21:08 (17/21) Installing libgcc (11.2.1_git20220219-r2) 22:21:08 (18/21) Installing libsodium (1.0.18-r0) 22:21:08 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 22:21:08 (20/21) Installing libzmq (4.3.4-r0) 22:21:08 (21/21) Installing zeromq (4.3.4-r0) 22:21:08 Executing busybox-1.35.0-r17.trigger 22:21:08 Executing ca-certificates-20220614-r0.trigger 22:21:08 OK: 16 MiB in 35 packages 22:21:10 Removing intermediate container aafaefea45d9 22:21:10 ---> 45a614fc941d 22:21:10 Step 17/27 : WORKDIR / 22:21:10 ---> Running in 82bc24cf7faa 22:21:10 Removing intermediate container 82bc24cf7faa 22:21:10 ---> 190a27e679c8 22:21:10 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 22:21:11 ---> 63e0ea7e00da 22:21:11 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 22:21:12 ---> ae1487e3c7f2 22:21:12 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:21:12 ---> da83ba28d9c2 22:21:12 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 22:21:13 ---> 7ff984ebd297 22:21:13 Step 22/27 : EXPOSE 59984 22:21:13 ---> Running in c6d9cd10efeb 22:21:13 Removing intermediate container c6d9cd10efeb 22:21:13 ---> 75a318c7c2f6 22:21:13 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 22:21:13 ---> Running in 82b701656b47 22:21:13 Removing intermediate container 82b701656b47 22:21:13 ---> 5782bb8f82cd 22:21:13 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:21:14 ---> Running in 8a0663fe81d9 22:21:14 Removing intermediate container 8a0663fe81d9 22:21:14 ---> ec3e3f98233c 22:21:14 Step 25/27 : LABEL arch=arm64 22:21:14 ---> Running in 511a52efd6c9 22:21:14 Removing intermediate container 511a52efd6c9 22:21:14 ---> d90f28a5acdc 22:21:14 Step 26/27 : LABEL git_sha=52710e1d2eb7a52d62a6472d1aa706ed0696a19f 22:21:14 ---> Running in 49e5ba3f4b07 22:21:14 Removing intermediate container 49e5ba3f4b07 22:21:14 ---> 97b02f8ab8dd 22:21:14 Step 27/27 : LABEL version=0.0.0 22:21:15 ---> Running in 4da861d987bb 22:21:15 Removing intermediate container 4da861d987bb 22:21:15 ---> f44783298c1d 22:21:15 [Warning] One or more build-args [ARCH] were not consumed 22:21:15 Successfully built f44783298c1d 22:21:15 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 22:21:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:15 22:21:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:16 arm64: Pulling from edgex-lftools-log-publisher 22:21:16 8998bd30e6a1: Pulling fs layer 22:21:16 04944245beec: Pulling fs layer 22:21:16 699f458cf7ca: Pulling fs layer 22:21:16 765212b225bb: Pulling fs layer 22:21:16 f23df028b6ca: Pulling fs layer 22:21:16 d65c8cfc05b1: Pulling fs layer 22:21:16 2437ff75d9bd: Pulling fs layer 22:21:16 765212b225bb: Waiting 22:21:16 f23df028b6ca: Waiting 22:21:16 d65c8cfc05b1: Waiting 22:21:16 2437ff75d9bd: Waiting 22:21:16 04944245beec: Verifying Checksum 22:21:16 04944245beec: Download complete 22:21:16 765212b225bb: Verifying Checksum 22:21:16 765212b225bb: Download complete 22:21:16 f23df028b6ca: Download complete 22:21:16 d65c8cfc05b1: Verifying Checksum 22:21:16 d65c8cfc05b1: Download complete 22:21:16 699f458cf7ca: Verifying Checksum 22:21:16 699f458cf7ca: Download complete 22:21:17 8998bd30e6a1: Verifying Checksum 22:21:17 8998bd30e6a1: Download complete 22:21:19 2437ff75d9bd: Verifying Checksum 22:21:19 2437ff75d9bd: Download complete 22:21:20 8998bd30e6a1: Pull complete 22:21:21 04944245beec: Pull complete 22:21:22 699f458cf7ca: Pull complete 22:21:23 765212b225bb: Pull complete 22:21:23 f23df028b6ca: Pull complete 22:21:24 d65c8cfc05b1: Pull complete 22:21:39 2437ff75d9bd: Pull complete 22:21:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:21:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:39 prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container 22:21:39 $ 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/32 -v /w/workspace/device-onvif-camera/32:/w/workspace/device-onvif-camera/32:rw,z -v /w/workspace/device-onvif-camera/32@tmp:/w/workspace/device-onvif-camera/32@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 22:21:41 $ docker top 1e16a60ce6169a657f11a70d66909fea5b1e616f246a104c391ee3fde73dbf27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:42 ---> job-cost.sh 22:21:42 lf-activate-venv: SKIPPING 22:21:42 INFO: No Stack... 22:21:42 INFO: Retrieving Pricing Info for: v3-standard-4 22:21:43 INFO: Archiving Costs [Pipeline] sh 22:21:44 + cat /w/workspace/device-onvif-camera/32/archives/cost.csv 22:21:44 + cut -d, -f6 [Pipeline] lock 22:21:44 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] 22:21:44 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] did not exist. Created. 22:21:44 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:21:45 /w/workspace/device-onvif-camera/32@tmp/durable-52ffa103/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:21:45 + echo total: 0.10999999940395355 [Pipeline] stash 22:21:45 Warning: overwriting stash ‘stack-cost’ 22:21:46 Stashed 1 file(s) [Pipeline] } 22:21:46 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] [Pipeline] // lock [Pipeline] } 22:21:46 $ docker stop --time=1 1e16a60ce6169a657f11a70d66909fea5b1e616f246a104c391ee3fde73dbf27 22:21:47 $ docker rm -f --volumes 1e16a60ce6169a657f11a70d66909fea5b1e616f246a104c391ee3fde73dbf27 [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 22:21:47 provisioning config files... 22:21:47 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config15823035509572718376tmp [Pipeline] { [Pipeline] sh 22:21:48 + set +x 22:21:48 + curl -s https://codecov.io/bash 22:21:48 + bash -s -- 22:21:48 22:21:48 _____ _ 22:21:48 / ____| | | 22:21:48 | | ___ __| | ___ ___ _____ __ 22:21:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:21:48 | |___| (_) | (_| | __/ (_| (_) \ V / 22:21:48 \_____\___/ \__,_|\___|\___\___/ \_/ 22:21:48 Bash-1.0.6 22:21:48 22:21:48 22:21:48 ==> git version 2.25.1 found 22:21:48 ==> 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 22:21:48 Release-Date: 2020-01-08 22:21:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:21:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:21:48 ==> Jenkins CI detected. 22:21:48 current dir:  /w/workspace/undry_device-onvif-camera_PR-125 22:21:48 project root: . 22:21:48 --> token set from env 22:21:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:21:48 ==> Running gcov in . (disable via -X gcov) 22:21:48 ==> Python coveragepy not found 22:21:48 ==> Searching for coverage reports in: 22:21:48 + . 22:21:48 -> Found 1 reports 22:21:48 ==> Detecting git/mercurial file structure 22:21:48 ==> Reading reports 22:21:48 + ./coverage.out bytes=79184 22:21:48 ==> Appending adjustments 22:21:48 https://docs.codecov.io/docs/fixing-reports 22:21:48 + Found adjustments 22:21:48 ==> Gzipping contents 22:21:48 12K /tmp/codecov.x91O2W.gz 22:21:48 ==> Uploading reports 22:21:48 url: https://codecov.io 22:21:48 query: branch=PR-125&commit=7511f98d1e678939634bd840bdd91670cce2e45d&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 22:21:48 -> Pinging Codecov 22:21:48 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=7511f98d1e678939634bd840bdd91670cce2e45d&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 22:21:48 -> Uploading to 22:21:48 https://storage.googleapis.com/codecov/v4/raw/2022-12-19/F29A59C45E3A92E06B3E522C9905F8EF/7511f98d1e678939634bd840bdd91670cce2e45d/62972acf-d3ed-43e1-9eab-281106909c4f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221219T222148Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=56203b7292265ce06ba403701040713570b1d0f48b14aae2434371e98d94277f 22:21:48 % Total % Received % Xferd Average Speed Time Time Time Current 22:21:48 Dload Upload Total Spent Left Speed 22:21:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10895 0 0 100 10895 0 50674 --:--:-- --:--:-- --:--:-- 50911 22:21:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/7511f98d1e678939634bd840bdd91670cce2e45d [Pipeline] } 22:21:48 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 22:21:49 + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] 22:21:49 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 22:21:49 total 16 22:21:49 drwxr-xr-x 3 root root 4096 Dec 19 22:12 . 22:21:49 drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 22:12 .. 22:21:49 drwxr-xr-x 2 root root 4096 Dec 19 22:12 cost 22:21:49 -rw-r--r-- 1 root root 92 Dec 19 22:12 cost.csv 22:21:49 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives 22:21:49 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 22:21:49 total 16 22:21:49 drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 22:12 . 22:21:49 drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 22:12 .. 22:21:49 drwxr-xr-x 2 jenkins jenkins 4096 Dec 19 22:12 cost 22:21:49 -rw-r--r-- 1 jenkins jenkins 92 Dec 19 22:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:21:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:21:50 ---> package-listing.sh 22:21:50 ++ facter osfamily 22:21:50 ++ tr '[:upper:]' '[:lower:]' 22:21:51 + OS_FAMILY=debian 22:21:51 + workspace=/w/workspace/undry_device-onvif-camera_PR-125 22:21:51 + START_PACKAGES=/tmp/packages_start.txt 22:21:51 + END_PACKAGES=/tmp/packages_end.txt 22:21:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:21:51 + PACKAGES=/tmp/packages_start.txt 22:21:51 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 22:21:51 + PACKAGES=/tmp/packages_end.txt 22:21:51 + case "${OS_FAMILY}" in 22:21:51 + dpkg -l 22:21:51 + grep '^ii' 22:21:51 + '[' -f /tmp/packages_start.txt ']' 22:21:51 + '[' -f /tmp/packages_end.txt ']' 22:21:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:21:51 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 22:21:51 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ 22:21:51 + 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 22:21:51 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 22:21:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:51 prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container 22:21:51 $ 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 22:21:52 $ docker top 139cbcb497fdb80da559af72f57e11451139229dced0c9ea89b09c97ab8c6ee1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:21:52 + touch /tmp/pre-build-complete [Pipeline] sh 22:21:52 + mkdir -p /var/log/sysstat [Pipeline] sh 22:21:53 + ls /var/log/sa-host 22:21:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:53 provisioning config files... 22:21:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config353841968952020872tmp [Pipeline] { [Pipeline] echo 22:21:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:21:53 ---> create-netrc.sh [Pipeline] } 22:21:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:21:53 ---> python-tools-install.sh [Pipeline] echo 22:21:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:21:54 ---> sudo-logs.sh 22:21:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:21:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:21:54 ---> job-cost.sh 22:21:54 lf-activate-venv: SKIPPING 22:21:54 DEBUG: total: 0.2199999988079071 22:21:54 INFO: Retrieving Stack Cost... 22:21:54 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:55 INFO: Archiving Costs [Pipeline] echo 22:21:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:21:55 ---> logs-deploy.sh 22:21:55 lf-activate-venv: SKIPPING 22:21:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/32 22:21:55 INFO: archiving workspace using pattern(s): 22:21:56 Archives upload complete. 22:21:56 INFO: archiving logs to Nexus