Pull request #192 opened 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 lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 40f84b5f8ca1c354021d09f3f44cc68af5da1469+8e26798799e0d9344b61f434dca15061827fa01a (87cf0d3ca4803db029eb1fd7b5abd61a666e16c4) 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-ssh1814632215941842783.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh605029163796564407.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8888451534133012400.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15828863379511191479.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh9417222692946246875.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-192/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-192/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16031837260975918939.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-118013’ Running on prd-ubuntu20.04-docker-8c-8g-118015 in /w/workspace/undry_device-onvif-camera_PR-192 [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-192 # 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 Merging remotes/origin/main commit 8e26798799e0d9344b61f434dca15061827fa01a into PR head commit 40f84b5f8ca1c354021d09f3f44cc68af5da1469 Merge succeeded, producing 40f84b5f8ca1c354021d09f3f44cc68af5da1469 Checking out Revision 40f84b5f8ca1c354021d09f3f44cc68af5da1469 (PR-192) > 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/192/head:refs/remotes/origin/PR-192 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40f84b5f8ca1c354021d09f3f44cc68af5da1469 # 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 8e26798799e0d9344b61f434dca15061827fa01a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40f84b5f8ca1c354021d09f3f44cc68af5da1469 # timeout=10 Commit message: "docs: Levski Change Log" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:52:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:52:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:52:16 ========================================================= 23:52:16 EdgeX Global Pipelines Version Info 23:52:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:52:17 ------------------- 23:52:17 stable info: 23:52:17 ------------------- 23:52:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:52:17 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:52:17 Message: update stable to v1.0.244 23:52:18 ------------------- 23:52:18 experimental info: 23:52:18 ------------------- 23:52:18 Commited By: **** collab-it+edgex@linuxfoundation.org 23:52:18 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:52:18 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:52:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:52:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:52:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:52:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:52:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:52:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:52:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:52:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:52:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:52:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:52:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-192 [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-192 [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-192 [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40f84b5f8ca1c354021d09f3f44cc68af5da1469 [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40f84b5 [Pipeline] echo 23:52:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:20 provisioning config files... 23:52:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-192@tmp/config2823625957565804750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:20 ---> docker-login.sh 23:52:20 nexus3.edgexfoundry.org:10001 23:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:20 Configure a credential helper to remove this warning. See 23:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:20 23:52:20 Login Succeeded 23:52:20 nexus3.edgexfoundry.org:10002 23:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:20 Configure a credential helper to remove this warning. See 23:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:20 23:52:20 Login Succeeded 23:52:20 nexus3.edgexfoundry.org:10003 23:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:20 Configure a credential helper to remove this warning. See 23:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:20 23:52:20 Login Succeeded 23:52:20 nexus3.edgexfoundry.org:10004 23:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:20 Configure a credential helper to remove this warning. See 23:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:20 23:52:20 Login Succeeded 23:52:20 docker.io 23:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:21 Configure a credential helper to remove this warning. See 23:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:21 23:52:21 Login Succeeded 23:52:21 ---> docker-login.sh ends [Pipeline] } 23:52:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:52:22 + git rev-list -1 --merges 40f84b5f8ca1c354021d09f3f44cc68af5da1469~1..40f84b5f8ca1c354021d09f3f44cc68af5da1469 [Pipeline] echo 23:52:22 -----------> git rev-list -1 --merges 40f84b5f8ca1c354021d09f3f44cc68af5da1469~1..40f84b5f8ca1c354021d09f3f44cc68af5da1469 40f84b5f8ca1c354021d09f3f44cc68af5da1469 [false] [Pipeline] sh 23:52:22 + git log --format=format:%s -1 40f84b5f8ca1c354021d09f3f44cc68af5da1469 [Pipeline] echo 23:52:22 ========================================================= 23:52:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:52:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:52:23 + git log --format=format:%s -1 40f84b5f8ca1c354021d09f3f44cc68af5da1469 [Pipeline] echo 23:52:23 [semverPrep] GIT_COMMIT: 40f84b5f8ca1c354021d09f3f44cc68af5da1469, Commit Message: docs: Levski Change Log [Pipeline] echo 23:52:23 [semverPrep] This is not a build commit. [Pipeline] sh 23:52:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:52:23 + grep -v github /etc/ssh/ssh_known_hosts 23:52:23 + [ -e /tmp/ssh_known_hosts ] 23:52:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:52:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:52:23 + sudo tee -a /etc/ssh/ssh_known_hosts 23:52:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:24 23:52:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:24 0.1.4: Pulling from edgex-devops/py-git-semver 23:52:24 b85a868b505f: Pulling fs layer 23:52:24 e2be974225ed: Pulling fs layer 23:52:24 339a4e72a1f5: Pulling fs layer 23:52:24 988bab9f4d93: Pulling fs layer 23:52:24 1469e6f7b9e6: Pulling fs layer 23:52:24 eaf3925da568: Pulling fs layer 23:52:24 bab4dde63d76: Pulling fs layer 23:52:24 1469e6f7b9e6: Waiting 23:52:24 988bab9f4d93: Waiting 23:52:24 eaf3925da568: Waiting 23:52:24 bde34c3a00c8: Pulling fs layer 23:52:24 bab4dde63d76: Waiting 23:52:24 b352a97aabf1: Pulling fs layer 23:52:24 bde34c3a00c8: Waiting 23:52:24 4872d77fe225: Pulling fs layer 23:52:24 b352a97aabf1: Waiting 23:52:24 4872d77fe225: Waiting 23:52:24 5851b861e8e6: Pulling fs layer 23:52:24 5851b861e8e6: Waiting 23:52:24 e2be974225ed: Download complete 23:52:24 988bab9f4d93: Download complete 23:52:24 1469e6f7b9e6: Verifying Checksum 23:52:24 1469e6f7b9e6: Download complete 23:52:24 339a4e72a1f5: Verifying Checksum 23:52:24 339a4e72a1f5: Download complete 23:52:24 eaf3925da568: Verifying Checksum 23:52:24 eaf3925da568: Download complete 23:52:24 bde34c3a00c8: Download complete 23:52:24 b352a97aabf1: Verifying Checksum 23:52:24 b352a97aabf1: Download complete 23:52:24 4872d77fe225: Download complete 23:52:24 5851b861e8e6: Verifying Checksum 23:52:24 5851b861e8e6: Download complete 23:52:24 b85a868b505f: Verifying Checksum 23:52:24 b85a868b505f: Download complete 23:52:24 bab4dde63d76: Verifying Checksum 23:52:24 bab4dde63d76: Download complete 23:52:25 b85a868b505f: Pull complete 23:52:25 e2be974225ed: Pull complete 23:52:26 339a4e72a1f5: Pull complete 23:52:26 988bab9f4d93: Pull complete 23:52:26 1469e6f7b9e6: Pull complete 23:52:26 eaf3925da568: Pull complete 23:52:28 bab4dde63d76: Pull complete 23:52:28 bde34c3a00c8: Pull complete 23:52:28 b352a97aabf1: Pull complete 23:52:28 4872d77fe225: Pull complete 23:52:28 5851b861e8e6: Pull complete 23:52:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:52:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:28 prd-ubuntu20.04-docker-8c-8g-118015 does not seem to be running inside a container 23:52:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-192 -v /w/workspace/undry_device-onvif-camera_PR-192:/w/workspace/undry_device-onvif-camera_PR-192:rw,z -v /w/workspace/undry_device-onvif-camera_PR-192@tmp:/w/workspace/undry_device-onvif-camera_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:52:31 $ docker top 528910693f8fd2555bc09da0b520088cc096feb103ec64a67b243d933980e501 -eo pid,comm 23:52:31 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). 23:52:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:52:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:52:31 [ssh-agent] Looking for ssh-agent implementation... 23:52:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:52:31 $ docker exec 528910693f8fd2555bc09da0b520088cc096feb103ec64a67b243d933980e501 ssh-agent 23:52:31 SSH_AUTH_SOCK=/tmp/ssh-nySBcqKPdqmV/agent.32 23:52:31 SSH_AGENT_PID=38 23:52:31 Running ssh-add (command line suppressed) 23:52:31 Identity added: /w/workspace/undry_device-onvif-camera_PR-192@tmp/private_key_7685801181766579661.key (/w/workspace/undry_device-onvif-camera_PR-192@tmp/private_key_7685801181766579661.key) 23:52:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:52:32 + git tag --points-at HEAD [Pipeline] } 23:52:32 $ docker exec --env ******** --env ******** 528910693f8fd2555bc09da0b520088cc096feb103ec64a67b243d933980e501 ssh-agent -k 23:52:32 unset SSH_AUTH_SOCK; 23:52:32 unset SSH_AGENT_PID; 23:52:32 echo Agent pid 38 killed; 23:52:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:52:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:52:32 [ssh-agent] Looking for ssh-agent implementation... 23:52:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:52:32 $ docker exec 528910693f8fd2555bc09da0b520088cc096feb103ec64a67b243d933980e501 ssh-agent 23:52:32 SSH_AUTH_SOCK=/tmp/ssh-Tp9YOWq2hifa/agent.70 23:52:32 SSH_AGENT_PID=76 23:52:32 Running ssh-add (command line suppressed) 23:52:32 Identity added: /w/workspace/undry_device-onvif-camera_PR-192@tmp/private_key_16095405446896243654.key (/w/workspace/undry_device-onvif-camera_PR-192@tmp/private_key_16095405446896243654.key) 23:52:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:52:32 + git semver init 23:52:33 2022-11-02 23:52:33,056 [run_init] DEBUG init version:0.0.0 force:False 23:52:33 2022-11-02 23:52:33,056 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-192/.semver 23:52:33 2022-11-02 23:52:33,057 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-192/.semver 23:52:33 2022-11-02 23:52:33,057 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-192/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-192, universal_newlines=False, shell=None, istream=None) 23:52:34 2022-11-02 23:52:34,142 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-192/.git/info/exclude 23:52:34 2022-11-02 23:52:34,143 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-192/.semver/PR-192 with force:False 23:52:34 2022-11-02 23:52:34,143 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-192/.semver/PR-192 23:52:34 2022-11-02 23:52:34,147 [execute] INFO git cat-file --batch-check 23:52:34 2022-11-02 23:52:34,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-192/.semver, universal_newlines=False, shell=None, istream=) 23:52:34 2022-11-02 23:52:34,154 [execute] INFO git cat-file --batch 23:52:34 2022-11-02 23:52:34,154 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-192/.semver, universal_newlines=False, shell=None, istream=) 23:52:34 2022-11-02 23:52:34,159 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-192/.semver/PR-192 23:52:34 0.0.0 [Pipeline] } 23:52:34 $ docker exec --env ******** --env ******** 528910693f8fd2555bc09da0b520088cc096feb103ec64a67b243d933980e501 ssh-agent -k 23:52:34 unset SSH_AUTH_SOCK; 23:52:34 unset SSH_AGENT_PID; 23:52:34 echo Agent pid 76 killed; 23:52:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:52:35 + git semver [Pipeline] } 23:52:35 $ docker stop --time=1 528910693f8fd2555bc09da0b520088cc096feb103ec64a67b243d933980e501 23:52:36 $ docker rm -f 528910693f8fd2555bc09da0b520088cc096feb103ec64a67b243d933980e501 [Pipeline] // withDockerContainer [Pipeline] sh 23:52:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:52:37 Stashed 1 file(s) [Pipeline] echo 23:52:37 [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 23:52:38 provisioning config files... 23:52:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-192@tmp/config10590355357641870993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:38 ---> docker-login.sh 23:52:38 nexus3.edgexfoundry.org:10001 23:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:38 Configure a credential helper to remove this warning. See 23:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:38 23:52:38 Login Succeeded 23:52:38 nexus3.edgexfoundry.org:10002 23:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:38 Configure a credential helper to remove this warning. See 23:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:38 23:52:38 Login Succeeded 23:52:38 nexus3.edgexfoundry.org:10003 23:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:38 Configure a credential helper to remove this warning. See 23:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:38 23:52:38 Login Succeeded 23:52:38 nexus3.edgexfoundry.org:10004 23:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:38 Configure a credential helper to remove this warning. See 23:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:38 23:52:38 Login Succeeded 23:52:38 docker.io 23:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:39 Configure a credential helper to remove this warning. See 23:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:39 23:52:39 Login Succeeded 23:52:39 ---> docker-login.sh ends [Pipeline] } 23:52:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:52:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:52:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:52:39 ========================================================= 23:52:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:52:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:40 + 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 . 23:52:40 Sending build context to Docker daemon 27.53MB 23:52:40 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:52:40 Step 2/13 : FROM ${BASE} AS builder 23:52:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:52:40 213ec9aee27d: Pulling fs layer 23:52:40 4583459ba037: Pulling fs layer 23:52:40 93c1e223e6f2: Pulling fs layer 23:52:40 53926ce57604: Pulling fs layer 23:52:40 21b2b0c7a3f4: Pulling fs layer 23:52:40 22ff95d597cd: Pulling fs layer 23:52:40 12d6caf4c0d1: Pulling fs layer 23:52:40 96b7cbca73a9: Pulling fs layer 23:52:40 a7acece74701: Pulling fs layer 23:52:40 53926ce57604: Waiting 23:52:40 22ff95d597cd: Waiting 23:52:40 21b2b0c7a3f4: Waiting 23:52:40 96b7cbca73a9: Waiting 23:52:40 a7acece74701: Waiting 23:52:40 93c1e223e6f2: Verifying Checksum 23:52:40 93c1e223e6f2: Download complete 23:52:40 4583459ba037: Verifying Checksum 23:52:40 4583459ba037: Download complete 23:52:40 21b2b0c7a3f4: Verifying Checksum 23:52:40 21b2b0c7a3f4: Download complete 23:52:40 22ff95d597cd: Verifying Checksum 23:52:40 22ff95d597cd: Download complete 23:52:40 213ec9aee27d: Download complete 23:52:40 12d6caf4c0d1: Verifying Checksum 23:52:40 12d6caf4c0d1: Download complete 23:52:40 213ec9aee27d: Pull complete 23:52:40 4583459ba037: Pull complete 23:52:40 93c1e223e6f2: Pull complete 23:52:40 a7acece74701: Download complete 23:52:40 96b7cbca73a9: Verifying Checksum 23:52:40 96b7cbca73a9: Download complete 23:52:41 53926ce57604: Verifying Checksum 23:52:41 53926ce57604: Download complete 23:52:44 53926ce57604: Pull complete 23:52:44 21b2b0c7a3f4: Pull complete 23:52:44 22ff95d597cd: Pull complete 23:52:44 12d6caf4c0d1: Pull complete 23:52:46 96b7cbca73a9: Pull complete 23:52:47 a7acece74701: Pull complete 23:52:47 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:52:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:52:47 ---> db6d94c90886 23:52:47 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:52:51 ---> Running in c2f7e6bcbecd 23:52:51 Removing intermediate container c2f7e6bcbecd 23:52:51 ---> f013a4ebe148 23:52:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:52:51 ---> Running in 7fa78d3a7e8c 23:52:51 Removing intermediate container 7fa78d3a7e8c 23:52:51 ---> 287fe6a56119 23:52:51 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:52:51 ---> Running in fe02f4e637e9 23:52:51 Removing intermediate container fe02f4e637e9 23:52:51 ---> e5679d983d6b 23:52:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:52:51 ---> Running in 23d21f233125 23:52:51 Removing intermediate container 23d21f233125 23:52:51 ---> 4e288e633c6d 23:52:51 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:52:51 ---> Running in dccf188c95d6 23:52:51 Removing intermediate container dccf188c95d6 23:52:51 ---> cf4de267ff0b 23:52:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:52:51 ---> Running in ab1e0417dd7d 23:52:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:52:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:52:51 OK: 211 MiB in 51 packages 23:52:52 Removing intermediate container ab1e0417dd7d 23:52:52 ---> 366da27145ca 23:52:52 Step 9/13 : WORKDIR /device-onvif-camera 23:52:52 ---> Running in c6db1fdb942f 23:52:52 Removing intermediate container c6db1fdb942f 23:52:52 ---> d31f10aed8ca 23:52:52 Step 10/13 : COPY go.mod vendor* ./ 23:52:52 ---> 2826d0d123f4 23:52:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:52:52 ---> Running in b4cc04b59049 23:52:52 Still waiting to schedule task 23:52:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-118014’ is offline 23:53:24 Removing intermediate container b4cc04b59049 23:53:24 ---> bc3aff6b5531 23:53:24 Step 12/13 : COPY . . 23:53:24 ---> 6f6978d0c06c 23:53:24 Step 13/13 : RUN ${MAKE} 23:53:24 ---> Running in 11aca8384b6b 23:53:24 noop 23:53:24 Removing intermediate container 11aca8384b6b 23:53:24 ---> cbf43e7f6f3a 23:53:24 Successfully built cbf43e7f6f3a 23:53:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:24 + docker inspect -f . ci-base-image-x86_64 23:53:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:24 prd-ubuntu20.04-docker-8c-8g-118015 does not seem to be running inside a container 23:53:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-192 -v /w/workspace/undry_device-onvif-camera_PR-192:/w/workspace/undry_device-onvif-camera_PR-192:rw,z -v /w/workspace/undry_device-onvif-camera_PR-192@tmp:/w/workspace/undry_device-onvif-camera_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:53:25 $ docker top 03e1fdf32206b714ce0ece080291d5780ed955d1ab63e5009024c0285b387e61 -eo pid,comm [Pipeline] { [Pipeline] sh 23:53:25 + go version 23:53:25 go version go1.18.7 linux/amd64 [Pipeline] } 23:53:25 $ docker stop --time=1 03e1fdf32206b714ce0ece080291d5780ed955d1ab63e5009024c0285b387e61 23:53:27 $ docker rm -f 03e1fdf32206b714ce0ece080291d5780ed955d1ab63e5009024c0285b387e61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:27 + docker inspect -f . ci-base-image-x86_64 23:53:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:27 prd-ubuntu20.04-docker-8c-8g-118015 does not seem to be running inside a container 23:53:27 $ 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-192 -v /w/workspace/undry_device-onvif-camera_PR-192:/w/workspace/undry_device-onvif-camera_PR-192:rw,z -v /w/workspace/undry_device-onvif-camera_PR-192@tmp:/w/workspace/undry_device-onvif-camera_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:53:28 $ docker top 192e1cbf7cdb3e861e15184a43c9868e612ed2c0f49377a24cc43408c126f5d3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:53:28 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-192 [Pipeline] fileExists [Pipeline] sh 23:53:29 + make test 23:53:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:53:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:53:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:53:42 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 29.3% of statements 23:53:42 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:53:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.311s coverage: 86.5% of statements 23:53:49 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." 23:53:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:53:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:53:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:53:52 ./bin/test-attribution-txt.sh [Pipeline] echo 23:53:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:53:52 $ docker stop --time=1 192e1cbf7cdb3e861e15184a43c9868e612ed2c0f49377a24cc43408c126f5d3 23:53:55 $ docker rm -f 192e1cbf7cdb3e861e15184a43c9868e612ed2c0f49377a24cc43408c126f5d3 [Pipeline] // withDockerContainer [Pipeline] sh 23:53:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:53:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:53:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:53:56 + ls -al . 23:53:56 total 248 23:53:56 drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 23:53 . 23:53:56 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:52 .. 23:53:56 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 23:53 .git 23:53:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 23:52 .github 23:53:56 -rw-rw-r-- 1 jenkins jenkins 496 Nov 2 23:52 .gitignore 23:53:56 -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 23:52 .golangci.yml 23:53:56 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 23:52 .semver 23:53:56 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 2 23:52 Attribution.txt 23:53:56 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 2 23:52 CHANGELOG.md 23:53:56 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 2 23:52 Dockerfile 23:53:56 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 23:52 GOVERNANCE.md 23:53:56 -rw-rw-r-- 1 jenkins jenkins 734 Nov 2 23:52 Jenkinsfile 23:53:56 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 2 23:52 LICENSE 23:53:56 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 2 23:52 Makefile 23:53:56 -rw-rw-r-- 1 jenkins jenkins 625 Nov 2 23:52 OWNERS.md 23:53:56 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 2 23:52 README.md 23:53:56 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 23:52 VERSION 23:53:56 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 23:52 bin 23:53:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 23:52 cmd 23:53:56 -rw-r--r-- 1 jenkins jenkins 79184 Nov 2 23:53 coverage.out 23:53:56 drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 23:52 doc 23:53:56 -rw-rw-r-- 1 jenkins jenkins 3736 Nov 2 23:52 go.mod 23:53:56 -rw-rw-r-- 1 jenkins jenkins 46203 Nov 2 23:52 go.sum 23:53:56 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:52 internal 23:53:56 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:52 snap 23:53:56 -rw-rw-r-- 1 jenkins jenkins 236 Nov 2 23:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:57 + 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=40f84b5f8ca1c354021d09f3f44cc68af5da1469 --label arch=amd64 --label version=0.0.0 . 23:53:57 Sending build context to Docker daemon 27.61MB 23:53:57 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:53:57 Step 2/26 : FROM ${BASE} AS builder 23:53:57 ---> cbf43e7f6f3a 23:53:57 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:53:57 ---> Running in e95e83d052e9 23:53:57 Removing intermediate container e95e83d052e9 23:53:57 ---> 9ff8b2a3f20e 23:53:57 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:53:57 ---> Running in 1baff0642654 23:53:57 Removing intermediate container 1baff0642654 23:53:57 ---> 61084ac73ea6 23:53:57 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:53:57 ---> Running in a5304ceeeec1 23:53:57 Removing intermediate container a5304ceeeec1 23:53:57 ---> 08749e38ad8f 23:53:57 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:53:57 ---> Running in 8e92ff7000a7 23:53:58 Removing intermediate container 8e92ff7000a7 23:53:58 ---> 3f0dda9a0387 23:53:58 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:53:58 ---> Running in 483cd70c05a5 23:53:58 Removing intermediate container 483cd70c05a5 23:53:58 ---> 46de3ca1fb37 23:53:58 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:53:58 ---> Running in 8de3289e955e 23:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:53:58 OK: 211 MiB in 51 packages 23:53:58 Removing intermediate container 8de3289e955e 23:53:58 ---> 7046257424cb 23:53:58 Step 9/26 : WORKDIR /device-onvif-camera 23:53:58 ---> Running in 2b6c2fda1b89 23:53:59 Removing intermediate container 2b6c2fda1b89 23:53:59 ---> 516cbe063da0 23:53:59 Step 10/26 : COPY go.mod vendor* ./ 23:53:59 ---> f7802155c16e 23:53:59 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:53:59 ---> Running in 5cf7aa98547a 23:53:59 Removing intermediate container 5cf7aa98547a 23:53:59 ---> 99952a408b71 23:53:59 Step 12/26 : COPY . . 23:54:00 ---> ff0d837a3a66 23:54:00 Step 13/26 : RUN ${MAKE} 23:54:00 ---> Running in a3f05055817d 23:54:00 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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 23:54:22 Removing intermediate container a3f05055817d 23:54:22 ---> e445bc007afb 23:54:22 Step 14/26 : FROM alpine:3.16 23:54:22 3.16: Pulling from library/alpine 23:54:22 213ec9aee27d: Already exists 23:54:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:54:23 Status: Downloaded newer image for alpine:3.16 23:54:23 ---> 9c6f07244728 23:54:23 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:54:23 ---> Running in 67648db1f248 23:54:23 Removing intermediate container 67648db1f248 23:54:23 ---> 63cb366eef7d 23:54:23 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:54:23 ---> Running in 4fbe49b3a7a7 23:54:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118017 in /w/workspace/undry_device-onvif-camera_PR-192 [Pipeline] { [Pipeline] ws 23:54:23 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 23:54:23 The recommended git tool is: git 23:54:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:54:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:54:23 (1/6) Installing dumb-init (1.2.5-r1) 23:54:23 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:54:23 (3/6) Installing libsodium (1.0.18-r0) 23:54:23 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:54:23 (5/6) Installing libzmq (4.3.4-r0) 23:54:23 (6/6) Installing zeromq (4.3.4-r0) 23:54:23 Executing busybox-1.35.0-r17.trigger 23:54:23 OK: 8 MiB in 20 packages 23:54:24 Removing intermediate container 4fbe49b3a7a7 23:54:24 ---> 7ea4f36d9a17 23:54:24 Step 17/26 : WORKDIR / 23:54:24 ---> Running in cb6f24d7dd21 23:54:24 Removing intermediate container cb6f24d7dd21 23:54:24 ---> 9102500acbab 23:54:24 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:54:25 ---> 0d7e5652faa2 23:54:25 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:54:25 ---> b56d296c98bf 23:54:25 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:54:25 ---> a29f11799b13 23:54:25 Step 21/26 : EXPOSE 59984 23:54:25 ---> Running in c9b99795daba 23:54:25 Removing intermediate container c9b99795daba 23:54:25 ---> 7fa3d7f364b9 23:54:25 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:54:25 ---> Running in 9eca323714aa 23:54:25 Removing intermediate container 9eca323714aa 23:54:25 ---> 5bbace07945a 23:54:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:54:25 ---> Running in a9ca7065f8c1 23:54:25 Removing intermediate container a9ca7065f8c1 23:54:25 ---> 26fc0242bb08 23:54:25 Step 24/26 : LABEL arch=amd64 23:54:25 ---> Running in c3a32127f436 23:54:25 Removing intermediate container c3a32127f436 23:54:25 ---> c41e4f7e117a 23:54:25 Step 25/26 : LABEL git_sha=40f84b5f8ca1c354021d09f3f44cc68af5da1469 23:54:25 ---> Running in 300ca304eb36 23:54:25 Removing intermediate container 300ca304eb36 23:54:25 ---> f180a20df789 23:54:25 Step 26/26 : LABEL version=0.0.0 23:54:25 ---> Running in 37030b0cf5b5 23:54:25 Removing intermediate container 37030b0cf5b5 23:54:25 ---> 42ed0ec650de 23:54:25 [Warning] One or more build-args [ARCH] were not consumed 23:54:25 Successfully built 42ed0ec650de 23:54:25 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 23:54:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:26 23:54:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:27 latest: Pulling from edgex-lftools-log-publisher 23:54:27 5eb5b503b376: Pulling fs layer 23:54:27 5c69ac0246d0: Pulling fs layer 23:54:27 ec43610c2a17: Pulling fs layer 23:54:27 3a2ae6a8a46f: Pulling fs layer 23:54:27 33b1e0a273af: Pulling fs layer 23:54:27 5d3b04190fa2: Pulling fs layer 23:54:27 2f39f015ded8: Pulling fs layer 23:54:27 33b1e0a273af: Waiting 23:54:27 5d3b04190fa2: Waiting 23:54:27 2f39f015ded8: Waiting 23:54:27 3a2ae6a8a46f: Waiting 23:54:27 5c69ac0246d0: Download complete 23:54:27 3a2ae6a8a46f: Verifying Checksum 23:54:27 3a2ae6a8a46f: Download complete 23:54:27 33b1e0a273af: Verifying Checksum 23:54:27 33b1e0a273af: Download complete 23:54:27 5d3b04190fa2: Verifying Checksum 23:54:27 5d3b04190fa2: Download complete 23:54:27 ec43610c2a17: Verifying Checksum 23:54:27 ec43610c2a17: Download complete 23:54:27 5eb5b503b376: Verifying Checksum 23:54:27 5eb5b503b376: Download complete 23:54:28 2f39f015ded8: Download complete 23:54:28 5eb5b503b376: Pull complete 23:54:28 5c69ac0246d0: Pull complete 23:54:28 using credential edgex-jenkins-ssh 23:54:28 Cloning the remote Git repository 23:54:29 ec43610c2a17: Pull complete 23:54:29 3a2ae6a8a46f: Pull complete 23:54:29 33b1e0a273af: Pull complete 23:54:29 5d3b04190fa2: Pull complete 23:54:28 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:54:29 > git init /w/workspace/device-onvif-camera/1 # timeout=10 23:54:29 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:54:29 > git --version # timeout=10 23:54:29 > git --version # 'git version 2.25.1' 23:54:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:54:29 Verifying host key using known hosts file 23:54:29 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. 23:54:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:54:31 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:54:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:54:32 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:54:32 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:54:32 using GIT_SSH to set credentials SSH Credentials for GitHub 23:54:32 Verifying host key using known hosts file 23:54:32 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. 23:54:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/192/head:refs/remotes/origin/PR-192 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:54:32 Merging remotes/origin/main commit 8e26798799e0d9344b61f434dca15061827fa01a into PR head commit 40f84b5f8ca1c354021d09f3f44cc68af5da1469 23:54:33 Merge succeeded, producing 40f84b5f8ca1c354021d09f3f44cc68af5da1469 23:54:33 Checking out Revision 40f84b5f8ca1c354021d09f3f44cc68af5da1469 (PR-192) 23:54:33 2f39f015ded8: Pull complete 23:54:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:54:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:33 prd-ubuntu20.04-docker-8c-8g-118015 does not seem to be running inside a container 23:54:33 $ 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-192 -v /w/workspace/undry_device-onvif-camera_PR-192:/w/workspace/undry_device-onvif-camera_PR-192:rw,z -v /w/workspace/undry_device-onvif-camera_PR-192@tmp:/w/workspace/undry_device-onvif-camera_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:54:32 > git config core.sparsecheckout # timeout=10 23:54:32 > git checkout -f 40f84b5f8ca1c354021d09f3f44cc68af5da1469 # timeout=10 23:54:33 > git remote # timeout=10 23:54:33 > git config --get remote.origin.url # timeout=10 23:54:33 using GIT_SSH to set credentials SSH Credentials for GitHub 23:54:33 Verifying host key using known hosts file 23:54:33 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. 23:54:33 > git merge 8e26798799e0d9344b61f434dca15061827fa01a # timeout=10 23:54:33 > git rev-parse HEAD^{commit} # timeout=10 23:54:33 > git config core.sparsecheckout # timeout=10 23:54:33 > git checkout -f 40f84b5f8ca1c354021d09f3f44cc68af5da1469 # timeout=10 23:54:37 Commit message: "docs: Levski Change Log" 23:54:37 > git --version # timeout=10 23:54:37 > git --version # 'git version 2.25.1' 23:54:37 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:54:37 $ docker top 286eab3a8bb5db0084d284e8f41ca9fb27095e9ed4874078efbefe2213b10d39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:37 ---> job-cost.sh 23:54:37 lf-activate-venv: SKIPPING 23:54:37 INFO: No Stack... 23:54:37 INFO: Retrieving Pricing Info for: v3-standard-8 23:54:38 23:54:38 GitHub has been notified of this commit’s build result 23:54:38 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:54:38 INFO: Archiving Costs [Pipeline] sh 23:54:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:54:38 % Total % Received % Xferd Average Speed Time Time Time Current 23:54:38 Dload Upload Total Spent Left Speed 23:54:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k 23:54:38 + cat /w/workspace/undry_device-onvif-camera_PR-192/archives/cost.csv 23:54:38 + cut -d, -f6 [Pipeline] lock 23:54:38 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-192-1-stack-cost] 23:54:38 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-192-1-stack-cost] did not exist. Created. 23:54:38 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-192-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh 23:54:39 + echo total: 0.2199999988079071 [Pipeline] stash 23:54:39 Stashed 1 file(s) [Pipeline] } 23:54:39 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-192-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:54:39 $ docker stop --time=1 286eab3a8bb5db0084d284e8f41ca9fb27095e9ed4874078efbefe2213b10d39 23:54:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 23:54:40 $ docker rm -f 286eab3a8bb5db0084d284e8f41ca9fb27095e9ed4874078efbefe2213b10d39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:54:41 + sudo tee /etc/docker/daemon.new 23:54:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:54:41 { 23:54:41 "registry-mirrors": [ 23:54:41 "https://nexus3.edgexfoundry.org:10001" 23:54:41 ], 23:54:41 "bip": "10.250.0.254/24", 23:54:41 "hosts": [ 23:54:41 "tcp://0.0.0.0:5555", 23:54:41 "unix:///var/run/docker.sock" 23:54:41 ], 23:54:41 "mtu": 1458, 23:54:41 "selinux-enabled": true, 23:54:41 "seccomp-profile": "/etc/docker/seccomp.json" 23:54:41 } [Pipeline] sh 23:54:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:54:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:00 provisioning config files... 23:55:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config18282546367247099611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:00 ---> docker-login.sh 23:55:00 nexus3.edgexfoundry.org:10001 23:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:01 Configure a credential helper to remove this warning. See 23:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:01 23:55:01 Login Succeeded 23:55:01 nexus3.edgexfoundry.org:10002 23:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:01 Configure a credential helper to remove this warning. See 23:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:01 23:55:01 Login Succeeded 23:55:01 nexus3.edgexfoundry.org:10003 23:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:01 Configure a credential helper to remove this warning. See 23:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:01 23:55:01 Login Succeeded 23:55:01 nexus3.edgexfoundry.org:10004 23:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:02 Configure a credential helper to remove this warning. See 23:55:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:02 23:55:02 Login Succeeded 23:55:02 docker.io 23:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:02 Configure a credential helper to remove this warning. See 23:55:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:02 23:55:02 Login Succeeded 23:55:02 ---> docker-login.sh ends [Pipeline] } 23:55:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:55:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:03 ========================================================= 23:55:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:55:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:03 + 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 . 23:55:04 Sending build context to Docker daemon 20.44MB 23:55:04 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:55:04 Step 2/13 : FROM ${BASE} AS builder 23:55:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:55:06 9b18e9b68314: Pulling fs layer 23:55:06 35d82f9e3411: Pulling fs layer 23:55:06 e16973657156: Pulling fs layer 23:55:06 fc693d55d65f: Pulling fs layer 23:55:06 7e9fc2657dce: Pulling fs layer 23:55:06 dda99020689f: Pulling fs layer 23:55:06 db1c61fa0a46: Pulling fs layer 23:55:06 891c053d2c06: Pulling fs layer 23:55:06 7e9fc2657dce: Waiting 23:55:06 dda99020689f: Waiting 23:55:06 891c053d2c06: Waiting 23:55:06 e16973657156: Verifying Checksum 23:55:06 e16973657156: Download complete 23:55:06 35d82f9e3411: Download complete 23:55:06 7e9fc2657dce: Verifying Checksum 23:55:06 7e9fc2657dce: Download complete 23:55:06 dda99020689f: Verifying Checksum 23:55:06 dda99020689f: Download complete 23:55:06 9b18e9b68314: Verifying Checksum 23:55:06 9b18e9b68314: Download complete 23:55:07 9b18e9b68314: Pull complete 23:55:07 891c053d2c06: Verifying Checksum 23:55:07 891c053d2c06: Download complete 23:55:07 35d82f9e3411: Pull complete 23:55:07 e16973657156: Pull complete 23:55:08 db1c61fa0a46: Verifying Checksum 23:55:08 db1c61fa0a46: Download complete 23:55:09 fc693d55d65f: Download complete 23:55:21 fc693d55d65f: Pull complete 23:55:21 7e9fc2657dce: Pull complete 23:55:21 dda99020689f: Pull complete 23:55:28 db1c61fa0a46: Pull complete 23:55:30 891c053d2c06: Pull complete 23:55:30 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:55:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:55:30 ---> f96f9c87975a 23:55:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:55:32 ---> Running in bc91193d5228 23:55:32 Removing intermediate container bc91193d5228 23:55:32 ---> 30fae680ac85 23:55:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:55:32 ---> Running in 266650de00ee 23:55:33 Removing intermediate container 266650de00ee 23:55:33 ---> 8098c6af2778 23:55:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:55:33 ---> Running in 495c10ea3962 23:55:33 Removing intermediate container 495c10ea3962 23:55:33 ---> ca93f62246b5 23:55:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:55:33 ---> Running in ab9dc57cb9ad 23:55:33 Removing intermediate container ab9dc57cb9ad 23:55:33 ---> ad091a1d8595 23:55:33 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:55:33 ---> Running in c1fe0bf4d7f9 23:55:34 Removing intermediate container c1fe0bf4d7f9 23:55:34 ---> 8fc95590a410 23:55:34 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:34 ---> Running in f8efdabdbbf1 23:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:55:36 OK: 221 MiB in 51 packages 23:55:37 Removing intermediate container f8efdabdbbf1 23:55:37 ---> cd32236cb2b0 23:55:37 Step 9/13 : WORKDIR /device-onvif-camera 23:55:37 ---> Running in b812af09bba3 23:55:37 Removing intermediate container b812af09bba3 23:55:37 ---> 5b174b967a4b 23:55:37 Step 10/13 : COPY go.mod vendor* ./ 23:55:38 ---> 67189664ba9f 23:55:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:38 ---> Running in fce7f14078c3 23:56:34 Removing intermediate container fce7f14078c3 23:56:34 ---> bd4aff071b64 23:56:34 Step 12/13 : COPY . . 23:56:34 ---> efafa070aa12 23:56:34 Step 13/13 : RUN ${MAKE} 23:56:34 ---> Running in aa345aead3d5 23:56:34 noop 23:56:34 Removing intermediate container aa345aead3d5 23:56:34 ---> 5990446b0dba 23:56:34 Successfully built 5990446b0dba 23:56:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:35 + docker inspect -f . ci-base-image-arm64 23:56:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:35 prd-ubuntu20.04-docker-arm64-4c-16g-118017 does not seem to be running inside a container 23:56:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:56:36 $ docker top 9448e1fee5e6a59425697f1c3002dec2e31c1b2da6a67b035cb898d3c687fedf -eo pid,comm [Pipeline] { [Pipeline] sh 23:56:37 + go version 23:56:37 go version go1.18.7 linux/arm64 [Pipeline] } 23:56:37 $ docker stop --time=1 9448e1fee5e6a59425697f1c3002dec2e31c1b2da6a67b035cb898d3c687fedf 23:56:39 $ docker rm -f 9448e1fee5e6a59425697f1c3002dec2e31c1b2da6a67b035cb898d3c687fedf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:40 + docker inspect -f . ci-base-image-arm64 23:56:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:40 prd-ubuntu20.04-docker-arm64-4c-16g-118017 does not seem to be running inside a container 23:56:40 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:56:41 $ docker top aeb15a1a79b20db256ae31bb994d9db474d2c763299f2e521c848ed6b4f13e8b -eo pid,comm [Pipeline] { [Pipeline] sh 23:56:42 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 23:56:42 + make test 23:56:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:56:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:58:21 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:58:27 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.195s coverage: 29.3% of statements 23:58:27 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:58:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.782s coverage: 86.5% of statements 23:58:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:58:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:59:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:59:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:59:15 ./bin/test-attribution-txt.sh [Pipeline] echo 23:59:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:59:15 $ docker stop --time=1 aeb15a1a79b20db256ae31bb994d9db474d2c763299f2e521c848ed6b4f13e8b 23:59:17 $ docker rm -f aeb15a1a79b20db256ae31bb994d9db474d2c763299f2e521c848ed6b4f13e8b [Pipeline] // withDockerContainer [Pipeline] sh 23:59:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:59:18 Warning: overwriting stash ‘coverage-report’ 23:59:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:59:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:59:20 + ls -al . 23:59:20 total 244 23:59:20 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 23:56 . 23:59:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:54 .. 23:59:20 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 23:54 .git 23:59:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 23:54 .github 23:59:20 -rw-rw-r-- 1 jenkins jenkins 496 Nov 2 23:54 .gitignore 23:59:20 -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 23:54 .golangci.yml 23:59:20 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 2 23:54 Attribution.txt 23:59:20 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 2 23:54 CHANGELOG.md 23:59:20 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 2 23:54 Dockerfile 23:59:20 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 23:54 GOVERNANCE.md 23:59:20 -rw-rw-r-- 1 jenkins jenkins 734 Nov 2 23:54 Jenkinsfile 23:59:20 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 2 23:54 LICENSE 23:59:20 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 2 23:54 Makefile 23:59:20 -rw-rw-r-- 1 jenkins jenkins 625 Nov 2 23:54 OWNERS.md 23:59:20 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 2 23:54 README.md 23:59:20 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 23:52 VERSION 23:59:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 23:54 bin 23:59:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 23:54 cmd 23:59:20 -rw-r--r-- 1 jenkins jenkins 79184 Nov 2 23:58 coverage.out 23:59:20 drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 23:54 doc 23:59:20 -rw-rw-r-- 1 jenkins jenkins 3736 Nov 2 23:54 go.mod 23:59:20 -rw-rw-r-- 1 jenkins jenkins 46203 Nov 2 23:54 go.sum 23:59:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:54 internal 23:59:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:54 snap 23:59:20 -rw-rw-r-- 1 jenkins jenkins 236 Nov 2 23:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:20 + 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=40f84b5f8ca1c354021d09f3f44cc68af5da1469 --label arch=arm64 --label version=0.0.0 . 23:59:21 Sending build context to Docker daemon 20.52MB 23:59:21 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:59:21 Step 2/26 : FROM ${BASE} AS builder 23:59:21 ---> 5990446b0dba 23:59:21 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:59:21 ---> Running in ded746dd6969 23:59:22 Removing intermediate container ded746dd6969 23:59:22 ---> f987d8723d81 23:59:22 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:59:22 ---> Running in b1610f4842f3 23:59:22 Removing intermediate container b1610f4842f3 23:59:22 ---> 396730a8efe8 23:59:22 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:59:22 ---> Running in 124fe15be8a2 23:59:23 Removing intermediate container 124fe15be8a2 23:59:23 ---> c82a3f7ce350 23:59:23 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:59:23 ---> Running in 7beb0480454e 23:59:23 Removing intermediate container 7beb0480454e 23:59:23 ---> ddd1f0349034 23:59:23 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:59:23 ---> Running in d5a700cebdac 23:59:24 Removing intermediate container d5a700cebdac 23:59:24 ---> e920c4cde2ac 23:59:24 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:59:24 ---> Running in 3ee017058ff1 23:59:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:59:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:59:26 OK: 221 MiB in 51 packages 23:59:27 Removing intermediate container 3ee017058ff1 23:59:27 ---> 1184d1af416a 23:59:27 Step 9/26 : WORKDIR /device-onvif-camera 23:59:27 ---> Running in 1425dfa8e130 23:59:27 Removing intermediate container 1425dfa8e130 23:59:27 ---> 1329af4836e9 23:59:27 Step 10/26 : COPY go.mod vendor* ./ 23:59:28 ---> 3333bd58fc1f 23:59:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:59:28 ---> Running in b525f3d31ecb 23:59:32 Removing intermediate container b525f3d31ecb 23:59:32 ---> 00ef49e59cea 23:59:32 Step 12/26 : COPY . . 23:59:35 ---> 927de13ab522 23:59:35 Step 13/26 : RUN ${MAKE} 23:59:35 ---> Running in cc0440c41614 23:59:37 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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:02:13 Removing intermediate container cc0440c41614 00:02:13 ---> 78622a4cd81e 00:02:13 Step 14/26 : FROM alpine:3.16 00:02:13 3.16: Pulling from library/alpine 00:02:13 9b18e9b68314: Already exists 00:02:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:02:13 Status: Downloaded newer image for alpine:3.16 00:02:13 ---> a6215f271958 00:02:13 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:02:13 ---> Running in e0a72f278a24 00:02:13 Removing intermediate container e0a72f278a24 00:02:13 ---> 2855093793bc 00:02:13 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:02:13 ---> Running in b491ff5bc332 00:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:02:13 (1/6) Installing dumb-init (1.2.5-r1) 00:02:13 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:02:13 (3/6) Installing libsodium (1.0.18-r0) 00:02:13 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:02:13 (5/6) Installing libzmq (4.3.4-r0) 00:02:13 (6/6) Installing zeromq (4.3.4-r0) 00:02:13 Executing busybox-1.35.0-r17.trigger 00:02:13 OK: 8 MiB in 20 packages 00:02:13 Removing intermediate container b491ff5bc332 00:02:13 ---> 064ac6c31565 00:02:13 Step 17/26 : WORKDIR / 00:02:14 ---> Running in 27d8f2d44ec3 00:02:14 Removing intermediate container 27d8f2d44ec3 00:02:14 ---> 417626021ade 00:02:14 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:02:15 ---> dd56e0e40c63 00:02:15 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:02:16 ---> b51b6e6077a5 00:02:16 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:02:17 ---> 3ed49a29b8dd 00:02:17 Step 21/26 : EXPOSE 59984 00:02:17 ---> Running in 2c861ff9bab9 00:02:17 Removing intermediate container 2c861ff9bab9 00:02:17 ---> 4aea68834e8f 00:02:17 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:02:17 ---> Running in ab1e8980fbf3 00:02:17 Removing intermediate container ab1e8980fbf3 00:02:17 ---> 3cb3d6e8293c 00:02:17 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:02:17 ---> Running in 77db57deeb58 00:02:18 Removing intermediate container 77db57deeb58 00:02:18 ---> deb01a9fe1d7 00:02:18 Step 24/26 : LABEL arch=arm64 00:02:18 ---> Running in f326b92e6a22 00:02:18 Removing intermediate container f326b92e6a22 00:02:18 ---> 63eec3f537ed 00:02:18 Step 25/26 : LABEL git_sha=40f84b5f8ca1c354021d09f3f44cc68af5da1469 00:02:18 ---> Running in 7dfee2f3e27d 00:02:18 Removing intermediate container 7dfee2f3e27d 00:02:18 ---> 0c4976bf891b 00:02:18 Step 26/26 : LABEL version=0.0.0 00:02:18 ---> Running in 30b57c0dac21 00:02:19 Removing intermediate container 30b57c0dac21 00:02:19 ---> 0d5045c5345e 00:02:19 [Warning] One or more build-args [ARCH] were not consumed 00:02:19 Successfully built 0d5045c5345e 00:02:19 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 00:02:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:02:21 00:02:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:02:21 arm64: Pulling from edgex-lftools-log-publisher 00:02:21 8998bd30e6a1: Pulling fs layer 00:02:21 04944245beec: Pulling fs layer 00:02:21 699f458cf7ca: Pulling fs layer 00:02:21 765212b225bb: Pulling fs layer 00:02:21 f23df028b6ca: Pulling fs layer 00:02:21 d65c8cfc05b1: Pulling fs layer 00:02:21 2437ff75d9bd: Pulling fs layer 00:02:21 765212b225bb: Waiting 00:02:21 f23df028b6ca: Waiting 00:02:21 d65c8cfc05b1: Waiting 00:02:21 2437ff75d9bd: Waiting 00:02:22 04944245beec: Verifying Checksum 00:02:22 04944245beec: Download complete 00:02:22 765212b225bb: Verifying Checksum 00:02:22 765212b225bb: Download complete 00:02:22 f23df028b6ca: Verifying Checksum 00:02:22 f23df028b6ca: Download complete 00:02:22 d65c8cfc05b1: Verifying Checksum 00:02:22 d65c8cfc05b1: Download complete 00:02:22 699f458cf7ca: Verifying Checksum 00:02:22 699f458cf7ca: Download complete 00:02:22 8998bd30e6a1: Verifying Checksum 00:02:22 8998bd30e6a1: Download complete 00:02:25 2437ff75d9bd: Download complete 00:02:26 8998bd30e6a1: Pull complete 00:02:26 04944245beec: Pull complete 00:02:28 699f458cf7ca: Pull complete 00:02:28 765212b225bb: Pull complete 00:02:29 f23df028b6ca: Pull complete 00:02:29 d65c8cfc05b1: Pull complete 00:02:44 2437ff75d9bd: Pull complete 00:02:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:02:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:02:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:44 prd-ubuntu20.04-docker-arm64-4c-16g-118017 does not seem to be running inside a container 00:02:45 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:02:47 $ docker top c2e527d5155c190690f7dd27779793d052915c9017b85874d78af83c53c19fc0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:48 ---> job-cost.sh 00:02:48 lf-activate-venv: SKIPPING 00:02:48 INFO: No Stack... 00:02:49 INFO: Retrieving Pricing Info for: v3-standard-4 00:02:50 INFO: Archiving Costs [Pipeline] sh 00:02:50 + cut -d, -f6 00:02:50 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 00:02:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-192-1-stack-cost] 00:02:50 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-192-1-stack-cost] did not exist. Created. 00:02:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-192-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:02:51 /w/workspace/device-onvif-camera/1@tmp/durable-3b7159df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:02:51 + echo total: 0.10999999940395355 [Pipeline] stash 00:02:52 Warning: overwriting stash ‘stack-cost’ 00:02:52 Stashed 1 file(s) [Pipeline] } 00:02:52 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-192-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:02:52 $ docker stop --time=1 c2e527d5155c190690f7dd27779793d052915c9017b85874d78af83c53c19fc0 00:02:53 $ docker rm -f c2e527d5155c190690f7dd27779793d052915c9017b85874d78af83c53c19fc0 [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 00:02:54 provisioning config files... 00:02:54 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-192@tmp/config1737944501615898877tmp [Pipeline] { [Pipeline] sh 00:02:55 + set +x 00:02:55 + + curl -s https://codecov.io/bash 00:02:55 bash -s -- 00:02:55 00:02:55 _____ _ 00:02:55 / ____| | | 00:02:55 | | ___ __| | ___ ___ _____ __ 00:02:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:02:55 | |___| (_) | (_| | __/ (_| (_) \ V / 00:02:55 \_____\___/ \__,_|\___|\___\___/ \_/ 00:02:55 Bash-1.0.6 00:02:55 00:02:55 00:02:55 ==> git version 2.25.1 found 00:02:55 ==> 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 00:02:55 Release-Date: 2020-01-08 00:02:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:02:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:02:55 ==> Jenkins CI detected. 00:02:55 current dir:  /w/workspace/undry_device-onvif-camera_PR-192 00:02:55 project root: . 00:02:55 --> token set from env 00:02:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:02:55 ==> Running gcov in . (disable via -X gcov) 00:02:55 ==> Python coveragepy not found 00:02:55 ==> Searching for coverage reports in: 00:02:55 + . 00:02:55 -> Found 1 reports 00:02:55 ==> Detecting git/mercurial file structure 00:02:55 ==> Reading reports 00:02:55 + ./coverage.out bytes=79184 00:02:55 ==> Appending adjustments 00:02:55 https://docs.codecov.io/docs/fixing-reports 00:02:55 + Found adjustments 00:02:55 ==> Gzipping contents 00:02:55 12K /tmp/codecov.N0KfP2.gz 00:02:55 ==> Uploading reports 00:02:55 url: https://codecov.io 00:02:55 query: branch=PR-192&commit=40f84b5f8ca1c354021d09f3f44cc68af5da1469&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-192%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=192&job=&cmd_args= 00:02:55 -> Pinging Codecov 00:02:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-192&commit=40f84b5f8ca1c354021d09f3f44cc68af5da1469&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-192%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=192&job=&cmd_args= 00:02:55 -> Uploading to 00:02:55 https://storage.googleapis.com/codecov/v4/raw/2022-11-03/F29A59C45E3A92E06B3E522C9905F8EF/40f84b5f8ca1c354021d09f3f44cc68af5da1469/aac8e8e8-db79-4041-8309-2a1cd89da911.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T000255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6f97ed688f126ab04078e5ab3ab06da8a5cf21a890808283cb79574e6c20e2f3 00:02:55 % Total % Received % Xferd Average Speed Time Time Time Current 00:02:55 Dload Upload Total Spent Left Speed 00:02:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10884 0 0 100 10884 0 41227 --:--:-- --:--:-- --:--:-- 41227 00:02:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/40f84b5f8ca1c354021d09f3f44cc68af5da1469 [Pipeline] } 00:02:56 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 00:02:58 + [ -d /w/workspace/undry_device-onvif-camera_PR-192/archives ] 00:02:58 + ls -al /w/workspace/undry_device-onvif-camera_PR-192/archives 00:02:58 total 16 00:02:58 drwxr-xr-x 3 root root 4096 Nov 2 23:54 . 00:02:58 drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 23:54 .. 00:02:58 drwxr-xr-x 2 root root 4096 Nov 2 23:54 cost 00:02:58 -rw-r--r-- 1 root root 91 Nov 2 23:54 cost.csv 00:02:58 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-192/archives 00:02:58 + ls -al /w/workspace/undry_device-onvif-camera_PR-192/archives 00:02:58 total 16 00:02:58 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 23:54 . 00:02:58 drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 23:54 .. 00:02:58 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 23:54 cost 00:02:58 -rw-r--r-- 1 jenkins jenkins 91 Nov 2 23:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:02:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:02:59 ---> package-listing.sh 00:02:59 ++ facter osfamily 00:02:59 ++ tr '[:upper:]' '[:lower:]' 00:02:59 + OS_FAMILY=debian 00:02:59 + workspace=/w/workspace/undry_device-onvif-camera_PR-192 00:02:59 + START_PACKAGES=/tmp/packages_start.txt 00:02:59 + END_PACKAGES=/tmp/packages_end.txt 00:02:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:02:59 + PACKAGES=/tmp/packages_start.txt 00:02:59 + '[' /w/workspace/undry_device-onvif-camera_PR-192 ']' 00:02:59 + PACKAGES=/tmp/packages_end.txt 00:02:59 + case "${OS_FAMILY}" in 00:02:59 + dpkg -l 00:02:59 + grep '^ii' 00:02:59 + '[' -f /tmp/packages_start.txt ']' 00:02:59 + '[' -f /tmp/packages_end.txt ']' 00:02:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:02:59 + '[' /w/workspace/undry_device-onvif-camera_PR-192 ']' 00:02:59 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-192/archives/ 00:02:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-192/archives/ [Pipeline] echo 00:02:59 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-192/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:03:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:03:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:03:00 prd-ubuntu20.04-docker-8c-8g-118015 does not seem to be running inside a container 00:03:00 $ 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-192/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-192 -v /w/workspace/undry_device-onvif-camera_PR-192:/w/workspace/undry_device-onvif-camera_PR-192:rw,z -v /w/workspace/undry_device-onvif-camera_PR-192@tmp:/w/workspace/undry_device-onvif-camera_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:03:01 $ docker top 817add399c7c4d300b08cff5b72a81da7c407475c601da9f1fa8843fc268ffaf -eo pid,comm [Pipeline] { [Pipeline] sh 00:03:01 + touch /tmp/pre-build-complete [Pipeline] sh 00:03:01 + mkdir -p /var/log/sysstat [Pipeline] sh 00:03:02 + ls /var/log/sa-host 00:03:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:03:02 provisioning config files... 00:03:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-192@tmp/config7589303079317148087tmp [Pipeline] { [Pipeline] echo 00:03:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:03:02 ---> create-netrc.sh [Pipeline] } 00:03:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:03:03 ---> python-tools-install.sh [Pipeline] echo 00:03:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:03:03 ---> sudo-logs.sh 00:03:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:03:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:03:03 ---> job-cost.sh 00:03:03 lf-activate-venv: SKIPPING 00:03:03 DEBUG: total: 0.2199999988079071 00:03:03 INFO: Retrieving Stack Cost... 00:03:04 INFO: Retrieving Pricing Info for: v3-standard-8 00:03:04 INFO: Archiving Costs [Pipeline] echo 00:03:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:03:05 ---> logs-deploy.sh 00:03:05 lf-activate-venv: SKIPPING 00:03:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-192/1 00:03:05 INFO: archiving workspace using pattern(s): 00:03:05 Archives upload complete. 00:03:06 INFO: archiving logs to Nexus 00:03:06 ---> uname -a: 00:03:06 Linux prd-ubuntu20-04-docker-8c-8g-118015 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 00:03:06 00:03:06 00:03:06 ---> lscpu: 00:03:06 Architecture: x86_64 00:03:06 CPU op-mode(s): 32-bit, 64-bit 00:03:06 Byte Order: Little Endian 00:03:06 Address sizes: 40 bits physical, 48 bits virtual 00:03:06 CPU(s): 8 00:03:06 On-line CPU(s) list: 0-7 00:03:06 Thread(s) per core: 1 00:03:06 Core(s) per socket: 1 00:03:06 Socket(s): 8 00:03:06 NUMA node(s): 1 00:03:06 Vendor ID: AuthenticAMD 00:03:06 CPU family: 23 00:03:06 Model: 49 00:03:06 Model name: AMD EPYC-Rome Processor 00:03:06 Stepping: 0 00:03:06 CPU MHz: 2799.956 00:03:06 BogoMIPS: 5599.91 00:03:06 Virtualization: AMD-V 00:03:06 Hypervisor vendor: KVM 00:03:06 Virtualization type: full 00:03:06 L1d cache: 256 KiB 00:03:06 L1i cache: 256 KiB 00:03:06 L2 cache: 4 MiB 00:03:06 L3 cache: 128 MiB 00:03:06 NUMA node0 CPU(s): 0-7 00:03:06 Vulnerability Itlb multihit: Not affected 00:03:06 Vulnerability L1tf: Not affected 00:03:06 Vulnerability Mds: Not affected 00:03:06 Vulnerability Meltdown: Not affected 00:03:06 Vulnerability Mmio stale data: Not affected 00:03:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:03:06 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:03:06 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:03:06 Vulnerability Srbds: Not affected 00:03:06 Vulnerability Tsx async abort: Not affected 00:03:06 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 00:03:06 00:03:06 00:03:06 ---> nproc: 00:03:06 8 00:03:06 00:03:06 00:03:06 ---> df -h: 00:03:06 Filesystem Size Used Avail Use% Mounted on 00:03:06 overlay 155G 12G 144G 8% / 00:03:06 tmpfs 64M 0 64M 0% /dev 00:03:06 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:03:06 shm 64M 0 64M 0% /dev/shm 00:03:06 /dev/vda1 155G 12G 144G 8% /facter-os 00:03:06 00:03:06 00:03:06 ---> sar -b -r -n DEV: 00:03:06 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118015) 11/03/22 _x86_64_ (8 CPU) 00:03:06 00:03:06 00:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:03:06 00:00:01 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:03:06 00:01:01 7.95 1.05 6.90 0.00 22.09 161.97 0.00 00:03:06 00:02:01 2.65 0.00 2.65 0.00 0.00 48.93 0.00 00:03:06 00:03:01 6.65 1.82 4.83 0.00 54.12 107.18 0.00 00:03:06 Average: 5.75 0.96 4.79 0.00 25.41 105.78 0.00 00:03:06 00:03:06 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:03:06 00:00:01 27397920 31558456 725068 2.20 171648 4132836 1797468 5.30 1457172 3499584 40 00:03:06 00:01:01 27395672 31557968 725092 2.21 172020 4133472 1780920 5.25 1457836 3499448 12 00:03:06 00:02:01 27395568 31557964 725016 2.20 172128 4133476 1780920 5.25 1457916 3499452 152 00:03:06 00:03:01 27362496 31528772 753120 2.29 172292 4135908 1831920 5.40 1487732 3500244 276 00:03:06 Average: 27387914 31550790 732074 2.23 172022 4133923 1797807 5.30 1465164 3499682 120 00:03:06 00:03:06 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:03:06 00:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:03:06 00:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:03:06 00:00:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:03:06 00:01:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 00:03:06 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:03:06 00:01:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 00:03:06 00:02:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 00:03:06 00:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:03:06 00:02:01 ens3 0.73 0.47 0.35 0.11 0.00 0.00 0.00 0.00 00:03:06 00:03:01 lo 0.47 0.47 0.05 0.05 0.00 0.00 0.00 0.00 00:03:06 00:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:03:06 00:03:01 ens3 24.28 16.83 22.26 12.12 0.00 0.00 0.00 0.00 00:03:06 Average: lo 0.29 0.29 0.03 0.03 0.00 0.00 0.00 0.00 00:03:06 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:03:06 Average: ens3 8.37 5.79 7.54 4.08 0.00 0.00 0.00 0.00 00:03:06 00:03:06 00:03:06 ---> sar -P ALL: 00:03:06 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118015) 11/03/22 _x86_64_ (8 CPU) 00:03:06 00:03:06 00:00:01 CPU %user %nice %system %iowait %steal %idle 00:03:06 00:00:01 all 0.00 0.00 0.00 0.50 0.00 99.50 00:03:06 00:00:01 0 0.00 0.00 0.00 0.00 0.00 100.00 00:03:06 00:00:01 1 0.00 0.00 0.00 0.00 0.00 100.00 00:03:06 00:00:01 2 0.00 0.00 0.00 1.33 0.00 98.68 00:03:06 00:00:01 3 0.00 0.00 0.00 100.00 0.00 0.00 00:03:06 00:00:01 4 0.00 0.00 0.00 0.94 0.00 99.06 00:03:06 00:00:01 5 0.00 0.00 0.00 0.00 0.00 100.00 00:03:06 00:00:01 6 0.00 0.00 0.00 0.00 0.00 100.00 00:03:06 00:00:01 7 0.00 0.00 0.00 0.00 0.00 100.00 00:03:06 00:01:01 all 0.07 0.02 0.07 0.08 0.01 99.75 00:03:06 00:01:01 0 0.12 0.00 0.08 0.03 0.00 99.77 00:03:06 00:01:01 1 0.05 0.15 0.08 0.08 0.00 99.63 00:03:06 00:01:01 2 0.03 0.00 0.07 0.03 0.00 99.87 00:03:06 00:01:01 3 0.03 0.00 0.05 0.43 0.02 99.47 00:03:06 00:01:01 4 0.03 0.00 0.03 0.05 0.00 99.88 00:03:06 00:01:01 5 0.05 0.00 0.05 0.00 0.02 99.88 00:03:06 00:01:01 6 0.05 0.00 0.08 0.00 0.02 99.85 00:03:06 00:01:01 7 0.22 0.02 0.12 0.03 0.00 99.62 00:03:06 00:02:01 all 0.18 0.00 0.02 0.01 0.01 99.79 00:03:06 00:02:01 0 0.02 0.00 0.03 0.02 0.02 99.92 00:03:06 00:02:01 1 0.00 0.00 0.02 0.00 0.00 99.98 00:03:06 00:02:01 2 0.17 0.00 0.00 0.00 0.00 99.83 00:03:06 00:02:01 3 0.03 0.00 0.02 0.03 0.00 99.92 00:03:06 00:02:01 4 0.02 0.00 0.00 0.00 0.00 99.98 00:03:06 00:02:01 5 0.07 0.00 0.05 0.02 0.02 99.85 00:03:06 00:02:01 6 1.06 0.00 0.02 0.00 0.00 98.92 00:03:06 00:02:01 7 0.05 0.00 0.02 0.00 0.02 99.92 00:03:06 00:03:01 all 0.67 0.00 0.17 0.02 0.01 99.12 00:03:06 00:03:01 0 0.57 0.00 0.20 0.05 0.02 99.17 00:03:06 00:03:01 1 0.62 0.00 0.15 0.03 0.00 99.20 00:03:06 00:03:01 2 1.98 0.00 0.13 0.00 0.02 97.87 00:03:06 00:03:01 3 0.77 0.00 0.17 0.08 0.02 98.97 00:03:06 00:03:01 4 0.62 0.00 0.22 0.00 0.02 99.15 00:03:06 00:03:01 5 0.48 0.00 0.27 0.02 0.02 99.22 00:03:06 00:03:01 6 0.23 0.00 0.10 0.00 0.02 99.65 00:03:06 00:03:01 7 0.10 0.00 0.13 0.00 0.00 99.77 00:03:06 Average: all 0.31 0.01 0.08 0.03 0.01 99.56 00:03:06 Average: 0 0.23 0.00 0.11 0.03 0.01 99.62 00:03:06 Average: 1 0.22 0.05 0.08 0.04 0.00 99.61 00:03:06 Average: 2 0.73 0.00 0.06 0.01 0.01 99.21 00:03:06 Average: 3 0.28 0.00 0.08 0.17 0.01 99.47 00:03:06 Average: 4 0.22 0.00 0.08 0.00 0.01 99.69 00:03:06 Average: 5 0.20 0.00 0.12 0.01 0.02 99.65 00:03:06 Average: 6 0.45 0.00 0.07 0.00 0.01 99.47 00:03:06 Average: 7 0.12 0.01 0.08 0.01 0.01 99.77 00:03:06 00:03:06 00:03:06