Pull request #174 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 rather than b38cad5b99fcc04b9ffa906019bb6127e2844a17 Obtained Jenkinsfile from 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 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-ssh1827430214827094155.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9832508368396982169.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-174/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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12801993415907546940.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9418648485836144569.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-174/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-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15257523796725907299.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7622 in /w/workspace/undry_device-onvif-camera_PR-174 [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-174 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit b38cad5b99fcc04b9ffa906019bb6127e2844a17 Merge succeeded, producing d86c5fcc9d999a8779cd16105eac4111fa1eb29c Checking out Revision d86c5fcc9d999a8779cd16105eac4111fa1eb29c (PR-174) > git config core.sparsecheckout # timeout=10 > git checkout -f b38cad5b99fcc04b9ffa906019bb6127e2844a17 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d86c5fcc9d999a8779cd16105eac4111fa1eb29c # timeout=10 Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:58:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:58:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:58:58 ========================================================= 03:58:58 EdgeX Global Pipelines Version Info 03:58:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk df9a3fbcbe8cad976df713ebeee647e5f7497bae # timeout=10 03:58:59 ------------------- 03:58:59 stable info: 03:58:59 ------------------- 03:58:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:58:59 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:58:59 Message: update stable to v1.0.239 03:58:59 ------------------- 03:58:59 experimental info: 03:58:59 ------------------- 03:58:59 Commited By: **** collab-it+edgex@linuxfoundation.org 03:58:59 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:58:59 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d86c5fcc9d999a8779cd16105eac4111fa1eb29c [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d86c5fc [Pipeline] echo 03:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:59:00 provisioning config files... 03:59:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config7007033517502763227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:59:00 ---> docker-login.sh 03:59:00 nexus3.edgexfoundry.org:10001 03:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:01 Configure a credential helper to remove this warning. See 03:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:01 03:59:01 Login Succeeded 03:59:01 nexus3.edgexfoundry.org:10002 03:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:01 Configure a credential helper to remove this warning. See 03:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:01 03:59:01 Login Succeeded 03:59:01 nexus3.edgexfoundry.org:10003 03:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:01 Configure a credential helper to remove this warning. See 03:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:01 03:59:01 Login Succeeded 03:59:01 nexus3.edgexfoundry.org:10004 03:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:01 Configure a credential helper to remove this warning. See 03:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:01 03:59:01 Login Succeeded 03:59:01 docker.io 03:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:01 Configure a credential helper to remove this warning. See 03:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:01 03:59:01 Login Succeeded 03:59:01 ---> docker-login.sh ends [Pipeline] } 03:59:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:59:02 + git rev-list -1 --merges d86c5fcc9d999a8779cd16105eac4111fa1eb29c~1..d86c5fcc9d999a8779cd16105eac4111fa1eb29c [Pipeline] echo 03:59:02 -----------> git rev-list -1 --merges d86c5fcc9d999a8779cd16105eac4111fa1eb29c~1..d86c5fcc9d999a8779cd16105eac4111fa1eb29c d86c5fcc9d999a8779cd16105eac4111fa1eb29c 03:59:02 d86c5fcc9d999a8779cd16105eac4111fa1eb29c [false] [Pipeline] sh 03:59:02 + git log --format=format:%s -1 d86c5fcc9d999a8779cd16105eac4111fa1eb29c [Pipeline] echo 03:59:02 ========================================================= 03:59:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:59:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:59:02 + git log --format=format:%s -1 d86c5fcc9d999a8779cd16105eac4111fa1eb29c [Pipeline] echo 03:59:02 [semverPrep] GIT_COMMIT: d86c5fcc9d999a8779cd16105eac4111fa1eb29c, Commit Message: Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD [Pipeline] echo 03:59:02 [semverPrep] This is not a build commit. [Pipeline] sh 03:59:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:59:03 + grep -v github /etc/ssh/ssh_known_hosts 03:59:03 + [ -e /tmp/ssh_known_hosts ] 03:59:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:59:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:59:03 + sudo tee -a /etc/ssh/ssh_known_hosts 03:59:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:59:03 03:59:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:59:03 0.1.4: Pulling from edgex-devops/py-git-semver 03:59:03 b85a868b505f: Pulling fs layer 03:59:03 e2be974225ed: Pulling fs layer 03:59:03 339a4e72a1f5: Pulling fs layer 03:59:03 988bab9f4d93: Pulling fs layer 03:59:03 1469e6f7b9e6: Pulling fs layer 03:59:03 eaf3925da568: Pulling fs layer 03:59:03 bab4dde63d76: Pulling fs layer 03:59:03 bde34c3a00c8: Pulling fs layer 03:59:03 b352a97aabf1: Pulling fs layer 03:59:03 4872d77fe225: Pulling fs layer 03:59:03 5851b861e8e6: Pulling fs layer 03:59:03 bab4dde63d76: Waiting 03:59:03 bde34c3a00c8: Waiting 03:59:03 b352a97aabf1: Waiting 03:59:03 4872d77fe225: Waiting 03:59:03 5851b861e8e6: Waiting 03:59:03 988bab9f4d93: Waiting 03:59:03 1469e6f7b9e6: Waiting 03:59:03 eaf3925da568: Waiting 03:59:03 e2be974225ed: Verifying Checksum 03:59:03 e2be974225ed: Download complete 03:59:03 988bab9f4d93: Verifying Checksum 03:59:03 988bab9f4d93: Download complete 03:59:04 1469e6f7b9e6: Verifying Checksum 03:59:04 1469e6f7b9e6: Download complete 03:59:04 339a4e72a1f5: Verifying Checksum 03:59:04 339a4e72a1f5: Download complete 03:59:04 eaf3925da568: Verifying Checksum 03:59:04 eaf3925da568: Download complete 03:59:04 bde34c3a00c8: Download complete 03:59:04 b352a97aabf1: Download complete 03:59:04 4872d77fe225: Download complete 03:59:04 5851b861e8e6: Download complete 03:59:04 b85a868b505f: Verifying Checksum 03:59:04 b85a868b505f: Download complete 03:59:04 bab4dde63d76: Verifying Checksum 03:59:04 bab4dde63d76: Download complete 03:59:05 b85a868b505f: Pull complete 03:59:05 e2be974225ed: Pull complete 03:59:06 339a4e72a1f5: Pull complete 03:59:06 988bab9f4d93: Pull complete 03:59:06 1469e6f7b9e6: Pull complete 03:59:06 eaf3925da568: Pull complete 03:59:08 bab4dde63d76: Pull complete 03:59:08 bde34c3a00c8: Pull complete 03:59:08 b352a97aabf1: Pull complete 03:59:08 4872d77fe225: Pull complete 03:59:08 5851b861e8e6: Pull complete 03:59:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:59:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:59:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:08 prd-ubuntu20.04-docker-8c-8g-7622 does not seem to be running inside a container 03:59:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:59:13 $ docker top eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc -eo pid,comm 03:59:13 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). 03:59:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:59:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:59:13 [ssh-agent] Looking for ssh-agent implementation... 03:59:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:59:13 $ docker exec eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc ssh-agent 03:59:13 SSH_AUTH_SOCK=/tmp/ssh-MkBokUGyr9DB/agent.32 03:59:13 SSH_AGENT_PID=38 03:59:13 Running ssh-add (command line suppressed) 03:59:13 Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_2864829271838700693.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_2864829271838700693.key) 03:59:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:59:14 + git tag --points-at HEAD [Pipeline] } 03:59:14 $ docker exec --env ******** --env ******** eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc ssh-agent -k 03:59:14 unset SSH_AUTH_SOCK; 03:59:14 unset SSH_AGENT_PID; 03:59:14 echo Agent pid 38 killed; 03:59:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:59:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:59:14 [ssh-agent] Looking for ssh-agent implementation... 03:59:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:59:14 $ docker exec eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc ssh-agent 03:59:14 SSH_AUTH_SOCK=/tmp/ssh-4vPtzdbjMuqv/agent.70 03:59:14 SSH_AGENT_PID=76 03:59:14 Running ssh-add (command line suppressed) 03:59:14 Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_1754879605354016474.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_1754879605354016474.key) 03:59:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:59:14 + git semver init 03:59:15 2022-10-11 03:59:15,094 [run_init] DEBUG init version:0.0.0 force:False 03:59:15 2022-10-11 03:59:15,095 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-174/.semver 03:59:15 2022-10-11 03:59:15,095 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-174/.semver 03:59:15 2022-10-11 03:59:15,096 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-174/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-174, universal_newlines=False, shell=None, istream=None) 03:59:16 2022-10-11 03:59:16,197 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-174/.git/info/exclude 03:59:16 2022-10-11 03:59:16,197 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 with force:False 03:59:16 2022-10-11 03:59:16,197 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 03:59:16 2022-10-11 03:59:16,201 [execute] INFO git cat-file --batch-check 03:59:16 2022-10-11 03:59:16,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) 03:59:16 2022-10-11 03:59:16,207 [execute] INFO git cat-file --batch 03:59:16 2022-10-11 03:59:16,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) 03:59:16 2022-10-11 03:59:16,212 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 03:59:16 0.0.0 [Pipeline] } 03:59:16 $ docker exec --env ******** --env ******** eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc ssh-agent -k 03:59:16 unset SSH_AUTH_SOCK; 03:59:16 unset SSH_AGENT_PID; 03:59:16 echo Agent pid 76 killed; 03:59:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:59:16 + git semver [Pipeline] } 03:59:17 $ docker stop --time=1 eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc 03:59:18 $ docker rm -f eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc [Pipeline] // withDockerContainer [Pipeline] sh 03:59:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:59:19 Stashed 1 file(s) [Pipeline] echo 03:59:19 [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 03:59:19 provisioning config files... 03:59:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config17510058139708144576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:59:19 ---> docker-login.sh 03:59:19 nexus3.edgexfoundry.org:10001 03:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:19 Configure a credential helper to remove this warning. See 03:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:19 03:59:19 Login Succeeded 03:59:19 nexus3.edgexfoundry.org:10002 03:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:19 Configure a credential helper to remove this warning. See 03:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:19 03:59:19 Login Succeeded 03:59:19 nexus3.edgexfoundry.org:10003 03:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:19 Configure a credential helper to remove this warning. See 03:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:19 03:59:19 Login Succeeded 03:59:19 nexus3.edgexfoundry.org:10004 03:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:19 Configure a credential helper to remove this warning. See 03:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:19 03:59:19 Login Succeeded 03:59:19 docker.io 03:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:20 Configure a credential helper to remove this warning. See 03:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:20 03:59:20 Login Succeeded 03:59:20 ---> docker-login.sh ends [Pipeline] } 03:59:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:59:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:59:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:59:20 ========================================================= 03:59:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:59:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:20 + 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 . 03:59:20 Sending build context to Docker daemon 21.27MB 03:59:20 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 03:59:20 Step 2/14 : FROM ${BASE} AS builder 03:59:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:59:20 213ec9aee27d: Pulling fs layer 03:59:20 4583459ba037: Pulling fs layer 03:59:20 93c1e223e6f2: Pulling fs layer 03:59:20 53926ce57604: Pulling fs layer 03:59:20 21b2b0c7a3f4: Pulling fs layer 03:59:20 30f14e443154: Pulling fs layer 03:59:20 801331c1e519: Pulling fs layer 03:59:20 99cc6dd402b0: Pulling fs layer 03:59:20 7d9ed39f4882: Pulling fs layer 03:59:20 801331c1e519: Waiting 03:59:20 53926ce57604: Waiting 03:59:20 21b2b0c7a3f4: Waiting 03:59:20 30f14e443154: Waiting 03:59:20 99cc6dd402b0: Waiting 03:59:20 7d9ed39f4882: Waiting 03:59:20 93c1e223e6f2: Verifying Checksum 03:59:20 93c1e223e6f2: Download complete 03:59:20 4583459ba037: Download complete 03:59:20 21b2b0c7a3f4: Verifying Checksum 03:59:20 21b2b0c7a3f4: Download complete 03:59:20 30f14e443154: Verifying Checksum 03:59:20 30f14e443154: Download complete 03:59:20 213ec9aee27d: Verifying Checksum 03:59:20 213ec9aee27d: Download complete 03:59:20 801331c1e519: Download complete 03:59:20 213ec9aee27d: Pull complete 03:59:21 4583459ba037: Pull complete 03:59:21 93c1e223e6f2: Pull complete 03:59:21 7d9ed39f4882: Verifying Checksum 03:59:21 7d9ed39f4882: Download complete 03:59:22 53926ce57604: Download complete 03:59:22 99cc6dd402b0: Verifying Checksum 03:59:22 99cc6dd402b0: Download complete 03:59:25 53926ce57604: Pull complete 03:59:25 21b2b0c7a3f4: Pull complete 03:59:25 30f14e443154: Pull complete 03:59:25 801331c1e519: Pull complete 03:59:27 99cc6dd402b0: Pull complete 03:59:28 7d9ed39f4882: Pull complete 03:59:28 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 03:59:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:59:28 ---> 1dedd983c030 03:59:28 Step 3/14 : ARG ADD_BUILD_TAGS="" 03:59:33 ---> Running in e372b8263d2c 03:59:33 Removing intermediate container e372b8263d2c 03:59:33 ---> af4a678f1144 03:59:33 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:59:33 ---> Running in d8461f676298 03:59:33 Removing intermediate container d8461f676298 03:59:33 ---> 7b9bc0ff5156 03:59:33 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:59:33 ---> Running in 1cfda7d2b4c6 03:59:33 Removing intermediate container 1cfda7d2b4c6 03:59:33 ---> 7e8d40e82b96 03:59:33 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 03:59:33 ---> Running in ab38287a60fe 03:59:33 Removing intermediate container ab38287a60fe 03:59:33 ---> 6c604cca62de 03:59:33 Step 7/14 : LABEL Name=edgex-device-onvif-camera 03:59:33 ---> Running in ca0f4358ff28 03:59:33 Removing intermediate container ca0f4358ff28 03:59:33 ---> 2c000783d773 03:59:33 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:59:33 ---> Running in e402c7984dc2 03:59:33 Removing intermediate container e402c7984dc2 03:59:33 ---> 1a89222396f0 03:59:33 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:59:33 ---> Running in 3153494a1668 03:59:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:59:34 Still waiting to schedule task 03:59:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:59:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:59:35 OK: 211 MiB in 51 packages 03:59:35 Removing intermediate container 3153494a1668 03:59:35 ---> 3b2c4beab27f 03:59:35 Step 10/14 : WORKDIR /device-onvif-camera 03:59:35 ---> Running in eeffb337ca68 03:59:35 Removing intermediate container eeffb337ca68 03:59:35 ---> ca68ce49d521 03:59:35 Step 11/14 : COPY go.mod vendor* ./ 03:59:36 ---> 7f2097f15e6a 03:59:36 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:59:36 ---> Running in ae1770b4ce92 04:00:02 Removing intermediate container ae1770b4ce92 04:00:02 ---> 14b76e2e5abb 04:00:02 Step 13/14 : COPY . . 04:00:02 ---> 2007a7be87fe 04:00:02 Step 14/14 : RUN ${MAKE} 04:00:02 ---> Running in 51c718e90b20 04:00:02 noop 04:00:02 Removing intermediate container 51c718e90b20 04:00:02 ---> a85885883bfb 04:00:02 Successfully built a85885883bfb 04:00:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:03 + docker inspect -f . ci-base-image-x86_64 04:00:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:03 prd-ubuntu20.04-docker-8c-8g-7622 does not seem to be running inside a container 04:00:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:00:03 $ docker top 9bd82f74db0a26194d7bae39534281663c58a75368f93f0ba0989b882f06aac5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:00:03 + go version 04:00:03 go version go1.18.7 linux/amd64 [Pipeline] } 04:00:03 $ docker stop --time=1 9bd82f74db0a26194d7bae39534281663c58a75368f93f0ba0989b882f06aac5 04:00:05 $ docker rm -f 9bd82f74db0a26194d7bae39534281663c58a75368f93f0ba0989b882f06aac5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:05 + docker inspect -f . ci-base-image-x86_64 04:00:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:05 prd-ubuntu20.04-docker-8c-8g-7622 does not seem to be running inside a container 04:00:05 $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:00:05 $ docker top 9f9b73eef39813ee9e979294c55d0d2d75f8866b29ca0a4dc404d0c5a2f33b99 -eo pid,comm [Pipeline] { [Pipeline] sh 04:00:06 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] fileExists [Pipeline] sh 04:00:06 + make test 04:00:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:00:06 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:00:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:00:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements 04:00:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:00:18 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.530s coverage: 86.5% of statements 04:00:27 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." 04:00:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:00:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:00:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:00:30 ./bin/test-attribution-txt.sh [Pipeline] echo 04:00:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:00:30 $ docker stop --time=1 9f9b73eef39813ee9e979294c55d0d2d75f8866b29ca0a4dc404d0c5a2f33b99 04:00:33 $ docker rm -f 9f9b73eef39813ee9e979294c55d0d2d75f8866b29ca0a4dc404d0c5a2f33b99 [Pipeline] // withDockerContainer [Pipeline] sh 04:00:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:00:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:00:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:00:35 + ls -al . 04:00:35 total 236 04:00:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 04:00 . 04:00:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 03:58 .. 04:00:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 04:00 .git 04:00:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 03:58 .github 04:00:35 -rw-rw-r-- 1 jenkins jenkins 496 Oct 11 03:58 .gitignore 04:00:35 -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 03:58 .golangci.yml 04:00:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 03:59 .semver 04:00:35 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 11 03:58 Attribution.txt 04:00:35 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 11 03:58 CHANGELOG.md 04:00:35 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 11 03:58 Dockerfile 04:00:35 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 03:58 GOVERNANCE.md 04:00:35 -rw-rw-r-- 1 jenkins jenkins 734 Oct 11 03:58 Jenkinsfile 04:00:35 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 03:58 LICENSE 04:00:35 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 11 03:58 Makefile 04:00:35 -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 03:58 OWNERS.md 04:00:35 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 11 03:58 README.md 04:00:35 -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 03:59 VERSION 04:00:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 03:58 bin 04:00:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 03:58 cmd 04:00:35 -rw-r--r-- 1 jenkins jenkins 78461 Oct 11 04:00 coverage.out 04:00:35 drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 03:58 doc 04:00:35 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 11 03:58 go.mod 04:00:35 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 11 03:58 go.sum 04:00:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 03:58 internal 04:00:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 03:58 snap 04:00:35 -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 03:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:35 + 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=d86c5fcc9d999a8779cd16105eac4111fa1eb29c --label arch=amd64 --label version=0.0.0 . 04:00:35 Sending build context to Docker daemon 21.35MB 04:00:35 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 04:00:35 Step 2/27 : FROM ${BASE} AS builder 04:00:35 ---> a85885883bfb 04:00:35 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:00:35 ---> Running in 21febf99508f 04:00:35 Removing intermediate container 21febf99508f 04:00:35 ---> 6157b0816dbf 04:00:35 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:00:35 ---> Running in 8f1a8bf7457c 04:00:35 Removing intermediate container 8f1a8bf7457c 04:00:35 ---> ae9c702b6725 04:00:35 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:00:35 ---> Running in b06f0a03d61a 04:00:35 Removing intermediate container b06f0a03d61a 04:00:35 ---> b26c946c14f8 04:00:35 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:00:36 ---> Running in a27503bc8049 04:00:36 Removing intermediate container a27503bc8049 04:00:36 ---> 5dec560d58e5 04:00:36 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:00:36 ---> Running in d56f08febb6a 04:00:36 Removing intermediate container d56f08febb6a 04:00:36 ---> 443480ff341f 04:00:36 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:00:36 ---> Running in 348df55e7e97 04:00:36 Removing intermediate container 348df55e7e97 04:00:36 ---> 8ab975b2a292 04:00:36 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:00:36 ---> Running in 48344d37c781 04:00:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:00:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:00:38 OK: 211 MiB in 51 packages 04:00:38 Removing intermediate container 48344d37c781 04:00:38 ---> 09ec576029c5 04:00:38 Step 10/27 : WORKDIR /device-onvif-camera 04:00:38 ---> Running in 7b6b7b4e8ff1 04:00:38 Removing intermediate container 7b6b7b4e8ff1 04:00:38 ---> 62748164bbb0 04:00:38 Step 11/27 : COPY go.mod vendor* ./ 04:00:38 ---> 485b02c13eb5 04:00:38 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:00:38 ---> Running in 9635fb8a6a6c 04:00:39 Removing intermediate container 9635fb8a6a6c 04:00:39 ---> edbd60ce7348 04:00:39 Step 13/27 : COPY . . 04:00:40 ---> 367bcad20be1 04:00:40 Step 14/27 : RUN ${MAKE} 04:00:40 ---> Running in 0c88d8adf334 04:00:40 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:01:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7623 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] ws 04:01:06 Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout 04:01:06 The recommended git tool is: git 04:01:07 Removing intermediate container 0c88d8adf334 04:01:07 ---> c513f9d5304e 04:01:07 Step 15/27 : FROM alpine:3.16 04:01:07 3.16: Pulling from library/alpine 04:01:07 213ec9aee27d: Already exists 04:01:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:01:07 Status: Downloaded newer image for alpine:3.16 04:01:07 ---> 9c6f07244728 04:01:07 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:01:07 ---> Running in d03802c001c6 04:01:07 Removing intermediate container d03802c001c6 04:01:07 ---> 5d817328478a 04:01:07 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 04:01:07 ---> Running in f47ed9eed4b7 04:01:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:01:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:01:07 (1/6) Installing dumb-init (1.2.5-r1) 04:01:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:01:07 (3/6) Installing libsodium (1.0.18-r0) 04:01:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:01:07 (5/6) Installing libzmq (4.3.4-r0) 04:01:07 (6/6) Installing zeromq (4.3.4-r0) 04:01:07 Executing busybox-1.35.0-r17.trigger 04:01:07 OK: 8 MiB in 20 packages 04:01:07 Removing intermediate container f47ed9eed4b7 04:01:07 ---> 054697e5edd5 04:01:07 Step 18/27 : WORKDIR / 04:01:07 ---> Running in a43fd7da12eb 04:01:07 Removing intermediate container a43fd7da12eb 04:01:07 ---> 9c031c44d93a 04:01:07 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:01:08 ---> a96f78417cc3 04:01:08 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:01:08 ---> e12db4833769 04:01:08 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:01:08 ---> b51cab2422fd 04:01:08 Step 22/27 : EXPOSE 59984 04:01:08 ---> Running in 2bdf3b30a4c9 04:01:08 Removing intermediate container 2bdf3b30a4c9 04:01:08 ---> 67c34d58fd91 04:01:08 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:01:08 ---> Running in c17ceb2f2076 04:01:08 Removing intermediate container c17ceb2f2076 04:01:08 ---> 28e636c95e1a 04:01:08 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:01:08 ---> Running in 44426355c9c9 04:01:08 Removing intermediate container 44426355c9c9 04:01:08 ---> a30bf4b58d82 04:01:08 Step 25/27 : LABEL arch=amd64 04:01:08 ---> Running in f611343d533f 04:01:08 Removing intermediate container f611343d533f 04:01:08 ---> 269e0e071a8b 04:01:08 Step 26/27 : LABEL git_sha=d86c5fcc9d999a8779cd16105eac4111fa1eb29c 04:01:09 ---> Running in 3f97ae1c30c0 04:01:09 Removing intermediate container 3f97ae1c30c0 04:01:09 ---> e990de6c2823 04:01:09 Step 27/27 : LABEL version=0.0.0 04:01:09 ---> Running in 606e0ca0d98c 04:01:09 Removing intermediate container 606e0ca0d98c 04:01:09 ---> ad7b0f26adad 04:01:09 [Warning] One or more build-args [ARCH] were not consumed 04:01:09 Successfully built ad7b0f26adad 04:01:09 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 04:01:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:01:09 04:01:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:01:09 latest: Pulling from edgex-lftools-log-publisher 04:01:09 5eb5b503b376: Pulling fs layer 04:01:09 5c69ac0246d0: Pulling fs layer 04:01:09 ec43610c2a17: Pulling fs layer 04:01:09 3a2ae6a8a46f: Pulling fs layer 04:01:09 33b1e0a273af: Pulling fs layer 04:01:09 5d3b04190fa2: Pulling fs layer 04:01:09 2f39f015ded8: Pulling fs layer 04:01:09 3a2ae6a8a46f: Waiting 04:01:09 33b1e0a273af: Waiting 04:01:09 5d3b04190fa2: Waiting 04:01:09 2f39f015ded8: Waiting 04:01:09 5c69ac0246d0: Verifying Checksum 04:01:09 5c69ac0246d0: Download complete 04:01:09 3a2ae6a8a46f: Verifying Checksum 04:01:09 3a2ae6a8a46f: Download complete 04:01:10 33b1e0a273af: Verifying Checksum 04:01:10 33b1e0a273af: Download complete 04:01:10 ec43610c2a17: Verifying Checksum 04:01:10 ec43610c2a17: Download complete 04:01:10 5d3b04190fa2: Verifying Checksum 04:01:10 5d3b04190fa2: Download complete 04:01:10 5eb5b503b376: Download complete 04:01:10 2f39f015ded8: Download complete 04:01:11 using credential edgex-jenkins-ssh 04:01:11 Cloning the remote Git repository 04:01:11 5eb5b503b376: Pull complete 04:01:11 5c69ac0246d0: Pull complete 04:01:12 ec43610c2a17: Pull complete 04:01:12 3a2ae6a8a46f: Pull complete 04:01:12 33b1e0a273af: Pull complete 04:01:11 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:01:11 > git init /w/workspace/device-onvif-camera/5 # timeout=10 04:01:11 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:01:11 > git --version # timeout=10 04:01:11 > git --version # 'git version 2.25.1' 04:01:11 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:11 Verifying host key using known hosts file 04:01:11 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:01:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:12 5d3b04190fa2: Pull complete 04:01:13 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:01:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:14 Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit b38cad5b99fcc04b9ffa906019bb6127e2844a17 04:01:13 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:01:13 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:01:13 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:13 Verifying host key using known hosts file 04:01:13 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:01:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:01:14 > git config core.sparsecheckout # timeout=10 04:01:14 > git checkout -f b38cad5b99fcc04b9ffa906019bb6127e2844a17 # timeout=10 04:01:15 Merge succeeded, producing 8fdbd905d1ecb830906654991846a5c19a3b10ec 04:01:15 Checking out Revision 8fdbd905d1ecb830906654991846a5c19a3b10ec (PR-174) 04:01:14 > git remote # timeout=10 04:01:14 > git config --get remote.origin.url # timeout=10 04:01:14 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:14 Verifying host key using known hosts file 04:01:14 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:01:14 > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 04:01:15 > git rev-parse HEAD^{commit} # timeout=10 04:01:15 > git config core.sparsecheckout # timeout=10 04:01:15 > git checkout -f 8fdbd905d1ecb830906654991846a5c19a3b10ec # timeout=10 04:01:16 2f39f015ded8: Pull complete 04:01:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:01:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:01:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:16 prd-ubuntu20.04-docker-8c-8g-7622 does not seem to be running inside a container 04:01:16 $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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 04:01:18 Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" 04:01:18 First time build. Skipping changelog. 04:01:19 04:01:19 GitHub has been notified of this commit’s build result 04:01:19 04:01:18 > git rev-list --no-walk df9a3fbcbe8cad976df713ebeee647e5f7497bae # timeout=10 04:01:21 $ docker top 44dfa9312128fa58173348f786cdfc7c33c74afdfeee7d9a258755b553f4df54 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:22 ---> job-cost.sh 04:01:22 lf-activate-venv: SKIPPING 04:01:22 INFO: No Stack... 04:01:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:01:22 % Total % Received % Xferd Average Speed Time Time Time Current 04:01:22 Dload Upload Total Spent Left Speed 04:01:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85148 0 --:--:-- --:--:-- --:--:-- 84577 04:01:22 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 04:01:23 INFO: Archiving Costs [Pipeline] sh 04:01:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:01:23 + cat /w/workspace/undry_device-onvif-camera_PR-174/archives/cost.csv 04:01:23 + cut -d, -f6 [Pipeline] lock 04:01:23 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] 04:01:23 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] did not exist. Created. 04:01:23 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:01:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:01:23 + sudo tee /etc/docker/daemon.new 04:01:23 { 04:01:23 "registry-mirrors": [ 04:01:23 "https://nexus3.edgexfoundry.org:10001" 04:01:23 ], 04:01:23 "bip": "10.250.0.254/24", 04:01:23 "hosts": [ 04:01:23 "tcp://0.0.0.0:5555", 04:01:23 "unix:///var/run/docker.sock" 04:01:23 ], 04:01:23 "mtu": 1458, 04:01:23 "selinux-enabled": true, 04:01:23 "seccomp-profile": "/etc/docker/seccomp.json" 04:01:23 } [Pipeline] sh 04:01:23 + echo total: 0.2199999988079071 [Pipeline] stash 04:01:23 Stashed 1 file(s) [Pipeline] } 04:01:23 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] [Pipeline] // lock [Pipeline] } 04:01:23 $ docker stop --time=1 44dfa9312128fa58173348f786cdfc7c33c74afdfeee7d9a258755b553f4df54 04:01:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 04:01:24 $ docker rm -f 44dfa9312128fa58173348f786cdfc7c33c74afdfeee7d9a258755b553f4df54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:01:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:01:43 provisioning config files... 04:01:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config12725519432371486243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:43 ---> docker-login.sh 04:01:43 nexus3.edgexfoundry.org:10001 04:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:44 Configure a credential helper to remove this warning. See 04:01:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:44 04:01:44 Login Succeeded 04:01:44 nexus3.edgexfoundry.org:10002 04:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:45 Configure a credential helper to remove this warning. See 04:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:45 04:01:45 Login Succeeded 04:01:45 nexus3.edgexfoundry.org:10003 04:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:45 Configure a credential helper to remove this warning. See 04:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:45 04:01:45 Login Succeeded 04:01:45 nexus3.edgexfoundry.org:10004 04:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:45 Configure a credential helper to remove this warning. See 04:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:45 04:01:45 Login Succeeded 04:01:45 docker.io 04:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:46 Configure a credential helper to remove this warning. See 04:01:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:46 04:01:46 Login Succeeded 04:01:46 ---> docker-login.sh ends [Pipeline] } 04:01:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:01:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:01:46 ========================================================= 04:01:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:01:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:47 + 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 . 04:01:47 Sending build context to Docker daemon 14.69MB 04:01:47 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 04:01:47 Step 2/14 : FROM ${BASE} AS builder 04:01:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:01:47 9b18e9b68314: Pulling fs layer 04:01:47 d32db5db7311: Pulling fs layer 04:01:47 d0c4b47475fc: Pulling fs layer 04:01:47 5831b945b038: Pulling fs layer 04:01:47 86bbec2aaacd: Pulling fs layer 04:01:47 e10730c5d714: Pulling fs layer 04:01:47 5dd5c2283517: Pulling fs layer 04:01:47 d5ac0230b979: Pulling fs layer 04:01:47 5831b945b038: Waiting 04:01:47 86bbec2aaacd: Waiting 04:01:47 e10730c5d714: Waiting 04:01:47 5dd5c2283517: Waiting 04:01:47 d5ac0230b979: Waiting 04:01:47 d0c4b47475fc: Download complete 04:01:47 d32db5db7311: Download complete 04:01:47 86bbec2aaacd: Verifying Checksum 04:01:47 86bbec2aaacd: Download complete 04:01:47 9b18e9b68314: Verifying Checksum 04:01:47 e10730c5d714: Verifying Checksum 04:01:47 e10730c5d714: Download complete 04:01:48 9b18e9b68314: Pull complete 04:01:48 d5ac0230b979: Verifying Checksum 04:01:48 d5ac0230b979: Download complete 04:01:49 d32db5db7311: Pull complete 04:01:49 d0c4b47475fc: Pull complete 04:01:49 5dd5c2283517: Download complete 04:01:50 5831b945b038: Verifying Checksum 04:02:02 5831b945b038: Pull complete 04:02:02 86bbec2aaacd: Pull complete 04:02:02 e10730c5d714: Pull complete 04:02:09 5dd5c2283517: Pull complete 04:02:11 d5ac0230b979: Pull complete 04:02:11 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 04:02:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:02:11 ---> 59b3b1a385d4 04:02:11 Step 3/14 : ARG ADD_BUILD_TAGS="" 04:02:13 ---> Running in e3cb786b9a40 04:02:13 Removing intermediate container e3cb786b9a40 04:02:13 ---> 987ee476da39 04:02:13 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:02:13 ---> Running in 23fc70cf60bd 04:02:14 Removing intermediate container 23fc70cf60bd 04:02:14 ---> 3221da2a3907 04:02:14 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:02:14 ---> Running in 6c8b65f82093 04:02:14 Removing intermediate container 6c8b65f82093 04:02:14 ---> cd9aece9ef27 04:02:14 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 04:02:14 ---> Running in 6055db327d9f 04:02:14 Removing intermediate container 6055db327d9f 04:02:14 ---> 2609fcceb35f 04:02:14 Step 7/14 : LABEL Name=edgex-device-onvif-camera 04:02:14 ---> Running in 4444d847d196 04:02:15 Removing intermediate container 4444d847d196 04:02:15 ---> cea7b57ee9a4 04:02:15 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:15 ---> Running in f747a12d4572 04:02:17 Removing intermediate container f747a12d4572 04:02:17 ---> c31661240a52 04:02:17 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:02:17 ---> Running in 9f20d96b58db 04:02:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:02:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:02:19 OK: 221 MiB in 51 packages 04:02:20 Removing intermediate container 9f20d96b58db 04:02:20 ---> c804606d6b98 04:02:20 Step 10/14 : WORKDIR /device-onvif-camera 04:02:20 ---> Running in af9a30c69fa5 04:02:20 Removing intermediate container af9a30c69fa5 04:02:20 ---> 103d79fb801e 04:02:20 Step 11/14 : COPY go.mod vendor* ./ 04:02:21 ---> 79bda2b9455f 04:02:21 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:21 ---> Running in 783c586fb43e 04:03:08 Removing intermediate container 783c586fb43e 04:03:08 ---> 5d54ecaf5cf2 04:03:08 Step 13/14 : COPY . . 04:03:10 ---> d910fc8271e2 04:03:10 Step 14/14 : RUN ${MAKE} 04:03:10 ---> Running in 48bfcce1e2a5 04:03:10 noop 04:03:11 Removing intermediate container 48bfcce1e2a5 04:03:11 ---> 2879a79c0372 04:03:11 Successfully built 2879a79c0372 04:03:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:11 + docker inspect -f . ci-base-image-arm64 04:03:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:12 prd-ubuntu20.04-docker-arm64-4c-16g-7623 does not seem to be running inside a container 04:03:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:03:13 $ docker top 7570a4927dec8774a5287f4acfb1d9abf29fb77b7c3a2b755e942e9a5da0ebba -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:14 + go version 04:03:14 go version go1.18.7 linux/arm64 [Pipeline] } 04:03:14 $ docker stop --time=1 7570a4927dec8774a5287f4acfb1d9abf29fb77b7c3a2b755e942e9a5da0ebba 04:03:15 $ docker rm -f 7570a4927dec8774a5287f4acfb1d9abf29fb77b7c3a2b755e942e9a5da0ebba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:16 + docker inspect -f . ci-base-image-arm64 04:03:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:16 prd-ubuntu20.04-docker-arm64-4c-16g-7623 does not seem to be running inside a container 04:03:16 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:03:17 $ docker top 73f868f227915709620c95e8a96b469610562108ca7794689079389714c539a9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:18 + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh 04:03:18 + make test 04:03:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:03:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:04:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:04:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.189s coverage: 28.2% of statements 04:04:57 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:05:15 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.071s coverage: 86.5% of statements 04:05:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:05:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:05:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:05:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:05:41 ./bin/test-attribution-txt.sh [Pipeline] echo 04:05:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:05:42 $ docker stop --time=1 73f868f227915709620c95e8a96b469610562108ca7794689079389714c539a9 04:05:43 $ docker rm -f 73f868f227915709620c95e8a96b469610562108ca7794689079389714c539a9 [Pipeline] // withDockerContainer [Pipeline] sh 04:05:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:05:45 Warning: overwriting stash ‘coverage-report’ 04:05:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:05:46 + ls -al . 04:05:46 total 232 04:05:46 drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 04:03 . 04:05:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 04:01 .. 04:05:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 04:01 .git 04:05:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 04:01 .github 04:05:46 -rw-rw-r-- 1 jenkins jenkins 496 Oct 11 04:01 .gitignore 04:05:46 -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 04:01 .golangci.yml 04:05:46 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 11 04:01 Attribution.txt 04:05:46 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 11 04:01 CHANGELOG.md 04:05:46 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 11 04:01 Dockerfile 04:05:46 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 04:01 GOVERNANCE.md 04:05:46 -rw-rw-r-- 1 jenkins jenkins 734 Oct 11 04:01 Jenkinsfile 04:05:46 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 04:01 LICENSE 04:05:46 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 11 04:01 Makefile 04:05:46 -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 04:01 OWNERS.md 04:05:46 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 11 04:01 README.md 04:05:46 -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 03:59 VERSION 04:05:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 04:01 bin 04:05:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 04:01 cmd 04:05:46 -rw-r--r-- 1 jenkins jenkins 78461 Oct 11 04:05 coverage.out 04:05:46 drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 04:01 doc 04:05:46 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 11 04:01 go.mod 04:05:46 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 11 04:01 go.sum 04:05:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 04:01 internal 04:05:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 04:01 snap 04:05:46 -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 04:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:46 + 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=8fdbd905d1ecb830906654991846a5c19a3b10ec --label arch=arm64 --label version=0.0.0 . 04:05:47 Sending build context to Docker daemon 14.77MB 04:05:47 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 04:05:47 Step 2/27 : FROM ${BASE} AS builder 04:05:47 ---> 2879a79c0372 04:05:47 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:05:47 ---> Running in 1ff924e1304a 04:05:48 Removing intermediate container 1ff924e1304a 04:05:48 ---> 24b08fe02fd5 04:05:48 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:05:48 ---> Running in 58c5737d08f7 04:05:48 Removing intermediate container 58c5737d08f7 04:05:48 ---> d3767e4005cc 04:05:48 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:05:48 ---> Running in 9e65f70621d8 04:05:48 Removing intermediate container 9e65f70621d8 04:05:48 ---> 659cc42856d3 04:05:48 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:05:48 ---> Running in 165f15d22423 04:05:49 Removing intermediate container 165f15d22423 04:05:49 ---> 1483921cf676 04:05:49 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:05:49 ---> Running in b90a6176d8ca 04:05:49 Removing intermediate container b90a6176d8ca 04:05:49 ---> 23231904e39a 04:05:49 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:05:49 ---> Running in a07c0aa445ab 04:05:51 Removing intermediate container a07c0aa445ab 04:05:51 ---> a81d13f00932 04:05:51 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:05:51 ---> Running in bf9f9f6974d5 04:05:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:05:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:05:54 OK: 221 MiB in 51 packages 04:05:55 Removing intermediate container bf9f9f6974d5 04:05:55 ---> 7260aa1235a6 04:05:55 Step 10/27 : WORKDIR /device-onvif-camera 04:05:55 ---> Running in fee1e6703c7b 04:05:55 Removing intermediate container fee1e6703c7b 04:05:55 ---> 995b45edbcb0 04:05:55 Step 11/27 : COPY go.mod vendor* ./ 04:05:56 ---> 93f0569f6d92 04:05:56 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:56 ---> Running in a5e2b6d88aff 04:06:00 Removing intermediate container a5e2b6d88aff 04:06:00 ---> d5645823528d 04:06:00 Step 13/27 : COPY . . 04:06:01 ---> d207f48c3638 04:06:01 Step 14/27 : RUN ${MAKE} 04:06:01 ---> Running in 9bca2fd57622 04:06:02 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:08:24 Removing intermediate container 9bca2fd57622 04:08:24 ---> 66c3c0f729c7 04:08:24 Step 15/27 : FROM alpine:3.16 04:08:24 3.16: Pulling from library/alpine 04:08:24 9b18e9b68314: Already exists 04:08:24 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:08:24 Status: Downloaded newer image for alpine:3.16 04:08:24 ---> a6215f271958 04:08:24 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:08:24 ---> Running in 58ea6f1f3c6a 04:08:24 Removing intermediate container 58ea6f1f3c6a 04:08:24 ---> 949d69f26b42 04:08:24 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 04:08:24 ---> Running in fd1abc957a89 04:08:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:08:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:08:26 (1/6) Installing dumb-init (1.2.5-r1) 04:08:26 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:08:26 (3/6) Installing libsodium (1.0.18-r0) 04:08:26 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:08:26 (5/6) Installing libzmq (4.3.4-r0) 04:08:26 (6/6) Installing zeromq (4.3.4-r0) 04:08:26 Executing busybox-1.35.0-r17.trigger 04:08:26 OK: 8 MiB in 20 packages 04:08:27 Removing intermediate container fd1abc957a89 04:08:27 ---> be94b4f64c8a 04:08:27 Step 18/27 : WORKDIR / 04:08:27 ---> Running in 1decfa646ad4 04:08:27 Removing intermediate container 1decfa646ad4 04:08:27 ---> f1816ae8fbd5 04:08:27 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:08:29 ---> bd3a35164fa1 04:08:29 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:08:29 ---> ee09eed5cb38 04:08:29 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:08:30 ---> 1e8284a4b7f4 04:08:30 Step 22/27 : EXPOSE 59984 04:08:30 ---> Running in 9a398a2e5c1f 04:08:30 Removing intermediate container 9a398a2e5c1f 04:08:30 ---> 30e7aae37f59 04:08:30 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:08:30 ---> Running in c6969a121091 04:08:30 Removing intermediate container c6969a121091 04:08:30 ---> e4f1168fe324 04:08:30 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:08:30 ---> Running in 55ddd680d1e8 04:08:31 Removing intermediate container 55ddd680d1e8 04:08:31 ---> 78a381b16f92 04:08:31 Step 25/27 : LABEL arch=arm64 04:08:31 ---> Running in 892dded49adb 04:08:31 Removing intermediate container 892dded49adb 04:08:31 ---> fec2273eb952 04:08:31 Step 26/27 : LABEL git_sha=8fdbd905d1ecb830906654991846a5c19a3b10ec 04:08:31 ---> Running in 630f5d534d45 04:08:31 Removing intermediate container 630f5d534d45 04:08:31 ---> 3aa670801303 04:08:31 Step 27/27 : LABEL version=0.0.0 04:08:31 ---> Running in 81bc9fdfd605 04:08:32 Removing intermediate container 81bc9fdfd605 04:08:32 ---> 001a04caf458 04:08:32 [Warning] One or more build-args [ARCH] were not consumed 04:08:32 Successfully built 001a04caf458 04:08:32 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 04:08:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:08:32 04:08:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:08:32 arm64: Pulling from edgex-lftools-log-publisher 04:08:32 8998bd30e6a1: Pulling fs layer 04:08:32 04944245beec: Pulling fs layer 04:08:32 699f458cf7ca: Pulling fs layer 04:08:32 765212b225bb: Pulling fs layer 04:08:32 f23df028b6ca: Pulling fs layer 04:08:32 d65c8cfc05b1: Pulling fs layer 04:08:32 2437ff75d9bd: Pulling fs layer 04:08:32 765212b225bb: Waiting 04:08:32 2437ff75d9bd: Waiting 04:08:32 f23df028b6ca: Waiting 04:08:32 d65c8cfc05b1: Waiting 04:08:33 04944245beec: Verifying Checksum 04:08:33 04944245beec: Download complete 04:08:33 765212b225bb: Download complete 04:08:33 f23df028b6ca: Download complete 04:08:33 d65c8cfc05b1: Verifying Checksum 04:08:33 d65c8cfc05b1: Download complete 04:08:33 699f458cf7ca: Verifying Checksum 04:08:33 699f458cf7ca: Download complete 04:08:33 8998bd30e6a1: Verifying Checksum 04:08:33 8998bd30e6a1: Download complete 04:08:36 2437ff75d9bd: Verifying Checksum 04:08:36 2437ff75d9bd: Download complete 04:08:37 8998bd30e6a1: Pull complete 04:08:37 04944245beec: Pull complete 04:08:39 699f458cf7ca: Pull complete 04:08:39 765212b225bb: Pull complete 04:08:40 f23df028b6ca: Pull complete 04:08:40 d65c8cfc05b1: Pull complete 04:08:55 2437ff75d9bd: Pull complete 04:08:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:08:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:08:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:55 prd-ubuntu20.04-docker-arm64-4c-16g-7623 does not seem to be running inside a container 04:08:55 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:08:58 $ docker top 86aacb4ddb3e935b6aa9b0aafd68a2b5aac484bba3dc03cd1b2f2959c7f08a6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:58 ---> job-cost.sh 04:08:58 lf-activate-venv: SKIPPING 04:08:58 INFO: No Stack... 04:08:59 INFO: Retrieving Pricing Info for: v3-standard-4 04:09:00 INFO: Archiving Costs [Pipeline] sh 04:09:00 + cat /w/workspace/device-onvif-camera/5/archives/cost.csv 04:09:00 + cut -d, -f6 [Pipeline] lock 04:09:00 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] 04:09:00 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] did not exist. Created. 04:09:00 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:09:01 /w/workspace/device-onvif-camera/5@tmp/durable-506dbbc5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:09:01 + echo total: 0.10999999940395355 [Pipeline] stash 04:09:01 Warning: overwriting stash ‘stack-cost’ 04:09:01 Stashed 1 file(s) [Pipeline] } 04:09:01 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] [Pipeline] // lock [Pipeline] } 04:09:01 $ docker stop --time=1 86aacb4ddb3e935b6aa9b0aafd68a2b5aac484bba3dc03cd1b2f2959c7f08a6e 04:09:03 $ docker rm -f 86aacb4ddb3e935b6aa9b0aafd68a2b5aac484bba3dc03cd1b2f2959c7f08a6e [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 04:09:03 provisioning config files... 04:09:03 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config13351086646044471248tmp [Pipeline] { [Pipeline] sh 04:09:04 + set +x 04:09:04 + curl -s https://codecov.io/bash 04:09:04 + bash -s -- 04:09:04 04:09:04 _____ _ 04:09:04 / ____| | | 04:09:04 | | ___ __| | ___ ___ _____ __ 04:09:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:09:04 | |___| (_) | (_| | __/ (_| (_) \ V / 04:09:04 \_____\___/ \__,_|\___|\___\___/ \_/ 04:09:04 Bash-1.0.6 04:09:04 04:09:04 04:09:04 ==> git version 2.25.1 found 04:09:04 ==> 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 04:09:04 Release-Date: 2020-01-08 04:09:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:09:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:09:04 ==> Jenkins CI detected. 04:09:04 current dir:  /w/workspace/undry_device-onvif-camera_PR-174 04:09:04 project root: . 04:09:04 --> token set from env 04:09:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:09:04 ==> Running gcov in . (disable via -X gcov) 04:09:04 ==> Python coveragepy not found 04:09:04 ==> Searching for coverage reports in: 04:09:04 + . 04:09:04 -> Found 1 reports 04:09:04 ==> Detecting git/mercurial file structure 04:09:04 ==> Reading reports 04:09:04 + ./coverage.out bytes=78461 04:09:04 ==> Appending adjustments 04:09:04 https://docs.codecov.io/docs/fixing-reports 04:09:04 + Found adjustments 04:09:04 ==> Gzipping contents 04:09:04 12K /tmp/codecov.3QicCP.gz 04:09:04 ==> Uploading reports 04:09:04 url: https://codecov.io 04:09:04 query: branch=PR-174&commit=d86c5fcc9d999a8779cd16105eac4111fa1eb29c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= 04:09:04 -> Pinging Codecov 04:09:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-174&commit=d86c5fcc9d999a8779cd16105eac4111fa1eb29c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= 04:09:04 -> Uploading to 04:09:04 https://storage.googleapis.com/codecov/v4/raw/2022-10-11/F29A59C45E3A92E06B3E522C9905F8EF/d86c5fcc9d999a8779cd16105eac4111fa1eb29c/d6c48832-a862-4cda-9045-132b6f5666d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221011T040904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5983140b2665b62150a42569f320ef797b4397e5b7618b6bf43c6de9023c3508 04:09:04 % Total % Received % Xferd Average Speed Time Time Time Current 04:09:04 Dload Upload Total Spent Left Speed 04:09:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10745 0 0 100 10745 0 44400 --:--:-- --:--:-- --:--:-- 44400 04:09:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d86c5fcc9d999a8779cd16105eac4111fa1eb29c [Pipeline] } 04:09:04 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 04:09:05 + [ -d /w/workspace/undry_device-onvif-camera_PR-174/archives ] 04:09:05 + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives 04:09:05 total 16 04:09:05 drwxr-xr-x 3 root root 4096 Oct 11 04:01 . 04:09:05 drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 04:01 .. 04:09:05 drwxr-xr-x 2 root root 4096 Oct 11 04:01 cost 04:09:05 -rw-r--r-- 1 root root 91 Oct 11 04:01 cost.csv 04:09:05 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-174/archives 04:09:05 + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives 04:09:05 total 16 04:09:05 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 04:01 . 04:09:05 drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 04:01 .. 04:09:05 drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 04:01 cost 04:09:05 -rw-r--r-- 1 jenkins jenkins 91 Oct 11 04:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:09:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:09:06 ---> package-listing.sh 04:09:06 ++ facter osfamily 04:09:06 ++ tr '[:upper:]' '[:lower:]' 04:09:06 + OS_FAMILY=debian 04:09:06 + workspace=/w/workspace/undry_device-onvif-camera_PR-174 04:09:06 + START_PACKAGES=/tmp/packages_start.txt 04:09:06 + END_PACKAGES=/tmp/packages_end.txt 04:09:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:09:06 + PACKAGES=/tmp/packages_start.txt 04:09:06 + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' 04:09:06 + PACKAGES=/tmp/packages_end.txt 04:09:06 + case "${OS_FAMILY}" in 04:09:06 + dpkg -l 04:09:06 + grep '^ii' 04:09:06 + '[' -f /tmp/packages_start.txt ']' 04:09:06 + '[' -f /tmp/packages_end.txt ']' 04:09:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:09:06 + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' 04:09:06 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-174/archives/ 04:09:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-174/archives/ [Pipeline] echo 04:09:06 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-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:09:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:07 prd-ubuntu20.04-docker-8c-8g-7622 does not seem to be running inside a container 04:09:07 $ 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-174/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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:09:08 $ docker top d2b6ac44016fa491b78ae1bbab26d6a10dc1a2472638aa19b2db56640574e5f2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:08 + touch /tmp/pre-build-complete [Pipeline] sh 04:09:08 + mkdir -p /var/log/sysstat [Pipeline] sh 04:09:09 + ls /var/log/sa-host 04:09:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:09 provisioning config files... 04:09:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config2278763417961001437tmp [Pipeline] { [Pipeline] echo 04:09:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:09:09 ---> create-netrc.sh [Pipeline] } 04:09:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:09:09 ---> python-tools-install.sh [Pipeline] echo 04:09:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:09:10 ---> sudo-logs.sh 04:09:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:09:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:09:10 ---> job-cost.sh 04:09:10 lf-activate-venv: SKIPPING 04:09:10 DEBUG: total: 0.2199999988079071 04:09:10 INFO: Retrieving Stack Cost... 04:09:10 INFO: Retrieving Pricing Info for: v3-standard-8 04:09:11 INFO: Archiving Costs [Pipeline] echo 04:09:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:09:11 ---> logs-deploy.sh 04:09:11 lf-activate-venv: SKIPPING 04:09:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-174/5 04:09:11 INFO: archiving workspace using pattern(s): 04:09:12 Archives upload complete. 04:09:12 INFO: archiving logs to Nexus