Pull request #177 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 45b6d688c6e97385f61642aadc73fdb1f0b5c87c rather than 245d9dd20558daca6f9f4681835b60f4e96edf79 Obtained Jenkinsfile from 45b6d688c6e97385f61642aadc73fdb1f0b5c87c 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-ssh8081434324899335873.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6924542884026684311.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-177/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-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8729927025526082264.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4831867302562697902.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-177/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-177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4962524592803355548.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8383’ Running on prd-ubuntu20.04-docker-8c-8g-8387 in /w/workspace/undry_device-onvif-camera_PR-177 [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-177 # 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/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 45b6d688c6e97385f61642aadc73fdb1f0b5c87c into PR head commit 245d9dd20558daca6f9f4681835b60f4e96edf79 Merge succeeded, producing 19a2ab7730c169be74f8589d42920c19f723722a Checking out Revision 19a2ab7730c169be74f8589d42920c19f723722a (PR-177) > git config core.sparsecheckout # timeout=10 > git checkout -f 245d9dd20558daca6f9f4681835b60f4e96edf79 # 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 45b6d688c6e97385f61642aadc73fdb1f0b5c87c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 19a2ab7730c169be74f8589d42920c19f723722a # timeout=10 Commit message: "Merge commit '45b6d688c6e97385f61642aadc73fdb1f0b5c87c' into HEAD" > git rev-list --no-walk 6db3a90bb27c05e9383e4c0889f12505828bd6b6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:23:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:23:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:23:25 ========================================================= 18:23:25 EdgeX Global Pipelines Version Info 18:23:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:23:26 ------------------- 18:23:26 stable info: 18:23:26 ------------------- 18:23:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:23:26 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:23:26 Message: update stable to v1.0.243 18:23:26 ------------------- 18:23:26 experimental info: 18:23:26 ------------------- 18:23:26 Commited By: **** collab-it+edgex@linuxfoundation.org 18:23:26 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:23:26 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 19a2ab7730c169be74f8589d42920c19f723722a [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 19a2ab7 [Pipeline] echo 18:23:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:23:27 provisioning config files... 18:23:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config14967105056425787861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:27 ---> docker-login.sh 18:23:27 nexus3.edgexfoundry.org:10001 18:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:28 Configure a credential helper to remove this warning. See 18:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:28 18:23:28 Login Succeeded 18:23:28 nexus3.edgexfoundry.org:10002 18:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:28 Configure a credential helper to remove this warning. See 18:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:28 18:23:28 Login Succeeded 18:23:28 nexus3.edgexfoundry.org:10003 18:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:28 Configure a credential helper to remove this warning. See 18:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:28 18:23:28 Login Succeeded 18:23:28 nexus3.edgexfoundry.org:10004 18:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:28 Configure a credential helper to remove this warning. See 18:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:28 18:23:28 Login Succeeded 18:23:28 docker.io 18:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:29 Configure a credential helper to remove this warning. See 18:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:29 18:23:29 Login Succeeded 18:23:29 ---> docker-login.sh ends [Pipeline] } 18:23:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:23:29 + git rev-list -1 --merges 19a2ab7730c169be74f8589d42920c19f723722a~1..19a2ab7730c169be74f8589d42920c19f723722a [Pipeline] echo 18:23:29 -----------> git rev-list -1 --merges 19a2ab7730c169be74f8589d42920c19f723722a~1..19a2ab7730c169be74f8589d42920c19f723722a 19a2ab7730c169be74f8589d42920c19f723722a 18:23:29 19a2ab7730c169be74f8589d42920c19f723722a [false] [Pipeline] sh 18:23:29 + git log --format=format:%s -1 19a2ab7730c169be74f8589d42920c19f723722a [Pipeline] echo 18:23:29 ========================================================= 18:23:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:23:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:23:30 + git log --format=format:%s -1 19a2ab7730c169be74f8589d42920c19f723722a [Pipeline] echo 18:23:30 [semverPrep] GIT_COMMIT: 19a2ab7730c169be74f8589d42920c19f723722a, Commit Message: Merge commit '45b6d688c6e97385f61642aadc73fdb1f0b5c87c' into HEAD [Pipeline] echo 18:23:30 [semverPrep] This is not a build commit. [Pipeline] sh 18:23:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:23:30 + grep -v github /etc/ssh/ssh_known_hosts 18:23:30 + [ -e /tmp/ssh_known_hosts ] 18:23:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:23:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:23:30 + sudo tee -a /etc/ssh/ssh_known_hosts 18:23:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:23:31 18:23:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:23:31 0.1.4: Pulling from edgex-devops/py-git-semver 18:23:31 b85a868b505f: Pulling fs layer 18:23:31 e2be974225ed: Pulling fs layer 18:23:31 339a4e72a1f5: Pulling fs layer 18:23:31 988bab9f4d93: Pulling fs layer 18:23:31 1469e6f7b9e6: Pulling fs layer 18:23:31 eaf3925da568: Pulling fs layer 18:23:31 bab4dde63d76: Pulling fs layer 18:23:31 bde34c3a00c8: Pulling fs layer 18:23:31 b352a97aabf1: Pulling fs layer 18:23:31 4872d77fe225: Pulling fs layer 18:23:31 5851b861e8e6: Pulling fs layer 18:23:31 1469e6f7b9e6: Waiting 18:23:31 988bab9f4d93: Waiting 18:23:31 5851b861e8e6: Waiting 18:23:31 4872d77fe225: Waiting 18:23:31 bab4dde63d76: Waiting 18:23:31 bde34c3a00c8: Waiting 18:23:31 e2be974225ed: Download complete 18:23:31 988bab9f4d93: Verifying Checksum 18:23:31 988bab9f4d93: Download complete 18:23:31 1469e6f7b9e6: Verifying Checksum 18:23:31 1469e6f7b9e6: Download complete 18:23:31 339a4e72a1f5: Verifying Checksum 18:23:31 339a4e72a1f5: Download complete 18:23:31 eaf3925da568: Download complete 18:23:31 bde34c3a00c8: Verifying Checksum 18:23:31 bde34c3a00c8: Download complete 18:23:31 b352a97aabf1: Download complete 18:23:31 4872d77fe225: Verifying Checksum 18:23:31 4872d77fe225: Download complete 18:23:31 5851b861e8e6: Verifying Checksum 18:23:31 5851b861e8e6: Download complete 18:23:31 b85a868b505f: Download complete 18:23:31 bab4dde63d76: Verifying Checksum 18:23:31 bab4dde63d76: Download complete 18:23:33 b85a868b505f: Pull complete 18:23:33 e2be974225ed: Pull complete 18:23:33 339a4e72a1f5: Pull complete 18:23:33 988bab9f4d93: Pull complete 18:23:34 1469e6f7b9e6: Pull complete 18:23:34 eaf3925da568: Pull complete 18:23:36 bab4dde63d76: Pull complete 18:23:36 bde34c3a00c8: Pull complete 18:23:36 b352a97aabf1: Pull complete 18:23:36 4872d77fe225: Pull complete 18:23:36 5851b861e8e6: Pull complete 18:23:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:23:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:23:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:23:36 prd-ubuntu20.04-docker-8c-8g-8387 does not seem to be running inside a container 18:23:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:23:37 $ docker top 982c9683ff92cd366df1024e78a66a27c60d0df2d552586ace7e53cb45c33f44 -eo pid,comm 18:23:37 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). 18:23:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:23:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:23:37 [ssh-agent] Looking for ssh-agent implementation... 18:23:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:23:37 $ docker exec 982c9683ff92cd366df1024e78a66a27c60d0df2d552586ace7e53cb45c33f44 ssh-agent 18:23:37 SSH_AUTH_SOCK=/tmp/ssh-MnedIpLznc5K/agent.32 18:23:37 SSH_AGENT_PID=38 18:23:37 Running ssh-add (command line suppressed) 18:23:38 Identity added: /w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_12925230844950840929.key (/w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_12925230844950840929.key) 18:23:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:23:38 + git tag --points-at HEAD [Pipeline] } 18:23:38 $ docker exec --env ******** --env ******** 982c9683ff92cd366df1024e78a66a27c60d0df2d552586ace7e53cb45c33f44 ssh-agent -k 18:23:38 unset SSH_AUTH_SOCK; 18:23:38 unset SSH_AGENT_PID; 18:23:38 echo Agent pid 38 killed; 18:23:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:23:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:23:38 [ssh-agent] Looking for ssh-agent implementation... 18:23:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:23:38 $ docker exec 982c9683ff92cd366df1024e78a66a27c60d0df2d552586ace7e53cb45c33f44 ssh-agent 18:23:38 SSH_AUTH_SOCK=/tmp/ssh-L5ADfe8Do74Y/agent.70 18:23:38 SSH_AGENT_PID=76 18:23:38 Running ssh-add (command line suppressed) 18:23:38 Identity added: /w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_16204670814693203280.key (/w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_16204670814693203280.key) 18:23:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:23:39 + git semver init 18:23:39 2022-10-17 18:23:39,418 [run_init] DEBUG init version:0.0.0 force:False 18:23:39 2022-10-17 18:23:39,418 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-177/.semver 18:23:39 2022-10-17 18:23:39,419 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-177/.semver 18:23:39 2022-10-17 18:23:39,419 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-177/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-177, universal_newlines=False, shell=None, istream=None) 18:23:40 2022-10-17 18:23:40,396 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-177/.git/info/exclude 18:23:40 2022-10-17 18:23:40,397 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-177/.semver/PR-177 with force:False 18:23:40 2022-10-17 18:23:40,397 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-177/.semver/PR-177 18:23:40 2022-10-17 18:23:40,400 [execute] INFO git cat-file --batch-check 18:23:40 2022-10-17 18:23:40,401 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-177/.semver, universal_newlines=False, shell=None, istream=) 18:23:40 2022-10-17 18:23:40,408 [execute] INFO git cat-file --batch 18:23:40 2022-10-17 18:23:40,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-177/.semver, universal_newlines=False, shell=None, istream=) 18:23:40 2022-10-17 18:23:40,415 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-177/.semver/PR-177 18:23:40 0.0.0 [Pipeline] } 18:23:40 $ docker exec --env ******** --env ******** 982c9683ff92cd366df1024e78a66a27c60d0df2d552586ace7e53cb45c33f44 ssh-agent -k 18:23:40 unset SSH_AUTH_SOCK; 18:23:40 unset SSH_AGENT_PID; 18:23:40 echo Agent pid 76 killed; 18:23:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:23:41 + git semver [Pipeline] } 18:23:41 $ docker stop --time=1 982c9683ff92cd366df1024e78a66a27c60d0df2d552586ace7e53cb45c33f44 18:23:42 $ docker rm -f 982c9683ff92cd366df1024e78a66a27c60d0df2d552586ace7e53cb45c33f44 [Pipeline] // withDockerContainer [Pipeline] sh 18:23:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:23:43 Stashed 1 file(s) [Pipeline] echo 18:23:43 [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 18:23:43 provisioning config files... 18:23:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config7177047883729642248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:43 ---> docker-login.sh 18:23:43 nexus3.edgexfoundry.org:10001 18:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:43 Configure a credential helper to remove this warning. See 18:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:43 18:23:43 Login Succeeded 18:23:43 nexus3.edgexfoundry.org:10002 18:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:43 Configure a credential helper to remove this warning. See 18:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:43 18:23:43 Login Succeeded 18:23:43 nexus3.edgexfoundry.org:10003 18:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:43 Configure a credential helper to remove this warning. See 18:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:43 18:23:43 Login Succeeded 18:23:43 nexus3.edgexfoundry.org:10004 18:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:43 Configure a credential helper to remove this warning. See 18:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:43 18:23:43 Login Succeeded 18:23:43 docker.io 18:23:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:44 Configure a credential helper to remove this warning. See 18:23:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:44 18:23:44 Login Succeeded 18:23:44 ---> docker-login.sh ends [Pipeline] } 18:23:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:23:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:23:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:23:44 ========================================================= 18:23:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:23:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:44 + 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 . 18:23:44 Sending build context to Docker daemon 21.46MB 18:23:44 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 18:23:44 Step 2/14 : FROM ${BASE} AS builder 18:23:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:23:45 213ec9aee27d: Pulling fs layer 18:23:45 4583459ba037: Pulling fs layer 18:23:45 93c1e223e6f2: Pulling fs layer 18:23:45 53926ce57604: Pulling fs layer 18:23:45 21b2b0c7a3f4: Pulling fs layer 18:23:45 30f14e443154: Pulling fs layer 18:23:45 801331c1e519: Pulling fs layer 18:23:45 99cc6dd402b0: Pulling fs layer 18:23:45 7d9ed39f4882: Pulling fs layer 18:23:45 30f14e443154: Waiting 18:23:45 801331c1e519: Waiting 18:23:45 99cc6dd402b0: Waiting 18:23:45 7d9ed39f4882: Waiting 18:23:45 21b2b0c7a3f4: Waiting 18:23:45 53926ce57604: Waiting 18:23:45 93c1e223e6f2: Verifying Checksum 18:23:45 93c1e223e6f2: Download complete 18:23:45 4583459ba037: Verifying Checksum 18:23:45 21b2b0c7a3f4: Verifying Checksum 18:23:45 21b2b0c7a3f4: Download complete 18:23:45 30f14e443154: Verifying Checksum 18:23:45 30f14e443154: Download complete 18:23:45 213ec9aee27d: Verifying Checksum 18:23:45 213ec9aee27d: Download complete 18:23:45 801331c1e519: Verifying Checksum 18:23:45 213ec9aee27d: Pull complete 18:23:45 4583459ba037: Pull complete 18:23:45 93c1e223e6f2: Pull complete 18:23:45 7d9ed39f4882: Verifying Checksum 18:23:45 7d9ed39f4882: Download complete 18:23:45 53926ce57604: Verifying Checksum 18:23:45 53926ce57604: Download complete 18:23:46 99cc6dd402b0: Download complete 18:23:50 53926ce57604: Pull complete 18:23:50 21b2b0c7a3f4: Pull complete 18:23:50 30f14e443154: Pull complete 18:23:50 801331c1e519: Pull complete 18:23:52 99cc6dd402b0: Pull complete 18:23:52 7d9ed39f4882: Pull complete 18:23:52 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 18:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:23:52 ---> 1dedd983c030 18:23:52 Step 3/14 : ARG ADD_BUILD_TAGS="" 18:23:54 ---> Running in 50a015f95d7c 18:23:54 Removing intermediate container 50a015f95d7c 18:23:54 ---> b0b582d667c3 18:23:54 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:23:54 ---> Running in d2ee84a4be65 18:23:54 Removing intermediate container d2ee84a4be65 18:23:54 ---> 99d068e629e3 18:23:54 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:23:54 ---> Running in 663c3989e9a7 18:23:54 Removing intermediate container 663c3989e9a7 18:23:54 ---> b28e2f2ef574 18:23:54 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 18:23:54 ---> Running in c6035cb98b28 18:23:55 Removing intermediate container c6035cb98b28 18:23:55 ---> 5dd2f942e211 18:23:55 Step 7/14 : LABEL Name=edgex-device-onvif-camera 18:23:55 ---> Running in 925ace74d7dc 18:23:55 Removing intermediate container 925ace74d7dc 18:23:55 ---> b8a5bfa14620 18:23:55 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:23:55 ---> Running in 8ee7af323d87 18:23:55 Removing intermediate container 8ee7af323d87 18:23:55 ---> 83688608f78d 18:23:55 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:23:55 ---> Running in 8197bc4b897f 18:23:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:23:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:23:58 Still waiting to schedule task 18:23:58 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8386’ 18:23:58 OK: 211 MiB in 51 packages 18:23:58 Removing intermediate container 8197bc4b897f 18:23:58 ---> cca133541d75 18:23:58 Step 10/14 : WORKDIR /device-onvif-camera 18:23:58 ---> Running in 84780691bbb9 18:23:58 Removing intermediate container 84780691bbb9 18:23:58 ---> 6873662d9dbb 18:23:58 Step 11/14 : COPY go.mod vendor* ./ 18:23:58 ---> be665e3d5eb8 18:23:58 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:23:58 ---> Running in 82e015479e50 18:24:13 Removing intermediate container 82e015479e50 18:24:13 ---> 22ba8cb6e916 18:24:13 Step 13/14 : COPY . . 18:24:14 ---> 85a7ecfdac70 18:24:14 Step 14/14 : RUN ${MAKE} 18:24:14 ---> Running in 064e673d9284 18:24:14 noop 18:24:14 Removing intermediate container 064e673d9284 18:24:14 ---> 9596196f6d66 18:24:14 Successfully built 9596196f6d66 18:24:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:14 + docker inspect -f . ci-base-image-x86_64 18:24:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:15 prd-ubuntu20.04-docker-8c-8g-8387 does not seem to be running inside a container 18:24:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@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 ******** ci-base-image-x86_64 cat 18:24:15 $ docker top feadd084ef1287a8a145de424dd5778eab60aa5920014fbcd6f9a745b9388c0c -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:15 + go version 18:24:15 go version go1.18.7 linux/amd64 [Pipeline] } 18:24:15 $ docker stop --time=1 feadd084ef1287a8a145de424dd5778eab60aa5920014fbcd6f9a745b9388c0c 18:24:16 $ docker rm -f feadd084ef1287a8a145de424dd5778eab60aa5920014fbcd6f9a745b9388c0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:17 + docker inspect -f . ci-base-image-x86_64 18:24:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:17 prd-ubuntu20.04-docker-8c-8g-8387 does not seem to be running inside a container 18:24:17 $ 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-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@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 ******** ci-base-image-x86_64 cat 18:24:17 $ docker top b328ba05aacfd7b74e9892fe03e56f31ac46c09022dd4aa1872b21d59d6f3cfa -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:18 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-177 [Pipeline] fileExists [Pipeline] sh 18:24:18 + make test 18:24:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:24:18 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:24:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:24:30 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.038s coverage: 28.2% of statements 18:24:30 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:24:30 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.469s coverage: 86.5% of statements 18:24:39 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." 18:24:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:24:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:24:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:24:43 ./bin/test-attribution-txt.sh [Pipeline] echo 18:24:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:24:43 $ docker stop --time=1 b328ba05aacfd7b74e9892fe03e56f31ac46c09022dd4aa1872b21d59d6f3cfa 18:24:44 $ docker rm -f b328ba05aacfd7b74e9892fe03e56f31ac46c09022dd4aa1872b21d59d6f3cfa [Pipeline] // withDockerContainer [Pipeline] sh 18:24:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:24:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:24:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:24:46 + ls -al . 18:24:46 total 236 18:24:46 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 18:24 . 18:24:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:23 .. 18:24:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 18:24 .git 18:24:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 18:23 .github 18:24:46 -rw-rw-r-- 1 jenkins jenkins 496 Oct 17 18:23 .gitignore 18:24:46 -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 18:23 .golangci.yml 18:24:46 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 18:23 .semver 18:24:46 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 17 18:23 Attribution.txt 18:24:46 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 17 18:23 CHANGELOG.md 18:24:46 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 17 18:23 Dockerfile 18:24:46 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 18:23 GOVERNANCE.md 18:24:46 -rw-rw-r-- 1 jenkins jenkins 734 Oct 17 18:23 Jenkinsfile 18:24:46 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 18:23 LICENSE 18:24:46 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 17 18:23 Makefile 18:24:46 -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 18:23 OWNERS.md 18:24:46 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 17 18:23 README.md 18:24:46 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 18:23 VERSION 18:24:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 18:23 bin 18:24:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 18:23 cmd 18:24:46 -rw-r--r-- 1 jenkins jenkins 78636 Oct 17 18:24 coverage.out 18:24:46 drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 18:23 doc 18:24:46 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 17 18:23 go.mod 18:24:46 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 17 18:23 go.sum 18:24:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:23 internal 18:24:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:23 snap 18:24:46 -rw-rw-r-- 1 jenkins jenkins 236 Oct 17 18:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:46 + 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=19a2ab7730c169be74f8589d42920c19f723722a --label arch=amd64 --label version=0.0.0 . 18:24:46 Sending build context to Docker daemon 21.54MB 18:24:46 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:24:46 Step 2/27 : FROM ${BASE} AS builder 18:24:46 ---> 9596196f6d66 18:24:46 Step 3/27 : ARG ADD_BUILD_TAGS="" 18:24:46 ---> Running in a33e5cc3bee3 18:24:46 Removing intermediate container a33e5cc3bee3 18:24:46 ---> 49366d0d0187 18:24:46 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:24:46 ---> Running in 076e7d31d2a9 18:24:46 Removing intermediate container 076e7d31d2a9 18:24:46 ---> 91513dfc44b1 18:24:46 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:24:46 ---> Running in d091ca62f777 18:24:46 Removing intermediate container d091ca62f777 18:24:46 ---> 62a57d59c12d 18:24:46 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 18:24:46 ---> Running in feb3ae473864 18:24:46 Removing intermediate container feb3ae473864 18:24:46 ---> 1e372fd2b2ed 18:24:46 Step 7/27 : LABEL Name=edgex-device-onvif-camera 18:24:46 ---> Running in fe1f4a6be9a4 18:24:47 Removing intermediate container fe1f4a6be9a4 18:24:47 ---> 8245b2f20799 18:24:47 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:24:47 ---> Running in c85f1bfef7bb 18:24:47 Removing intermediate container c85f1bfef7bb 18:24:47 ---> 40a0abbdbbfd 18:24:47 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:24:47 ---> Running in 2eb27dd0e824 18:24:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:24:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:24:49 OK: 211 MiB in 51 packages 18:24:49 Removing intermediate container 2eb27dd0e824 18:24:49 ---> 89f48f2fe9ac 18:24:49 Step 10/27 : WORKDIR /device-onvif-camera 18:24:49 ---> Running in 879b0c2e8dd0 18:24:49 Removing intermediate container 879b0c2e8dd0 18:24:49 ---> 2493c63dee5f 18:24:49 Step 11/27 : COPY go.mod vendor* ./ 18:24:49 ---> 690c55108063 18:24:49 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:24:49 ---> Running in b80ae3d8de1d 18:24:50 Removing intermediate container b80ae3d8de1d 18:24:50 ---> f05d3c047006 18:24:50 Step 13/27 : COPY . . 18:24:51 ---> 5604515029c8 18:24:51 Step 14/27 : RUN ${MAKE} 18:24:51 ---> Running in 41e563257d61 18:24:51 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 18:25:13 Removing intermediate container 41e563257d61 18:25:13 ---> e499d9061d42 18:25:13 Step 15/27 : FROM alpine:3.16 18:25:13 3.16: Pulling from library/alpine 18:25:13 213ec9aee27d: Already exists 18:25:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:25:13 Status: Downloaded newer image for alpine:3.16 18:25:13 ---> 9c6f07244728 18:25:13 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:25:13 ---> Running in 677c94d22783 18:25:13 Removing intermediate container 677c94d22783 18:25:13 ---> 5291219aa9d2 18:25:13 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 18:25:13 ---> Running in fa94ca2aa52a 18:25:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:25:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:25:14 (1/6) Installing dumb-init (1.2.5-r1) 18:25:14 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:25:14 (3/6) Installing libsodium (1.0.18-r0) 18:25:14 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:25:14 (5/6) Installing libzmq (4.3.4-r0) 18:25:14 (6/6) Installing zeromq (4.3.4-r0) 18:25:14 Executing busybox-1.35.0-r17.trigger 18:25:14 OK: 8 MiB in 20 packages 18:25:14 Removing intermediate container fa94ca2aa52a 18:25:14 ---> 38015b9c4893 18:25:14 Step 18/27 : WORKDIR / 18:25:14 ---> Running in a1ef909ed607 18:25:14 Removing intermediate container a1ef909ed607 18:25:14 ---> e9dc496b5da8 18:25:14 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 18:25:15 ---> 9ac919a956e7 18:25:15 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 18:25:15 ---> 6684b249cf3f 18:25:15 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:25:15 ---> 5ab25ba805b9 18:25:15 Step 22/27 : EXPOSE 59984 18:25:15 ---> Running in 60a7a481c424 18:25:15 Removing intermediate container 60a7a481c424 18:25:15 ---> 0151c4c26985 18:25:15 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 18:25:15 ---> Running in fcfdff32ab13 18:25:15 Removing intermediate container fcfdff32ab13 18:25:15 ---> d1276756a2a2 18:25:15 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:25:15 ---> Running in c619be8f2c1e 18:25:15 Removing intermediate container c619be8f2c1e 18:25:15 ---> 36fba9465fc9 18:25:15 Step 25/27 : LABEL arch=amd64 18:25:15 ---> Running in c0920d6ce232 18:25:15 Removing intermediate container c0920d6ce232 18:25:15 ---> c9a90193bc2c 18:25:15 Step 26/27 : LABEL git_sha=19a2ab7730c169be74f8589d42920c19f723722a 18:25:15 ---> Running in 88e24b75c868 18:25:15 Removing intermediate container 88e24b75c868 18:25:15 ---> 57717fdc2af0 18:25:15 Step 27/27 : LABEL version=0.0.0 18:25:15 ---> Running in b84a1641dba9 18:25:15 Removing intermediate container b84a1641dba9 18:25:15 ---> d9ac87957d50 18:25:15 [Warning] One or more build-args [ARCH] were not consumed 18:25:15 Successfully built d9ac87957d50 18:25:15 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 18:25:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:25:16 18:25:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:25:17 latest: Pulling from edgex-lftools-log-publisher 18:25:17 5eb5b503b376: Pulling fs layer 18:25:17 5c69ac0246d0: Pulling fs layer 18:25:17 ec43610c2a17: Pulling fs layer 18:25:17 3a2ae6a8a46f: Pulling fs layer 18:25:17 33b1e0a273af: Pulling fs layer 18:25:17 5d3b04190fa2: Pulling fs layer 18:25:17 2f39f015ded8: Pulling fs layer 18:25:17 3a2ae6a8a46f: Waiting 18:25:17 33b1e0a273af: Waiting 18:25:17 5d3b04190fa2: Waiting 18:25:17 2f39f015ded8: Waiting 18:25:17 5c69ac0246d0: Download complete 18:25:17 3a2ae6a8a46f: Download complete 18:25:17 33b1e0a273af: Verifying Checksum 18:25:17 33b1e0a273af: Download complete 18:25:17 ec43610c2a17: Verifying Checksum 18:25:17 ec43610c2a17: Download complete 18:25:17 5d3b04190fa2: Download complete 18:25:17 5eb5b503b376: Verifying Checksum 18:25:17 5eb5b503b376: Download complete 18:25:17 2f39f015ded8: Download complete 18:25:18 5eb5b503b376: Pull complete 18:25:18 5c69ac0246d0: Pull complete 18:25:18 ec43610c2a17: Pull complete 18:25:18 3a2ae6a8a46f: Pull complete 18:25:18 33b1e0a273af: Pull complete 18:25:18 5d3b04190fa2: Pull complete 18:25:23 2f39f015ded8: Pull complete 18:25:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:25:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:25:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:23 prd-ubuntu20.04-docker-8c-8g-8387 does not seem to be running inside a container 18:25:23 $ 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-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@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 18:25:24 $ docker top c17cd7ac8d21cb72d31c71f97b8c8345a92de9c168a61bbb37726574e5919640 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:24 ---> job-cost.sh 18:25:24 lf-activate-venv: SKIPPING 18:25:24 INFO: No Stack... 18:25:25 INFO: Retrieving Pricing Info for: v3-standard-8 18:25:25 INFO: Archiving Costs [Pipeline] sh 18:25:26 + cat /w/workspace/undry_device-onvif-camera_PR-177/archives/cost.csv 18:25:26 + cut -d, -f6 [Pipeline] lock 18:25:26 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-177-2-stack-cost] 18:25:26 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-2-stack-cost] did not exist. Created. 18:25:26 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-177-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:25:26 + echo total: 0.2199999988079071 [Pipeline] stash 18:25:26 Stashed 1 file(s) [Pipeline] } 18:25:26 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:25:26 $ docker stop --time=1 c17cd7ac8d21cb72d31c71f97b8c8345a92de9c168a61bbb37726574e5919640 18:25:27 $ docker rm -f c17cd7ac8d21cb72d31c71f97b8c8345a92de9c168a61bbb37726574e5919640 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:27:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8388 in /w/workspace/undry_device-onvif-camera_PR-177 [Pipeline] { [Pipeline] ws 18:27:28 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 18:27:28 The recommended git tool is: git 18:27:33 using credential edgex-jenkins-ssh 18:27:33 Cloning the remote Git repository 18:27:33 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:27:33 > git init /w/workspace/device-onvif-camera/2 # timeout=10 18:27:33 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:27:33 > git --version # timeout=10 18:27:33 > git --version # 'git version 2.25.1' 18:27:33 using GIT_SSH to set credentials SSH Credentials for GitHub 18:27:33 Verifying host key using known hosts file 18:27:34 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. 18:27:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:27:35 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:27:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:27:37 Merging remotes/origin/main commit 45b6d688c6e97385f61642aadc73fdb1f0b5c87c into PR head commit 245d9dd20558daca6f9f4681835b60f4e96edf79 18:27:36 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:27:36 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:27:36 using GIT_SSH to set credentials SSH Credentials for GitHub 18:27:36 Verifying host key using known hosts file 18:27:36 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. 18:27:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:27:37 > git config core.sparsecheckout # timeout=10 18:27:37 > git checkout -f 245d9dd20558daca6f9f4681835b60f4e96edf79 # timeout=10 18:27:37 > git remote # timeout=10 18:27:37 > git config --get remote.origin.url # timeout=10 18:27:37 Merge succeeded, producing 1a22b8e850afb19e203cd07be8e91502006e9716 18:27:37 Checking out Revision 1a22b8e850afb19e203cd07be8e91502006e9716 (PR-177) 18:27:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:27:37 Verifying host key using known hosts file 18:27:37 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. 18:27:37 > git merge 45b6d688c6e97385f61642aadc73fdb1f0b5c87c # timeout=10 18:27:37 > git rev-parse HEAD^{commit} # timeout=10 18:27:37 > git config core.sparsecheckout # timeout=10 18:27:37 > git checkout -f 1a22b8e850afb19e203cd07be8e91502006e9716 # timeout=10 18:27:41 Commit message: "Merge commit '45b6d688c6e97385f61642aadc73fdb1f0b5c87c' into HEAD" 18:27:41 > git rev-list --no-walk 6db3a90bb27c05e9383e4c0889f12505828bd6b6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:27:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:27:42 % Total % Received % Xferd Average Speed Time Time Time Current 18:27:42 Dload Upload Total Spent Left Speed 18:27:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 72843 0 --:--:-- --:--:-- --:--:-- 72843 [Pipeline] sh 18:27:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:27:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:27:43 + sudo tee /etc/docker/daemon.new 18:27:43 { 18:27:43 "registry-mirrors": [ 18:27:43 "https://nexus3.edgexfoundry.org:10001" 18:27:43 ], 18:27:43 "bip": "10.250.0.254/24", 18:27:43 "hosts": [ 18:27:43 "tcp://0.0.0.0:5555", 18:27:43 "unix:///var/run/docker.sock" 18:27:43 ], 18:27:43 "mtu": 1458, 18:27:43 "selinux-enabled": true, 18:27:43 "seccomp-profile": "/etc/docker/seccomp.json" 18:27:43 } [Pipeline] sh 18:27:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:27:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:28:02 provisioning config files... 18:28:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config9094597933243787060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:28:02 ---> docker-login.sh 18:28:02 nexus3.edgexfoundry.org:10001 18:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:03 Configure a credential helper to remove this warning. See 18:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:03 18:28:03 Login Succeeded 18:28:03 nexus3.edgexfoundry.org:10002 18:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:03 Configure a credential helper to remove this warning. See 18:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:03 18:28:03 Login Succeeded 18:28:03 nexus3.edgexfoundry.org:10003 18:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:04 Configure a credential helper to remove this warning. See 18:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:04 18:28:04 Login Succeeded 18:28:04 nexus3.edgexfoundry.org:10004 18:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:04 Configure a credential helper to remove this warning. See 18:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:04 18:28:04 Login Succeeded 18:28:04 docker.io 18:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:04 Configure a credential helper to remove this warning. See 18:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:04 18:28:04 Login Succeeded 18:28:04 ---> docker-login.sh ends [Pipeline] } 18:28:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:28:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:28:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:28:05 ========================================================= 18:28:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:28:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:05 + 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 . 18:28:05 Sending build context to Docker daemon 14.82MB 18:28:05 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 18:28:05 Step 2/14 : FROM ${BASE} AS builder 18:28:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:28:05 9b18e9b68314: Pulling fs layer 18:28:05 d32db5db7311: Pulling fs layer 18:28:05 d0c4b47475fc: Pulling fs layer 18:28:05 5831b945b038: Pulling fs layer 18:28:05 86bbec2aaacd: Pulling fs layer 18:28:05 e10730c5d714: Pulling fs layer 18:28:05 5dd5c2283517: Pulling fs layer 18:28:05 5831b945b038: Waiting 18:28:05 d5ac0230b979: Pulling fs layer 18:28:05 86bbec2aaacd: Waiting 18:28:05 e10730c5d714: Waiting 18:28:05 5dd5c2283517: Waiting 18:28:05 d5ac0230b979: Waiting 18:28:05 d0c4b47475fc: Verifying Checksum 18:28:05 d0c4b47475fc: Download complete 18:28:05 d32db5db7311: Verifying Checksum 18:28:05 d32db5db7311: Download complete 18:28:05 86bbec2aaacd: Download complete 18:28:05 e10730c5d714: Verifying Checksum 18:28:05 e10730c5d714: Download complete 18:28:06 9b18e9b68314: Verifying Checksum 18:28:06 9b18e9b68314: Download complete 18:28:07 9b18e9b68314: Pull complete 18:28:07 d5ac0230b979: Verifying Checksum 18:28:07 d5ac0230b979: Download complete 18:28:07 d32db5db7311: Pull complete 18:28:07 d0c4b47475fc: Pull complete 18:28:08 5dd5c2283517: Verifying Checksum 18:28:08 5dd5c2283517: Download complete 18:28:08 5831b945b038: Verifying Checksum 18:28:08 5831b945b038: Download complete 18:28:21 5831b945b038: Pull complete 18:28:21 86bbec2aaacd: Pull complete 18:28:21 e10730c5d714: Pull complete 18:28:26 5dd5c2283517: Pull complete 18:28:28 d5ac0230b979: Pull complete 18:28:28 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 18:28:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:28:28 ---> 59b3b1a385d4 18:28:28 Step 3/14 : ARG ADD_BUILD_TAGS="" 18:28:30 ---> Running in 6efe6ed03fc8 18:28:30 Removing intermediate container 6efe6ed03fc8 18:28:30 ---> f601ba1c6e0e 18:28:30 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:28:30 ---> Running in 6886641f47b3 18:28:31 Removing intermediate container 6886641f47b3 18:28:31 ---> 1bcad6e75858 18:28:31 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:28:31 ---> Running in 0296c22fcfcf 18:28:31 Removing intermediate container 0296c22fcfcf 18:28:31 ---> b278199325fa 18:28:31 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 18:28:31 ---> Running in 29aff38fd585 18:28:31 Removing intermediate container 29aff38fd585 18:28:31 ---> 469160e1cec4 18:28:31 Step 7/14 : LABEL Name=edgex-device-onvif-camera 18:28:31 ---> Running in a87b771f32e7 18:28:32 Removing intermediate container a87b771f32e7 18:28:32 ---> 06272aa52c6e 18:28:32 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:28:32 ---> Running in 7da60f83cca9 18:28:34 Removing intermediate container 7da60f83cca9 18:28:34 ---> 288a2f9bf7d1 18:28:34 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:28:34 ---> Running in 64dad34fcc41 18:28:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:28:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:28:36 OK: 221 MiB in 51 packages 18:28:37 Removing intermediate container 64dad34fcc41 18:28:37 ---> 9474ff5dcfb8 18:28:37 Step 10/14 : WORKDIR /device-onvif-camera 18:28:37 ---> Running in c16b4bb0a962 18:28:37 Removing intermediate container c16b4bb0a962 18:28:37 ---> c965e73da3be 18:28:37 Step 11/14 : COPY go.mod vendor* ./ 18:28:38 ---> 9aa2aa22a1b9 18:28:38 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:28:38 ---> Running in 7566d63f6b9f 18:29:34 Removing intermediate container 7566d63f6b9f 18:29:34 ---> fa6eff29c915 18:29:34 Step 13/14 : COPY . . 18:29:34 ---> 27afce699f24 18:29:34 Step 14/14 : RUN ${MAKE} 18:29:34 ---> Running in 190dc1809d78 18:29:34 noop 18:29:34 Removing intermediate container 190dc1809d78 18:29:34 ---> 5ef3300e9b65 18:29:34 Successfully built 5ef3300e9b65 18:29:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:35 + docker inspect -f . ci-base-image-arm64 18:29:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:35 prd-ubuntu20.04-docker-arm64-4c-16g-8388 does not seem to be running inside a container 18:29:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 18:29:36 $ docker top 24b692f6346c194d7df67d2c08fcfc75a3c9c9355143238ca44754a2e003cd71 -eo pid,comm [Pipeline] { [Pipeline] sh 18:29:37 + go version 18:29:37 go version go1.18.7 linux/arm64 [Pipeline] } 18:29:37 $ docker stop --time=1 24b692f6346c194d7df67d2c08fcfc75a3c9c9355143238ca44754a2e003cd71 18:29:39 $ docker rm -f 24b692f6346c194d7df67d2c08fcfc75a3c9c9355143238ca44754a2e003cd71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:39 + docker inspect -f . ci-base-image-arm64 18:29:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:39 prd-ubuntu20.04-docker-arm64-4c-16g-8388 does not seem to be running inside a container 18:29:39 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 18:29:41 $ docker top 3d9e6b714161e583c1a0c8bac1e1ada1258347090a33f13c445a66c1f11a5826 -eo pid,comm [Pipeline] { [Pipeline] sh 18:29:41 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 18:29:42 + make test 18:29:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:29:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:31:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:31:20 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.201s coverage: 28.2% of statements 18:31:20 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:31:39 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.006s coverage: 86.5% of statements 18:31:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:31:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:32:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:32:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:32:11 ./bin/test-attribution-txt.sh [Pipeline] echo 18:32:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:32:11 $ docker stop --time=1 3d9e6b714161e583c1a0c8bac1e1ada1258347090a33f13c445a66c1f11a5826 18:32:13 $ docker rm -f 3d9e6b714161e583c1a0c8bac1e1ada1258347090a33f13c445a66c1f11a5826 [Pipeline] // withDockerContainer [Pipeline] sh 18:32:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:32:14 Warning: overwriting stash ‘coverage-report’ 18:32:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:32:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:32:15 + ls -al . 18:32:15 total 232 18:32:15 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 18:29 . 18:32:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:27 .. 18:32:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 18:27 .git 18:32:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 18:27 .github 18:32:15 -rw-rw-r-- 1 jenkins jenkins 496 Oct 17 18:27 .gitignore 18:32:15 -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 18:27 .golangci.yml 18:32:15 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 17 18:27 Attribution.txt 18:32:15 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 17 18:27 CHANGELOG.md 18:32:15 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 17 18:27 Dockerfile 18:32:15 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 18:27 GOVERNANCE.md 18:32:15 -rw-rw-r-- 1 jenkins jenkins 734 Oct 17 18:27 Jenkinsfile 18:32:15 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 18:27 LICENSE 18:32:15 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 17 18:27 Makefile 18:32:15 -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 18:27 OWNERS.md 18:32:15 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 17 18:27 README.md 18:32:15 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 18:23 VERSION 18:32:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 18:27 bin 18:32:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 18:27 cmd 18:32:15 -rw-r--r-- 1 jenkins jenkins 78636 Oct 17 18:31 coverage.out 18:32:15 drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 18:27 doc 18:32:15 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 17 18:27 go.mod 18:32:15 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 17 18:27 go.sum 18:32:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:27 internal 18:32:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:27 snap 18:32:15 -rw-rw-r-- 1 jenkins jenkins 236 Oct 17 18:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:16 + 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=1a22b8e850afb19e203cd07be8e91502006e9716 --label arch=arm64 --label version=0.0.0 . 18:32:17 Sending build context to Docker daemon 14.9MB 18:32:17 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:32:17 Step 2/27 : FROM ${BASE} AS builder 18:32:17 ---> 5ef3300e9b65 18:32:17 Step 3/27 : ARG ADD_BUILD_TAGS="" 18:32:17 ---> Running in 0f64da7002ac 18:32:18 Removing intermediate container 0f64da7002ac 18:32:18 ---> 8d56931ff8ac 18:32:18 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:32:18 ---> Running in ac4b2e375b1f 18:32:18 Removing intermediate container ac4b2e375b1f 18:32:18 ---> 1a8f40179d0e 18:32:18 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:32:18 ---> Running in 8b123079f21f 18:32:19 Removing intermediate container 8b123079f21f 18:32:19 ---> 401c994474b4 18:32:19 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 18:32:19 ---> Running in 6ea3c038503b 18:32:19 Removing intermediate container 6ea3c038503b 18:32:19 ---> 4c38ae0e45ac 18:32:19 Step 7/27 : LABEL Name=edgex-device-onvif-camera 18:32:19 ---> Running in e635d3186c91 18:32:19 Removing intermediate container e635d3186c91 18:32:19 ---> 54156dfdbade 18:32:19 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:32:20 ---> Running in e5c82ef81014 18:32:21 Removing intermediate container e5c82ef81014 18:32:21 ---> 7dafd79f5d63 18:32:21 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:32:21 ---> Running in b1eda53aa448 18:32:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:32:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:32:24 OK: 221 MiB in 51 packages 18:32:25 Removing intermediate container b1eda53aa448 18:32:25 ---> 22610251c217 18:32:25 Step 10/27 : WORKDIR /device-onvif-camera 18:32:25 ---> Running in 4a42e193a322 18:32:25 Removing intermediate container 4a42e193a322 18:32:25 ---> 829224d91d5b 18:32:25 Step 11/27 : COPY go.mod vendor* ./ 18:32:26 ---> de1c6a3a0ccc 18:32:26 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:32:26 ---> Running in 13c6d03927f9 18:32:28 Removing intermediate container 13c6d03927f9 18:32:28 ---> 74955cfc08d7 18:32:28 Step 13/27 : COPY . . 18:32:31 ---> 20954e05bb76 18:32:31 Step 14/27 : RUN ${MAKE} 18:32:31 ---> Running in 985a14195f6b 18:32:34 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 18:34:56 Removing intermediate container 985a14195f6b 18:34:56 ---> 5bd185230c41 18:34:56 Step 15/27 : FROM alpine:3.16 18:34:56 3.16: Pulling from library/alpine 18:34:56 9b18e9b68314: Already exists 18:34:56 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:34:56 Status: Downloaded newer image for alpine:3.16 18:34:56 ---> a6215f271958 18:34:56 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:34:56 ---> Running in 03e134112ce2 18:34:56 Removing intermediate container 03e134112ce2 18:34:56 ---> 78157d2d280d 18:34:56 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 18:34:56 ---> Running in 0b88b10e32ce 18:34:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:34:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:34:56 (1/6) Installing dumb-init (1.2.5-r1) 18:34:56 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:34:56 (3/6) Installing libsodium (1.0.18-r0) 18:34:56 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:34:56 (5/6) Installing libzmq (4.3.4-r0) 18:34:56 (6/6) Installing zeromq (4.3.4-r0) 18:34:56 Executing busybox-1.35.0-r17.trigger 18:34:56 OK: 8 MiB in 20 packages 18:34:56 Removing intermediate container 0b88b10e32ce 18:34:56 ---> 905b93c4b014 18:34:56 Step 18/27 : WORKDIR / 18:34:56 ---> Running in 599ce883d7e1 18:34:56 Removing intermediate container 599ce883d7e1 18:34:56 ---> b2af8b6d145e 18:34:56 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 18:34:56 ---> 8cac7a4b9da2 18:34:56 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 18:34:58 ---> b9d01b83bc22 18:34:58 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:34:59 ---> 1dc5aafc8db9 18:34:59 Step 22/27 : EXPOSE 59984 18:34:59 ---> Running in c4ac5480c2a7 18:34:59 Removing intermediate container c4ac5480c2a7 18:34:59 ---> 976d07f73994 18:34:59 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 18:34:59 ---> Running in b8a8c0729ce2 18:34:59 Removing intermediate container b8a8c0729ce2 18:34:59 ---> 1cb795d2125c 18:34:59 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:34:59 ---> Running in eb87aa8b522e 18:34:59 Removing intermediate container eb87aa8b522e 18:34:59 ---> 7d6ce2e615db 18:34:59 Step 25/27 : LABEL arch=arm64 18:35:00 ---> Running in 24936a859e36 18:35:00 Removing intermediate container 24936a859e36 18:35:00 ---> 5b8240712a90 18:35:00 Step 26/27 : LABEL git_sha=1a22b8e850afb19e203cd07be8e91502006e9716 18:35:00 ---> Running in 76669293bd1b 18:35:00 Removing intermediate container 76669293bd1b 18:35:00 ---> 483a356bc7a1 18:35:00 Step 27/27 : LABEL version=0.0.0 18:35:00 ---> Running in ea9cbd929c49 18:35:01 Removing intermediate container ea9cbd929c49 18:35:01 ---> 8533c0eead1c 18:35:01 [Warning] One or more build-args [ARCH] were not consumed 18:35:01 Successfully built 8533c0eead1c 18:35:01 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 18:35:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:35:01 18:35:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:35:01 arm64: Pulling from edgex-lftools-log-publisher 18:35:01 8998bd30e6a1: Pulling fs layer 18:35:01 04944245beec: Pulling fs layer 18:35:01 699f458cf7ca: Pulling fs layer 18:35:01 765212b225bb: Pulling fs layer 18:35:01 f23df028b6ca: Pulling fs layer 18:35:01 d65c8cfc05b1: Pulling fs layer 18:35:01 765212b225bb: Waiting 18:35:01 f23df028b6ca: Waiting 18:35:01 d65c8cfc05b1: Waiting 18:35:01 2437ff75d9bd: Pulling fs layer 18:35:01 2437ff75d9bd: Waiting 18:35:02 04944245beec: Verifying Checksum 18:35:02 04944245beec: Download complete 18:35:02 765212b225bb: Verifying Checksum 18:35:02 765212b225bb: Download complete 18:35:02 f23df028b6ca: Verifying Checksum 18:35:02 f23df028b6ca: Download complete 18:35:02 d65c8cfc05b1: Download complete 18:35:02 699f458cf7ca: Verifying Checksum 18:35:02 699f458cf7ca: Download complete 18:35:02 8998bd30e6a1: Verifying Checksum 18:35:02 8998bd30e6a1: Download complete 18:35:05 2437ff75d9bd: Verifying Checksum 18:35:05 2437ff75d9bd: Download complete 18:35:06 8998bd30e6a1: Pull complete 18:35:06 04944245beec: Pull complete 18:35:08 699f458cf7ca: Pull complete 18:35:08 765212b225bb: Pull complete 18:35:09 f23df028b6ca: Pull complete 18:35:09 d65c8cfc05b1: Pull complete 18:35:24 2437ff75d9bd: Pull complete 18:35:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:35:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:35:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:24 prd-ubuntu20.04-docker-arm64-4c-16g-8388 does not seem to be running inside a container 18:35:24 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 18:35:27 $ docker top 0bca7e59d1d371d9a0b5eb5d39589b4aa9a1e0a425ad476f0727763558166d35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:27 ---> job-cost.sh 18:35:27 lf-activate-venv: SKIPPING 18:35:27 INFO: No Stack... 18:35:28 INFO: Retrieving Pricing Info for: v3-standard-4 18:35:29 INFO: Archiving Costs [Pipeline] sh 18:35:30 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 18:35:30 + cut -d, -f6 [Pipeline] lock 18:35:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-177-2-stack-cost] 18:35:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-2-stack-cost] did not exist. Created. 18:35:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-177-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:35:30 /w/workspace/device-onvif-camera/2@tmp/durable-4fcc00fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:35:31 + echo total: 0.10999999940395355 [Pipeline] stash 18:35:31 Warning: overwriting stash ‘stack-cost’ 18:35:31 Stashed 1 file(s) [Pipeline] } 18:35:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:35:31 $ docker stop --time=1 0bca7e59d1d371d9a0b5eb5d39589b4aa9a1e0a425ad476f0727763558166d35 18:35:32 $ docker rm -f 0bca7e59d1d371d9a0b5eb5d39589b4aa9a1e0a425ad476f0727763558166d35 [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 18:35:32 provisioning config files... 18:35:32 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config8905990314488491665tmp [Pipeline] { [Pipeline] sh 18:35:33 + set +x 18:35:33 + curl -s https://codecov.io/bash 18:35:33 + bash -s -- 18:35:33 18:35:33 _____ _ 18:35:33 / ____| | | 18:35:33 | | ___ __| | ___ ___ _____ __ 18:35:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:35:33 | |___| (_) | (_| | __/ (_| (_) \ V / 18:35:33 \_____\___/ \__,_|\___|\___\___/ \_/ 18:35:33 Bash-1.0.6 18:35:33 18:35:33 18:35:33 ==> git version 2.25.1 found 18:35:33 ==> 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 18:35:33 Release-Date: 2020-01-08 18:35:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:35:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:35:33 ==> Jenkins CI detected. 18:35:33 current dir:  /w/workspace/undry_device-onvif-camera_PR-177 18:35:33 project root: . 18:35:33 --> token set from env 18:35:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:35:33 ==> Running gcov in . (disable via -X gcov) 18:35:33 ==> Python coveragepy not found 18:35:33 ==> Searching for coverage reports in: 18:35:33 + . 18:35:33 -> Found 1 reports 18:35:33 ==> Detecting git/mercurial file structure 18:35:33 ==> Reading reports 18:35:33 + ./coverage.out bytes=78636 18:35:33 ==> Appending adjustments 18:35:33 https://docs.codecov.io/docs/fixing-reports 18:35:33 + Found adjustments 18:35:33 ==> Gzipping contents 18:35:33 12K /tmp/codecov.AbDHBW.gz 18:35:33 ==> Uploading reports 18:35:33 url: https://codecov.io 18:35:33 query: branch=PR-177&commit=19a2ab7730c169be74f8589d42920c19f723722a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-177%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=177&job=&cmd_args= 18:35:33 -> Pinging Codecov 18:35:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-177&commit=19a2ab7730c169be74f8589d42920c19f723722a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-177%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=177&job=&cmd_args= 18:35:34 -> Uploading to 18:35:34 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/F29A59C45E3A92E06B3E522C9905F8EF/19a2ab7730c169be74f8589d42920c19f723722a/c4cb54ca-51d7-4e87-8f55-5a0715320322.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T183534Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dd5643cab8e15da2f6340384ce2490c5aa9f29af7e1559cdddd4a747e1be38b2 18:35:34 % Total % Received % Xferd Average Speed Time Time Time Current 18:35:34 Dload Upload Total Spent Left Speed 18:35:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10783 0 0 100 10783 0 195k --:--:-- --:--:-- --:--:-- 195k 100 10783 0 0 100 10783 0 44374 --:--:-- --:--:-- --:--:-- 44192 18:35:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/19a2ab7730c169be74f8589d42920c19f723722a [Pipeline] } 18:35:34 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 18:35:35 + [ -d /w/workspace/undry_device-onvif-camera_PR-177/archives ] 18:35:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-177/archives 18:35:35 total 16 18:35:35 drwxr-xr-x 3 root root 4096 Oct 17 18:25 . 18:35:35 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 18:25 .. 18:35:35 drwxr-xr-x 2 root root 4096 Oct 17 18:25 cost 18:35:35 -rw-r--r-- 1 root root 91 Oct 17 18:25 cost.csv 18:35:35 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-177/archives 18:35:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-177/archives 18:35:35 total 16 18:35:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 18:25 . 18:35:35 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 18:25 .. 18:35:35 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 18:25 cost 18:35:35 -rw-r--r-- 1 jenkins jenkins 91 Oct 17 18:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:35:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:35:36 ---> package-listing.sh 18:35:36 ++ facter osfamily 18:35:36 ++ tr '[:upper:]' '[:lower:]' 18:35:36 + OS_FAMILY=debian 18:35:36 + workspace=/w/workspace/undry_device-onvif-camera_PR-177 18:35:36 + START_PACKAGES=/tmp/packages_start.txt 18:35:36 + END_PACKAGES=/tmp/packages_end.txt 18:35:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:35:36 + PACKAGES=/tmp/packages_start.txt 18:35:36 + '[' /w/workspace/undry_device-onvif-camera_PR-177 ']' 18:35:36 + PACKAGES=/tmp/packages_end.txt 18:35:36 + case "${OS_FAMILY}" in 18:35:36 + dpkg -l 18:35:36 + grep '^ii' 18:35:36 + '[' -f /tmp/packages_start.txt ']' 18:35:36 + '[' -f /tmp/packages_end.txt ']' 18:35:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:35:36 + '[' /w/workspace/undry_device-onvif-camera_PR-177 ']' 18:35:36 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-177/archives/ 18:35:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-177/archives/ [Pipeline] echo 18:35:36 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-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:35:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:35:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:37 prd-ubuntu20.04-docker-8c-8g-8387 does not seem to be running inside a container 18:35:37 $ 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-177/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-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:35:37 $ docker top 98d2021ba44c35f2caa18997f6091d6cab158e27e08f8c216a066164a406225a -eo pid,comm [Pipeline] { [Pipeline] sh 18:35:38 + touch /tmp/pre-build-complete [Pipeline] sh 18:35:38 + mkdir -p /var/log/sysstat [Pipeline] sh 18:35:38 + ls /var/log/sa-host 18:35:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:35:39 provisioning config files... 18:35:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config18084680793574540613tmp [Pipeline] { [Pipeline] echo 18:35:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:35:39 ---> create-netrc.sh [Pipeline] } 18:35:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:35:39 ---> python-tools-install.sh [Pipeline] echo 18:35:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:35:39 ---> sudo-logs.sh 18:35:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:35:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:35:40 ---> job-cost.sh 18:35:40 lf-activate-venv: SKIPPING 18:35:40 DEBUG: total: 0.2199999988079071 18:35:40 INFO: Retrieving Stack Cost... 18:35:40 INFO: Retrieving Pricing Info for: v3-standard-8 18:35:41 INFO: Archiving Costs [Pipeline] echo 18:35:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:35:41 ---> logs-deploy.sh 18:35:41 lf-activate-venv: SKIPPING 18:35:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-177/2 18:35:41 INFO: archiving workspace using pattern(s): 18:35:42 Archives upload complete. 18:35:42 INFO: archiving logs to Nexus 18:35:43 ---> uname -a: 18:35:43 Linux prd-ubuntu20-04-docker-8c-8g-8387 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:35:43 18:35:43 18:35:43 ---> lscpu: 18:35:43 Architecture: x86_64 18:35:43 CPU op-mode(s): 32-bit, 64-bit 18:35:43 Byte Order: Little Endian 18:35:43 Address sizes: 40 bits physical, 48 bits virtual 18:35:43 CPU(s): 8 18:35:43 On-line CPU(s) list: 0-7 18:35:43 Thread(s) per core: 1 18:35:43 Core(s) per socket: 1 18:35:43 Socket(s): 8 18:35:43 NUMA node(s): 1 18:35:43 Vendor ID: AuthenticAMD 18:35:43 CPU family: 23 18:35:43 Model: 49 18:35:43 Model name: AMD EPYC-Rome Processor 18:35:43 Stepping: 0 18:35:43 CPU MHz: 2799.998 18:35:43 BogoMIPS: 5599.99 18:35:43 Virtualization: AMD-V 18:35:43 Hypervisor vendor: KVM 18:35:43 Virtualization type: full 18:35:43 L1d cache: 256 KiB 18:35:43 L1i cache: 256 KiB 18:35:43 L2 cache: 4 MiB 18:35:43 L3 cache: 128 MiB 18:35:43 NUMA node0 CPU(s): 0-7 18:35:43 Vulnerability Itlb multihit: Not affected 18:35:43 Vulnerability L1tf: Not affected 18:35:43 Vulnerability Mds: Not affected 18:35:43 Vulnerability Meltdown: Not affected 18:35:43 Vulnerability Mmio stale data: Not affected 18:35:43 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:35:43 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:35:43 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:35:43 Vulnerability Srbds: Not affected 18:35:43 Vulnerability Tsx async abort: Not affected 18:35:43 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:35:43 18:35:43 18:35:43 ---> nproc: 18:35:43 8 18:35:43 18:35:43 18:35:43 ---> df -h: 18:35:43 Filesystem Size Used Avail Use% Mounted on 18:35:43 overlay 155G 12G 144G 8% / 18:35:43 tmpfs 64M 0 64M 0% /dev 18:35:43 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:35:43 shm 64M 0 64M 0% /dev/shm 18:35:43 /dev/vda1 155G 12G 144G 8% /facter-os 18:35:43 18:35:43