Pull request #180 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 48aac476b513547f736cc1fa92662379694eca8e rather than 86c68f64e3a8b624a4bd1892fd05bfd93905ecb0 Obtained Jenkinsfile from 48aac476b513547f736cc1fa92662379694eca8e 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-ssh16578728431001440227.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-ssh8007825243972212669.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13769298017681480030.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-ssh7835828657481370766.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2988791827744787757.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116926 in /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-180 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 86c68f64e3a8b624a4bd1892fd05bfd93905ecb0 Merge succeeded, producing 83023ddd309b38d06d3e1ed86c7136424cccba1f Checking out Revision 83023ddd309b38d06d3e1ed86c7136424cccba1f (PR-180) > git config core.sparsecheckout # timeout=10 > git checkout -f 86c68f64e3a8b624a4bd1892fd05bfd93905ecb0 # 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 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83023ddd309b38d06d3e1ed86c7136424cccba1f # timeout=10 Commit message: "Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:28:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:28:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:28:41 ========================================================= 17:28:41 EdgeX Global Pipelines Version Info 17:28:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:28:41 ------------------- 17:28:41 stable info: 17:28:41 ------------------- 17:28:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:28:41 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 17:28:41 Message: update stable to v1.0.243 > git rev-list --no-walk e17e456190d9fd031fc12666d0d11c4ba3019b4c # timeout=10 17:28:42 ------------------- 17:28:42 experimental info: 17:28:42 ------------------- 17:28:42 Commited By: **** collab-it+edgex@linuxfoundation.org 17:28:42 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 17:28:42 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83023ddd309b38d06d3e1ed86c7136424cccba1f [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83023dd [Pipeline] echo 17:28:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:28:42 provisioning config files... 17:28:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config15364692965800479922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:28:43 ---> docker-login.sh 17:28:43 nexus3.edgexfoundry.org:10001 17:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:43 Configure a credential helper to remove this warning. See 17:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:43 17:28:43 Login Succeeded 17:28:43 nexus3.edgexfoundry.org:10002 17:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:43 Configure a credential helper to remove this warning. See 17:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:43 17:28:43 Login Succeeded 17:28:43 nexus3.edgexfoundry.org:10003 17:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:43 Configure a credential helper to remove this warning. See 17:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:43 17:28:43 Login Succeeded 17:28:43 nexus3.edgexfoundry.org:10004 17:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:43 Configure a credential helper to remove this warning. See 17:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:43 17:28:43 Login Succeeded 17:28:43 docker.io 17:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:44 Configure a credential helper to remove this warning. See 17:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:44 17:28:44 Login Succeeded 17:28:44 ---> docker-login.sh ends [Pipeline] } 17:28:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:28:44 + git rev-list -1 --merges 83023ddd309b38d06d3e1ed86c7136424cccba1f~1..83023ddd309b38d06d3e1ed86c7136424cccba1f [Pipeline] echo 17:28:44 -----------> git rev-list -1 --merges 83023ddd309b38d06d3e1ed86c7136424cccba1f~1..83023ddd309b38d06d3e1ed86c7136424cccba1f 83023ddd309b38d06d3e1ed86c7136424cccba1f 17:28:44 83023ddd309b38d06d3e1ed86c7136424cccba1f [false] [Pipeline] sh 17:28:45 + git log --format=format:%s -1 83023ddd309b38d06d3e1ed86c7136424cccba1f [Pipeline] echo 17:28:45 ========================================================= 17:28:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:28:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:28:45 + git log --format=format:%s -1 83023ddd309b38d06d3e1ed86c7136424cccba1f [Pipeline] echo 17:28:45 [semverPrep] GIT_COMMIT: 83023ddd309b38d06d3e1ed86c7136424cccba1f, Commit Message: Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD [Pipeline] echo 17:28:45 [semverPrep] This is not a build commit. [Pipeline] sh 17:28:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:28:45 + grep -v github /etc/ssh/ssh_known_hosts 17:28:45 + [ -e /tmp/ssh_known_hosts ] 17:28:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:28:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:28:45 + sudo tee -a /etc/ssh/ssh_known_hosts 17:28:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:46 17:28:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:46 0.1.4: Pulling from edgex-devops/py-git-semver 17:28:46 b85a868b505f: Pulling fs layer 17:28:46 e2be974225ed: Pulling fs layer 17:28:46 339a4e72a1f5: Pulling fs layer 17:28:46 988bab9f4d93: Pulling fs layer 17:28:46 1469e6f7b9e6: Pulling fs layer 17:28:46 eaf3925da568: Pulling fs layer 17:28:46 bab4dde63d76: Pulling fs layer 17:28:46 bde34c3a00c8: Pulling fs layer 17:28:46 b352a97aabf1: Pulling fs layer 17:28:46 4872d77fe225: Pulling fs layer 17:28:46 5851b861e8e6: Pulling fs layer 17:28:46 988bab9f4d93: Waiting 17:28:46 1469e6f7b9e6: Waiting 17:28:46 eaf3925da568: Waiting 17:28:46 bab4dde63d76: Waiting 17:28:46 bde34c3a00c8: Waiting 17:28:46 b352a97aabf1: Waiting 17:28:46 4872d77fe225: Waiting 17:28:46 e2be974225ed: Verifying Checksum 17:28:46 e2be974225ed: Download complete 17:28:46 988bab9f4d93: Verifying Checksum 17:28:46 988bab9f4d93: Download complete 17:28:46 339a4e72a1f5: Verifying Checksum 17:28:46 339a4e72a1f5: Download complete 17:28:46 1469e6f7b9e6: Verifying Checksum 17:28:46 1469e6f7b9e6: Download complete 17:28:46 eaf3925da568: Download complete 17:28:46 bde34c3a00c8: Verifying Checksum 17:28:46 bde34c3a00c8: Download complete 17:28:46 b352a97aabf1: Download complete 17:28:46 4872d77fe225: Download complete 17:28:46 b85a868b505f: Download complete 17:28:47 bab4dde63d76: Verifying Checksum 17:28:47 bab4dde63d76: Download complete 17:28:48 b85a868b505f: Pull complete 17:28:48 e2be974225ed: Pull complete 17:28:48 339a4e72a1f5: Pull complete 17:28:48 988bab9f4d93: Pull complete 17:28:49 1469e6f7b9e6: Pull complete 17:28:49 eaf3925da568: Pull complete 17:28:51 bab4dde63d76: Pull complete 17:28:51 bde34c3a00c8: Pull complete 17:28:51 b352a97aabf1: Pull complete 17:28:51 4872d77fe225: Pull complete 17:28:51 5851b861e8e6: Pull complete 17:28:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:28:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:51 prd-ubuntu20.04-docker-8c-8g-116926 does not seem to be running inside a container 17:28:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:28:53 $ docker top a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a -eo pid,comm 17:28: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). 17:28:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:28:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:28:53 [ssh-agent] Looking for ssh-agent implementation... 17:28:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:28:53 $ docker exec a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a ssh-agent 17:28:53 SSH_AUTH_SOCK=/tmp/ssh-bWnGKCWLXX4k/agent.32 17:28:53 SSH_AGENT_PID=38 17:28:53 Running ssh-add (command line suppressed) 17:28:53 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_1460207720593464250.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_1460207720593464250.key) 17:28:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:28:53 + git tag --points-at HEAD [Pipeline] } 17:28:53 $ docker exec --env ******** --env ******** a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a ssh-agent -k 17:28:53 unset SSH_AUTH_SOCK; 17:28:53 unset SSH_AGENT_PID; 17:28:53 echo Agent pid 38 killed; 17:28:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:28:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:28:54 [ssh-agent] Looking for ssh-agent implementation... 17:28:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:28:54 $ docker exec a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a ssh-agent 17:28:54 SSH_AUTH_SOCK=/tmp/ssh-36sHXU6cFiUm/agent.70 17:28:54 SSH_AGENT_PID=77 17:28:54 Running ssh-add (command line suppressed) 17:28:54 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_4339805498007913961.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_4339805498007913961.key) 17:28:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:28:54 + git semver init 17:28:54 2022-10-25 17:28:54,805 [run_init] DEBUG init version:0.0.0 force:False 17:28:54 2022-10-25 17:28:54,805 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver 17:28:54 2022-10-25 17:28:54,806 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-180/.semver 17:28:54 2022-10-25 17:28:54,806 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-180/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-180, universal_newlines=False, shell=None, istream=None) 17:28:56 2022-10-25 17:28:55,835 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude 17:28:56 2022-10-25 17:28:55,836 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 with force:False 17:28:56 2022-10-25 17:28:55,836 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 17:28:56 2022-10-25 17:28:55,840 [execute] INFO git cat-file --batch-check 17:28:56 2022-10-25 17:28:55,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 17:28:56 2022-10-25 17:28:55,848 [execute] INFO git cat-file --batch 17:28:56 2022-10-25 17:28:55,849 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 17:28:56 2022-10-25 17:28:55,855 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 17:28:56 0.0.0 [Pipeline] } 17:28:56 $ docker exec --env ******** --env ******** a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a ssh-agent -k 17:28:56 unset SSH_AUTH_SOCK; 17:28:56 unset SSH_AGENT_PID; 17:28:56 echo Agent pid 77 killed; 17:28:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:28:56 + git semver [Pipeline] } 17:28:56 $ docker stop --time=1 a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a 17:28:58 $ docker rm -f a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a [Pipeline] // withDockerContainer [Pipeline] sh 17:28:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:28:58 Stashed 1 file(s) [Pipeline] echo 17:28:58 [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 17:28:59 provisioning config files... 17:28:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config17775785252592586209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:28:59 ---> docker-login.sh 17:28:59 nexus3.edgexfoundry.org:10001 17:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:59 Configure a credential helper to remove this warning. See 17:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:59 17:28:59 Login Succeeded 17:28:59 nexus3.edgexfoundry.org:10002 17:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:59 Configure a credential helper to remove this warning. See 17:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:59 17:28:59 Login Succeeded 17:28:59 nexus3.edgexfoundry.org:10003 17:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:59 Configure a credential helper to remove this warning. See 17:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:59 17:28:59 Login Succeeded 17:28:59 nexus3.edgexfoundry.org:10004 17:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:59 Configure a credential helper to remove this warning. See 17:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:59 17:28:59 Login Succeeded 17:28:59 docker.io 17:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:00 Configure a credential helper to remove this warning. See 17:29:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:00 17:29:00 Login Succeeded 17:29:00 ---> docker-login.sh ends [Pipeline] } 17:29:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:00 ========================================================= 17:29:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:29:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:00 + 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 . 17:29:00 Sending build context to Docker daemon 27.22MB 17:29:00 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 17:29:00 Step 2/14 : FROM ${BASE} AS builder 17:29:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:29:00 213ec9aee27d: Pulling fs layer 17:29:00 4583459ba037: Pulling fs layer 17:29:00 93c1e223e6f2: Pulling fs layer 17:29:00 53926ce57604: Pulling fs layer 17:29:00 21b2b0c7a3f4: Pulling fs layer 17:29:00 30f14e443154: Pulling fs layer 17:29:00 801331c1e519: Pulling fs layer 17:29:00 99cc6dd402b0: Pulling fs layer 17:29:00 7d9ed39f4882: Pulling fs layer 17:29:00 53926ce57604: Waiting 17:29:00 21b2b0c7a3f4: Waiting 17:29:00 30f14e443154: Waiting 17:29:00 801331c1e519: Waiting 17:29:00 99cc6dd402b0: Waiting 17:29:00 7d9ed39f4882: Waiting 17:29:00 93c1e223e6f2: Verifying Checksum 17:29:00 93c1e223e6f2: Download complete 17:29:00 4583459ba037: Verifying Checksum 17:29:00 4583459ba037: Download complete 17:29:00 21b2b0c7a3f4: Verifying Checksum 17:29:00 21b2b0c7a3f4: Download complete 17:29:00 30f14e443154: Verifying Checksum 17:29:00 30f14e443154: Download complete 17:29:00 213ec9aee27d: Verifying Checksum 17:29:00 213ec9aee27d: Download complete 17:29:00 801331c1e519: Download complete 17:29:00 213ec9aee27d: Pull complete 17:29:00 4583459ba037: Pull complete 17:29:00 93c1e223e6f2: Pull complete 17:29:01 7d9ed39f4882: Download complete 17:29:01 99cc6dd402b0: Verifying Checksum 17:29:01 99cc6dd402b0: Download complete 17:29:01 53926ce57604: Verifying Checksum 17:29:01 53926ce57604: Download complete 17:29:05 53926ce57604: Pull complete 17:29:05 21b2b0c7a3f4: Pull complete 17:29:05 30f14e443154: Pull complete 17:29:05 801331c1e519: Pull complete 17:29:08 99cc6dd402b0: Pull complete 17:29:09 7d9ed39f4882: Pull complete 17:29:09 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 17:29:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:29:09 ---> 1dedd983c030 17:29:09 Step 3/14 : ARG ADD_BUILD_TAGS="" 17:29:10 ---> Running in 43885f242862 17:29:10 Removing intermediate container 43885f242862 17:29:10 ---> 13a6f1563e07 17:29:10 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:29:10 ---> Running in 55825b967052 17:29:10 Removing intermediate container 55825b967052 17:29:10 ---> 888efcb99f15 17:29:10 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:29:10 ---> Running in 38877f7007f6 17:29:10 Removing intermediate container 38877f7007f6 17:29:10 ---> 3b94b04cf3fc 17:29:10 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 17:29:11 ---> Running in 469a817f83a5 17:29:11 Removing intermediate container 469a817f83a5 17:29:11 ---> 7ce0195e01bb 17:29:11 Step 7/14 : LABEL Name=edgex-device-onvif-camera 17:29:11 ---> Running in 418119e34975 17:29:11 Removing intermediate container 418119e34975 17:29:11 ---> d9aca42eb2c1 17:29:11 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:29:11 ---> Running in 3934670551f7 17:29:12 Removing intermediate container 3934670551f7 17:29:12 ---> 1f025a36f3c6 17:29:12 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:29:12 ---> Running in 33ff33f31f32 17:29:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:29:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:29:12 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 17:29:12 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 17:29:12 OK: 211 MiB in 51 packages 17:29:13 Removing intermediate container 33ff33f31f32 17:29:13 ---> 1dca35d8ce97 17:29:13 Step 10/14 : WORKDIR /device-onvif-camera 17:29:13 ---> Running in 35fdf904af17 17:29:13 Removing intermediate container 35fdf904af17 17:29:13 ---> 12bcd279fb0c 17:29:13 Step 11/14 : COPY go.mod vendor* ./ 17:29:13 ---> 5af52dfdf471 17:29:13 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:29:13 ---> Running in 52041cc7fb88 17:29:13 Still waiting to schedule task 17:29:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:29:31 Removing intermediate container 52041cc7fb88 17:29:31 ---> 71c954eba343 17:29:31 Step 13/14 : COPY . . 17:29:31 ---> 420b964602ef 17:29:31 Step 14/14 : RUN ${MAKE} 17:29:31 ---> Running in 62fbadf53e0c 17:29:31 noop 17:29:31 Removing intermediate container 62fbadf53e0c 17:29:31 ---> 4b80839415ab 17:29:31 Successfully built 4b80839415ab 17:29:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:31 + docker inspect -f . ci-base-image-x86_64 17:29:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:31 prd-ubuntu20.04-docker-8c-8g-116926 does not seem to be running inside a container 17:29:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:29:32 $ docker top dcee35ca3ed8ffba6b24beaf5c6b9a1e7ff60a3a9f60a3a12ddb707eb3be0f89 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:32 + go version 17:29:32 go version go1.18.7 linux/amd64 [Pipeline] } 17:29:32 $ docker stop --time=1 dcee35ca3ed8ffba6b24beaf5c6b9a1e7ff60a3a9f60a3a12ddb707eb3be0f89 17:29:34 $ docker rm -f dcee35ca3ed8ffba6b24beaf5c6b9a1e7ff60a3a9f60a3a12ddb707eb3be0f89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:34 + docker inspect -f . ci-base-image-x86_64 17:29:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:34 prd-ubuntu20.04-docker-8c-8g-116926 does not seem to be running inside a container 17:29:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:29:34 $ docker top b4b9ea3c94682d715b2398fea403d8ebc3eacf8a03f6694a7f160a0a10692e25 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:35 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh 17:29:35 + make test 17:29:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:29:35 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:29:47 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:29:47 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.042s coverage: 28.2% of statements 17:29:47 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:29:47 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.321s coverage: 86.5% of statements 17:29:56 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." 17:29:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:29:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:29:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:29:59 ./bin/test-attribution-txt.sh [Pipeline] echo 17:29:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:29:59 $ docker stop --time=1 b4b9ea3c94682d715b2398fea403d8ebc3eacf8a03f6694a7f160a0a10692e25 17:30:01 $ docker rm -f b4b9ea3c94682d715b2398fea403d8ebc3eacf8a03f6694a7f160a0a10692e25 [Pipeline] // withDockerContainer [Pipeline] sh 17:30:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:30:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:30:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:30:02 + ls -al . 17:30:02 total 244 17:30:02 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 17:29 . 17:30:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:28 .. 17:30:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 17:29 .git 17:30:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:28 .github 17:30:02 -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 17:28 .gitignore 17:30:02 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 17:28 .golangci.yml 17:30:02 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 17:28 .semver 17:30:02 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 17:28 Attribution.txt 17:30:02 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 17:28 CHANGELOG.md 17:30:02 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 17:28 Dockerfile 17:30:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 17:28 GOVERNANCE.md 17:30:02 -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 17:28 Jenkinsfile 17:30:02 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 17:28 LICENSE 17:30:02 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 17:28 Makefile 17:30:02 -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 17:28 OWNERS.md 17:30:02 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 17:28 README.md 17:30:02 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 17:28 VERSION 17:30:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 17:28 bin 17:30:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:28 cmd 17:30:02 -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 17:29 coverage.out 17:30:02 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 17:28 doc 17:30:02 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 17:28 go.mod 17:30:02 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 17:28 go.sum 17:30:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:28 internal 17:30:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:28 snap 17:30:02 -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 17:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:02 + 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=83023ddd309b38d06d3e1ed86c7136424cccba1f --label arch=amd64 --label version=0.0.0 . 17:30:02 Sending build context to Docker daemon 27.3MB 17:30:02 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 17:30:02 Step 2/27 : FROM ${BASE} AS builder 17:30:02 ---> 4b80839415ab 17:30:02 Step 3/27 : ARG ADD_BUILD_TAGS="" 17:30:02 ---> Running in 8f18ec8cdaae 17:30:02 Removing intermediate container 8f18ec8cdaae 17:30:02 ---> a6e97fb96a87 17:30:02 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:30:02 ---> Running in 787f6b1f4d9d 17:30:02 Removing intermediate container 787f6b1f4d9d 17:30:02 ---> d255427555ca 17:30:02 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:30:03 ---> Running in 86b8e8d9b7bf 17:30:03 Removing intermediate container 86b8e8d9b7bf 17:30:03 ---> 8c2c3b2f472f 17:30:03 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 17:30:03 ---> Running in f8b3618581ce 17:30:03 Removing intermediate container f8b3618581ce 17:30:03 ---> 7e674f71ca2a 17:30:03 Step 7/27 : LABEL Name=edgex-device-onvif-camera 17:30:03 ---> Running in 7cefa22cc156 17:30:03 Removing intermediate container 7cefa22cc156 17:30:03 ---> 78c36b57c61b 17:30:03 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:30:03 ---> Running in 661de09251ec 17:30:04 Removing intermediate container 661de09251ec 17:30:04 ---> fbadff10d6ae 17:30:04 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:30:04 ---> Running in 23901df2f61a 17:30:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:30:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:30:04 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 17:30:04 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 17:30:04 OK: 211 MiB in 51 packages 17:30:05 Removing intermediate container 23901df2f61a 17:30:05 ---> 6eb2e542fe78 17:30:05 Step 10/27 : WORKDIR /device-onvif-camera 17:30:05 ---> Running in 59dae39b71cb 17:30:05 Removing intermediate container 59dae39b71cb 17:30:05 ---> 7eb0e0547b58 17:30:05 Step 11/27 : COPY go.mod vendor* ./ 17:30:05 ---> 3a626588178c 17:30:05 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:05 ---> Running in 783236b07fd5 17:30:06 Removing intermediate container 783236b07fd5 17:30:06 ---> db586a877bb1 17:30:06 Step 13/27 : COPY . . 17:30:06 ---> 4c62bcf2eec3 17:30:06 Step 14/27 : RUN ${MAKE} 17:30:06 ---> Running in 8453c14bc14e 17:30:07 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:30:29 Removing intermediate container 8453c14bc14e 17:30:29 ---> 43c9288e5262 17:30:29 Step 15/27 : FROM alpine:3.16 17:30:29 3.16: Pulling from library/alpine 17:30:29 213ec9aee27d: Already exists 17:30:29 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:30:29 Status: Downloaded newer image for alpine:3.16 17:30:29 ---> 9c6f07244728 17:30:29 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:30:29 ---> Running in 2e4c1e1a2830 17:30:29 Removing intermediate container 2e4c1e1a2830 17:30:29 ---> 658b1486a59d 17:30:29 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 17:30:29 ---> Running in 9da6b03e8f7f 17:30:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:30:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:30:29 (1/6) Installing dumb-init (1.2.5-r1) 17:30:29 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:30:29 (3/6) Installing libsodium (1.0.18-r0) 17:30:29 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:30:29 (5/6) Installing libzmq (4.3.4-r0) 17:30:29 (6/6) Installing zeromq (4.3.4-r0) 17:30:29 Executing busybox-1.35.0-r17.trigger 17:30:29 OK: 8 MiB in 20 packages 17:30:29 Removing intermediate container 9da6b03e8f7f 17:30:29 ---> bcf77f5e9666 17:30:29 Step 18/27 : WORKDIR / 17:30:29 ---> Running in 357496e38ba4 17:30:29 Removing intermediate container 357496e38ba4 17:30:29 ---> 538f9a167791 17:30:29 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 17:30:29 ---> c9df61c612af 17:30:29 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 17:30:30 ---> fdb1ac15379f 17:30:30 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:30:30 ---> a1ff1465e555 17:30:30 Step 22/27 : EXPOSE 59984 17:30:30 ---> Running in cbef3c2ecaa0 17:30:30 Removing intermediate container cbef3c2ecaa0 17:30:30 ---> c2529e9b5354 17:30:30 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 17:30:30 ---> Running in 2e7651f1a3c6 17:30:30 Removing intermediate container 2e7651f1a3c6 17:30:30 ---> f0c4bca0136b 17:30:30 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:30:30 ---> Running in b5df279ae7cd 17:30:30 Removing intermediate container b5df279ae7cd 17:30:30 ---> c632db43b5e6 17:30:30 Step 25/27 : LABEL arch=amd64 17:30:30 ---> Running in 665f7ad56b45 17:30:30 Removing intermediate container 665f7ad56b45 17:30:30 ---> 1f663951fb00 17:30:30 Step 26/27 : LABEL git_sha=83023ddd309b38d06d3e1ed86c7136424cccba1f 17:30:30 ---> Running in 17021dc291d0 17:30:30 Removing intermediate container 17021dc291d0 17:30:30 ---> 5eac2281883f 17:30:30 Step 27/27 : LABEL version=0.0.0 17:30:30 ---> Running in 90502f7a363b 17:30:30 Removing intermediate container 90502f7a363b 17:30:30 ---> ad9ae377dcdd 17:30:30 [Warning] One or more build-args [ARCH] were not consumed 17:30:30 Successfully built ad9ae377dcdd 17:30:30 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 17:30:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:31 17:30:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:31 latest: Pulling from edgex-lftools-log-publisher 17:30:31 5eb5b503b376: Pulling fs layer 17:30:31 5c69ac0246d0: Pulling fs layer 17:30:31 ec43610c2a17: Pulling fs layer 17:30:31 3a2ae6a8a46f: Pulling fs layer 17:30:31 33b1e0a273af: Pulling fs layer 17:30:31 5d3b04190fa2: Pulling fs layer 17:30:31 2f39f015ded8: Pulling fs layer 17:30:31 3a2ae6a8a46f: Waiting 17:30:31 33b1e0a273af: Waiting 17:30:31 5d3b04190fa2: Waiting 17:30:31 2f39f015ded8: Waiting 17:30:31 5c69ac0246d0: Verifying Checksum 17:30:31 5c69ac0246d0: Download complete 17:30:31 3a2ae6a8a46f: Verifying Checksum 17:30:31 3a2ae6a8a46f: Download complete 17:30:31 33b1e0a273af: Verifying Checksum 17:30:31 33b1e0a273af: Download complete 17:30:31 ec43610c2a17: Verifying Checksum 17:30:31 ec43610c2a17: Download complete 17:30:31 5d3b04190fa2: Verifying Checksum 17:30:31 5d3b04190fa2: Download complete 17:30:31 5eb5b503b376: Verifying Checksum 17:30:31 5eb5b503b376: Download complete 17:30:32 2f39f015ded8: Download complete 17:30:33 5eb5b503b376: Pull complete 17:30:33 5c69ac0246d0: Pull complete 17:30:33 ec43610c2a17: Pull complete 17:30:33 3a2ae6a8a46f: Pull complete 17:30:33 33b1e0a273af: Pull complete 17:30:33 5d3b04190fa2: Pull complete 17:30:37 2f39f015ded8: Pull complete 17:30:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:30:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:38 prd-ubuntu20.04-docker-8c-8g-116926 does not seem to be running inside a container 17:30:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:30:39 $ docker top 3f853281610f287310222653910fa77948d341498a8432b0e146c7b7f3fcfa67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:39 ---> job-cost.sh 17:30:39 lf-activate-venv: SKIPPING 17:30:39 INFO: No Stack... 17:30:40 INFO: Retrieving Pricing Info for: v3-standard-8 17:30:40 INFO: Archiving Costs [Pipeline] sh 17:30:40 + cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv 17:30:40 + cut -d, -f6 [Pipeline] lock 17:30:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] 17:30:40 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] did not exist. Created. 17:30:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:30:41 + echo total: 0.2199999988079071 [Pipeline] stash 17:30:41 Stashed 1 file(s) [Pipeline] } 17:30:41 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] [Pipeline] // lock [Pipeline] } 17:30:41 $ docker stop --time=1 3f853281610f287310222653910fa77948d341498a8432b0e146c7b7f3fcfa67 17:30:42 $ docker rm -f 3f853281610f287310222653910fa77948d341498a8432b0e146c7b7f3fcfa67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:30:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116927 in /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] { [Pipeline] ws 17:30:46 Running in /w/workspace/device-onvif-camera/12 [Pipeline] { [Pipeline] checkout 17:30:46 The recommended git tool is: git 17:30:51 using credential edgex-jenkins-ssh 17:30:51 Cloning the remote Git repository 17:30:51 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:30:51 > git init /w/workspace/device-onvif-camera/12 # timeout=10 17:30:51 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:30:51 > git --version # timeout=10 17:30:51 > git --version # 'git version 2.25.1' 17:30:51 using GIT_SSH to set credentials SSH Credentials for GitHub 17:30:51 Verifying host key using known hosts file 17:30:51 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:30:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:30:53 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:30:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:30:54 Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 86c68f64e3a8b624a4bd1892fd05bfd93905ecb0 17:30:54 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:30:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:30:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:30:54 Verifying host key using known hosts file 17:30: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. 17:30:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:30:54 > git config core.sparsecheckout # timeout=10 17:30:54 > git checkout -f 86c68f64e3a8b624a4bd1892fd05bfd93905ecb0 # timeout=10 17:30:55 Merge succeeded, producing eb5e2efeafc5fa6f2e8e6602eccd6341a3417a90 17:30:55 Checking out Revision eb5e2efeafc5fa6f2e8e6602eccd6341a3417a90 (PR-180) 17:30:55 > git remote # timeout=10 17:30:55 > git config --get remote.origin.url # timeout=10 17:30:55 using GIT_SSH to set credentials SSH Credentials for GitHub 17:30:55 Verifying host key using known hosts file 17:30:55 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. 17:30:55 > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 17:30:55 > git rev-parse HEAD^{commit} # timeout=10 17:30:55 > git config core.sparsecheckout # timeout=10 17:30:56 > git checkout -f eb5e2efeafc5fa6f2e8e6602eccd6341a3417a90 # timeout=10 17:30:59 Commit message: "Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD" 17:30:59 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:31:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:31:00 % Total % Received % Xferd Average Speed Time Time Time Current 17:31:00 Dload Upload Total Spent Left Speed 17:31:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 82366 0 --:--:-- --:--:-- --:--:-- 82366 [Pipeline] sh 17:30:59 > git rev-list --no-walk e17e456190d9fd031fc12666d0d11c4ba3019b4c # timeout=10 17:31:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:31:01 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 17:31:01 17:31:01 { 17:31:01 "registry-mirrors": [ 17:31:01 "https://nexus3.edgexfoundry.org:10001" 17:31:01 ], 17:31:01 "bip": "10.250.0.254/24", 17:31:01 "hosts": [ 17:31:01 "tcp://0.0.0.0:5555", 17:31:01 "unix:///var/run/docker.sock" 17:31:01 ], 17:31:01 "mtu": 1458, 17:31:01 "selinux-enabled": true, 17:31:01 "seccomp-profile": "/etc/docker/seccomp.json" 17:31:01 } [Pipeline] sh 17:31:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:31:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:20 provisioning config files... 17:31:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/12@tmp/config6566539967410215687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:20 ---> docker-login.sh 17:31:20 nexus3.edgexfoundry.org:10001 17:31:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:21 Configure a credential helper to remove this warning. See 17:31:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:21 17:31:21 Login Succeeded 17:31:21 nexus3.edgexfoundry.org:10002 17:31:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:22 Configure a credential helper to remove this warning. See 17:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:22 17:31:22 Login Succeeded 17:31:22 nexus3.edgexfoundry.org:10003 17:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:22 Configure a credential helper to remove this warning. See 17:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:22 17:31:22 Login Succeeded 17:31:22 nexus3.edgexfoundry.org:10004 17:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:22 Configure a credential helper to remove this warning. See 17:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:22 17:31:22 Login Succeeded 17:31:22 docker.io 17:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:23 Configure a credential helper to remove this warning. See 17:31:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:23 17:31:23 Login Succeeded 17:31:23 ---> docker-login.sh ends [Pipeline] } 17:31:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:31:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:31:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:31:23 ========================================================= 17:31:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:31:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:23 + 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 . 17:31:24 Sending build context to Docker daemon 20.53MB 17:31:24 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 17:31:24 Step 2/14 : FROM ${BASE} AS builder 17:31:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:31:24 9b18e9b68314: Pulling fs layer 17:31:24 d32db5db7311: Pulling fs layer 17:31:24 d0c4b47475fc: Pulling fs layer 17:31:24 5831b945b038: Pulling fs layer 17:31:24 86bbec2aaacd: Pulling fs layer 17:31:24 e10730c5d714: Pulling fs layer 17:31:24 5dd5c2283517: Pulling fs layer 17:31:24 d5ac0230b979: Pulling fs layer 17:31:24 5831b945b038: Waiting 17:31:24 86bbec2aaacd: Waiting 17:31:24 e10730c5d714: Waiting 17:31:24 5dd5c2283517: Waiting 17:31:24 d5ac0230b979: Waiting 17:31:24 d32db5db7311: Verifying Checksum 17:31:24 d32db5db7311: Download complete 17:31:24 86bbec2aaacd: Verifying Checksum 17:31:24 86bbec2aaacd: Download complete 17:31:24 e10730c5d714: Download complete 17:31:24 9b18e9b68314: Verifying Checksum 17:31:25 9b18e9b68314: Pull complete 17:31:26 d5ac0230b979: Verifying Checksum 17:31:26 d5ac0230b979: Download complete 17:31:26 d32db5db7311: Pull complete 17:31:26 d0c4b47475fc: Pull complete 17:31:26 5dd5c2283517: Verifying Checksum 17:31:26 5dd5c2283517: Download complete 17:31:27 5831b945b038: Download complete 17:31:40 5831b945b038: Pull complete 17:31:40 86bbec2aaacd: Pull complete 17:31:40 e10730c5d714: Pull complete 17:31:45 5dd5c2283517: Pull complete 17:31:47 d5ac0230b979: Pull complete 17:31:47 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 17:31:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:31:47 ---> 59b3b1a385d4 17:31:47 Step 3/14 : ARG ADD_BUILD_TAGS="" 17:31:49 ---> Running in c42023ece148 17:31:49 Removing intermediate container c42023ece148 17:31:49 ---> d519f8217c05 17:31:49 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:31:49 ---> Running in 1731c50b8dc1 17:31:50 Removing intermediate container 1731c50b8dc1 17:31:50 ---> 3ceeefc7b4b5 17:31:50 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:31:50 ---> Running in 8f0b383f844a 17:31:50 Removing intermediate container 8f0b383f844a 17:31:50 ---> 17dd619911cb 17:31:50 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 17:31:50 ---> Running in 9cc4da940972 17:31:50 Removing intermediate container 9cc4da940972 17:31:50 ---> 0a4f34d41fd2 17:31:50 Step 7/14 : LABEL Name=edgex-device-onvif-camera 17:31:51 ---> Running in 3feda6f583b4 17:31:51 Removing intermediate container 3feda6f583b4 17:31:51 ---> 8294213dfadf 17:31:51 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:31:51 ---> Running in 8ef2733c4efd 17:31:53 Removing intermediate container 8ef2733c4efd 17:31:53 ---> ae8e1f093143 17:31:53 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:31:53 ---> Running in cdad7ab03935 17:31:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:31:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:31:54 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 17:31:54 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 17:31:54 OK: 221 MiB in 51 packages 17:31:55 Removing intermediate container cdad7ab03935 17:31:55 ---> 7f57a1028edd 17:31:55 Step 10/14 : WORKDIR /device-onvif-camera 17:31:55 ---> Running in a766c12f3520 17:31:55 Removing intermediate container a766c12f3520 17:31:55 ---> 087365d174fb 17:31:55 Step 11/14 : COPY go.mod vendor* ./ 17:31:56 ---> f5331e31c588 17:31:56 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:31:56 ---> Running in b53241444a08 17:32:53 Removing intermediate container b53241444a08 17:32:53 ---> 3d88644c0a18 17:32:53 Step 13/14 : COPY . . 17:32:53 ---> 2c721717538a 17:32:53 Step 14/14 : RUN ${MAKE} 17:32:53 ---> Running in d4e1ce7f5d5d 17:32:53 noop 17:32:53 Removing intermediate container d4e1ce7f5d5d 17:32:53 ---> 6c2d452af1c5 17:32:53 Successfully built 6c2d452af1c5 17:32:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:53 + docker inspect -f . ci-base-image-arm64 17:32:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:32:53 prd-ubuntu20.04-docker-arm64-4c-16g-116927 does not seem to be running inside a container 17:32:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:32:54 $ docker top 1ff4ea5b6f459446ded254c6fdd4a4216801ab2c08a8f3cb22b8e1c813f5e950 -eo pid,comm [Pipeline] { [Pipeline] sh 17:32:55 + go version 17:32:55 go version go1.18.7 linux/arm64 [Pipeline] } 17:32:55 $ docker stop --time=1 1ff4ea5b6f459446ded254c6fdd4a4216801ab2c08a8f3cb22b8e1c813f5e950 17:32:57 $ docker rm -f 1ff4ea5b6f459446ded254c6fdd4a4216801ab2c08a8f3cb22b8e1c813f5e950 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:57 + docker inspect -f . ci-base-image-arm64 17:32:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:32:57 prd-ubuntu20.04-docker-arm64-4c-16g-116927 does not seem to be running inside a container 17:32:58 $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:32:59 $ docker top ba94fdd059a9f76aa3cd54bc9cb026cbd6a8dabe5ef273f76c6406a27401e0e5 -eo pid,comm [Pipeline] { [Pipeline] sh 17:32:59 + git config --global --add safe.directory /w/workspace/device-onvif-camera/12 [Pipeline] fileExists [Pipeline] sh 17:33:00 + make test 17:33:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:33:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:34:38 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:34:38 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.185s coverage: 28.2% of statements 17:34:38 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:34:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.421s coverage: 86.5% of statements 17:34:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:34:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:35:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:35:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:35:23 ./bin/test-attribution-txt.sh [Pipeline] echo 17:35:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:35:23 $ docker stop --time=1 ba94fdd059a9f76aa3cd54bc9cb026cbd6a8dabe5ef273f76c6406a27401e0e5 17:35:25 $ docker rm -f ba94fdd059a9f76aa3cd54bc9cb026cbd6a8dabe5ef273f76c6406a27401e0e5 [Pipeline] // withDockerContainer [Pipeline] sh 17:35:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:35:26 Warning: overwriting stash ‘coverage-report’ 17:35:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:35:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:35:28 + ls -al . 17:35:28 total 240 17:35:28 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 17:33 . 17:35:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:30 .. 17:35:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 17:30 .git 17:35:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:30 .github 17:35:28 -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 17:30 .gitignore 17:35:28 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 17:30 .golangci.yml 17:35:28 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 17:30 Attribution.txt 17:35:28 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 17:30 CHANGELOG.md 17:35:28 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 17:30 Dockerfile 17:35:28 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 17:30 GOVERNANCE.md 17:35:28 -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 17:30 Jenkinsfile 17:35:28 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 17:30 LICENSE 17:35:28 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 17:30 Makefile 17:35:28 -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 17:30 OWNERS.md 17:35:28 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 17:30 README.md 17:35:28 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 17:28 VERSION 17:35:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 17:30 bin 17:35:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:30 cmd 17:35:28 -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 17:34 coverage.out 17:35:28 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 17:30 doc 17:35:28 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 17:30 go.mod 17:35:28 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 17:30 go.sum 17:35:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:30 internal 17:35:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:30 snap 17:35:28 -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 17:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:28 + 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=eb5e2efeafc5fa6f2e8e6602eccd6341a3417a90 --label arch=arm64 --label version=0.0.0 . 17:35:29 Sending build context to Docker daemon 20.61MB 17:35:29 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 17:35:29 Step 2/27 : FROM ${BASE} AS builder 17:35:29 ---> 6c2d452af1c5 17:35:29 Step 3/27 : ARG ADD_BUILD_TAGS="" 17:35:29 ---> Running in f7d4e81b0522 17:35:29 Removing intermediate container f7d4e81b0522 17:35:29 ---> fb7e1c625232 17:35:29 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:35:30 ---> Running in e27df3ce8ef3 17:35:30 Removing intermediate container e27df3ce8ef3 17:35:30 ---> 2dbdc2380cfa 17:35:30 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:35:30 ---> Running in 0d481113e69e 17:35:30 Removing intermediate container 0d481113e69e 17:35:30 ---> 1938abd09c92 17:35:30 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 17:35:31 ---> Running in 25b1e6283d16 17:35:31 Removing intermediate container 25b1e6283d16 17:35:31 ---> aa2282142d5d 17:35:31 Step 7/27 : LABEL Name=edgex-device-onvif-camera 17:35:31 ---> Running in 208fecdb2038 17:35:31 Removing intermediate container 208fecdb2038 17:35:31 ---> de5f92a91921 17:35:31 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:35:31 ---> Running in 375cbc7340c5 17:35:33 Removing intermediate container 375cbc7340c5 17:35:33 ---> 292c15b07d71 17:35:33 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:35:33 ---> Running in 8fc2aceae633 17:35:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:35:34 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 17:35:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:35:35 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 17:35:35 OK: 221 MiB in 51 packages 17:35:35 Removing intermediate container 8fc2aceae633 17:35:35 ---> 6bb569ffb15e 17:35:35 Step 10/27 : WORKDIR /device-onvif-camera 17:35:35 ---> Running in b03a752555cc 17:35:36 Removing intermediate container b03a752555cc 17:35:36 ---> b511091089d8 17:35:36 Step 11/27 : COPY go.mod vendor* ./ 17:35:36 ---> b516ab773603 17:35:36 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:37 ---> Running in d1af6e38d10a 17:35:39 Removing intermediate container d1af6e38d10a 17:35:39 ---> 2238c5a673fe 17:35:39 Step 13/27 : COPY . . 17:35:41 ---> 950743389413 17:35:41 Step 14/27 : RUN ${MAKE} 17:35:41 ---> Running in f60f6e19e596 17:35:42 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:38:04 Removing intermediate container f60f6e19e596 17:38:04 ---> 12e30ad6eaba 17:38:04 Step 15/27 : FROM alpine:3.16 17:38:04 3.16: Pulling from library/alpine 17:38:04 9b18e9b68314: Already exists 17:38:04 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:38:04 Status: Downloaded newer image for alpine:3.16 17:38:04 ---> a6215f271958 17:38:04 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:38:05 ---> Running in 3fbe0d28b41b 17:38:05 Removing intermediate container 3fbe0d28b41b 17:38:05 ---> da06a829220b 17:38:05 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 17:38:05 ---> Running in ab2a075577a5 17:38:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:38:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:38:07 (1/6) Installing dumb-init (1.2.5-r1) 17:38:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:38:07 (3/6) Installing libsodium (1.0.18-r0) 17:38:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:38:07 (5/6) Installing libzmq (4.3.4-r0) 17:38:07 (6/6) Installing zeromq (4.3.4-r0) 17:38:07 Executing busybox-1.35.0-r17.trigger 17:38:07 OK: 8 MiB in 20 packages 17:38:08 Removing intermediate container ab2a075577a5 17:38:08 ---> 8a9d55292c44 17:38:08 Step 18/27 : WORKDIR / 17:38:08 ---> Running in f3529c039780 17:38:08 Removing intermediate container f3529c039780 17:38:08 ---> d9acc7023fed 17:38:08 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 17:38:10 ---> de46c693e7cb 17:38:10 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 17:38:10 ---> ee816b3bf293 17:38:10 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:38:11 ---> c3907fdba67e 17:38:11 Step 22/27 : EXPOSE 59984 17:38:11 ---> Running in eb1a3fd7d37b 17:38:11 Removing intermediate container eb1a3fd7d37b 17:38:11 ---> 77a40439ae98 17:38:11 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 17:38:11 ---> Running in cf781237ad49 17:38:11 Removing intermediate container cf781237ad49 17:38:11 ---> 1642f339d429 17:38:11 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:38:11 ---> Running in 268077c23c27 17:38:12 Removing intermediate container 268077c23c27 17:38:12 ---> 10d47693f060 17:38:12 Step 25/27 : LABEL arch=arm64 17:38:12 ---> Running in a067fd3f53a3 17:38:12 Removing intermediate container a067fd3f53a3 17:38:12 ---> 06aacfadf78c 17:38:12 Step 26/27 : LABEL git_sha=eb5e2efeafc5fa6f2e8e6602eccd6341a3417a90 17:38:12 ---> Running in e7405b581244 17:38:12 Removing intermediate container e7405b581244 17:38:12 ---> cc307c28605a 17:38:12 Step 27/27 : LABEL version=0.0.0 17:38:12 ---> Running in 13f41a90242d 17:38:13 Removing intermediate container 13f41a90242d 17:38:13 ---> 654e9bf96f2d 17:38:13 [Warning] One or more build-args [ARCH] were not consumed 17:38:13 Successfully built 654e9bf96f2d 17:38:13 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 17:38:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:13 17:38:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:14 arm64: Pulling from edgex-lftools-log-publisher 17:38:14 8998bd30e6a1: Pulling fs layer 17:38:14 04944245beec: Pulling fs layer 17:38:14 699f458cf7ca: Pulling fs layer 17:38:14 765212b225bb: Pulling fs layer 17:38:14 f23df028b6ca: Pulling fs layer 17:38:14 d65c8cfc05b1: Pulling fs layer 17:38:14 2437ff75d9bd: Pulling fs layer 17:38:14 f23df028b6ca: Waiting 17:38:14 d65c8cfc05b1: Waiting 17:38:14 765212b225bb: Waiting 17:38:14 2437ff75d9bd: Waiting 17:38:14 04944245beec: Verifying Checksum 17:38:14 04944245beec: Download complete 17:38:14 765212b225bb: Verifying Checksum 17:38:14 765212b225bb: Download complete 17:38:14 f23df028b6ca: Verifying Checksum 17:38:14 f23df028b6ca: Download complete 17:38:14 d65c8cfc05b1: Download complete 17:38:14 699f458cf7ca: Verifying Checksum 17:38:14 699f458cf7ca: Download complete 17:38:14 8998bd30e6a1: Verifying Checksum 17:38:14 8998bd30e6a1: Download complete 17:38:16 2437ff75d9bd: Verifying Checksum 17:38:16 2437ff75d9bd: Download complete 17:38:18 8998bd30e6a1: Pull complete 17:38:18 04944245beec: Pull complete 17:38:19 699f458cf7ca: Pull complete 17:38:19 765212b225bb: Pull complete 17:38:20 f23df028b6ca: Pull complete 17:38:20 d65c8cfc05b1: Pull complete 17:38:35 2437ff75d9bd: Pull complete 17:38:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:38:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:36 prd-ubuntu20.04-docker-arm64-4c-16g-116927 does not seem to be running inside a container 17:38:36 $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:38:38 $ docker top ae83cb08b5c4bf9476c75c55bf33e916bc8e684633f8bf74240049502dbc7cd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:39 ---> job-cost.sh 17:38:39 lf-activate-venv: SKIPPING 17:38:39 INFO: No Stack... 17:38:39 INFO: Retrieving Pricing Info for: v3-standard-4 17:38:40 INFO: Archiving Costs [Pipeline] sh 17:38:40 + cat /w/workspace/device-onvif-camera/12/archives/cost.csv 17:38:40 + cut -d, -f6 [Pipeline] lock 17:38:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] 17:38:41 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] did not exist. Created. 17:38:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:38:41 /w/workspace/device-onvif-camera/12@tmp/durable-7cdd3900/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:38:41 + echo total: 0.10999999940395355 [Pipeline] stash 17:38:41 Warning: overwriting stash ‘stack-cost’ 17:38:41 Stashed 1 file(s) [Pipeline] } 17:38:41 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] [Pipeline] // lock [Pipeline] } 17:38:41 $ docker stop --time=1 ae83cb08b5c4bf9476c75c55bf33e916bc8e684633f8bf74240049502dbc7cd2 17:38:43 $ docker rm -f ae83cb08b5c4bf9476c75c55bf33e916bc8e684633f8bf74240049502dbc7cd2 [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 17:38:43 provisioning config files... 17:38:43 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config9078067071191528256tmp [Pipeline] { [Pipeline] sh 17:38:43 + set +x 17:38:43 + curl -s https://codecov.io/bash 17:38:43 + bash -s -- 17:38:43 17:38:43 _____ _ 17:38:43 / ____| | | 17:38:43 | | ___ __| | ___ ___ _____ __ 17:38:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:38:43 | |___| (_) | (_| | __/ (_| (_) \ V / 17:38:43 \_____\___/ \__,_|\___|\___\___/ \_/ 17:38:43 Bash-1.0.6 17:38:43 17:38:43 17:38:43 ==> git version 2.25.1 found 17:38:43 ==> 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 17:38:43 Release-Date: 2020-01-08 17:38:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:38:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:38:43 ==> Jenkins CI detected. 17:38:43 current dir:  /w/workspace/undry_device-onvif-camera_PR-180 17:38:43 project root: . 17:38:43 --> token set from env 17:38:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:38:43 ==> Running gcov in . (disable via -X gcov) 17:38:43 ==> Python coveragepy not found 17:38:43 ==> Searching for coverage reports in: 17:38:43 + . 17:38:43 -> Found 1 reports 17:38:43 ==> Detecting git/mercurial file structure 17:38:43 ==> Reading reports 17:38:43 + ./coverage.out bytes=78636 17:38:43 ==> Appending adjustments 17:38:43 https://docs.codecov.io/docs/fixing-reports 17:38:44 + Found adjustments 17:38:44 ==> Gzipping contents 17:38:44 12K /tmp/codecov.aA6r2l.gz 17:38:44 ==> Uploading reports 17:38:44 url: https://codecov.io 17:38:44 query: branch=PR-180&commit=83023ddd309b38d06d3e1ed86c7136424cccba1f&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 17:38:44 -> Pinging Codecov 17:38:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-180&commit=83023ddd309b38d06d3e1ed86c7136424cccba1f&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 17:38:44 -> Uploading to 17:38:44 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/F29A59C45E3A92E06B3E522C9905F8EF/83023ddd309b38d06d3e1ed86c7136424cccba1f/089fe839-b73a-4702-9d8f-aa846bb50338.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T173844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=652f63e7625810a5fbf18d90504a523c9a91eeb00cdeddd09c44f90cc27230fd 17:38:44 % Total % Received % Xferd Average Speed Time Time Time Current 17:38:44 Dload Upload Total Spent Left Speed 17:38:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10793 0 0 100 10793 0 45733 --:--:-- --:--:-- --:--:-- 45733 17:38:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/83023ddd309b38d06d3e1ed86c7136424cccba1f [Pipeline] } 17:38:44 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 17:38:45 + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] 17:38:45 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 17:38:45 total 16 17:38:45 drwxr-xr-x 3 root root 4096 Oct 25 17:30 . 17:38:45 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 17:30 .. 17:38:45 drwxr-xr-x 2 root root 4096 Oct 25 17:30 cost 17:38:45 -rw-r--r-- 1 root root 92 Oct 25 17:30 cost.csv 17:38:45 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives 17:38:45 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 17:38:45 total 16 17:38:45 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 17:30 . 17:38:45 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 17:30 .. 17:38:45 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 17:30 cost 17:38:45 -rw-r--r-- 1 jenkins jenkins 92 Oct 25 17:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:38:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:38:46 ---> package-listing.sh 17:38:46 ++ facter osfamily 17:38:46 ++ tr '[:upper:]' '[:lower:]' 17:38:46 + OS_FAMILY=debian 17:38:46 + workspace=/w/workspace/undry_device-onvif-camera_PR-180 17:38:46 + START_PACKAGES=/tmp/packages_start.txt 17:38:46 + END_PACKAGES=/tmp/packages_end.txt 17:38:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:38:46 + PACKAGES=/tmp/packages_start.txt 17:38:46 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 17:38:46 + PACKAGES=/tmp/packages_end.txt 17:38:46 + case "${OS_FAMILY}" in 17:38:46 + dpkg -l 17:38:46 + grep '^ii' 17:38:46 + '[' -f /tmp/packages_start.txt ']' 17:38:46 + '[' -f /tmp/packages_end.txt ']' 17:38:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:38:46 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 17:38:46 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ 17:38:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-180/archives/ [Pipeline] echo 17:38:46 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:38:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:38:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:47 prd-ubuntu20.04-docker-8c-8g-116926 does not seem to be running inside a container 17:38:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:38:47 $ docker top 11d2f5ac5076a47e7c7832e3d73b58f15a6ebc2755c2e0075ef2211d9ffd987a -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:48 + touch /tmp/pre-build-complete [Pipeline] sh 17:38:48 + mkdir -p /var/log/sysstat [Pipeline] sh 17:38:48 + ls /var/log/sa-host 17:38:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:48 provisioning config files... 17:38:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config11386149074960723335tmp [Pipeline] { [Pipeline] echo 17:38:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:38:49 ---> create-netrc.sh [Pipeline] } 17:38:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:38:49 ---> python-tools-install.sh [Pipeline] echo 17:38:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:38:49 ---> sudo-logs.sh 17:38:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:38:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:38:49 ---> job-cost.sh 17:38:49 lf-activate-venv: SKIPPING 17:38:49 DEBUG: total: 0.2199999988079071 17:38:49 INFO: Retrieving Stack Cost... 17:38:50 INFO: Retrieving Pricing Info for: v3-standard-8 17:38:50 INFO: Archiving Costs [Pipeline] echo 17:38:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:38:51 ---> logs-deploy.sh 17:38:51 lf-activate-venv: SKIPPING 17:38:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/12 17:38:51 INFO: archiving workspace using pattern(s): 17:38:52 Archives upload complete. 17:38:52 INFO: archiving logs to Nexus 17:38:52 ---> uname -a: 17:38:52 Linux prd-ubuntu20-04-docker-8c-8g-116926 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:38:52 17:38:52 17:38:52 ---> lscpu: 17:38:52 Architecture: x86_64 17:38:52 CPU op-mode(s): 32-bit, 64-bit 17:38:52 Byte Order: Little Endian 17:38:52 Address sizes: 40 bits physical, 48 bits virtual 17:38:52 CPU(s): 8 17:38:52 On-line CPU(s) list: 0-7 17:38:52 Thread(s) per core: 1 17:38:52 Core(s) per socket: 1 17:38:52 Socket(s): 8 17:38:52 NUMA node(s): 1 17:38:52 Vendor ID: AuthenticAMD 17:38:52 CPU family: 23 17:38:52 Model: 49 17:38:52 Model name: AMD EPYC-Rome Processor 17:38:52 Stepping: 0 17:38:52 CPU MHz: 2799.994 17:38:52 BogoMIPS: 5599.98 17:38:52 Virtualization: AMD-V 17:38:52 Hypervisor vendor: KVM 17:38:52 Virtualization type: full 17:38:52 L1d cache: 256 KiB 17:38:52 L1i cache: 256 KiB 17:38:52 L2 cache: 4 MiB 17:38:52 L3 cache: 128 MiB 17:38:52 NUMA node0 CPU(s): 0-7 17:38:52 Vulnerability Itlb multihit: Not affected 17:38:52 Vulnerability L1tf: Not affected 17:38:52 Vulnerability Mds: Not affected 17:38:52 Vulnerability Meltdown: Not affected 17:38:52 Vulnerability Mmio stale data: Not affected 17:38:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:38:52 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:38:52 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:38:52 Vulnerability Srbds: Not affected 17:38:52 Vulnerability Tsx async abort: Not affected 17:38:52 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 17:38:52 17:38:52 17:38:52 ---> nproc: 17:38:52 8 17:38:52 17:38:52 17:38:52 ---> df -h: 17:38:52 Filesystem Size Used Avail Use% Mounted on 17:38:52 overlay 155G 12G 144G 8% / 17:38:52 tmpfs 64M 0 64M 0% /dev 17:38:52 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:38:52 shm 64M 0 64M 0% /dev/shm 17:38:52 /dev/vda1 155G 12G 144G 8% /facter-os 17:38:52 17:38:52 17:38:52 ---> sar -b -r -n DEV: 17:38:52 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-116926) 10/25/22 _x86_64_ (8 CPU) 17:38:52 17:38:52 17:28:05 LINUX RESTART (8 CPU) 17:38:52 17:38:52 17:29:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:38:52 17:30:01 199.00 1.57 197.43 0.00 25.32 73811.53 0.00 17:38:52 17:31:01 184.40 0.25 184.15 0.00 19.33 38609.70 0.00 17:38:52 17:32:01 1.60 0.00 1.60 0.00 0.00 20.14 0.00 17:38:52 17:33:01 1.35 0.00 1.35 0.00 0.00 16.40 0.00 17:38:52 17:34:01 39.74 9.33 30.41 0.00 2884.32 4832.66 0.00 17:38:52 17:35:01 1.67 0.00 1.67 0.00 0.00 18.13 0.00 17:38:52 17:36:01 0.90 0.00 0.90 0.00 0.00 10.26 0.00 17:38:52 17:37:01 1.60 0.00 1.60 0.00 0.00 18.13 0.00 17:38:52 17:38:01 1.12 0.00 1.12 0.00 0.00 12.80 0.00 17:38:52 Average: 47.93 1.24 46.69 0.00 325.41 13039.02 0.00 17:38:52 17:38:52 17:29:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:38:52 17:30:01 28509068 31593708 713776 2.17 141572 3153256 1758072 5.18 1225028 2712640 236 17:38:52 17:31:01 27715572 31600084 703548 2.14 153704 3877588 1729976 5.10 1277988 3385264 372 17:38:52 17:32:01 27715884 31600452 702868 2.14 153740 3877588 1729976 5.10 1277724 3385264 16 17:38:52 17:33:01 27723604 31608244 694784 2.11 153768 3877584 1729976 5.10 1269412 3385268 16 17:38:52 17:34:01 27435776 31592208 692880 2.11 172440 4126388 1795488 5.29 1423372 3494640 8 17:38:52 17:35:01 27438044 31594500 690528 2.10 172488 4126388 1795488 5.29 1421064 3494640 4 17:38:52 17:36:01 27438880 31595404 689704 2.10 172512 4126392 1795488 5.29 1421544 3494652 176 17:38:52 17:37:01 27438936 31595460 689616 2.10 172544 4126392 1795488 5.29 1421140 3494652 8 17:38:52 17:38:01 27439104 31596012 689584 2.10 172584 4126380 1795488 5.29 1420860 3494980 12 17:38:52 Average: 27650541 31597341 696365 2.12 162817 3935328 1769493 5.21 1350904 3371333 94 17:38:52 17:38:52 17:29:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:38:52 17:30:01 ens3 253.85 192.27 1815.44 32.02 0.00 0.00 0.00 0.00 17:38:52 17:30:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 17:38:52 17:30:01 docker0 161.95 202.12 12.97 1769.03 0.00 0.00 0.00 0.00 17:38:52 17:31:01 ens3 131.54 82.17 2594.38 18.20 0.00 0.00 0.00 0.00 17:38:52 17:31:01 lo 1.93 1.93 0.18 0.18 0.00 0.00 0.00 0.00 17:38:52 17:31:01 docker0 3.07 5.60 0.21 58.20 0.00 0.00 0.00 0.00 17:38:52 17:32:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:52 17:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:52 17:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:52 17:33:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 17:38:52 17:33:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:38:52 17:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:52 17:34:01 ens3 127.41 84.72 1302.07 5.93 0.00 0.00 0.00 0.00 17:38:52 17:34:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 17:38:52 17:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:52 17:35:01 ens3 0.18 0.15 0.01 0.01 0.00 0.00 0.00 0.00 17:38:52 17:35:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:38:52 17:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:52 17:36:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:52 17:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:52 17:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:52 17:37:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 17:38:52 17:37:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:38:52 17:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:52 17:38:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:52 17:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:52 17:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:52 Average: ens3 57.03 39.95 634.63 6.24 0.00 0.00 0.00 0.00 17:38:52 Average: lo 0.34 0.34 0.03 0.03 0.00 0.00 0.00 0.00 17:38:52 Average: docker0 18.34 23.08 1.46 203.04 0.00 0.00 0.00 0.00 17:38:52 17:38:52 17:38:52 ---> sar -P ALL: 17:38:52 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-116926) 10/25/22 _x86_64_ (8 CPU) 17:38:52 17:38:52 17:28:05 LINUX RESTART (8 CPU) 17:38:52 17:38:52 17:29:01 CPU %user %nice %system %iowait %steal %idle 17:38:52 17:30:01 all 31.19 0.00 7.52 1.17 0.08 60.04 17:38:52 17:30:01 0 32.18 0.00 7.14 0.03 0.07 60.58 17:38:52 17:30:01 1 31.34 0.00 7.96 3.56 0.07 57.07 17:38:52 17:30:01 2 30.46 0.00 7.35 0.22 0.08 61.88 17:38:52 17:30:01 3 32.75 0.00 7.54 0.08 0.08 59.54 17:38:52 17:30:01 4 29.05 0.00 7.22 0.78 0.08 62.87 17:38:52 17:30:01 5 31.49 0.00 7.41 0.42 0.07 60.60 17:38:52 17:30:01 6 32.42 0.00 7.94 3.75 0.08 55.80 17:38:52 17:30:01 7 29.81 0.00 7.63 0.51 0.07 61.98 17:38:52 17:31:01 all 20.70 0.00 4.63 0.79 0.06 73.83 17:38:52 17:31:01 0 22.69 0.00 4.17 0.17 0.05 72.92 17:38:52 17:31:01 1 20.04 0.00 5.97 3.60 0.07 70.32 17:38:52 17:31:01 2 21.10 0.00 4.56 0.24 0.07 74.05 17:38:52 17:31:01 3 21.40 0.00 4.45 0.07 0.05 74.04 17:38:52 17:31:01 4 20.19 0.00 3.95 1.60 0.05 74.21 17:38:52 17:31:01 5 20.78 0.00 4.40 0.15 0.07 74.60 17:38:52 17:31:01 6 20.60 0.00 5.09 0.30 0.05 73.96 17:38:52 17:31:01 7 18.76 0.00 4.44 0.19 0.07 76.55 17:38:52 17:32:01 all 0.03 0.00 0.01 0.01 0.01 99.95 17:38:52 17:32:01 0 0.07 0.00 0.02 0.00 0.00 99.92 17:38:52 17:32:01 1 0.02 0.00 0.00 0.05 0.02 99.92 17:38:52 17:32:01 2 0.02 0.00 0.02 0.00 0.00 99.97 17:38:52 17:32:01 3 0.00 0.00 0.02 0.00 0.00 99.98 17:38:52 17:32:01 4 0.03 0.00 0.00 0.00 0.00 99.97 17:38:52 17:32:01 5 0.08 0.00 0.02 0.00 0.02 99.88 17:38:52 17:32:01 6 0.00 0.00 0.00 0.00 0.00 100.00 17:38:52 17:32:01 7 0.00 0.00 0.02 0.00 0.02 99.97 17:38:52 17:33:01 all 0.03 0.00 0.02 0.01 0.01 99.93 17:38:52 17:33:01 0 0.02 0.00 0.02 0.00 0.00 99.97 17:38:52 17:33:01 1 0.02 0.00 0.05 0.02 0.02 99.90 17:38:52 17:33:01 2 0.02 0.00 0.03 0.07 0.00 99.88 17:38:52 17:33:01 3 0.03 0.00 0.00 0.00 0.00 99.97 17:38:52 17:33:01 4 0.05 0.00 0.02 0.00 0.02 99.92 17:38:52 17:33:01 5 0.05 0.00 0.05 0.02 0.00 99.88 17:38:52 17:33:01 6 0.00 0.00 0.00 0.00 0.00 100.00 17:38:52 17:33:01 7 0.02 0.00 0.02 0.00 0.02 99.95 17:38:52 17:34:01 all 1.21 0.00 0.82 0.28 0.02 97.68 17:38:52 17:34:01 0 1.37 0.00 0.75 0.08 0.02 97.78 17:38:52 17:34:01 1 1.07 0.00 0.54 0.99 0.02 97.38 17:38:52 17:34:01 2 1.28 0.00 0.45 0.08 0.03 98.15 17:38:52 17:34:01 3 0.62 0.00 0.60 0.18 0.02 98.58 17:38:52 17:34:01 4 1.18 0.00 0.47 0.25 0.02 98.08 17:38:52 17:34:01 5 1.30 0.00 0.90 0.05 0.02 97.73 17:38:52 17:34:01 6 1.27 0.00 1.78 0.17 0.02 96.77 17:38:52 17:34:01 7 1.56 0.00 1.06 0.42 0.03 96.93 17:38:52 17:35:01 all 0.02 0.00 0.02 0.01 0.01 99.95 17:38:52 17:35:01 0 0.00 0.00 0.03 0.00 0.00 99.97 17:38:52 17:35:01 1 0.00 0.00 0.00 0.03 0.02 99.95 17:38:52 17:35:01 2 0.07 0.00 0.05 0.00 0.02 99.87 17:38:52 17:35:01 3 0.03 0.00 0.02 0.00 0.00 99.95 17:38:52 17:35:01 4 0.03 0.00 0.02 0.00 0.00 99.95 17:38:52 17:35:01 5 0.02 0.00 0.02 0.02 0.00 99.95 17:38:52 17:35:01 6 0.00 0.00 0.00 0.00 0.00 100.00 17:38:52 17:35:01 7 0.02 0.00 0.03 0.00 0.02 99.93 17:38:52 17:36:01 all 0.02 0.00 0.01 0.00 0.01 99.95 17:38:52 17:36:01 0 0.02 0.00 0.03 0.00 0.00 99.95 17:38:52 17:36:01 1 0.00 0.00 0.00 0.00 0.00 100.00 17:38:52 17:36:01 2 0.07 0.00 0.03 0.00 0.03 99.87 17:38:52 17:36:01 3 0.02 0.00 0.00 0.00 0.02 99.97 17:38:52 17:36:01 4 0.03 0.00 0.00 0.00 0.02 99.95 17:38:52 17:36:01 5 0.03 0.00 0.02 0.02 0.02 99.92 17:38:52 17:36:01 6 0.00 0.00 0.00 0.00 0.00 100.00 17:38:52 17:36:01 7 0.02 0.00 0.00 0.00 0.00 99.98 17:38:52 17:37:01 all 0.02 0.00 0.02 0.00 0.01 99.95 17:38:52 17:37:01 0 0.00 0.00 0.02 0.00 0.02 99.97 17:38:52 17:37:01 1 0.02 0.00 0.02 0.02 0.02 99.93 17:38:52 17:37:01 2 0.03 0.00 0.02 0.00 0.02 99.93 17:38:52 17:37:01 3 0.02 0.00 0.02 0.00 0.00 99.97 17:38:52 17:37:01 4 0.05 0.00 0.02 0.00 0.02 99.92 17:38:52 17:37:01 5 0.02 0.00 0.05 0.02 0.02 99.90 17:38:52 17:37:01 6 0.00 0.00 0.00 0.00 0.00 100.00 17:38:52 17:37:01 7 0.00 0.00 0.00 0.00 0.02 99.98 17:38:52 17:38:01 all 0.01 0.00 0.01 0.00 0.01 99.96 17:38:52 17:38:01 0 0.03 0.00 0.02 0.00 0.00 99.95 17:38:52 17:38:01 1 0.00 0.00 0.00 0.02 0.00 99.98 17:38:52 17:38:01 2 0.03 0.00 0.03 0.00 0.03 99.90 17:38:52 17:38:01 3 0.02 0.00 0.00 0.00 0.00 99.98 17:38:52 17:38:01 4 0.02 0.00 0.03 0.02 0.02 99.92 17:38:52 17:38:01 5 0.00 0.00 0.00 0.00 0.00 100.00 17:38:52 17:38:01 6 0.00 0.00 0.00 0.00 0.00 100.00 17:38:52 17:38:01 7 0.02 0.00 0.03 0.00 0.02 99.93 17:38:52 Average: all 5.86 0.00 1.44 0.25 0.02 92.43 17:38:52 Average: 0 6.22 0.00 1.35 0.03 0.02 92.39 17:38:52 Average: 1 5.79 0.00 1.60 0.92 0.02 91.67 17:38:52 Average: 2 5.85 0.00 1.38 0.07 0.03 92.67 17:38:52 Average: 3 6.03 0.00 1.39 0.04 0.02 92.52 17:38:52 Average: 4 5.56 0.00 1.29 0.29 0.02 92.84 17:38:52 Average: 5 5.92 0.00 1.42 0.08 0.02 92.56 17:38:52 Average: 6 5.96 0.00 1.63 0.46 0.02 91.93 17:38:52 Average: 7 5.51 0.00 1.45 0.12 0.03 92.88 17:38:52 17:38:52 17:38:52