Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 659f5a409730c1aa6059f10a7d2527ba47038078+8e26798799e0d9344b61f434dca15061827fa01a (39f79ff4d0c02ecb6ef084a1809db2a515831b81) 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-ssh13019776098159882968.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1082618152062750130.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13982565714986306659.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18432010880661227531.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17895466454642106409.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-117490’ Running on prd-ubuntu20.04-docker-8c-8g-117496 in /w/workspace/undry_device-onvif-camera_PR-185 [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-185 # 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 659f5a409730c1aa6059f10a7d2527ba47038078 Merge succeeded, producing fe7118e9402400c87c648e14fd05a6707324221b Checking out Revision fe7118e9402400c87c648e14fd05a6707324221b (PR-185) > 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/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # 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 fe7118e9402400c87c648e14fd05a6707324221b # timeout=10 Commit message: "Merge commit '8e26798799e0d9344b61f434dca15061827fa01a' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:10:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:10:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:10:42 ========================================================= 02:10:42 EdgeX Global Pipelines Version Info 02:10:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 95b43847cab40fa8df647346e2b1e463c7afb4fd # timeout=10 02:10:42 ------------------- 02:10:42 stable info: 02:10:42 ------------------- 02:10:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:10:42 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 02:10:42 Message: update stable to v1.0.243 02:10:43 ------------------- 02:10:43 experimental info: 02:10:43 ------------------- 02:10:43 Commited By: **** collab-it+edgex@linuxfoundation.org 02:10:43 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 02:10:43 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo 02:10:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe7118e9402400c87c648e14fd05a6707324221b [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe7118e [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:10:44 provisioning config files... 02:10:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config17907966452010388234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:10:44 ---> docker-login.sh 02:10:44 nexus3.edgexfoundry.org:10001 02:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:44 Configure a credential helper to remove this warning. See 02:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:44 02:10:44 Login Succeeded 02:10:44 nexus3.edgexfoundry.org:10002 02:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:44 Configure a credential helper to remove this warning. See 02:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:44 02:10:44 Login Succeeded 02:10:44 nexus3.edgexfoundry.org:10003 02:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:45 Configure a credential helper to remove this warning. See 02:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:45 02:10:45 Login Succeeded 02:10:45 nexus3.edgexfoundry.org:10004 02:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:45 Configure a credential helper to remove this warning. See 02:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:45 02:10:45 Login Succeeded 02:10:45 docker.io 02:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:45 Configure a credential helper to remove this warning. See 02:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:45 02:10:45 Login Succeeded 02:10:45 ---> docker-login.sh ends [Pipeline] } 02:10:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:10:46 + git rev-list -1 --merges fe7118e9402400c87c648e14fd05a6707324221b~1..fe7118e9402400c87c648e14fd05a6707324221b [Pipeline] echo 02:10:46 -----------> git rev-list -1 --merges fe7118e9402400c87c648e14fd05a6707324221b~1..fe7118e9402400c87c648e14fd05a6707324221b fe7118e9402400c87c648e14fd05a6707324221b 02:10:46 fe7118e9402400c87c648e14fd05a6707324221b [false] [Pipeline] sh 02:10:46 + git log --format=format:%s -1 fe7118e9402400c87c648e14fd05a6707324221b [Pipeline] echo 02:10:46 ========================================================= 02:10:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:10:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:10:46 + git log --format=format:%s -1 fe7118e9402400c87c648e14fd05a6707324221b [Pipeline] echo 02:10:46 [semverPrep] GIT_COMMIT: fe7118e9402400c87c648e14fd05a6707324221b, Commit Message: Merge commit '8e26798799e0d9344b61f434dca15061827fa01a' into HEAD [Pipeline] echo 02:10:46 [semverPrep] This is not a build commit. [Pipeline] sh 02:10:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:10:47 + grep -v github /etc/ssh/ssh_known_hosts 02:10:47 + [ -e /tmp/ssh_known_hosts ] 02:10:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:10:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:10:47 + sudo tee -a /etc/ssh/ssh_known_hosts 02:10:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:47 02:10:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:47 0.1.4: Pulling from edgex-devops/py-git-semver 02:10:47 b85a868b505f: Pulling fs layer 02:10:47 e2be974225ed: Pulling fs layer 02:10:47 339a4e72a1f5: Pulling fs layer 02:10:47 988bab9f4d93: Pulling fs layer 02:10:47 1469e6f7b9e6: Pulling fs layer 02:10:47 eaf3925da568: Pulling fs layer 02:10:47 bab4dde63d76: Pulling fs layer 02:10:47 bde34c3a00c8: Pulling fs layer 02:10:47 b352a97aabf1: Pulling fs layer 02:10:47 4872d77fe225: Pulling fs layer 02:10:47 5851b861e8e6: Pulling fs layer 02:10:47 988bab9f4d93: Waiting 02:10:47 1469e6f7b9e6: Waiting 02:10:47 eaf3925da568: Waiting 02:10:47 bab4dde63d76: Waiting 02:10:47 bde34c3a00c8: Waiting 02:10:47 b352a97aabf1: Waiting 02:10:47 5851b861e8e6: Waiting 02:10:47 e2be974225ed: Verifying Checksum 02:10:47 e2be974225ed: Download complete 02:10:47 988bab9f4d93: Verifying Checksum 02:10:47 988bab9f4d93: Download complete 02:10:48 1469e6f7b9e6: Verifying Checksum 02:10:48 1469e6f7b9e6: Download complete 02:10:48 339a4e72a1f5: Verifying Checksum 02:10:48 339a4e72a1f5: Download complete 02:10:48 eaf3925da568: Verifying Checksum 02:10:48 bde34c3a00c8: Download complete 02:10:48 b352a97aabf1: Download complete 02:10:48 4872d77fe225: Download complete 02:10:48 5851b861e8e6: Download complete 02:10:48 b85a868b505f: Download complete 02:10:48 bab4dde63d76: Verifying Checksum 02:10:48 bab4dde63d76: Download complete 02:10:49 b85a868b505f: Pull complete 02:10:49 e2be974225ed: Pull complete 02:10:49 339a4e72a1f5: Pull complete 02:10:50 988bab9f4d93: Pull complete 02:10:50 1469e6f7b9e6: Pull complete 02:10:50 eaf3925da568: Pull complete 02:10:52 bab4dde63d76: Pull complete 02:10:52 bde34c3a00c8: Pull complete 02:10:52 b352a97aabf1: Pull complete 02:10:52 4872d77fe225: Pull complete 02:10:52 5851b861e8e6: Pull complete 02:10:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:10:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:52 prd-ubuntu20.04-docker-8c-8g-117496 does not seem to be running inside a container 02:10:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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 02:10:53 $ docker top 258dc6999343554fabc792381024c0faa5494f1f56c33a997060d02dd8a17179 -eo pid,comm 02:10:53 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). 02:10:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:10:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:10:54 [ssh-agent] Looking for ssh-agent implementation... 02:10:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:10:54 $ docker exec 258dc6999343554fabc792381024c0faa5494f1f56c33a997060d02dd8a17179 ssh-agent 02:10:54 SSH_AUTH_SOCK=/tmp/ssh-LBzHTYmlpdrD/agent.32 02:10:54 SSH_AGENT_PID=38 02:10:54 Running ssh-add (command line suppressed) 02:10:54 Identity added: /w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_14146839539445207474.key (/w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_14146839539445207474.key) 02:10:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:10:54 + git tag --points-at HEAD [Pipeline] } 02:10:54 $ docker exec --env ******** --env ******** 258dc6999343554fabc792381024c0faa5494f1f56c33a997060d02dd8a17179 ssh-agent -k 02:10:54 unset SSH_AUTH_SOCK; 02:10:54 unset SSH_AGENT_PID; 02:10:54 echo Agent pid 38 killed; 02:10:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:10:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:10:54 [ssh-agent] Looking for ssh-agent implementation... 02:10:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:10:55 $ docker exec 258dc6999343554fabc792381024c0faa5494f1f56c33a997060d02dd8a17179 ssh-agent 02:10:55 SSH_AUTH_SOCK=/tmp/ssh-NnvCkxnL8WEn/agent.69 02:10:55 SSH_AGENT_PID=75 02:10:55 Running ssh-add (command line suppressed) 02:10:55 Identity added: /w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_3581432281514360709.key (/w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_3581432281514360709.key) 02:10:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:10:55 + git semver init 02:10:55 2022-10-28 02:10:55,763 [run_init] DEBUG init version:0.0.0 force:False 02:10:55 2022-10-28 02:10:55,763 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-185/.semver 02:10:55 2022-10-28 02:10:55,764 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-185/.semver 02:10:55 2022-10-28 02:10:55,764 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-185/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-185, universal_newlines=False, shell=None, istream=None) 02:10:57 2022-10-28 02:10:56,876 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-185/.git/info/exclude 02:10:57 2022-10-28 02:10:56,876 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 with force:False 02:10:57 2022-10-28 02:10:56,876 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 02:10:57 2022-10-28 02:10:56,879 [execute] INFO git cat-file --batch-check 02:10:57 2022-10-28 02:10:56,880 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) 02:10:57 2022-10-28 02:10:56,885 [execute] INFO git cat-file --batch 02:10:57 2022-10-28 02:10:56,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) 02:10:57 2022-10-28 02:10:56,891 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 02:10:57 0.0.0 [Pipeline] } 02:10:57 $ docker exec --env ******** --env ******** 258dc6999343554fabc792381024c0faa5494f1f56c33a997060d02dd8a17179 ssh-agent -k 02:10:57 unset SSH_AUTH_SOCK; 02:10:57 unset SSH_AGENT_PID; 02:10:57 echo Agent pid 75 killed; 02:10:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:10:57 + git semver [Pipeline] } 02:10:57 $ docker stop --time=1 258dc6999343554fabc792381024c0faa5494f1f56c33a997060d02dd8a17179 02:10:59 $ docker rm -f 258dc6999343554fabc792381024c0faa5494f1f56c33a997060d02dd8a17179 [Pipeline] // withDockerContainer [Pipeline] sh 02:10:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:10:59 Stashed 1 file(s) [Pipeline] echo 02:10:59 [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 02:10:59 provisioning config files... 02:10:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config3726777452354065102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:00 ---> docker-login.sh 02:11:00 nexus3.edgexfoundry.org:10001 02:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:00 Configure a credential helper to remove this warning. See 02:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:00 02:11:00 Login Succeeded 02:11:00 nexus3.edgexfoundry.org:10002 02:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:00 Configure a credential helper to remove this warning. See 02:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:00 02:11:00 Login Succeeded 02:11:00 nexus3.edgexfoundry.org:10003 02:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:00 Configure a credential helper to remove this warning. See 02:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:00 02:11:00 Login Succeeded 02:11:00 nexus3.edgexfoundry.org:10004 02:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:00 Configure a credential helper to remove this warning. See 02:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:00 02:11:00 Login Succeeded 02:11:00 docker.io 02:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:00 Configure a credential helper to remove this warning. See 02:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:00 02:11:00 Login Succeeded 02:11:00 ---> docker-login.sh ends [Pipeline] } 02:11:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:11:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:00 ========================================================= 02:11:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:11:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:01 + 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 . 02:11:01 Sending build context to Docker daemon 27.5MB 02:11:01 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 02:11:01 Step 2/13 : FROM ${BASE} AS builder 02:11:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:11:01 213ec9aee27d: Pulling fs layer 02:11:01 4583459ba037: Pulling fs layer 02:11:01 93c1e223e6f2: Pulling fs layer 02:11:01 53926ce57604: Pulling fs layer 02:11:01 21b2b0c7a3f4: Pulling fs layer 02:11:01 30f14e443154: Pulling fs layer 02:11:01 53926ce57604: Waiting 02:11:01 21b2b0c7a3f4: Waiting 02:11:01 801331c1e519: Pulling fs layer 02:11:01 99cc6dd402b0: Pulling fs layer 02:11:01 30f14e443154: Waiting 02:11:01 801331c1e519: Waiting 02:11:01 7d9ed39f4882: Pulling fs layer 02:11:01 99cc6dd402b0: Waiting 02:11:01 93c1e223e6f2: Verifying Checksum 02:11:01 93c1e223e6f2: Download complete 02:11:01 4583459ba037: Verifying Checksum 02:11:01 4583459ba037: Download complete 02:11:01 21b2b0c7a3f4: Verifying Checksum 02:11:01 21b2b0c7a3f4: Download complete 02:11:01 30f14e443154: Verifying Checksum 02:11:01 30f14e443154: Download complete 02:11:01 213ec9aee27d: Verifying Checksum 02:11:01 213ec9aee27d: Download complete 02:11:01 801331c1e519: Download complete 02:11:01 213ec9aee27d: Pull complete 02:11:01 4583459ba037: Pull complete 02:11:01 93c1e223e6f2: Pull complete 02:11:02 7d9ed39f4882: Verifying Checksum 02:11:02 7d9ed39f4882: Download complete 02:11:02 99cc6dd402b0: Verifying Checksum 02:11:02 99cc6dd402b0: Download complete 02:11:02 53926ce57604: Verifying Checksum 02:11:02 53926ce57604: Download complete 02:11:06 53926ce57604: Pull complete 02:11:06 21b2b0c7a3f4: Pull complete 02:11:06 30f14e443154: Pull complete 02:11:06 801331c1e519: Pull complete 02:11:08 99cc6dd402b0: Pull complete 02:11:09 7d9ed39f4882: Pull complete 02:11:09 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 02:11:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:11:09 ---> 1dedd983c030 02:11:09 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:11:11 ---> Running in f55604071c7e 02:11:11 Removing intermediate container f55604071c7e 02:11:11 ---> e6168a281965 02:11:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:11:11 ---> Running in 098a15627336 02:11:11 Removing intermediate container 098a15627336 02:11:11 ---> 8c7914f6744e 02:11:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:11:11 ---> Running in 0ea287b4c4dd 02:11:11 Removing intermediate container 0ea287b4c4dd 02:11:11 ---> 93f53913bfcf 02:11:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:11:11 ---> Running in f185370a326a 02:11:11 Removing intermediate container f185370a326a 02:11:11 ---> ee163478bdd7 02:11:11 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:11:11 ---> Running in f5e111763efe 02:11:11 Removing intermediate container f5e111763efe 02:11:11 ---> 72f281eb95f6 02:11:11 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:11:11 ---> Running in d4d536019986 02:11:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:11:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:11:12 OK: 211 MiB in 51 packages 02:11:12 Removing intermediate container d4d536019986 02:11:12 ---> e0f7143e504e 02:11:12 Step 9/13 : WORKDIR /device-onvif-camera 02:11:12 ---> Running in 32e817ad50fb 02:11:12 Removing intermediate container 32e817ad50fb 02:11:12 ---> f8de9fa81a9d 02:11:12 Step 10/13 : COPY go.mod vendor* ./ 02:11:12 ---> 600320e753db 02:11:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:11:12 ---> Running in c0a7d3106c5f 02:11:14 Still waiting to schedule task 02:11:14 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117494’ 02:11:34 Removing intermediate container c0a7d3106c5f 02:11:34 ---> 3dab4adf85ce 02:11:34 Step 12/13 : COPY . . 02:11:35 ---> 6d9a534b593d 02:11:35 Step 13/13 : RUN ${MAKE} 02:11:35 ---> Running in 1f75d1d5bb21 02:11:35 noop 02:11:36 Removing intermediate container 1f75d1d5bb21 02:11:36 ---> 36799b8d207c 02:11:36 Successfully built 36799b8d207c 02:11:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:36 + docker inspect -f . ci-base-image-x86_64 02:11:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:36 prd-ubuntu20.04-docker-8c-8g-117496 does not seem to be running inside a container 02:11:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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 02:11:36 $ docker top 1721540aa010ed7a0d05ef8d054fcfbffbe19fb5e1581b0550eb1268efc96ff8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:37 + go version 02:11:37 go version go1.18.7 linux/amd64 [Pipeline] } 02:11:37 $ docker stop --time=1 1721540aa010ed7a0d05ef8d054fcfbffbe19fb5e1581b0550eb1268efc96ff8 02:11:38 $ docker rm -f 1721540aa010ed7a0d05ef8d054fcfbffbe19fb5e1581b0550eb1268efc96ff8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:38 + docker inspect -f . ci-base-image-x86_64 02:11:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:38 prd-ubuntu20.04-docker-8c-8g-117496 does not seem to be running inside a container 02:11:39 $ 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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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 02:11:39 $ docker top 4d3abfc27c17cbe72d8c714a7ae420477de6fba61bcc16d43c4edf29add334dd -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:39 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-185 [Pipeline] fileExists [Pipeline] sh 02:11:40 + make test 02:11:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:11:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:11:52 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:11:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.044s coverage: 29.3% of statements 02:11:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:11:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.437s coverage: 86.5% of statements 02:12:03 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." 02:12:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:12:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:12:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:12:07 ./bin/test-attribution-txt.sh [Pipeline] echo 02:12:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:12:07 $ docker stop --time=1 4d3abfc27c17cbe72d8c714a7ae420477de6fba61bcc16d43c4edf29add334dd 02:12:09 $ docker rm -f 4d3abfc27c17cbe72d8c714a7ae420477de6fba61bcc16d43c4edf29add334dd [Pipeline] // withDockerContainer [Pipeline] sh 02:12:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:12:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:12:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:12:10 + ls -al . 02:12:10 total 244 02:12:10 drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 02:11 . 02:12:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:10 .. 02:12:10 drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 02:11 .git 02:12:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:10 .github 02:12:10 -rw-rw-r-- 1 jenkins jenkins 496 Oct 28 02:10 .gitignore 02:12:10 -rw-rw-r-- 1 jenkins jenkins 42 Oct 28 02:10 .golangci.yml 02:12:10 drwxr-xr-x 3 jenkins jenkins 4096 Oct 28 02:10 .semver 02:12:10 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 28 02:10 Attribution.txt 02:12:10 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 28 02:10 CHANGELOG.md 02:12:10 -rw-rw-r-- 1 jenkins jenkins 1637 Oct 28 02:10 Dockerfile 02:12:10 -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 02:10 GOVERNANCE.md 02:12:10 -rw-rw-r-- 1 jenkins jenkins 734 Oct 28 02:10 Jenkinsfile 02:12:10 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 28 02:10 LICENSE 02:12:10 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 28 02:10 Makefile 02:12:10 -rw-rw-r-- 1 jenkins jenkins 625 Oct 28 02:10 OWNERS.md 02:12:10 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 28 02:10 README.md 02:12:10 -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 02:10 VERSION 02:12:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 02:10 bin 02:12:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:10 cmd 02:12:10 -rw-r--r-- 1 jenkins jenkins 79184 Oct 28 02:11 coverage.out 02:12:10 drwxrwxr-x 6 jenkins jenkins 4096 Oct 28 02:10 doc 02:12:10 -rw-rw-r-- 1 jenkins jenkins 3736 Oct 28 02:10 go.mod 02:12:10 -rw-rw-r-- 1 jenkins jenkins 46203 Oct 28 02:10 go.sum 02:12:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:10 internal 02:12:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:10 snap 02:12:10 -rw-rw-r-- 1 jenkins jenkins 236 Oct 28 02:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:11 + 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=fe7118e9402400c87c648e14fd05a6707324221b --label arch=amd64 --label version=0.0.0 . 02:12:11 Sending build context to Docker daemon 27.58MB 02:12:11 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 02:12:11 Step 2/26 : FROM ${BASE} AS builder 02:12:11 ---> 36799b8d207c 02:12:11 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:12:11 ---> Running in f463a87d2009 02:12:11 Removing intermediate container f463a87d2009 02:12:11 ---> 67f0a2deac68 02:12:11 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:12:11 ---> Running in 34779457dfc5 02:12:11 Removing intermediate container 34779457dfc5 02:12:11 ---> f937da5ba8f8 02:12:11 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:12:11 ---> Running in 35bf7f4edf59 02:12:12 Removing intermediate container 35bf7f4edf59 02:12:12 ---> e5bbed9ad29f 02:12:12 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:12:12 ---> Running in 1d4d9149e36b 02:12:12 Removing intermediate container 1d4d9149e36b 02:12:12 ---> bb7bf13983f5 02:12:12 Step 7/26 : LABEL Name=edgex-device-onvif-camera 02:12:12 ---> Running in ac7d3d978827 02:12:12 Removing intermediate container ac7d3d978827 02:12:12 ---> 93908f01266a 02:12:12 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:12:12 ---> Running in dbbf5c4b832f 02:12:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:12:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:12:13 OK: 211 MiB in 51 packages 02:12:13 Removing intermediate container dbbf5c4b832f 02:12:13 ---> c99a9e02ff43 02:12:13 Step 9/26 : WORKDIR /device-onvif-camera 02:12:13 ---> Running in f1450c59eae2 02:12:14 Removing intermediate container f1450c59eae2 02:12:14 ---> 65b27df483c9 02:12:14 Step 10/26 : COPY go.mod vendor* ./ 02:12:14 ---> 6bbc6c23810b 02:12:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:14 ---> Running in 5793e70cb6d3 02:12:14 Removing intermediate container 5793e70cb6d3 02:12:14 ---> 8b1df7bfca3f 02:12:14 Step 12/26 : COPY . . 02:12:15 ---> 8dcd4f5d98ab 02:12:15 Step 13/26 : RUN ${MAKE} 02:12:15 ---> Running in 158f6866eb6e 02:12:15 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 02:12:42 Removing intermediate container 158f6866eb6e 02:12:42 ---> 4b838802bfd4 02:12:42 Step 14/26 : FROM alpine:3.16 02:12:42 3.16: Pulling from library/alpine 02:12:42 213ec9aee27d: Already exists 02:12:42 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:12:42 Status: Downloaded newer image for alpine:3.16 02:12:42 ---> 9c6f07244728 02:12:42 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:12:42 ---> Running in cd131cb06fa4 02:12:42 Removing intermediate container cd131cb06fa4 02:12:42 ---> c771816d72b7 02:12:42 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:12:42 ---> Running in b7dc8e0d43ca 02:12:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:12:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:12:42 (1/6) Installing dumb-init (1.2.5-r1) 02:12:42 (2/6) Installing libgcc (11.2.1_git20220219-r2) 02:12:42 (3/6) Installing libsodium (1.0.18-r0) 02:12:42 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 02:12:42 (5/6) Installing libzmq (4.3.4-r0) 02:12:42 (6/6) Installing zeromq (4.3.4-r0) 02:12:42 Executing busybox-1.35.0-r17.trigger 02:12:42 OK: 8 MiB in 20 packages 02:12:42 Removing intermediate container b7dc8e0d43ca 02:12:42 ---> 5fc1783f9630 02:12:42 Step 17/26 : WORKDIR / 02:12:42 ---> Running in d572f260ff74 02:12:42 Removing intermediate container d572f260ff74 02:12:42 ---> 2d082e2e5e58 02:12:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 02:12:42 ---> aff605ecec21 02:12:42 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 02:12:42 ---> 190ccb7aeb76 02:12:42 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:12:42 ---> fbe98904283d 02:12:42 Step 21/26 : EXPOSE 59984 02:12:42 ---> Running in fc1751b0a217 02:12:42 Removing intermediate container fc1751b0a217 02:12:42 ---> 0cea1341c044 02:12:42 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 02:12:42 ---> Running in 2c02798f5d52 02:12:42 Removing intermediate container 2c02798f5d52 02:12:42 ---> dc46743f00fd 02:12:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:12:42 ---> Running in df323976a680 02:12:42 Removing intermediate container df323976a680 02:12:42 ---> ee85b27b700a 02:12:42 Step 24/26 : LABEL arch=amd64 02:12:42 ---> Running in f0c1ef16f3d3 02:12:42 Removing intermediate container f0c1ef16f3d3 02:12:42 ---> b2c15c9c453b 02:12:42 Step 25/26 : LABEL git_sha=fe7118e9402400c87c648e14fd05a6707324221b 02:12:42 ---> Running in d5f98bd11598 02:12:42 Removing intermediate container d5f98bd11598 02:12:42 ---> 840d54c7a530 02:12:42 Step 26/26 : LABEL version=0.0.0 02:12:42 ---> Running in 86ef4e49b1b3 02:12:42 Removing intermediate container 86ef4e49b1b3 02:12:42 ---> edd2e34e6603 02:12:42 [Warning] One or more build-args [ARCH] were not consumed 02:12:42 Successfully built edd2e34e6603 02:12:42 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 02:12:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:42 02:12:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:43 latest: Pulling from edgex-lftools-log-publisher 02:12:43 5eb5b503b376: Pulling fs layer 02:12:43 5c69ac0246d0: Pulling fs layer 02:12:43 ec43610c2a17: Pulling fs layer 02:12:43 3a2ae6a8a46f: Pulling fs layer 02:12:43 33b1e0a273af: Pulling fs layer 02:12:43 5d3b04190fa2: Pulling fs layer 02:12:43 2f39f015ded8: Pulling fs layer 02:12:43 33b1e0a273af: Waiting 02:12:43 5d3b04190fa2: Waiting 02:12:43 2f39f015ded8: Waiting 02:12:43 3a2ae6a8a46f: Waiting 02:12:43 5c69ac0246d0: Verifying Checksum 02:12:43 3a2ae6a8a46f: Verifying Checksum 02:12:43 3a2ae6a8a46f: Download complete 02:12:43 33b1e0a273af: Verifying Checksum 02:12:43 33b1e0a273af: Download complete 02:12:43 ec43610c2a17: Verifying Checksum 02:12:43 ec43610c2a17: Download complete 02:12:43 5d3b04190fa2: Verifying Checksum 02:12:43 5d3b04190fa2: Download complete 02:12:43 5eb5b503b376: Verifying Checksum 02:12:43 5eb5b503b376: Download complete 02:12:43 2f39f015ded8: Verifying Checksum 02:12:43 2f39f015ded8: Download complete 02:12:44 5eb5b503b376: Pull complete 02:12:44 5c69ac0246d0: Pull complete 02:12:45 ec43610c2a17: Pull complete 02:12:45 3a2ae6a8a46f: Pull complete 02:12:45 33b1e0a273af: Pull complete 02:12:45 5d3b04190fa2: Pull complete 02:12:49 2f39f015ded8: Pull complete 02:12:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:12:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:49 prd-ubuntu20.04-docker-8c-8g-117496 does not seem to be running inside a container 02:12:49 $ 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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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 02:12:52 $ docker top ebad3095410e1c82724328262567704ba279b0e9df7e696ae937afb5e5c6538d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:53 ---> job-cost.sh 02:12:53 lf-activate-venv: SKIPPING 02:12:53 INFO: No Stack... 02:12:53 INFO: Retrieving Pricing Info for: v3-standard-8 02:12:53 INFO: Archiving Costs [Pipeline] sh 02:12:54 + cat /w/workspace/undry_device-onvif-camera_PR-185/archives/cost.csv 02:12:54 + cut -d, -f6 [Pipeline] lock 02:12:54 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-185-5-stack-cost] 02:12:54 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-5-stack-cost] did not exist. Created. 02:12:54 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-185-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:12:54 + echo total: 0.2199999988079071 [Pipeline] stash 02:12:54 Stashed 1 file(s) [Pipeline] } 02:12:54 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-5-stack-cost] [Pipeline] // lock [Pipeline] } 02:12:54 $ docker stop --time=1 ebad3095410e1c82724328262567704ba279b0e9df7e696ae937afb5e5c6538d 02:12:55 $ docker rm -f ebad3095410e1c82724328262567704ba279b0e9df7e696ae937afb5e5c6538d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:13:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117499 in /w/workspace/undry_device-onvif-camera_PR-185 [Pipeline] { [Pipeline] ws 02:13:48 Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout 02:13:48 The recommended git tool is: git 02:13:54 using credential edgex-jenkins-ssh 02:13:54 Cloning the remote Git repository 02:13:54 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:13:54 > git init /w/workspace/device-onvif-camera/5 # timeout=10 02:13:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:13:54 > git --version # timeout=10 02:13:54 > git --version # 'git version 2.25.1' 02:13:54 using GIT_SSH to set credentials SSH Credentials for GitHub 02:13:54 Verifying host key using known hosts file 02:13:54 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. 02:13:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:13:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:13:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:13:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:13:57 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:13:57 using GIT_SSH to set credentials SSH Credentials for GitHub 02:13:57 Verifying host key using known hosts file 02:13:57 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. 02:13:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:13:58 Merging remotes/origin/main commit 8e26798799e0d9344b61f434dca15061827fa01a into PR head commit 659f5a409730c1aa6059f10a7d2527ba47038078 02:13:59 Merge succeeded, producing e74e94ec0c39d6a2bc49715fcb3be606d2cb7b6d 02:13:59 Checking out Revision e74e94ec0c39d6a2bc49715fcb3be606d2cb7b6d (PR-185) 02:13:58 > git config core.sparsecheckout # timeout=10 02:13:58 > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # timeout=10 02:13:58 > git remote # timeout=10 02:13:58 > git config --get remote.origin.url # timeout=10 02:13:58 using GIT_SSH to set credentials SSH Credentials for GitHub 02:13:58 Verifying host key using known hosts file 02:13:58 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. 02:13:58 > git merge 8e26798799e0d9344b61f434dca15061827fa01a # timeout=10 02:13:59 > git rev-parse HEAD^{commit} # timeout=10 02:13:59 > git config core.sparsecheckout # timeout=10 02:13:59 > git checkout -f e74e94ec0c39d6a2bc49715fcb3be606d2cb7b6d # timeout=10 02:14:02 Commit message: "Merge commit '8e26798799e0d9344b61f434dca15061827fa01a' into HEAD" 02:14:02 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:14:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:14:03 % Total % Received % Xferd Average Speed Time Time Time Current 02:14:03 Dload Upload Total Spent Left Speed 02:14:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91318 0 --:--:-- --:--:-- --:--:-- 91318 02:14:02 > git rev-list --no-walk 95b43847cab40fa8df647346e2b1e463c7afb4fd # timeout=10 [Pipeline] sh 02:14:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:14:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 02:14:05 sudo tee /etc/docker/daemon.new 02:14:05 { 02:14:05 "registry-mirrors": [ 02:14:05 "https://nexus3.edgexfoundry.org:10001" 02:14:05 ], 02:14:05 "bip": "10.250.0.254/24", 02:14:05 "hosts": [ 02:14:05 "tcp://0.0.0.0:5555", 02:14:05 "unix:///var/run/docker.sock" 02:14:05 ], 02:14:05 "mtu": 1458, 02:14:05 "selinux-enabled": true, 02:14:05 "seccomp-profile": "/etc/docker/seccomp.json" 02:14:05 } [Pipeline] sh 02:14:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:14:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:14:24 provisioning config files... 02:14:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config2004576404882213537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:14:24 ---> docker-login.sh 02:14:24 nexus3.edgexfoundry.org:10001 02:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:25 Configure a credential helper to remove this warning. See 02:14:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:25 02:14:25 Login Succeeded 02:14:25 nexus3.edgexfoundry.org:10002 02:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:25 Configure a credential helper to remove this warning. See 02:14:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:25 02:14:25 Login Succeeded 02:14:25 nexus3.edgexfoundry.org:10003 02:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:25 Configure a credential helper to remove this warning. See 02:14:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:25 02:14:25 Login Succeeded 02:14:25 nexus3.edgexfoundry.org:10004 02:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:26 Configure a credential helper to remove this warning. See 02:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:26 02:14:26 Login Succeeded 02:14:26 docker.io 02:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:26 Configure a credential helper to remove this warning. See 02:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:26 02:14:26 Login Succeeded 02:14:26 ---> docker-login.sh ends [Pipeline] } 02:14:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:14:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:14:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:14:26 ========================================================= 02:14:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:14:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:27 + 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 . 02:14:27 Sending build context to Docker daemon 20.43MB 02:14:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 02:14:27 Step 2/13 : FROM ${BASE} AS builder 02:14:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:14:28 9b18e9b68314: Pulling fs layer 02:14:28 d32db5db7311: Pulling fs layer 02:14:28 d0c4b47475fc: Pulling fs layer 02:14:28 5831b945b038: Pulling fs layer 02:14:28 86bbec2aaacd: Pulling fs layer 02:14:28 5831b945b038: Waiting 02:14:28 e10730c5d714: Pulling fs layer 02:14:28 86bbec2aaacd: Waiting 02:14:28 5dd5c2283517: Pulling fs layer 02:14:28 e10730c5d714: Waiting 02:14:28 5dd5c2283517: Waiting 02:14:28 d5ac0230b979: Pulling fs layer 02:14:28 d5ac0230b979: Waiting 02:14:28 d0c4b47475fc: Verifying Checksum 02:14:28 d0c4b47475fc: Download complete 02:14:28 d32db5db7311: Verifying Checksum 02:14:28 d32db5db7311: Download complete 02:14:28 86bbec2aaacd: Verifying Checksum 02:14:28 86bbec2aaacd: Download complete 02:14:28 9b18e9b68314: Verifying Checksum 02:14:28 e10730c5d714: Verifying Checksum 02:14:28 e10730c5d714: Download complete 02:14:29 9b18e9b68314: Pull complete 02:14:29 d5ac0230b979: Verifying Checksum 02:14:29 d5ac0230b979: Download complete 02:14:29 d32db5db7311: Pull complete 02:14:29 d0c4b47475fc: Pull complete 02:14:30 5dd5c2283517: Verifying Checksum 02:14:30 5dd5c2283517: Download complete 02:14:31 5831b945b038: Verifying Checksum 02:14:31 5831b945b038: Download complete 02:14:43 5831b945b038: Pull complete 02:14:43 86bbec2aaacd: Pull complete 02:14:43 e10730c5d714: Pull complete 02:14:47 5dd5c2283517: Pull complete 02:14:50 d5ac0230b979: Pull complete 02:14:50 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 02:14:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:14:50 ---> 59b3b1a385d4 02:14:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:14:51 ---> Running in f84e503b370a 02:14:51 Removing intermediate container f84e503b370a 02:14:51 ---> 72139c5502e5 02:14:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:14:52 ---> Running in b92e521a4b50 02:14:52 Removing intermediate container b92e521a4b50 02:14:52 ---> 94d712527694 02:14:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:14:52 ---> Running in ca038006a9f3 02:14:52 Removing intermediate container ca038006a9f3 02:14:52 ---> 193d9f0d07be 02:14:52 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:14:53 ---> Running in 82b77dfe3f42 02:14:53 Removing intermediate container 82b77dfe3f42 02:14:53 ---> 239b0c2c79f3 02:14:53 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:14:53 ---> Running in a2e36718ee2c 02:14:53 Removing intermediate container a2e36718ee2c 02:14:53 ---> ad28974d1cba 02:14:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:14:53 ---> Running in a03d1a98fe12 02:14:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:14:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:14:56 OK: 221 MiB in 51 packages 02:14:57 Removing intermediate container a03d1a98fe12 02:14:57 ---> 3446c5ff31a9 02:14:57 Step 9/13 : WORKDIR /device-onvif-camera 02:14:57 ---> Running in 882a2a999ced 02:14:57 Removing intermediate container 882a2a999ced 02:14:57 ---> 0d0085ccea4e 02:14:57 Step 10/13 : COPY go.mod vendor* ./ 02:14:57 ---> 2c1af60080b3 02:14:57 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:14:57 ---> Running in 71dc4402cb69 02:15:54 Removing intermediate container 71dc4402cb69 02:15:54 ---> 9872b5ddaac4 02:15:54 Step 12/13 : COPY . . 02:15:54 ---> 5087c9f46250 02:15:54 Step 13/13 : RUN ${MAKE} 02:15:54 ---> Running in b5e47cebdbb8 02:15:54 noop 02:15:55 Removing intermediate container b5e47cebdbb8 02:15:55 ---> 629f175baddc 02:15:55 Successfully built 629f175baddc 02:15:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:55 + docker inspect -f . ci-base-image-arm64 02:15:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:15:56 prd-ubuntu20.04-docker-arm64-4c-16g-117499 does not seem to be running inside a container 02:15:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:15:57 $ docker top 893d2028541d9d688af257adf7c56435de4ee55078a14df60e2a5387f461f610 -eo pid,comm [Pipeline] { [Pipeline] sh 02:15:58 + go version 02:15:58 go version go1.18.7 linux/arm64 [Pipeline] } 02:15:58 $ docker stop --time=1 893d2028541d9d688af257adf7c56435de4ee55078a14df60e2a5387f461f610 02:16:00 $ docker rm -f 893d2028541d9d688af257adf7c56435de4ee55078a14df60e2a5387f461f610 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:00 + docker inspect -f . ci-base-image-arm64 02:16:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:16:00 prd-ubuntu20.04-docker-arm64-4c-16g-117499 does not seem to be running inside a container 02:16:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:16:02 $ docker top 348b928dd80e1b4c4afa21df0a7178617d5608d901cefc22b26dd14eeec32a30 -eo pid,comm [Pipeline] { [Pipeline] sh 02:16:03 + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh 02:16:03 + make test 02:16:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:16:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:17:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:17:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.219s coverage: 29.3% of statements 02:17:57 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:18:15 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.308s coverage: 86.5% of statements 02:18:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:18:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:18:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:18:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:18:54 ./bin/test-attribution-txt.sh [Pipeline] echo 02:18:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:18:54 $ docker stop --time=1 348b928dd80e1b4c4afa21df0a7178617d5608d901cefc22b26dd14eeec32a30 02:18:56 $ docker rm -f 348b928dd80e1b4c4afa21df0a7178617d5608d901cefc22b26dd14eeec32a30 [Pipeline] // withDockerContainer [Pipeline] sh 02:18:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:18:58 Warning: overwriting stash ‘coverage-report’ 02:18:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:18:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:18:59 + ls -al . 02:18:59 total 240 02:18:59 drwxrwxr-x 9 jenkins jenkins 4096 Oct 28 02:16 . 02:18:59 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:13 .. 02:18:59 drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 02:13 .git 02:18:59 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:13 .github 02:18:59 -rw-rw-r-- 1 jenkins jenkins 496 Oct 28 02:13 .gitignore 02:18:59 -rw-rw-r-- 1 jenkins jenkins 42 Oct 28 02:13 .golangci.yml 02:18:59 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 28 02:13 Attribution.txt 02:18:59 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 28 02:13 CHANGELOG.md 02:18:59 -rw-rw-r-- 1 jenkins jenkins 1637 Oct 28 02:13 Dockerfile 02:18:59 -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 02:13 GOVERNANCE.md 02:18:59 -rw-rw-r-- 1 jenkins jenkins 734 Oct 28 02:13 Jenkinsfile 02:18:59 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 28 02:13 LICENSE 02:18:59 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 28 02:13 Makefile 02:18:59 -rw-rw-r-- 1 jenkins jenkins 625 Oct 28 02:13 OWNERS.md 02:18:59 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 28 02:13 README.md 02:18:59 -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 02:10 VERSION 02:18:59 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 02:13 bin 02:18:59 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:13 cmd 02:18:59 -rw-r--r-- 1 jenkins jenkins 79184 Oct 28 02:18 coverage.out 02:18:59 drwxrwxr-x 6 jenkins jenkins 4096 Oct 28 02:13 doc 02:18:59 -rw-rw-r-- 1 jenkins jenkins 3736 Oct 28 02:13 go.mod 02:18:59 -rw-rw-r-- 1 jenkins jenkins 46203 Oct 28 02:13 go.sum 02:18:59 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:13 internal 02:18:59 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:13 snap 02:18:59 -rw-rw-r-- 1 jenkins jenkins 236 Oct 28 02:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:59 + 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=e74e94ec0c39d6a2bc49715fcb3be606d2cb7b6d --label arch=arm64 --label version=0.0.0 . 02:19:01 Sending build context to Docker daemon 20.51MB 02:19:01 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 02:19:01 Step 2/26 : FROM ${BASE} AS builder 02:19:01 ---> 629f175baddc 02:19:01 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:19:01 ---> Running in 7db521ac0840 02:19:01 Removing intermediate container 7db521ac0840 02:19:01 ---> b3704f72b49e 02:19:01 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:19:02 ---> Running in 175e64e49aee 02:19:02 Removing intermediate container 175e64e49aee 02:19:02 ---> fe7866d5e1c5 02:19:02 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:19:02 ---> Running in 9b33361fd193 02:19:03 Removing intermediate container 9b33361fd193 02:19:03 ---> 5d6de53df5c3 02:19:03 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:19:03 ---> Running in 938a210bb5fa 02:19:04 Removing intermediate container 938a210bb5fa 02:19:04 ---> e0ca74011ae0 02:19:04 Step 7/26 : LABEL Name=edgex-device-onvif-camera 02:19:04 ---> Running in afc4ab7d907c 02:19:04 Removing intermediate container afc4ab7d907c 02:19:04 ---> 35d6184e85b0 02:19:04 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:19:04 ---> Running in 8e5f554ee17a 02:19:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:19:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:19:08 OK: 221 MiB in 51 packages 02:19:10 Removing intermediate container 8e5f554ee17a 02:19:10 ---> 8a4d1b812846 02:19:10 Step 9/26 : WORKDIR /device-onvif-camera 02:19:10 ---> Running in fc9374745c73 02:19:10 Removing intermediate container fc9374745c73 02:19:10 ---> 938923429449 02:19:10 Step 10/26 : COPY go.mod vendor* ./ 02:19:11 ---> 72c22f2feec0 02:19:11 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:19:11 ---> Running in 02719d5fe349 02:19:14 Removing intermediate container 02719d5fe349 02:19:14 ---> 39dafb96c7ae 02:19:14 Step 12/26 : COPY . . 02:19:16 ---> 00b44e5df479 02:19:16 Step 13/26 : RUN ${MAKE} 02:19:16 ---> Running in 9d30d706e36f 02:19:17 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 02:22:09 Removing intermediate container 9d30d706e36f 02:22:09 ---> c9846fe1acd2 02:22:09 Step 14/26 : FROM alpine:3.16 02:22:09 3.16: Pulling from library/alpine 02:22:09 9b18e9b68314: Already exists 02:22:09 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:22:09 Status: Downloaded newer image for alpine:3.16 02:22:09 ---> a6215f271958 02:22:09 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:22:09 ---> Running in 26b93185a82e 02:22:09 Removing intermediate container 26b93185a82e 02:22:09 ---> c6635f4184bb 02:22:09 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:22:09 ---> Running in 63a53189c403 02:22:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:22:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:22:09 (1/6) Installing dumb-init (1.2.5-r1) 02:22:09 (2/6) Installing libgcc (11.2.1_git20220219-r2) 02:22:09 (3/6) Installing libsodium (1.0.18-r0) 02:22:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 02:22:09 (5/6) Installing libzmq (4.3.4-r0) 02:22:09 (6/6) Installing zeromq (4.3.4-r0) 02:22:09 Executing busybox-1.35.0-r17.trigger 02:22:09 OK: 8 MiB in 20 packages 02:22:09 Removing intermediate container 63a53189c403 02:22:09 ---> f2d751897c82 02:22:09 Step 17/26 : WORKDIR / 02:22:09 ---> Running in 4fc3202eb8b0 02:22:09 Removing intermediate container 4fc3202eb8b0 02:22:09 ---> 6db47f276679 02:22:09 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 02:22:09 ---> 6a77e6abd2ee 02:22:09 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 02:22:09 ---> 510ccb15959a 02:22:09 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:22:10 ---> c6c6ac0720f0 02:22:10 Step 21/26 : EXPOSE 59984 02:22:10 ---> Running in d3366a8daf26 02:22:10 Removing intermediate container d3366a8daf26 02:22:10 ---> d16203f37de0 02:22:10 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 02:22:10 ---> Running in 14215c8d7348 02:22:11 Removing intermediate container 14215c8d7348 02:22:11 ---> 738580101099 02:22:11 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:22:11 ---> Running in d0a7c6a11dad 02:22:11 Removing intermediate container d0a7c6a11dad 02:22:11 ---> c176a3a33b16 02:22:11 Step 24/26 : LABEL arch=arm64 02:22:11 ---> Running in ad207c22476b 02:22:11 Removing intermediate container ad207c22476b 02:22:11 ---> 9c427e34abf0 02:22:11 Step 25/26 : LABEL git_sha=e74e94ec0c39d6a2bc49715fcb3be606d2cb7b6d 02:22:12 ---> Running in 6b2a0186dfce 02:22:12 Removing intermediate container 6b2a0186dfce 02:22:12 ---> 8f6e6dfaed7c 02:22:12 Step 26/26 : LABEL version=0.0.0 02:22:12 ---> Running in 61f06c62f485 02:22:12 Removing intermediate container 61f06c62f485 02:22:12 ---> 5e80b73d5a12 02:22:12 [Warning] One or more build-args [ARCH] were not consumed 02:22:12 Successfully built 5e80b73d5a12 02:22:12 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 02:22:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:13 02:22:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:13 arm64: Pulling from edgex-lftools-log-publisher 02:22:13 8998bd30e6a1: Pulling fs layer 02:22:13 04944245beec: Pulling fs layer 02:22:13 699f458cf7ca: Pulling fs layer 02:22:13 765212b225bb: Pulling fs layer 02:22:13 f23df028b6ca: Pulling fs layer 02:22:13 d65c8cfc05b1: Pulling fs layer 02:22:13 2437ff75d9bd: Pulling fs layer 02:22:13 765212b225bb: Waiting 02:22:13 d65c8cfc05b1: Waiting 02:22:13 2437ff75d9bd: Waiting 02:22:13 f23df028b6ca: Waiting 02:22:14 04944245beec: Verifying Checksum 02:22:14 04944245beec: Download complete 02:22:14 765212b225bb: Verifying Checksum 02:22:14 765212b225bb: Download complete 02:22:14 f23df028b6ca: Verifying Checksum 02:22:14 f23df028b6ca: Download complete 02:22:14 d65c8cfc05b1: Verifying Checksum 02:22:14 d65c8cfc05b1: Download complete 02:22:14 699f458cf7ca: Verifying Checksum 02:22:14 699f458cf7ca: Download complete 02:22:14 8998bd30e6a1: Verifying Checksum 02:22:14 8998bd30e6a1: Download complete 02:22:17 2437ff75d9bd: Verifying Checksum 02:22:17 2437ff75d9bd: Download complete 02:22:19 8998bd30e6a1: Pull complete 02:22:19 04944245beec: Pull complete 02:22:20 699f458cf7ca: Pull complete 02:22:20 765212b225bb: Pull complete 02:22:21 f23df028b6ca: Pull complete 02:22:21 d65c8cfc05b1: Pull complete 02:22:36 2437ff75d9bd: Pull complete 02:22:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:22:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:22:37 prd-ubuntu20.04-docker-arm64-4c-16g-117499 does not seem to be running inside a container 02:22:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:22:40 $ docker top 03434079b79ff163aca2a24412a342d1f7007d83c9cc57167017ca9831d1dd3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:22:40 ---> job-cost.sh 02:22:40 lf-activate-venv: SKIPPING 02:22:40 INFO: No Stack... 02:22:41 INFO: Retrieving Pricing Info for: v3-standard-4 02:22:42 INFO: Archiving Costs [Pipeline] sh 02:22:42 + cat /w/workspace/device-onvif-camera/5/archives/cost.csv 02:22:42 + cut -d, -f6 [Pipeline] lock 02:22:42 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-185-5-stack-cost] 02:22:42 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-5-stack-cost] did not exist. Created. 02:22:42 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-185-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:22:43 /w/workspace/device-onvif-camera/5@tmp/durable-5278cb5f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:22:44 + echo total: 0.10999999940395355 [Pipeline] stash 02:22:44 Warning: overwriting stash ‘stack-cost’ 02:22:44 Stashed 1 file(s) [Pipeline] } 02:22:44 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-5-stack-cost] [Pipeline] // lock [Pipeline] } 02:22:44 $ docker stop --time=1 03434079b79ff163aca2a24412a342d1f7007d83c9cc57167017ca9831d1dd3a 02:22:45 $ docker rm -f 03434079b79ff163aca2a24412a342d1f7007d83c9cc57167017ca9831d1dd3a [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 02:22:46 provisioning config files... 02:22:46 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config571557749961080976tmp [Pipeline] { [Pipeline] sh 02:22:46 + set +x 02:22:46 + curl -s https://codecov.io/bash 02:22:46 + bash -s -- 02:22:46 02:22:46 _____ _ 02:22:46 / ____| | | 02:22:46 | | ___ __| | ___ ___ _____ __ 02:22:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:22:46 | |___| (_) | (_| | __/ (_| (_) \ V / 02:22:46 \_____\___/ \__,_|\___|\___\___/ \_/ 02:22:46 Bash-1.0.6 02:22:46 02:22:46 02:22:46 ==> git version 2.25.1 found 02:22:46 ==> 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 02:22:46 Release-Date: 2020-01-08 02:22:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:22:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:22:46 ==> Jenkins CI detected. 02:22:46 current dir:  /w/workspace/undry_device-onvif-camera_PR-185 02:22:46 project root: . 02:22:46 --> token set from env 02:22:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:22:46 ==> Running gcov in . (disable via -X gcov) 02:22:46 ==> Python coveragepy not found 02:22:46 ==> Searching for coverage reports in: 02:22:46 + . 02:22:46 -> Found 1 reports 02:22:46 ==> Detecting git/mercurial file structure 02:22:46 ==> Reading reports 02:22:46 + ./coverage.out bytes=79184 02:22:46 ==> Appending adjustments 02:22:46 https://docs.codecov.io/docs/fixing-reports 02:22:46 + Found adjustments 02:22:46 ==> Gzipping contents 02:22:46 12K /tmp/codecov.u9R6Q3.gz 02:22:46 ==> Uploading reports 02:22:46 url: https://codecov.io 02:22:46 query: branch=PR-185&commit=fe7118e9402400c87c648e14fd05a6707324221b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-185%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=185&job=&cmd_args= 02:22:46 -> Pinging Codecov 02:22:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-185&commit=fe7118e9402400c87c648e14fd05a6707324221b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-185%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=185&job=&cmd_args= 02:22:47 -> Uploading to 02:22:47 https://storage.googleapis.com/codecov/v4/raw/2022-10-28/F29A59C45E3A92E06B3E522C9905F8EF/fe7118e9402400c87c648e14fd05a6707324221b/ed01c168-387a-428b-9b14-b1169813de47.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221028%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221028T022247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3a9284922f144d9b1898ae7dc5f7ae1c29aa3e27f849577503931c334c3e3f94 02:22:47 % Total % Received % Xferd Average Speed Time Time Time Current 02:22:47 Dload Upload Total Spent Left Speed 02:22:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10892 0 0 100 10892 0 39897 --:--:-- --:--:-- --:--:-- 39897 02:22:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/fe7118e9402400c87c648e14fd05a6707324221b [Pipeline] } 02:22:47 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 02:22:48 + [ -d /w/workspace/undry_device-onvif-camera_PR-185/archives ] 02:22:48 + ls -al /w/workspace/undry_device-onvif-camera_PR-185/archives 02:22:48 total 16 02:22:48 drwxr-xr-x 3 root root 4096 Oct 28 02:12 . 02:22:48 drwxrwxr-x 11 jenkins jenkins 4096 Oct 28 02:12 .. 02:22:48 drwxr-xr-x 2 root root 4096 Oct 28 02:12 cost 02:22:48 -rw-r--r-- 1 root root 91 Oct 28 02:12 cost.csv 02:22:48 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-185/archives 02:22:48 + ls -al /w/workspace/undry_device-onvif-camera_PR-185/archives 02:22:48 total 16 02:22:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 28 02:12 . 02:22:48 drwxrwxr-x 11 jenkins jenkins 4096 Oct 28 02:12 .. 02:22:48 drwxr-xr-x 2 jenkins jenkins 4096 Oct 28 02:12 cost 02:22:48 -rw-r--r-- 1 jenkins jenkins 91 Oct 28 02:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:22:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:22:49 ---> package-listing.sh 02:22:49 ++ tr '[:upper:]' '[:lower:]' 02:22:49 ++ facter osfamily 02:22:49 + OS_FAMILY=debian 02:22:49 + workspace=/w/workspace/undry_device-onvif-camera_PR-185 02:22:49 + START_PACKAGES=/tmp/packages_start.txt 02:22:49 + END_PACKAGES=/tmp/packages_end.txt 02:22:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:22:49 + PACKAGES=/tmp/packages_start.txt 02:22:49 + '[' /w/workspace/undry_device-onvif-camera_PR-185 ']' 02:22:49 + PACKAGES=/tmp/packages_end.txt 02:22:49 + case "${OS_FAMILY}" in 02:22:49 + dpkg -l 02:22:49 + grep '^ii' 02:22:49 + '[' -f /tmp/packages_start.txt ']' 02:22:49 + '[' -f /tmp/packages_end.txt ']' 02:22:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:22:49 + '[' /w/workspace/undry_device-onvif-camera_PR-185 ']' 02:22:49 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-185/archives/ 02:22:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-185/archives/ [Pipeline] echo 02:22:49 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:22:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:22:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:22:50 prd-ubuntu20.04-docker-8c-8g-117496 does not seem to be running inside a container 02:22:50 $ 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-185/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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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 02:22:50 $ docker top 69e6f131c845184a342ba49d4bee151721c9dd952036f0754b21cd8d9b642503 -eo pid,comm [Pipeline] { [Pipeline] sh 02:22:51 + touch /tmp/pre-build-complete [Pipeline] sh 02:22:51 + mkdir -p /var/log/sysstat [Pipeline] sh 02:22:51 + ls /var/log/sa-host 02:22:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:22:51 provisioning config files... 02:22:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config8765763658895297881tmp [Pipeline] { [Pipeline] echo 02:22:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:22:52 ---> create-netrc.sh [Pipeline] } 02:22:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:22:52 ---> python-tools-install.sh [Pipeline] echo 02:22:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:22:52 ---> sudo-logs.sh 02:22:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:22:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:22:53 ---> job-cost.sh 02:22:53 lf-activate-venv: SKIPPING 02:22:53 DEBUG: total: 0.2199999988079071 02:22:53 INFO: Retrieving Stack Cost... 02:22:53 INFO: Retrieving Pricing Info for: v3-standard-8 02:22:53 INFO: Archiving Costs [Pipeline] echo 02:22:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:22:54 ---> logs-deploy.sh 02:22:54 lf-activate-venv: SKIPPING 02:22:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-185/5 02:22:54 INFO: archiving workspace using pattern(s): 02:22:55 Archives upload complete. 02:22:55 INFO: archiving logs to Nexus 02:22:56 ---> uname -a: 02:22:56 Linux prd-ubuntu20-04-docker-8c-8g-117496 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:22:56 02:22:56 02:22:56 ---> lscpu: 02:22:56 Architecture: x86_64 02:22:56 CPU op-mode(s): 32-bit, 64-bit 02:22:56 Byte Order: Little Endian 02:22:56 Address sizes: 40 bits physical, 48 bits virtual 02:22:56 CPU(s): 8 02:22:56 On-line CPU(s) list: 0-7 02:22:56 Thread(s) per core: 1 02:22:56 Core(s) per socket: 1 02:22:56 Socket(s): 8 02:22:56 NUMA node(s): 1 02:22:56 Vendor ID: AuthenticAMD 02:22:56 CPU family: 23 02:22:56 Model: 49 02:22:56 Model name: AMD EPYC-Rome Processor 02:22:56 Stepping: 0 02:22:56 CPU MHz: 2799.998 02:22:56 BogoMIPS: 5599.99 02:22:56 Virtualization: AMD-V 02:22:56 Hypervisor vendor: KVM 02:22:56 Virtualization type: full 02:22:56 L1d cache: 256 KiB 02:22:56 L1i cache: 256 KiB 02:22:56 L2 cache: 4 MiB 02:22:56 L3 cache: 128 MiB 02:22:56 NUMA node0 CPU(s): 0-7 02:22:56 Vulnerability Itlb multihit: Not affected 02:22:56 Vulnerability L1tf: Not affected 02:22:56 Vulnerability Mds: Not affected 02:22:56 Vulnerability Meltdown: Not affected 02:22:56 Vulnerability Mmio stale data: Not affected 02:22:56 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:22:56 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:22:56 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:22:56 Vulnerability Srbds: Not affected 02:22:56 Vulnerability Tsx async abort: Not affected 02:22:56 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 02:22:56 02:22:56 02:22:56 ---> nproc: 02:22:56 8 02:22:56 02:22:56 02:22:56 ---> df -h: 02:22:56 Filesystem Size Used Avail Use% Mounted on 02:22:56 overlay 155G 12G 144G 8% / 02:22:56 tmpfs 64M 0 64M 0% /dev 02:22:56 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:22:56 shm 64M 0 64M 0% /dev/shm 02:22:56 /dev/vda1 155G 12G 144G 8% /facter-os 02:22:56 02:22:56 02:22:56 ---> sar -b -r -n DEV: 02:22:56 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117496) 10/28/22 _x86_64_ (8 CPU) 02:22:56 02:22:56 02:10:04 LINUX RESTART (8 CPU) 02:22:56 02:22:56 02:11:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:22:56 02:12:01 177.43 1.32 176.11 0.00 34.16 69602.98 0.00 02:22:56 02:13:01 185.00 0.17 184.84 0.00 3.07 43753.64 0.00 02:22:56 02:14:01 1.72 0.00 1.72 0.00 0.00 20.95 0.00 02:22:56 02:15:01 1.72 0.00 1.72 0.00 0.00 20.13 0.00 02:22:56 02:16:01 38.94 9.33 29.61 0.00 2884.32 4762.14 0.00 02:22:56 02:17:01 1.80 0.02 1.78 0.00 0.13 20.39 0.00 02:22:56 02:18:01 1.47 0.00 1.47 0.00 0.00 16.53 0.00 02:22:56 02:19:01 1.67 0.00 1.67 0.00 0.00 18.53 0.00 02:22:56 02:20:01 1.05 0.00 1.05 0.00 0.00 12.66 0.00 02:22:56 02:21:01 2.00 0.00 2.00 0.00 0.00 33.33 0.00 02:22:56 02:22:01 0.93 0.00 0.93 0.00 0.00 10.40 0.00 02:22:56 Average: 37.40 0.98 36.41 0.00 265.94 10662.93 0.00 02:22:56 02:22:56 02:11:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:22:56 02:12:01 27837372 31085136 1213840 3.69 139976 3297412 2334608 6.88 1729292 2849484 149812 02:22:56 02:13:01 27715776 31593664 705788 2.15 152804 3877532 1763780 5.20 1283620 3380832 408 02:22:56 02:14:01 27715924 31593904 705196 2.14 152840 3877536 1763780 5.20 1283604 3380836 32 02:22:56 02:15:01 27717816 31596028 702836 2.14 152876 3877540 1763780 5.20 1281048 3380924 32 02:22:56 02:16:01 27434812 31588476 696716 2.12 171156 4126460 1780048 5.25 1424600 3495732 8 02:22:56 02:17:01 27434944 31588704 696468 2.12 171228 4126460 1780048 5.25 1424516 3495736 12 02:22:56 02:18:01 27436208 31590368 694636 2.11 171308 4126468 1780048 5.25 1423332 3496000 8 02:22:56 02:19:01 27436040 31590284 694720 2.11 171364 4126468 1780048 5.25 1423372 3496020 4 02:22:56 02:20:01 27435912 31590192 694592 2.11 171412 4126456 1780048 5.25 1423372 3496024 12 02:22:56 02:21:01 27435976 31590452 694324 2.11 171500 4126476 1780048 5.25 1423644 3496024 16 02:22:56 02:22:01 27435864 31590340 694384 2.11 171524 4126476 1796220 5.29 1423592 3496024 8 02:22:56 Average: 27548786 31545232 744864 2.27 163453 3983208 1827496 5.39 1413090 3405785 13668 02:22:56 02:22:56 02:11:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:22:56 02:12:01 docker0 158.98 220.26 13.04 1840.09 0.00 0.00 0.00 0.00 02:22:56 02:12:01 veth7d3348d 0.05 0.19 0.00 0.02 0.00 0.00 0.00 0.00 02:22:56 02:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:12:01 ens3 285.95 194.05 2482.53 32.10 0.00 0.00 0.00 0.00 02:22:56 02:13:01 docker0 4.37 9.17 0.27 98.59 0.00 0.00 0.00 0.00 02:22:56 02:13:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 02:22:56 02:13:01 ens3 130.89 81.89 2638.75 19.56 0.00 0.00 0.00 0.00 02:22:56 02:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:14:01 ens3 2.72 0.63 1.86 0.30 0.00 0.00 0.00 0.00 02:22:56 02:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:22:56 02:15:01 ens3 1.03 0.62 0.52 0.41 0.00 0.00 0.00 0.00 02:22:56 02:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:16:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 02:22:56 02:16:01 ens3 48.16 27.10 1296.97 2.22 0.00 0.00 0.00 0.00 02:22:56 02:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:22:56 02:17:01 ens3 0.17 0.12 0.01 0.01 0.00 0.00 0.00 0.00 02:22:56 02:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:18:01 ens3 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:22:56 02:19:01 ens3 0.18 0.13 0.01 0.01 0.00 0.00 0.00 0.00 02:22:56 02:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:20:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:22:56 02:21:01 ens3 0.27 0.18 0.08 0.07 0.00 0.00 0.00 0.00 02:22:56 02:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:22:56 02:22:01 ens3 0.13 0.05 0.06 0.00 0.00 0.00 0.00 0.00 02:22:56 Average: docker0 14.63 20.56 1.19 173.73 0.00 0.00 0.00 0.00 02:22:56 Average: lo 0.30 0.30 0.03 0.03 0.00 0.00 0.00 0.00 02:22:56 Average: ens3 42.32 27.46 580.82 4.93 0.00 0.00 0.00 0.00 02:22:56 02:22:56 02:22:56 ---> sar -P ALL: 02:22:56 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117496) 10/28/22 _x86_64_ (8 CPU) 02:22:56 02:22:56 02:10:04 LINUX RESTART (8 CPU) 02:22:56 02:22:56 02:11:02 CPU %user %nice %system %iowait %steal %idle 02:22:56 02:12:01 all 29.12 0.00 6.45 1.30 0.09 63.04 02:22:56 02:12:01 0 30.39 0.00 6.12 0.07 0.09 63.34 02:22:56 02:12:01 1 31.38 0.00 7.24 3.47 0.09 57.82 02:22:56 02:12:01 2 29.36 0.00 6.75 0.53 0.09 63.27 02:22:56 02:12:01 3 29.53 0.00 6.73 1.92 0.09 61.73 02:22:56 02:12:01 4 28.21 0.00 6.25 0.19 0.07 65.29 02:22:56 02:12:01 5 28.49 0.00 6.13 2.33 0.09 62.97 02:22:56 02:12:01 6 27.68 0.00 5.88 0.46 0.09 65.89 02:22:56 02:12:01 7 27.93 0.00 6.51 1.46 0.10 63.99 02:22:56 02:13:01 all 26.66 0.00 5.79 1.64 0.09 65.83 02:22:56 02:13:01 0 27.53 0.00 5.89 2.88 0.10 63.61 02:22:56 02:13:01 1 25.66 0.00 6.06 1.81 0.08 66.39 02:22:56 02:13:01 2 27.44 0.00 5.56 0.08 0.08 66.83 02:22:56 02:13:01 3 27.08 0.00 5.47 5.65 0.08 61.71 02:22:56 02:13:01 4 25.80 0.00 5.61 0.07 0.08 68.44 02:22:56 02:13:01 5 26.37 0.00 5.91 0.40 0.08 67.23 02:22:56 02:13:01 6 27.53 0.00 5.66 1.53 0.08 65.20 02:22:56 02:13:01 7 25.85 0.00 6.19 0.69 0.08 67.18 02:22:56 02:14:01 all 0.30 0.00 0.01 0.01 0.00 99.67 02:22:56 02:14:01 0 2.02 0.00 0.00 0.00 0.02 97.96 02:22:56 02:14:01 1 0.10 0.00 0.00 0.00 0.00 99.90 02:22:56 02:14:01 2 0.03 0.00 0.00 0.00 0.00 99.97 02:22:56 02:14:01 3 0.07 0.00 0.03 0.02 0.00 99.88 02:22:56 02:14:01 4 0.03 0.00 0.02 0.00 0.00 99.95 02:22:56 02:14:01 5 0.02 0.00 0.02 0.00 0.00 99.97 02:22:56 02:14:01 6 0.03 0.00 0.03 0.00 0.00 99.93 02:22:56 02:14:01 7 0.10 0.00 0.00 0.03 0.02 99.85 02:22:56 02:15:01 all 0.24 0.00 0.02 0.01 0.01 99.72 02:22:56 02:15:01 0 1.73 0.00 0.05 0.03 0.00 98.19 02:22:56 02:15:01 1 0.03 0.00 0.00 0.00 0.02 99.95 02:22:56 02:15:01 2 0.00 0.00 0.02 0.00 0.02 99.97 02:22:56 02:15:01 3 0.05 0.00 0.05 0.02 0.03 99.85 02:22:56 02:15:01 4 0.02 0.00 0.02 0.00 0.00 99.97 02:22:56 02:15:01 5 0.02 0.00 0.00 0.00 0.02 99.97 02:22:56 02:15:01 6 0.02 0.00 0.00 0.00 0.02 99.97 02:22:56 02:15:01 7 0.03 0.00 0.02 0.00 0.00 99.95 02:22:56 02:16:01 all 1.20 0.00 0.87 0.31 0.02 97.59 02:22:56 02:16:01 0 0.95 0.00 0.52 0.02 0.02 98.49 02:22:56 02:16:01 1 1.05 0.00 0.97 0.03 0.02 97.93 02:22:56 02:16:01 2 1.55 0.00 0.73 0.33 0.00 97.38 02:22:56 02:16:01 3 0.58 0.00 0.42 1.04 0.02 97.95 02:22:56 02:16:01 4 1.05 0.00 0.57 0.05 0.03 98.30 02:22:56 02:16:01 5 2.75 0.00 0.67 0.22 0.02 96.35 02:22:56 02:16:01 6 0.73 0.00 2.25 0.52 0.02 96.49 02:22:56 02:16:01 7 0.94 0.00 0.87 0.30 0.03 97.86 02:22:56 02:17:01 all 0.02 0.00 0.01 0.00 0.00 99.96 02:22:56 02:17:01 0 0.02 0.00 0.00 0.00 0.00 99.98 02:22:56 02:17:01 1 0.03 0.00 0.00 0.00 0.00 99.97 02:22:56 02:17:01 2 0.02 0.00 0.02 0.00 0.00 99.97 02:22:56 02:17:01 3 0.05 0.00 0.03 0.02 0.00 99.90 02:22:56 02:17:01 4 0.02 0.00 0.00 0.00 0.00 99.98 02:22:56 02:17:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:22:56 02:17:01 6 0.00 0.00 0.02 0.00 0.00 99.98 02:22:56 02:17:01 7 0.03 0.00 0.00 0.02 0.00 99.95 02:22:56 02:18:01 all 0.04 0.00 0.01 0.01 0.01 99.93 02:22:56 02:18:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:22:56 02:18:01 1 0.13 0.00 0.00 0.00 0.02 99.85 02:22:56 02:18:01 2 0.00 0.00 0.00 0.00 0.00 100.00 02:22:56 02:18:01 3 0.05 0.00 0.03 0.03 0.00 99.88 02:22:56 02:18:01 4 0.02 0.00 0.02 0.00 0.00 99.97 02:22:56 02:18:01 5 0.05 0.00 0.02 0.00 0.02 99.92 02:22:56 02:18:01 6 0.03 0.00 0.00 0.00 0.02 99.95 02:22:56 02:18:01 7 0.03 0.00 0.02 0.02 0.02 99.92 02:22:56 02:19:01 all 0.02 0.00 0.01 0.00 0.01 99.96 02:22:56 02:19:01 0 0.03 0.00 0.02 0.00 0.02 99.93 02:22:56 02:19:01 1 0.05 0.00 0.00 0.00 0.00 99.95 02:22:56 02:19:01 2 0.00 0.00 0.02 0.00 0.02 99.97 02:22:56 02:19:01 3 0.03 0.00 0.00 0.02 0.02 99.93 02:22:56 02:19:01 4 0.02 0.00 0.00 0.00 0.00 99.98 02:22:56 02:19:01 5 0.02 0.00 0.02 0.00 0.00 99.97 02:22:56 02:19:01 6 0.00 0.00 0.00 0.00 0.00 100.00 02:22:56 02:19:01 7 0.02 0.00 0.02 0.02 0.02 99.93 02:22:56 02:20:01 all 0.04 0.00 0.02 0.00 0.00 99.94 02:22:56 02:20:01 0 0.05 0.00 0.02 0.00 0.00 99.93 02:22:56 02:20:01 1 0.05 0.00 0.03 0.00 0.00 99.92 02:22:56 02:20:01 2 0.02 0.00 0.00 0.00 0.00 99.98 02:22:56 02:20:01 3 0.03 0.00 0.02 0.02 0.00 99.93 02:22:56 02:20:01 4 0.00 0.00 0.00 0.00 0.00 100.00 02:22:56 02:20:01 5 0.02 0.00 0.03 0.00 0.00 99.95 02:22:56 02:20:01 6 0.03 0.00 0.02 0.00 0.00 99.95 02:22:56 02:20:01 7 0.08 0.00 0.03 0.02 0.02 99.85 02:22:56 02:21:01 all 0.08 0.00 0.02 0.00 0.00 99.89 02:22:56 02:21:01 0 0.07 0.00 0.05 0.00 0.02 99.87 02:22:56 02:21:01 1 0.08 0.00 0.03 0.00 0.00 99.88 02:22:56 02:21:01 2 0.00 0.00 0.00 0.00 0.00 100.00 02:22:56 02:21:01 3 0.03 0.00 0.02 0.03 0.00 99.92 02:22:56 02:21:01 4 0.03 0.00 0.00 0.00 0.00 99.97 02:22:56 02:21:01 5 0.00 0.00 0.00 0.00 0.00 100.00 02:22:56 02:21:01 6 0.02 0.00 0.02 0.00 0.00 99.97 02:22:56 02:21:01 7 0.40 0.00 0.03 0.00 0.02 99.55 02:22:56 02:22:01 all 0.27 0.00 0.02 0.01 0.00 99.70 02:22:56 02:22:01 0 1.99 0.00 0.00 0.00 0.00 98.01 02:22:56 02:22:01 1 0.03 0.00 0.05 0.00 0.00 99.92 02:22:56 02:22:01 2 0.02 0.00 0.02 0.00 0.00 99.97 02:22:56 02:22:01 3 0.03 0.00 0.02 0.03 0.00 99.92 02:22:56 02:22:01 4 0.00 0.00 0.00 0.00 0.00 100.00 02:22:56 02:22:01 5 0.02 0.00 0.02 0.00 0.02 99.95 02:22:56 02:22:01 6 0.00 0.00 0.00 0.00 0.00 100.00 02:22:56 02:22:01 7 0.05 0.00 0.03 0.02 0.02 99.88 02:22:56 02:22:56 Average: CPU %user %nice %system %iowait %steal %idle 02:22:56 Average: all 5.18 0.00 1.18 0.30 0.02 93.32 02:22:56 Average: 0 5.79 0.00 1.13 0.27 0.02 92.78 02:22:56 Average: 1 5.23 0.00 1.29 0.47 0.02 92.99 02:22:56 Average: 2 5.23 0.00 1.17 0.09 0.02 93.49 02:22:56 Average: 3 5.14 0.00 1.14 0.79 0.02 92.91 02:22:56 Average: 4 4.94 0.00 1.12 0.03 0.02 93.90 02:22:56 Average: 5 5.16 0.00 1.15 0.26 0.02 93.41 02:22:56 Average: 6 5.01 0.00 1.24 0.23 0.02 93.50 02:22:56 Average: 7 4.96 0.00 1.23 0.23 0.03 93.56 02:22:56 02:22:56 02:22:56