Pull request #180 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 c32d12cb3f3d5bd786ac66f0af1d84994387a230 rather than 525b448516f7ccbfc29b672512b49cbee4360610 Obtained Jenkinsfile from c32d12cb3f3d5bd786ac66f0af1d84994387a230 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18017345002027035427.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-ssh324817271813847959.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-180/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-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5468933171776277012.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-ssh10798343829901601014.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-180/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-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14275760617034024465.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 ‘prd-ubuntu20.04-docker-8c-8g-8781’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8783 in /w/workspace/undry_device-onvif-camera_PR-180 [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-180 # 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/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit 525b448516f7ccbfc29b672512b49cbee4360610 Merge succeeded, producing 525b448516f7ccbfc29b672512b49cbee4360610 Checking out Revision 525b448516f7ccbfc29b672512b49cbee4360610 (PR-180) Commit message: "docs: use typing.Dict for typings" > git config core.sparsecheckout # timeout=10 > git checkout -f 525b448516f7ccbfc29b672512b49cbee4360610 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 525b448516f7ccbfc29b672512b49cbee4360610 # timeout=10 > git rev-list --no-walk 58fdfd40f00060caf6819d4a78b16f38e6b426d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:59:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:59:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:59:42 ========================================================= 18:59:42 EdgeX Global Pipelines Version Info 18:59:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:59:43 ------------------- 18:59:43 stable info: 18:59:43 ------------------- 18:59:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:59:43 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:59:43 Message: update stable to v1.0.243 18:59:44 ------------------- 18:59:44 experimental info: 18:59:44 ------------------- 18:59:44 Commited By: **** collab-it+edgex@linuxfoundation.org 18:59:44 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:59:44 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 525b448516f7ccbfc29b672512b49cbee4360610 [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 525b448 [Pipeline] echo 18:59:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:59:44 provisioning config files... 18:59:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config1382024854395624131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:59:44 ---> docker-login.sh 18:59:44 nexus3.edgexfoundry.org:10001 18:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:45 Configure a credential helper to remove this warning. See 18:59:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:45 18:59:45 Login Succeeded 18:59:45 nexus3.edgexfoundry.org:10002 18:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:45 Configure a credential helper to remove this warning. See 18:59:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:45 18:59:45 Login Succeeded 18:59:45 nexus3.edgexfoundry.org:10003 18:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:45 Configure a credential helper to remove this warning. See 18:59:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:45 18:59:45 Login Succeeded 18:59:45 nexus3.edgexfoundry.org:10004 18:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:45 Configure a credential helper to remove this warning. See 18:59:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:45 18:59:45 Login Succeeded 18:59:45 docker.io 18:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:45 Configure a credential helper to remove this warning. See 18:59:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:45 18:59:45 Login Succeeded 18:59:45 ---> docker-login.sh ends [Pipeline] } 18:59:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:59:46 + git rev-list -1 --merges 525b448516f7ccbfc29b672512b49cbee4360610~1..525b448516f7ccbfc29b672512b49cbee4360610 [Pipeline] echo 18:59:46 -----------> git rev-list -1 --merges 525b448516f7ccbfc29b672512b49cbee4360610~1..525b448516f7ccbfc29b672512b49cbee4360610 525b448516f7ccbfc29b672512b49cbee4360610 [false] [Pipeline] sh 18:59:46 + git log --format=format:%s -1 525b448516f7ccbfc29b672512b49cbee4360610 [Pipeline] echo 18:59:46 ========================================================= 18:59:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:59:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:59:46 + git log --format=format:%s -1 525b448516f7ccbfc29b672512b49cbee4360610 [Pipeline] echo 18:59:47 [semverPrep] GIT_COMMIT: 525b448516f7ccbfc29b672512b49cbee4360610, Commit Message: docs: use typing.Dict for typings [Pipeline] echo 18:59:47 [semverPrep] This is not a build commit. [Pipeline] sh 18:59:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:59:47 + grep -v github /etc/ssh/ssh_known_hosts 18:59:47 + [ -e /tmp/ssh_known_hosts ] 18:59:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:59:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:59:47 + sudo tee -a /etc/ssh/ssh_known_hosts 18:59:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:59:47 18:59:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:59:47 0.1.4: Pulling from edgex-devops/py-git-semver 18:59:47 b85a868b505f: Pulling fs layer 18:59:47 e2be974225ed: Pulling fs layer 18:59:47 339a4e72a1f5: Pulling fs layer 18:59:47 988bab9f4d93: Pulling fs layer 18:59:47 1469e6f7b9e6: Pulling fs layer 18:59:47 eaf3925da568: Pulling fs layer 18:59:47 bab4dde63d76: Pulling fs layer 18:59:47 bde34c3a00c8: Pulling fs layer 18:59:47 b352a97aabf1: Pulling fs layer 18:59:47 4872d77fe225: Pulling fs layer 18:59:47 5851b861e8e6: Pulling fs layer 18:59:47 988bab9f4d93: Waiting 18:59:47 1469e6f7b9e6: Waiting 18:59:47 b352a97aabf1: Waiting 18:59:47 eaf3925da568: Waiting 18:59:47 4872d77fe225: Waiting 18:59:47 bab4dde63d76: Waiting 18:59:47 5851b861e8e6: Waiting 18:59:47 bde34c3a00c8: Waiting 18:59:47 e2be974225ed: Verifying Checksum 18:59:47 e2be974225ed: Download complete 18:59:47 988bab9f4d93: Download complete 18:59:48 1469e6f7b9e6: Verifying Checksum 18:59:48 1469e6f7b9e6: Download complete 18:59:48 eaf3925da568: Download complete 18:59:48 339a4e72a1f5: Download complete 18:59:48 bde34c3a00c8: Verifying Checksum 18:59:48 bde34c3a00c8: Download complete 18:59:48 b352a97aabf1: Verifying Checksum 18:59:48 b352a97aabf1: Download complete 18:59:48 4872d77fe225: Verifying Checksum 18:59:48 4872d77fe225: Download complete 18:59:48 5851b861e8e6: Download complete 18:59:48 b85a868b505f: Download complete 18:59:48 bab4dde63d76: Verifying Checksum 18:59:48 bab4dde63d76: Download complete 18:59:49 b85a868b505f: Pull complete 18:59:49 e2be974225ed: Pull complete 18:59:50 339a4e72a1f5: Pull complete 18:59:50 988bab9f4d93: Pull complete 18:59:50 1469e6f7b9e6: Pull complete 18:59:50 eaf3925da568: Pull complete 18:59:52 bab4dde63d76: Pull complete 18:59:52 bde34c3a00c8: Pull complete 18:59:52 b352a97aabf1: Pull complete 18:59:52 4872d77fe225: Pull complete 18:59:53 5851b861e8e6: Pull complete 18:59:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:59:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:59:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:59:53 prd-ubuntu20.04-docker-8c-8g-8783 does not seem to be running inside a container 18:59:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:59:54 $ docker top 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 -eo pid,comm 18:59:54 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:59:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:59:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:59:54 [ssh-agent] Looking for ssh-agent implementation... 18:59:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:59:54 $ docker exec 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 ssh-agent 18:59:55 SSH_AUTH_SOCK=/tmp/ssh-tkxRylPKm95X/agent.32 18:59:55 SSH_AGENT_PID=38 18:59:55 Running ssh-add (command line suppressed) 18:59:55 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_10478438499455436377.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_10478438499455436377.key) 18:59:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:59:55 + git tag --points-at HEAD [Pipeline] } 18:59:55 $ docker exec --env ******** --env ******** 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 ssh-agent -k 18:59:55 unset SSH_AUTH_SOCK; 18:59:55 unset SSH_AGENT_PID; 18:59:55 echo Agent pid 38 killed; 18:59:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:59:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:59:55 [ssh-agent] Looking for ssh-agent implementation... 18:59:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:59:55 $ docker exec 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 ssh-agent 18:59:55 SSH_AUTH_SOCK=/tmp/ssh-W6ersCUpFiBz/agent.70 18:59:55 SSH_AGENT_PID=76 18:59:55 Running ssh-add (command line suppressed) 18:59:56 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_13790549613955442782.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_13790549613955442782.key) 18:59:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:59:56 + git semver init 18:59:56 2022-10-21 18:59:56,525 [run_init] DEBUG init version:0.0.0 force:False 18:59:56 2022-10-21 18:59:56,526 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver 18:59:56 2022-10-21 18:59:56,527 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-180/.semver 18:59:56 2022-10-21 18:59:56,527 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-180/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-180, universal_newlines=False, shell=None, istream=None) 18:59:57 2022-10-21 18:59:57,549 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude 18:59:57 2022-10-21 18:59:57,550 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 with force:False 18:59:57 2022-10-21 18:59:57,550 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 18:59:57 2022-10-21 18:59:57,554 [execute] INFO git cat-file --batch-check 18:59:57 2022-10-21 18:59:57,555 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 18:59:57 2022-10-21 18:59:57,561 [execute] INFO git cat-file --batch 18:59:57 2022-10-21 18:59:57,561 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 18:59:57 2022-10-21 18:59:57,566 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 18:59:57 0.0.0 [Pipeline] } 18:59:57 $ docker exec --env ******** --env ******** 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 ssh-agent -k 18:59:58 unset SSH_AUTH_SOCK; 18:59:58 unset SSH_AGENT_PID; 18:59:58 echo Agent pid 76 killed; 18:59:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:59:58 + git semver [Pipeline] } 18:59:58 $ docker stop --time=1 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 18:59:59 $ docker rm -f 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 [Pipeline] // withDockerContainer [Pipeline] sh 19:00:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:00:00 Stashed 1 file(s) [Pipeline] echo 19:00:00 [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 19:00:00 provisioning config files... 19:00:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config1812502717856729616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:00 ---> docker-login.sh 19:00:00 nexus3.edgexfoundry.org:10001 19:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:00 Configure a credential helper to remove this warning. See 19:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:00 19:00:00 Login Succeeded 19:00:00 nexus3.edgexfoundry.org:10002 19:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:00 Configure a credential helper to remove this warning. See 19:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:00 19:00:00 Login Succeeded 19:00:00 nexus3.edgexfoundry.org:10003 19:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:01 Configure a credential helper to remove this warning. See 19:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:01 19:00:01 Login Succeeded 19:00:01 nexus3.edgexfoundry.org:10004 19:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:01 Configure a credential helper to remove this warning. See 19:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:01 19:00:01 Login Succeeded 19:00:01 docker.io 19:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:01 Configure a credential helper to remove this warning. See 19:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:01 19:00:01 Login Succeeded 19:00:02 ---> docker-login.sh ends [Pipeline] } 19:00:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:00:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:00:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:00:02 ========================================================= 19:00:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:00:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:02 + 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 . 19:00:02 Sending build context to Docker daemon 27.08MB 19:00:02 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 19:00:02 Step 2/14 : FROM ${BASE} AS builder 19:00:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:00:02 213ec9aee27d: Pulling fs layer 19:00:02 4583459ba037: Pulling fs layer 19:00:02 93c1e223e6f2: Pulling fs layer 19:00:02 53926ce57604: Pulling fs layer 19:00:02 21b2b0c7a3f4: Pulling fs layer 19:00:02 30f14e443154: Pulling fs layer 19:00:02 801331c1e519: Pulling fs layer 19:00:02 99cc6dd402b0: Pulling fs layer 19:00:02 7d9ed39f4882: Pulling fs layer 19:00:02 53926ce57604: Waiting 19:00:02 21b2b0c7a3f4: Waiting 19:00:02 30f14e443154: Waiting 19:00:02 801331c1e519: Waiting 19:00:02 99cc6dd402b0: Waiting 19:00:02 7d9ed39f4882: Waiting 19:00:02 93c1e223e6f2: Verifying Checksum 19:00:02 93c1e223e6f2: Download complete 19:00:02 4583459ba037: Verifying Checksum 19:00:02 4583459ba037: Download complete 19:00:02 21b2b0c7a3f4: Verifying Checksum 19:00:02 21b2b0c7a3f4: Download complete 19:00:02 30f14e443154: Verifying Checksum 19:00:02 30f14e443154: Download complete 19:00:02 213ec9aee27d: Verifying Checksum 19:00:02 213ec9aee27d: Download complete 19:00:02 801331c1e519: Download complete 19:00:02 213ec9aee27d: Pull complete 19:00:02 4583459ba037: Pull complete 19:00:03 93c1e223e6f2: Pull complete 19:00:03 7d9ed39f4882: Verifying Checksum 19:00:03 7d9ed39f4882: Download complete 19:00:03 99cc6dd402b0: Verifying Checksum 19:00:03 99cc6dd402b0: Download complete 19:00:03 53926ce57604: Verifying Checksum 19:00:03 53926ce57604: Download complete 19:00:07 53926ce57604: Pull complete 19:00:07 21b2b0c7a3f4: Pull complete 19:00:07 30f14e443154: Pull complete 19:00:07 801331c1e519: Pull complete 19:00:09 99cc6dd402b0: Pull complete 19:00:10 7d9ed39f4882: Pull complete 19:00:10 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 19:00:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:00:10 ---> 1dedd983c030 19:00:10 Step 3/14 : ARG ADD_BUILD_TAGS="" 19:00:12 ---> Running in 6da89fe46bc5 19:00:12 Removing intermediate container 6da89fe46bc5 19:00:12 ---> c7601e2f9b04 19:00:12 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:00:12 ---> Running in bbe9c7fcb653 19:00:12 Removing intermediate container bbe9c7fcb653 19:00:12 ---> 1ccb12326869 19:00:12 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:00:12 ---> Running in 235cbd8c16d2 19:00:12 Removing intermediate container 235cbd8c16d2 19:00:12 ---> 0af4cfa2dbf3 19:00:12 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 19:00:12 ---> Running in b2d274035854 19:00:12 Removing intermediate container b2d274035854 19:00:12 ---> 4e6865ae073c 19:00:12 Step 7/14 : LABEL Name=edgex-device-onvif-camera 19:00:12 ---> Running in d6c64435c042 19:00:12 Removing intermediate container d6c64435c042 19:00:12 ---> 8041e90eeca5 19:00:12 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:00:12 ---> Running in 9651f1064c57 19:00:13 Removing intermediate container 9651f1064c57 19:00:13 ---> 4e7037765321 19:00:13 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:00:13 ---> Running in 0afcb28e9a97 19:00:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:00:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:00:14 OK: 211 MiB in 51 packages 19:00:15 Removing intermediate container 0afcb28e9a97 19:00:15 ---> aeea5fa3c661 19:00:15 Step 10/14 : WORKDIR /device-onvif-camera 19:00:15 ---> Running in ddf62f2161c0 19:00:15 Removing intermediate container ddf62f2161c0 19:00:15 ---> 4dce9df52a85 19:00:15 Step 11/14 : COPY go.mod vendor* ./ 19:00:15 ---> 8538b15c840a 19:00:15 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:00:15 ---> Running in 0df332011abb 19:00:15 Still waiting to schedule task 19:00:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:00:33 Removing intermediate container 0df332011abb 19:00:33 ---> 0249f4ca8384 19:00:33 Step 13/14 : COPY . . 19:00:33 ---> 3de8e5ac6c8c 19:00:33 Step 14/14 : RUN ${MAKE} 19:00:33 ---> Running in 7474dc939293 19:00:33 noop 19:00:34 Removing intermediate container 7474dc939293 19:00:34 ---> 1dc957b96017 19:00:34 Successfully built 1dc957b96017 19:00:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:34 + docker inspect -f . ci-base-image-x86_64 19:00:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:34 prd-ubuntu20.04-docker-8c-8g-8783 does not seem to be running inside a container 19:00:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:00:35 $ docker top e0328686ce35e7b1447fe566f310f475c092bd542bc940859265360acaab0cab -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:35 + go version 19:00:35 go version go1.18.7 linux/amd64 [Pipeline] } 19:00:35 $ docker stop --time=1 e0328686ce35e7b1447fe566f310f475c092bd542bc940859265360acaab0cab 19:00:36 $ docker rm -f e0328686ce35e7b1447fe566f310f475c092bd542bc940859265360acaab0cab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:37 + docker inspect -f . ci-base-image-x86_64 19:00:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:37 prd-ubuntu20.04-docker-8c-8g-8783 does not seem to be running inside a container 19:00:37 $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:00:37 $ docker top ad0b156a7759b1e2488064106ec63f04b34632f19b08feb5d5f30e66634e1f6c -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:38 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh 19:00:38 + make test 19:00:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:00:38 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:00:51 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:00:51 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements 19:00:51 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:00:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.362s coverage: 86.5% of statements 19:00:59 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." 19:00:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:01:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:01:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:01:02 ./bin/test-attribution-txt.sh [Pipeline] echo 19:01:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:01:02 $ docker stop --time=1 ad0b156a7759b1e2488064106ec63f04b34632f19b08feb5d5f30e66634e1f6c 19:01:04 $ docker rm -f ad0b156a7759b1e2488064106ec63f04b34632f19b08feb5d5f30e66634e1f6c [Pipeline] // withDockerContainer [Pipeline] sh 19:01:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:01:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:01:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:01:05 + ls -al . 19:01:05 total 236 19:01:05 drwxrwxr-x 10 jenkins jenkins 4096 Oct 21 19:00 . 19:01:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 18:59 .. 19:01:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 19:00 .git 19:01:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 18:59 .github 19:01:05 -rw-rw-r-- 1 jenkins jenkins 496 Oct 21 18:59 .gitignore 19:01:05 -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 18:59 .golangci.yml 19:01:05 drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 18:59 .semver 19:01:05 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 21 18:59 Attribution.txt 19:01:05 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 21 18:59 CHANGELOG.md 19:01:05 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 21 18:59 Dockerfile 19:01:05 -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 18:59 GOVERNANCE.md 19:01:05 -rw-rw-r-- 1 jenkins jenkins 734 Oct 21 18:59 Jenkinsfile 19:01:05 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 21 18:59 LICENSE 19:01:05 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 21 18:59 Makefile 19:01:05 -rw-rw-r-- 1 jenkins jenkins 625 Oct 21 18:59 OWNERS.md 19:01:05 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 21 18:59 README.md 19:01:05 -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 19:00 VERSION 19:01:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 18:59 bin 19:01:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 18:59 cmd 19:01:05 -rw-r--r-- 1 jenkins jenkins 78636 Oct 21 19:00 coverage.out 19:01:05 drwxrwxr-x 6 jenkins jenkins 4096 Oct 21 18:59 doc 19:01:05 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 21 18:59 go.mod 19:01:05 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 21 18:59 go.sum 19:01:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 18:59 internal 19:01:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 18:59 snap 19:01:05 -rw-rw-r-- 1 jenkins jenkins 236 Oct 21 18:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:05 + 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=525b448516f7ccbfc29b672512b49cbee4360610 --label arch=amd64 --label version=0.0.0 . 19:01:05 Sending build context to Docker daemon 27.16MB 19:01:05 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 19:01:05 Step 2/27 : FROM ${BASE} AS builder 19:01:05 ---> 1dc957b96017 19:01:05 Step 3/27 : ARG ADD_BUILD_TAGS="" 19:01:06 ---> Running in 216a4f505a59 19:01:06 Removing intermediate container 216a4f505a59 19:01:06 ---> 893d1cdf508f 19:01:06 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:01:06 ---> Running in 2069cb4bb4ba 19:01:06 Removing intermediate container 2069cb4bb4ba 19:01:06 ---> 6e009569484b 19:01:06 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:01:06 ---> Running in 04b7d586fd44 19:01:06 Removing intermediate container 04b7d586fd44 19:01:06 ---> 66c84b34493f 19:01:06 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 19:01:06 ---> Running in 37f87a7fd8ae 19:01:06 Removing intermediate container 37f87a7fd8ae 19:01:06 ---> eaaf3a97aef8 19:01:06 Step 7/27 : LABEL Name=edgex-device-onvif-camera 19:01:06 ---> Running in bba56eee3a19 19:01:06 Removing intermediate container bba56eee3a19 19:01:06 ---> 78e3aea093ed 19:01:06 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:01:06 ---> Running in ce41c9818806 19:01:07 Removing intermediate container ce41c9818806 19:01:07 ---> e2c60a8c05b2 19:01:07 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:01:07 ---> Running in 850f8aa58dbf 19:01:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:01:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:01:08 OK: 211 MiB in 51 packages 19:01:09 Removing intermediate container 850f8aa58dbf 19:01:09 ---> df2d900209fb 19:01:09 Step 10/27 : WORKDIR /device-onvif-camera 19:01:09 ---> Running in 80d0b08a7fd2 19:01:09 Removing intermediate container 80d0b08a7fd2 19:01:09 ---> d3cb28dadce1 19:01:09 Step 11/27 : COPY go.mod vendor* ./ 19:01:09 ---> f69d0fc2f4b5 19:01:09 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:01:09 ---> Running in 9692df94f57c 19:01:10 Removing intermediate container 9692df94f57c 19:01:10 ---> de86937f83ad 19:01:10 Step 13/27 : COPY . . 19:01:10 ---> ed48fdba06b5 19:01:10 Step 14/27 : RUN ${MAKE} 19:01:10 ---> Running in e801142ebe8b 19:01:11 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 19:01:33 Removing intermediate container e801142ebe8b 19:01:33 ---> 913405f85cac 19:01:33 Step 15/27 : FROM alpine:3.16 19:01:33 3.16: Pulling from library/alpine 19:01:33 213ec9aee27d: Already exists 19:01:33 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:01:33 Status: Downloaded newer image for alpine:3.16 19:01:33 ---> 9c6f07244728 19:01:33 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:01:33 ---> Running in 8f10171f6857 19:01:33 Removing intermediate container 8f10171f6857 19:01:33 ---> 33739785ea7c 19:01:33 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 19:01:33 ---> Running in f4adae87dcca 19:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:01:33 (1/6) Installing dumb-init (1.2.5-r1) 19:01:33 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:01:33 (3/6) Installing libsodium (1.0.18-r0) 19:01:33 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:01:33 (5/6) Installing libzmq (4.3.4-r0) 19:01:33 (6/6) Installing zeromq (4.3.4-r0) 19:01:33 Executing busybox-1.35.0-r17.trigger 19:01:33 OK: 8 MiB in 20 packages 19:01:33 Removing intermediate container f4adae87dcca 19:01:33 ---> d7181c88af89 19:01:33 Step 18/27 : WORKDIR / 19:01:33 ---> Running in fd45196ec0b4 19:01:33 Removing intermediate container fd45196ec0b4 19:01:33 ---> 740fa0d163d6 19:01:33 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 19:01:33 ---> 011c5900c141 19:01:33 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 19:01:33 ---> ba56099df71f 19:01:33 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:01:33 ---> e32b080b0082 19:01:33 Step 22/27 : EXPOSE 59984 19:01:33 ---> Running in 47b8dcc8fb88 19:01:33 Removing intermediate container 47b8dcc8fb88 19:01:33 ---> cff7b6ea4ea7 19:01:33 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 19:01:34 ---> Running in f74559e30106 19:01:34 Removing intermediate container f74559e30106 19:01:34 ---> 3129712ef01d 19:01:34 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:01:34 ---> Running in 83a81e2cbaf5 19:01:34 Removing intermediate container 83a81e2cbaf5 19:01:34 ---> fbad331a2fdc 19:01:34 Step 25/27 : LABEL arch=amd64 19:01:34 ---> Running in 0b1e373939b8 19:01:34 Removing intermediate container 0b1e373939b8 19:01:34 ---> 3756f9dc75fc 19:01:34 Step 26/27 : LABEL git_sha=525b448516f7ccbfc29b672512b49cbee4360610 19:01:34 ---> Running in 738aea0b2f4c 19:01:34 Removing intermediate container 738aea0b2f4c 19:01:34 ---> e20221abe874 19:01:34 Step 27/27 : LABEL version=0.0.0 19:01:34 ---> Running in 72cd1e44cbb3 19:01:34 Removing intermediate container 72cd1e44cbb3 19:01:34 ---> d3f974bf120f 19:01:34 [Warning] One or more build-args [ARCH] were not consumed 19:01:34 Successfully built d3f974bf120f 19:01:34 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 19:01:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:35 19:01:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:35 latest: Pulling from edgex-lftools-log-publisher 19:01:35 5eb5b503b376: Pulling fs layer 19:01:35 5c69ac0246d0: Pulling fs layer 19:01:35 ec43610c2a17: Pulling fs layer 19:01:35 3a2ae6a8a46f: Pulling fs layer 19:01:35 33b1e0a273af: Pulling fs layer 19:01:35 5d3b04190fa2: Pulling fs layer 19:01:35 2f39f015ded8: Pulling fs layer 19:01:35 33b1e0a273af: Waiting 19:01:35 5d3b04190fa2: Waiting 19:01:35 2f39f015ded8: Waiting 19:01:35 5c69ac0246d0: Download complete 19:01:35 3a2ae6a8a46f: Download complete 19:01:35 33b1e0a273af: Verifying Checksum 19:01:35 33b1e0a273af: Download complete 19:01:35 ec43610c2a17: Verifying Checksum 19:01:35 ec43610c2a17: Download complete 19:01:35 5d3b04190fa2: Verifying Checksum 19:01:35 5d3b04190fa2: Download complete 19:01:35 5eb5b503b376: Verifying Checksum 19:01:35 5eb5b503b376: Download complete 19:01:36 2f39f015ded8: Download complete 19:01:36 5eb5b503b376: Pull complete 19:01:36 5c69ac0246d0: Pull complete 19:01:37 ec43610c2a17: Pull complete 19:01:37 3a2ae6a8a46f: Pull complete 19:01:37 33b1e0a273af: Pull complete 19:01:37 5d3b04190fa2: Pull complete 19:01:41 2f39f015ded8: Pull complete 19:01:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:01:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:41 prd-ubuntu20.04-docker-8c-8g-8783 does not seem to be running inside a container 19:01:41 $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:01:43 $ docker top 6f28345b463073e89ba89f8ee99c769542885bd2a3bd71a82e40d34c34b45e8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8784 in /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] { [Pipeline] ws 19:01:43 Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout 19:01:43 The recommended git tool is: git 19:01:43 ---> job-cost.sh 19:01:43 lf-activate-venv: SKIPPING 19:01:43 INFO: No Stack... 19:01:43 INFO: Retrieving Pricing Info for: v3-standard-8 19:01:44 INFO: Archiving Costs [Pipeline] sh 19:01:44 + cut -d, -f6 19:01:44 + cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv [Pipeline] lock 19:01:44 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] 19:01:44 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] did not exist. Created. 19:01:44 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:01:44 + echo total: 0.2199999988079071 [Pipeline] stash 19:01:44 Stashed 1 file(s) [Pipeline] } 19:01:44 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] [Pipeline] // lock [Pipeline] } 19:01:44 $ docker stop --time=1 6f28345b463073e89ba89f8ee99c769542885bd2a3bd71a82e40d34c34b45e8f 19:01:46 $ docker rm -f 6f28345b463073e89ba89f8ee99c769542885bd2a3bd71a82e40d34c34b45e8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:01:48 using credential edgex-jenkins-ssh 19:01:48 Cloning the remote Git repository 19:01:48 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:01:48 > git init /w/workspace/device-onvif-camera/9 # timeout=10 19:01:48 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:01:48 > git --version # timeout=10 19:01:48 > git --version # 'git version 2.25.1' 19:01:48 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:48 Verifying host key using known hosts file 19:01:48 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. 19:01:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:01:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:51 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit 525b448516f7ccbfc29b672512b49cbee4360610 19:01:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:01:51 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:01:51 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:51 Verifying host key using known hosts file 19:01:51 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. 19:01:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:01:51 > git config core.sparsecheckout # timeout=10 19:01:51 > git checkout -f 525b448516f7ccbfc29b672512b49cbee4360610 # timeout=10 19:01:52 > git remote # timeout=10 19:01:52 Merge succeeded, producing 525b448516f7ccbfc29b672512b49cbee4360610 19:01:52 Checking out Revision 525b448516f7ccbfc29b672512b49cbee4360610 (PR-180) 19:01:53 Commit message: "docs: use typing.Dict for typings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:52 > git config --get remote.origin.url # timeout=10 19:01:52 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:52 Verifying host key using known hosts file 19:01:52 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. 19:01:52 > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 19:01:52 > git rev-parse HEAD^{commit} # timeout=10 19:01:52 > git config core.sparsecheckout # timeout=10 19:01:52 > git checkout -f 525b448516f7ccbfc29b672512b49cbee4360610 # timeout=10 19:01:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:01:54 % Total % Received % Xferd Average Speed Time Time Time Current 19:01:54 Dload Upload Total Spent Left Speed 19:01:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh 19:01:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:01:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:01:54 + sudo tee /etc/docker/daemon.new 19:01:54 { 19:01:54 "registry-mirrors": [ 19:01:54 "https://nexus3.edgexfoundry.org:10001" 19:01:54 ], 19:01:54 "bip": "10.250.0.254/24", 19:01:54 "hosts": [ 19:01:54 "tcp://0.0.0.0:5555", 19:01:54 "unix:///var/run/docker.sock" 19:01:54 ], 19:01:54 "mtu": 1458, 19:01:54 "selinux-enabled": true, 19:01:54 "seccomp-profile": "/etc/docker/seccomp.json" 19:01:54 } [Pipeline] sh 19:01:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:01:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:02:13 provisioning config files... 19:02:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config4876208752091177496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:14 ---> docker-login.sh 19:02:14 nexus3.edgexfoundry.org:10001 19:02:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:14 Configure a credential helper to remove this warning. See 19:02:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:14 19:02:14 Login Succeeded 19:02:14 nexus3.edgexfoundry.org:10002 19:02:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:15 Configure a credential helper to remove this warning. See 19:02:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:15 19:02:15 Login Succeeded 19:02:15 nexus3.edgexfoundry.org:10003 19:02:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:15 Configure a credential helper to remove this warning. See 19:02:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:15 19:02:15 Login Succeeded 19:02:15 nexus3.edgexfoundry.org:10004 19:02:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:15 Configure a credential helper to remove this warning. See 19:02:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:15 19:02:15 Login Succeeded 19:02:15 docker.io 19:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:16 Configure a credential helper to remove this warning. See 19:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:16 19:02:16 Login Succeeded 19:02:16 ---> docker-login.sh ends [Pipeline] } 19:02:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:02:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:02:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:02:16 ========================================================= 19:02:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:02:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:16 + 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 . 19:02:17 Sending build context to Docker daemon 20.41MB 19:02:17 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 19:02:17 Step 2/14 : FROM ${BASE} AS builder 19:02:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:02:17 9b18e9b68314: Pulling fs layer 19:02:17 d32db5db7311: Pulling fs layer 19:02:17 d0c4b47475fc: Pulling fs layer 19:02:17 5831b945b038: Pulling fs layer 19:02:17 86bbec2aaacd: Pulling fs layer 19:02:17 e10730c5d714: Pulling fs layer 19:02:17 5831b945b038: Waiting 19:02:17 5dd5c2283517: Pulling fs layer 19:02:17 86bbec2aaacd: Waiting 19:02:17 d5ac0230b979: Pulling fs layer 19:02:17 e10730c5d714: Waiting 19:02:17 5dd5c2283517: Waiting 19:02:17 d5ac0230b979: Waiting 19:02:17 d0c4b47475fc: Download complete 19:02:17 d32db5db7311: Verifying Checksum 19:02:17 d32db5db7311: Download complete 19:02:17 86bbec2aaacd: Verifying Checksum 19:02:17 86bbec2aaacd: Download complete 19:02:17 e10730c5d714: Verifying Checksum 19:02:17 e10730c5d714: Download complete 19:02:17 9b18e9b68314: Verifying Checksum 19:02:17 9b18e9b68314: Download complete 19:02:18 9b18e9b68314: Pull complete 19:02:18 d5ac0230b979: Verifying Checksum 19:02:18 d5ac0230b979: Download complete 19:02:19 d32db5db7311: Pull complete 19:02:19 d0c4b47475fc: Pull complete 19:02:19 5dd5c2283517: Verifying Checksum 19:02:19 5dd5c2283517: Download complete 19:02:20 5831b945b038: Verifying Checksum 19:02:20 5831b945b038: Download complete 19:02:32 5831b945b038: Pull complete 19:02:32 86bbec2aaacd: Pull complete 19:02:32 e10730c5d714: Pull complete 19:02:38 5dd5c2283517: Pull complete 19:02:40 d5ac0230b979: Pull complete 19:02:40 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 19:02:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:02:40 ---> 59b3b1a385d4 19:02:40 Step 3/14 : ARG ADD_BUILD_TAGS="" 19:02:41 ---> Running in c8fc7c515e02 19:02:42 Removing intermediate container c8fc7c515e02 19:02:42 ---> 477af9cc5d35 19:02:42 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:02:42 ---> Running in b4e57d91f016 19:02:42 Removing intermediate container b4e57d91f016 19:02:42 ---> 371264446a93 19:02:42 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:02:42 ---> Running in 2de8d28e5be6 19:02:42 Removing intermediate container 2de8d28e5be6 19:02:42 ---> c6544165c3b0 19:02:42 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 19:02:42 ---> Running in 31a893c2ae7c 19:02:43 Removing intermediate container 31a893c2ae7c 19:02:43 ---> 885678b41d51 19:02:43 Step 7/14 : LABEL Name=edgex-device-onvif-camera 19:02:43 ---> Running in fdbf61bfd5b0 19:02:43 Removing intermediate container fdbf61bfd5b0 19:02:43 ---> 52a294cda6c2 19:02:43 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:02:43 ---> Running in 14afee5757dd 19:02:45 Removing intermediate container 14afee5757dd 19:02:45 ---> 748a05d8925f 19:02:45 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:02:45 ---> Running in 9f4222d92a22 19:02:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:02:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:02:48 OK: 221 MiB in 51 packages 19:02:48 Removing intermediate container 9f4222d92a22 19:02:48 ---> 8e2942e27679 19:02:48 Step 10/14 : WORKDIR /device-onvif-camera 19:02:48 ---> Running in ad8c95ab6382 19:02:49 Removing intermediate container ad8c95ab6382 19:02:49 ---> f0473bb8d185 19:02:49 Step 11/14 : COPY go.mod vendor* ./ 19:02:49 ---> c6b426cb16dc 19:02:49 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:02:49 ---> Running in de49fd883993 19:03:36 Removing intermediate container de49fd883993 19:03:36 ---> c682b8d4e556 19:03:36 Step 13/14 : COPY . . 19:03:38 ---> 2a95d2a94f5a 19:03:38 Step 14/14 : RUN ${MAKE} 19:03:38 ---> Running in 112b90b39188 19:03:39 noop 19:03:39 Removing intermediate container 112b90b39188 19:03:39 ---> 4ee663d092b9 19:03:39 Successfully built 4ee663d092b9 19:03:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:39 + docker inspect -f . ci-base-image-arm64 19:03:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:40 prd-ubuntu20.04-docker-arm64-4c-16g-8784 does not seem to be running inside a container 19:03:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:03:41 $ docker top 619f673d367c5ffe1e90695ef0542b52ab59c58d410b095ecae924fc649cd9b6 -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:42 + go version 19:03:42 go version go1.18.7 linux/arm64 [Pipeline] } 19:03:42 $ docker stop --time=1 619f673d367c5ffe1e90695ef0542b52ab59c58d410b095ecae924fc649cd9b6 19:03:43 $ docker rm -f 619f673d367c5ffe1e90695ef0542b52ab59c58d410b095ecae924fc649cd9b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:44 + docker inspect -f . ci-base-image-arm64 19:03:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:44 prd-ubuntu20.04-docker-arm64-4c-16g-8784 does not seem to be running inside a container 19:03:44 $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:03:45 $ docker top a8e520292098dd611e50c928f4b694ff89406619d362e9d46d7a115b403f0813 -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:46 + git config --global --add safe.directory /w/workspace/device-onvif-camera/9 [Pipeline] fileExists [Pipeline] sh 19:03:46 + make test 19:03:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:03:48 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:05:25 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:05:25 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.186s coverage: 28.2% of statements 19:05:25 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:05:43 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.580s coverage: 86.5% of statements 19:05:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:05:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:06:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:06:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:06:05 ./bin/test-attribution-txt.sh [Pipeline] echo 19:06:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:06:05 $ docker stop --time=1 a8e520292098dd611e50c928f4b694ff89406619d362e9d46d7a115b403f0813 19:06:08 $ docker rm -f a8e520292098dd611e50c928f4b694ff89406619d362e9d46d7a115b403f0813 [Pipeline] // withDockerContainer [Pipeline] sh 19:06:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:06:09 Warning: overwriting stash ‘coverage-report’ 19:06:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:06:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:06:10 + ls -al . 19:06:10 total 232 19:06:10 drwxrwxr-x 9 jenkins jenkins 4096 Oct 21 19:03 . 19:06:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 19:01 .. 19:06:10 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 19:01 .git 19:06:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 19:01 .github 19:06:10 -rw-rw-r-- 1 jenkins jenkins 496 Oct 21 19:01 .gitignore 19:06:10 -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 19:01 .golangci.yml 19:06:10 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 21 19:01 Attribution.txt 19:06:10 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 21 19:01 CHANGELOG.md 19:06:10 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 21 19:01 Dockerfile 19:06:10 -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 19:01 GOVERNANCE.md 19:06:10 -rw-rw-r-- 1 jenkins jenkins 734 Oct 21 19:01 Jenkinsfile 19:06:10 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 21 19:01 LICENSE 19:06:10 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 21 19:01 Makefile 19:06:10 -rw-rw-r-- 1 jenkins jenkins 625 Oct 21 19:01 OWNERS.md 19:06:10 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 21 19:01 README.md 19:06:10 -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 19:00 VERSION 19:06:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 19:01 bin 19:06:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 19:01 cmd 19:06:10 -rw-r--r-- 1 jenkins jenkins 78636 Oct 21 19:05 coverage.out 19:06:10 drwxrwxr-x 6 jenkins jenkins 4096 Oct 21 19:01 doc 19:06:10 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 21 19:01 go.mod 19:06:10 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 21 19:01 go.sum 19:06:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 19:01 internal 19:06:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 19:01 snap 19:06:10 -rw-rw-r-- 1 jenkins jenkins 236 Oct 21 19:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:11 + 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=525b448516f7ccbfc29b672512b49cbee4360610 --label arch=arm64 --label version=0.0.0 . 19:06:11 Sending build context to Docker daemon 20.49MB 19:06:11 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 19:06:11 Step 2/27 : FROM ${BASE} AS builder 19:06:11 ---> 4ee663d092b9 19:06:11 Step 3/27 : ARG ADD_BUILD_TAGS="" 19:06:12 ---> Running in 344cc56576b8 19:06:12 Removing intermediate container 344cc56576b8 19:06:12 ---> 5b246f7b189d 19:06:12 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:06:12 ---> Running in 512fa3a8d392 19:06:12 Removing intermediate container 512fa3a8d392 19:06:12 ---> 1e798a6b928b 19:06:12 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:06:12 ---> Running in dd2a0e575c59 19:06:13 Removing intermediate container dd2a0e575c59 19:06:13 ---> 9a40f0b6f6c7 19:06:13 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 19:06:13 ---> Running in f822ae7d482b 19:06:13 Removing intermediate container f822ae7d482b 19:06:13 ---> 2de1ef17f44e 19:06:13 Step 7/27 : LABEL Name=edgex-device-onvif-camera 19:06:13 ---> Running in 7cb7d65fb14c 19:06:14 Removing intermediate container 7cb7d65fb14c 19:06:14 ---> cad5058d7615 19:06:14 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:06:14 ---> Running in a0ea1d297ee6 19:06:15 Removing intermediate container a0ea1d297ee6 19:06:15 ---> 7fe12c37ccbf 19:06:15 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:06:15 ---> Running in 8094c6bf46b5 19:06:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:06:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:06:18 OK: 221 MiB in 51 packages 19:06:19 Removing intermediate container 8094c6bf46b5 19:06:19 ---> 20b4aca92512 19:06:19 Step 10/27 : WORKDIR /device-onvif-camera 19:06:19 ---> Running in 41bc639734b9 19:06:20 Removing intermediate container 41bc639734b9 19:06:20 ---> 282d7b8eba9e 19:06:20 Step 11/27 : COPY go.mod vendor* ./ 19:06:21 ---> 933e110ce687 19:06:21 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:06:21 ---> Running in aaafaef908ed 19:06:23 Removing intermediate container aaafaef908ed 19:06:23 ---> 69760966e378 19:06:23 Step 13/27 : COPY . . 19:06:25 ---> 48800f4b4cc5 19:06:25 Step 14/27 : RUN ${MAKE} 19:06:25 ---> Running in aff5f2109897 19:06:26 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 19:09:03 Removing intermediate container aff5f2109897 19:09:03 ---> b8c67a91632a 19:09:03 Step 15/27 : FROM alpine:3.16 19:09:03 3.16: Pulling from library/alpine 19:09:03 9b18e9b68314: Already exists 19:09:03 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:09:03 Status: Downloaded newer image for alpine:3.16 19:09:03 ---> a6215f271958 19:09:03 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:09:03 ---> Running in ccc64930b020 19:09:03 Removing intermediate container ccc64930b020 19:09:03 ---> 780d5d3a9277 19:09:03 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 19:09:03 ---> Running in 6268b3aea6b3 19:09:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:09:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:09:03 (1/6) Installing dumb-init (1.2.5-r1) 19:09:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:09:03 (3/6) Installing libsodium (1.0.18-r0) 19:09:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:09:03 (5/6) Installing libzmq (4.3.4-r0) 19:09:03 (6/6) Installing zeromq (4.3.4-r0) 19:09:03 Executing busybox-1.35.0-r17.trigger 19:09:03 OK: 8 MiB in 20 packages 19:09:03 Removing intermediate container 6268b3aea6b3 19:09:03 ---> 4123f0fd88c2 19:09:03 Step 18/27 : WORKDIR / 19:09:03 ---> Running in 7181fe0e3586 19:09:03 Removing intermediate container 7181fe0e3586 19:09:03 ---> 3328cc3a7e1e 19:09:03 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 19:09:03 ---> cdab6a620032 19:09:03 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 19:09:03 ---> 329acb25a0d8 19:09:03 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:09:03 ---> aa34d09dbce0 19:09:03 Step 22/27 : EXPOSE 59984 19:09:03 ---> Running in fd4799955937 19:09:03 Removing intermediate container fd4799955937 19:09:03 ---> 8d0a94eb567a 19:09:03 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 19:09:03 ---> Running in 66565316b0e4 19:09:03 Removing intermediate container 66565316b0e4 19:09:03 ---> 874c2b59745d 19:09:03 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:09:03 ---> Running in 6b134cbf6ad4 19:09:03 Removing intermediate container 6b134cbf6ad4 19:09:03 ---> ebb3a01325fd 19:09:03 Step 25/27 : LABEL arch=arm64 19:09:03 ---> Running in 14258a829f8a 19:09:03 Removing intermediate container 14258a829f8a 19:09:03 ---> 39c01a20c728 19:09:03 Step 26/27 : LABEL git_sha=525b448516f7ccbfc29b672512b49cbee4360610 19:09:03 ---> Running in 0670d1b93d4a 19:09:03 Removing intermediate container 0670d1b93d4a 19:09:03 ---> 575b8d3213d0 19:09:03 Step 27/27 : LABEL version=0.0.0 19:09:03 ---> Running in b7dd4603deba 19:09:03 Removing intermediate container b7dd4603deba 19:09:03 ---> 61132bdc59f7 19:09:03 [Warning] One or more build-args [ARCH] were not consumed 19:09:03 Successfully built 61132bdc59f7 19:09:03 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 19:09:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:09:04 19:09:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:09:04 arm64: Pulling from edgex-lftools-log-publisher 19:09:04 8998bd30e6a1: Pulling fs layer 19:09:04 04944245beec: Pulling fs layer 19:09:04 699f458cf7ca: Pulling fs layer 19:09:04 765212b225bb: Pulling fs layer 19:09:04 f23df028b6ca: Pulling fs layer 19:09:04 d65c8cfc05b1: Pulling fs layer 19:09:04 2437ff75d9bd: Pulling fs layer 19:09:04 765212b225bb: Waiting 19:09:04 f23df028b6ca: Waiting 19:09:04 2437ff75d9bd: Waiting 19:09:04 d65c8cfc05b1: Waiting 19:09:04 04944245beec: Verifying Checksum 19:09:04 04944245beec: Download complete 19:09:04 765212b225bb: Verifying Checksum 19:09:04 765212b225bb: Download complete 19:09:04 f23df028b6ca: Verifying Checksum 19:09:04 f23df028b6ca: Download complete 19:09:04 d65c8cfc05b1: Verifying Checksum 19:09:04 d65c8cfc05b1: Download complete 19:09:04 699f458cf7ca: Verifying Checksum 19:09:04 699f458cf7ca: Download complete 19:09:05 8998bd30e6a1: Verifying Checksum 19:09:05 8998bd30e6a1: Download complete 19:09:07 2437ff75d9bd: Verifying Checksum 19:09:07 2437ff75d9bd: Download complete 19:09:09 8998bd30e6a1: Pull complete 19:09:09 04944245beec: Pull complete 19:09:10 699f458cf7ca: Pull complete 19:09:11 765212b225bb: Pull complete 19:09:11 f23df028b6ca: Pull complete 19:09:12 d65c8cfc05b1: Pull complete 19:09:27 2437ff75d9bd: Pull complete 19:09:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:09:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:09:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:27 prd-ubuntu20.04-docker-arm64-4c-16g-8784 does not seem to be running inside a container 19:09:27 $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:09:29 $ docker top 3dabe5220612f4d85a9d75beb4046c2525892c5e264b28654d488532b71c05d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:09:30 ---> job-cost.sh 19:09:30 lf-activate-venv: SKIPPING 19:09:30 INFO: No Stack... 19:09:30 INFO: Retrieving Pricing Info for: v3-standard-4 19:09:31 INFO: Archiving Costs [Pipeline] sh 19:09:31 + cat /w/workspace/device-onvif-camera/9/archives/cost.csv 19:09:31 + cut -d, -f6 [Pipeline] lock 19:09:32 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] 19:09:32 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] did not exist. Created. 19:09:32 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:09:32 /w/workspace/device-onvif-camera/9@tmp/durable-e09cf4b4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:09:32 + echo total: 0.10999999940395355 [Pipeline] stash 19:09:32 Warning: overwriting stash ‘stack-cost’ 19:09:32 Stashed 1 file(s) [Pipeline] } 19:09:32 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] [Pipeline] // lock [Pipeline] } 19:09:32 $ docker stop --time=1 3dabe5220612f4d85a9d75beb4046c2525892c5e264b28654d488532b71c05d3 19:09:34 $ docker rm -f 3dabe5220612f4d85a9d75beb4046c2525892c5e264b28654d488532b71c05d3 [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 19:09:34 provisioning config files... 19:09:34 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config15760072367657581329tmp [Pipeline] { [Pipeline] sh 19:09:34 + set +x 19:09:34 + + curl -sbash https://codecov.io/bash -s 19:09:34 -- 19:09:34 19:09:34 _____ _ 19:09:34 / ____| | | 19:09:34 | | ___ __| | ___ ___ _____ __ 19:09:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:09:34 | |___| (_) | (_| | __/ (_| (_) \ V / 19:09:34 \_____\___/ \__,_|\___|\___\___/ \_/ 19:09:34 Bash-1.0.6 19:09:34 19:09:34 19:09:34 ==> git version 2.25.1 found 19:09:34 ==> 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 19:09:34 Release-Date: 2020-01-08 19:09:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:09:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:09:34 ==> Jenkins CI detected. 19:09:34 current dir:  /w/workspace/undry_device-onvif-camera_PR-180 19:09:34 project root: . 19:09:34 --> token set from env 19:09:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:09:34 ==> Running gcov in . (disable via -X gcov) 19:09:34 ==> Python coveragepy not found 19:09:34 ==> Searching for coverage reports in: 19:09:34 + . 19:09:34 -> Found 1 reports 19:09:34 ==> Detecting git/mercurial file structure 19:09:34 ==> Reading reports 19:09:35 + ./coverage.out bytes=78636 19:09:35 ==> Appending adjustments 19:09:35 https://docs.codecov.io/docs/fixing-reports 19:09:35 + Found adjustments 19:09:35 ==> Gzipping contents 19:09:35 12K /tmp/codecov.wvmxJb.gz 19:09:35 ==> Uploading reports 19:09:35 url: https://codecov.io 19:09:35 query: branch=PR-180&commit=525b448516f7ccbfc29b672512b49cbee4360610&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 19:09:35 -> Pinging Codecov 19:09:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-180&commit=525b448516f7ccbfc29b672512b49cbee4360610&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 19:09:35 -> Uploading to 19:09:35 https://storage.googleapis.com/codecov/v4/raw/2022-10-21/F29A59C45E3A92E06B3E522C9905F8EF/525b448516f7ccbfc29b672512b49cbee4360610/ebcdd996-f074-419d-b2ff-5261fa8acadf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221021%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221021T190935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f26ba4143e80d479587d403b07970b32ca69dc08287ce83fcf115a8877dd513f 19:09:35 % Total % Received % Xferd Average Speed Time Time Time Current 19:09:35 Dload Upload Total Spent Left Speed 19:09:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10794 0 0 100 10794 0 53172 --:--:-- --:--:-- --:--:-- 52911 100 10794 0 0 100 10794 0 43700 --:--:-- --:--:-- --:--:-- 43524 19:09:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/525b448516f7ccbfc29b672512b49cbee4360610 [Pipeline] } 19:09:35 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 19:09:36 + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] 19:09:36 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 19:09:36 total 16 19:09:36 drwxr-xr-x 3 root root 4096 Oct 21 19:01 . 19:09:36 drwxrwxr-x 11 jenkins jenkins 4096 Oct 21 19:01 .. 19:09:36 drwxr-xr-x 2 root root 4096 Oct 21 19:01 cost 19:09:36 -rw-r--r-- 1 root root 91 Oct 21 19:01 cost.csv 19:09:36 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives 19:09:36 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 19:09:36 total 16 19:09:36 drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 19:01 . 19:09:36 drwxrwxr-x 11 jenkins jenkins 4096 Oct 21 19:01 .. 19:09:36 drwxr-xr-x 2 jenkins jenkins 4096 Oct 21 19:01 cost 19:09:36 -rw-r--r-- 1 jenkins jenkins 91 Oct 21 19:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:09:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:09:37 ---> package-listing.sh 19:09:37 ++ facter osfamily 19:09:37 ++ tr '[:upper:]' '[:lower:]' 19:09:37 + OS_FAMILY=debian 19:09:37 + workspace=/w/workspace/undry_device-onvif-camera_PR-180 19:09:37 + START_PACKAGES=/tmp/packages_start.txt 19:09:37 + END_PACKAGES=/tmp/packages_end.txt 19:09:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:09:37 + PACKAGES=/tmp/packages_start.txt 19:09:37 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 19:09:37 + PACKAGES=/tmp/packages_end.txt 19:09:37 + case "${OS_FAMILY}" in 19:09:37 + dpkg -l 19:09:37 + grep '^ii' 19:09:37 + '[' -f /tmp/packages_start.txt ']' 19:09:37 + '[' -f /tmp/packages_end.txt ']' 19:09:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:09:37 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 19:09:37 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ 19:09:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-180/archives/ [Pipeline] echo 19:09:37 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-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:09:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:38 prd-ubuntu20.04-docker-8c-8g-8783 does not seem to be running inside a container 19:09:38 $ 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-180/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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:09:38 $ docker top 56b5998e9c449c24ae3ca86dc5643b93251463341336da707cfdfa5cb23bb8fd -eo pid,comm [Pipeline] { [Pipeline] sh 19:09:39 + touch /tmp/pre-build-complete [Pipeline] sh 19:09:39 + mkdir -p /var/log/sysstat [Pipeline] sh 19:09:39 + ls /var/log/sa-host 19:09:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:09:39 provisioning config files... 19:09:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config14749618621552533719tmp [Pipeline] { [Pipeline] echo 19:09:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:09:40 ---> create-netrc.sh [Pipeline] } 19:09:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:09:40 ---> python-tools-install.sh [Pipeline] echo 19:09:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:09:40 ---> sudo-logs.sh 19:09:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:09:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:09:41 ---> job-cost.sh 19:09:41 lf-activate-venv: SKIPPING 19:09:41 DEBUG: total: 0.2199999988079071 19:09:41 INFO: Retrieving Stack Cost... 19:09:41 INFO: Retrieving Pricing Info for: v3-standard-8 19:09:42 INFO: Archiving Costs [Pipeline] echo 19:09:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:09:42 ---> logs-deploy.sh 19:09:42 lf-activate-venv: SKIPPING 19:09:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/9 19:09:42 INFO: archiving workspace using pattern(s): 19:09:43 Archives upload complete. 19:09:43 INFO: archiving logs to Nexus 19:09:44 ---> uname -a: 19:09:44 Linux prd-ubuntu20-04-docker-8c-8g-8783 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:09:44 19:09:44 19:09:44 ---> lscpu: 19:09:44 Architecture: x86_64 19:09:44 CPU op-mode(s): 32-bit, 64-bit 19:09:44 Byte Order: Little Endian 19:09:44 Address sizes: 40 bits physical, 48 bits virtual 19:09:44 CPU(s): 8 19:09:44 On-line CPU(s) list: 0-7 19:09:44 Thread(s) per core: 1 19:09:44 Core(s) per socket: 1 19:09:44 Socket(s): 8 19:09:44 NUMA node(s): 1 19:09:44 Vendor ID: AuthenticAMD 19:09:44 CPU family: 23 19:09:44 Model: 49 19:09:44 Model name: AMD EPYC-Rome Processor 19:09:44 Stepping: 0 19:09:44 CPU MHz: 2799.998 19:09:44 BogoMIPS: 5599.99 19:09:44 Virtualization: AMD-V 19:09:44 Hypervisor vendor: KVM 19:09:44 Virtualization type: full 19:09:44 L1d cache: 256 KiB 19:09:44 L1i cache: 256 KiB 19:09:44 L2 cache: 4 MiB 19:09:44 L3 cache: 128 MiB 19:09:44 NUMA node0 CPU(s): 0-7 19:09:44 Vulnerability Itlb multihit: Not affected 19:09:44 Vulnerability L1tf: Not affected 19:09:44 Vulnerability Mds: Not affected 19:09:44 Vulnerability Meltdown: Not affected 19:09:44 Vulnerability Mmio stale data: Not affected 19:09:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:09:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:09:44 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:09:44 Vulnerability Srbds: Not affected 19:09:44 Vulnerability Tsx async abort: Not affected 19:09:44 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 19:09:44 19:09:44 19:09:44 ---> nproc: 19:09:44 8 19:09:44 19:09:44 19:09:44 ---> df -h: 19:09:44 Filesystem Size Used Avail Use% Mounted on 19:09:44 overlay 155G 12G 144G 8% / 19:09:44 tmpfs 64M 0 64M 0% /dev 19:09:44 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:09:44 shm 64M 0 64M 0% /dev/shm 19:09:44 /dev/vda1 155G 12G 144G 8% /facter-os 19:09:44 19:09:44 19:09:44 ---> sar -b -r -n DEV: 19:09:44 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8783) 10/21/22 _x86_64_ (8 CPU) 19:09:44 19:09:44 18:59:02 LINUX RESTART (8 CPU) 19:09:44 19:09:44 19:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:09:44 19:01:01 177.41 1.60 175.81 0.00 51.45 66460.65 0.00 19:09:44 19:02:01 192.82 0.22 192.60 0.00 8.53 44048.93 0.00 19:09:44 19:03:01 1.55 0.00 1.55 0.00 0.00 287.44 0.00 19:09:44 19:04:01 1.82 0.00 1.82 0.00 0.00 288.97 0.00 19:09:44 19:05:01 39.18 9.38 29.80 0.00 2895.65 5068.76 0.00 19:09:44 19:06:01 1.87 0.00 1.87 0.00 0.00 290.08 0.00 19:09:44 19:07:01 1.48 0.00 1.48 0.00 0.00 206.06 0.00 19:09:44 19:08:01 2.05 0.00 2.05 0.00 0.00 291.42 0.00 19:09:44 19:09:01 1.23 0.00 1.23 0.00 0.00 282.71 0.00 19:09:44 Average: 46.60 1.24 45.36 0.00 328.38 13025.28 0.00 19:09:44 19:09:44 19:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:09:44 19:01:01 28339480 31557020 746656 2.27 136056 3272936 1901984 5.61 1269228 2819428 155176 19:09:44 19:02:01 27728848 31564532 739500 2.25 148324 3845244 1786124 5.26 1312380 3349488 352 19:09:44 19:03:01 27728328 31564084 739724 2.25 148348 3845248 1786124 5.26 1312064 3349492 12 19:09:44 19:04:01 27735820 31571636 731840 2.23 148392 3845248 1786124 5.26 1304516 3349492 56 19:09:44 19:05:01 27441676 31553548 734608 2.23 166788 4094508 1818120 5.36 1458892 3463548 4 19:09:44 19:06:01 27450548 31562564 725300 2.21 166840 4094508 1818120 5.36 1449668 3463548 16 19:09:44 19:07:01 27450200 31562332 725504 2.21 166912 4094504 1818120 5.36 1449712 3463592 8 19:09:44 19:08:01 27450128 31562460 725340 2.21 166984 4094640 1818120 5.36 1449796 3463720 8 19:09:44 19:09:01 27450084 31562552 725480 2.21 167040 4094636 1818120 5.36 1449828 3463824 20 19:09:44 Average: 27641679 31562303 732661 2.23 157298 3920164 1816773 5.35 1384009 3354015 17295 19:09:44 19:09:44 19:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:09:44 19:01:01 veth7916cb7 0.00 0.18 0.00 0.02 0.00 0.00 0.00 0.00 19:09:44 19:01:01 docker0 131.84 194.09 11.12 1737.25 0.00 0.00 0.00 0.00 19:09:44 19:01:01 lo 1.73 1.73 0.17 0.17 0.00 0.00 0.00 0.00 19:09:44 19:01:01 ens3 356.11 231.99 5696.57 35.47 0.00 0.00 0.00 0.00 19:09:44 19:02:01 docker0 10.01 14.28 0.59 98.86 0.00 0.00 0.00 0.00 19:09:44 19:02:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 19:09:44 19:02:01 ens3 145.16 114.53 2649.12 97.24 0.00 0.00 0.00 0.00 19:09:44 19:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:09:44 19:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:09:44 19:03:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:09:44 19:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:09:44 19:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:09:44 19:04:01 ens3 0.55 0.13 0.06 0.01 0.00 0.00 0.00 0.00 19:09:44 19:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:09:44 19:05:01 lo 0.60 0.60 0.05 0.05 0.00 0.00 0.00 0.00 19:09:44 19:05:01 ens3 75.22 45.76 1299.13 3.73 0.00 0.00 0.00 0.00 19:09:44 19:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:09:44 19:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:09:44 19:06:01 ens3 0.18 0.13 0.01 0.01 0.00 0.00 0.00 0.00 19:09:44 19:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:09:44 19:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:09:44 19:07:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:09:44 19:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:09:44 19:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:09:44 19:08:01 ens3 2.02 0.75 2.17 0.30 0.00 0.00 0.00 0.00 19:09:44 19:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:09:44 19:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:09:44 19:09:01 ens3 0.88 0.15 0.30 0.19 0.00 0.00 0.00 0.00 19:09:44 Average: docker0 15.76 23.15 1.30 204.03 0.00 0.00 0.00 0.00 19:09:44 Average: lo 0.56 0.56 0.05 0.05 0.00 0.00 0.00 0.00 19:09:44 Average: ens3 64.46 43.72 1071.96 15.22 0.00 0.00 0.00 0.00 19:09:44 19:09:44 19:09:44 ---> sar -P ALL: 19:09:44 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8783) 10/21/22 _x86_64_ (8 CPU) 19:09:44 19:09:44 18:59:02 LINUX RESTART (8 CPU) 19:09:44 19:09:44 19:00:01 CPU %user %nice %system %iowait %steal %idle 19:09:44 19:01:01 all 31.33 0.00 7.29 1.25 0.08 60.04 19:09:44 19:01:01 0 30.88 0.00 7.32 0.12 0.07 61.61 19:09:44 19:01:01 1 33.73 0.00 7.27 0.12 0.08 58.79 19:09:44 19:01:01 2 31.32 0.00 7.85 0.90 0.08 59.85 19:09:44 19:01:01 3 31.07 0.00 7.05 0.05 0.08 61.75 19:09:44 19:01:01 4 32.35 0.00 7.59 3.68 0.08 56.29 19:09:44 19:01:01 5 30.25 0.00 6.20 1.86 0.08 61.61 19:09:44 19:01:01 6 30.24 0.00 7.08 2.91 0.07 59.71 19:09:44 19:01:01 7 30.82 0.00 7.99 0.39 0.10 60.69 19:09:44 19:02:01 all 20.34 0.00 4.65 1.05 0.06 73.92 19:09:44 19:02:01 0 19.76 0.00 4.50 0.24 0.07 75.43 19:09:44 19:02:01 1 21.54 0.00 3.82 0.23 0.05 74.35 19:09:44 19:02:01 2 19.56 0.00 4.60 0.47 0.05 75.32 19:09:44 19:02:01 3 20.15 0.00 4.78 0.30 0.05 74.72 19:09:44 19:02:01 4 20.11 0.00 5.03 0.69 0.07 74.10 19:09:44 19:02:01 5 20.16 0.00 4.43 2.39 0.05 72.97 19:09:44 19:02:01 6 20.56 0.00 4.66 1.58 0.05 73.15 19:09:44 19:02:01 7 20.84 0.00 5.35 2.49 0.07 71.25 19:09:44 19:03:01 all 0.27 0.00 0.01 0.00 0.01 99.70 19:09:44 19:03:01 0 0.03 0.00 0.03 0.00 0.00 99.93 19:09:44 19:03:01 1 1.97 0.00 0.00 0.00 0.02 98.01 19:09:44 19:03:01 2 0.05 0.00 0.00 0.00 0.00 99.95 19:09:44 19:03:01 3 0.00 0.00 0.00 0.00 0.00 100.00 19:09:44 19:03:01 4 0.00 0.00 0.02 0.00 0.00 99.98 19:09:44 19:03:01 5 0.03 0.00 0.02 0.00 0.02 99.93 19:09:44 19:03:01 6 0.03 0.00 0.03 0.02 0.03 99.88 19:09:44 19:03:01 7 0.02 0.00 0.02 0.02 0.00 99.95 19:09:44 19:04:01 all 0.27 0.00 0.02 0.01 0.01 99.70 19:09:44 19:04:01 0 0.02 0.00 0.03 0.00 0.02 99.93 19:09:44 19:04:01 1 2.00 0.00 0.02 0.03 0.00 97.95 19:09:44 19:04:01 2 0.02 0.00 0.00 0.00 0.02 99.97 19:09:44 19:04:01 3 0.00 0.00 0.00 0.00 0.00 100.00 19:09:44 19:04:01 4 0.02 0.00 0.00 0.00 0.00 99.98 19:09:44 19:04:01 5 0.05 0.00 0.03 0.00 0.00 99.92 19:09:44 19:04:01 6 0.03 0.00 0.03 0.02 0.02 99.90 19:09:44 19:04:01 7 0.00 0.00 0.02 0.00 0.00 99.98 19:09:44 19:05:01 all 1.41 0.00 0.76 0.29 0.02 97.53 19:09:44 19:05:01 0 1.05 0.00 1.10 0.33 0.00 97.52 19:09:44 19:05:01 1 3.47 0.00 0.44 0.97 0.02 95.10 19:09:44 19:05:01 2 1.09 0.00 0.53 0.43 0.00 97.95 19:09:44 19:05:01 3 1.22 0.00 0.57 0.17 0.03 98.02 19:09:44 19:05:01 4 1.10 0.00 0.80 0.25 0.03 97.81 19:09:44 19:05:01 5 0.82 0.00 0.43 0.02 0.02 98.72 19:09:44 19:05:01 6 1.20 0.00 1.57 0.05 0.02 97.16 19:09:44 19:05:01 7 1.29 0.00 0.62 0.05 0.02 98.03 19:09:44 19:06:01 all 0.17 0.00 0.02 0.01 0.01 99.79 19:09:44 19:06:01 0 0.07 0.00 0.02 0.00 0.02 99.90 19:09:44 19:06:01 1 1.11 0.00 0.13 0.00 0.02 98.74 19:09:44 19:06:01 2 0.02 0.00 0.00 0.03 0.02 99.93 19:09:44 19:06:01 3 0.05 0.00 0.03 0.00 0.00 99.92 19:09:44 19:06:01 4 0.05 0.00 0.00 0.02 0.02 99.92 19:09:44 19:06:01 5 0.02 0.00 0.00 0.00 0.00 99.98 19:09:44 19:06:01 6 0.02 0.00 0.00 0.02 0.00 99.97 19:09:44 19:06:01 7 0.00 0.00 0.00 0.00 0.00 100.00 19:09:44 19:07:01 all 0.02 0.00 0.01 0.01 0.01 99.95 19:09:44 19:07:01 0 0.05 0.00 0.03 0.00 0.00 99.92 19:09:44 19:07:01 1 0.03 0.00 0.00 0.00 0.00 99.97 19:09:44 19:07:01 2 0.02 0.00 0.03 0.05 0.00 99.90 19:09:44 19:07:01 3 0.02 0.00 0.00 0.00 0.02 99.97 19:09:44 19:07:01 4 0.03 0.00 0.02 0.00 0.02 99.93 19:09:44 19:07:01 5 0.00 0.00 0.02 0.00 0.00 99.98 19:09:44 19:07:01 6 0.00 0.00 0.00 0.02 0.02 99.97 19:09:44 19:07:01 7 0.00 0.00 0.00 0.00 0.00 100.00 19:09:44 19:08:01 all 0.03 0.00 0.01 0.01 0.01 99.94 19:09:44 19:08:01 0 0.03 0.00 0.02 0.00 0.02 99.93 19:09:44 19:08:01 1 0.05 0.00 0.02 0.00 0.02 99.92 19:09:44 19:08:01 2 0.07 0.00 0.00 0.05 0.02 99.87 19:09:44 19:08:01 3 0.02 0.00 0.00 0.00 0.03 99.95 19:09:44 19:08:01 4 0.03 0.00 0.02 0.00 0.03 99.92 19:09:44 19:08:01 5 0.02 0.00 0.00 0.00 0.00 99.98 19:09:44 19:08:01 6 0.02 0.00 0.00 0.02 0.00 99.97 19:09:44 19:08:01 7 0.03 0.00 0.00 0.00 0.00 99.97 19:09:44 19:09:01 all 0.02 0.00 0.02 0.01 0.00 99.95 19:09:44 19:09:01 0 0.00 0.00 0.02 0.00 0.00 99.98 19:09:44 19:09:01 1 0.03 0.00 0.02 0.00 0.00 99.95 19:09:44 19:09:01 2 0.05 0.00 0.03 0.02 0.00 99.90 19:09:44 19:09:01 3 0.02 0.00 0.03 0.00 0.02 99.93 19:09:44 19:09:01 4 0.03 0.00 0.05 0.00 0.02 99.90 19:09:44 19:09:01 5 0.00 0.00 0.00 0.02 0.00 99.98 19:09:44 19:09:01 6 0.00 0.00 0.00 0.02 0.00 99.98 19:09:44 19:09:01 7 0.00 0.00 0.00 0.00 0.00 100.00 19:09:44 Average: all 5.93 0.00 1.41 0.29 0.02 92.36 19:09:44 Average: 0 5.72 0.00 1.44 0.08 0.02 92.75 19:09:44 Average: 1 7.05 0.00 1.29 0.15 0.02 91.49 19:09:44 Average: 2 5.75 0.00 1.44 0.22 0.02 92.58 19:09:44 Average: 3 5.79 0.00 1.37 0.06 0.03 92.76 19:09:44 Average: 4 5.91 0.00 1.49 0.51 0.03 92.07 19:09:44 Average: 5 5.65 0.00 1.23 0.47 0.02 92.63 19:09:44 Average: 6 5.74 0.00 1.48 0.51 0.02 92.25 19:09:44 Average: 7 5.80 0.00 1.53 0.32 0.02 92.32 19:09:44 19:09:44 19:09:44