Pull request #131 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 59a7980d54f1ac3c06c7b0a6ba74086551540c0b rather than 2f0c3ce04832e1b9546ccc49e8706331af5a5714 Obtained Jenkinsfile from 59a7980d54f1ac3c06c7b0a6ba74086551540c0b 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-ssh12824865173815929866.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh7789767464797028115.key > 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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-131/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-131/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17937280963734485435.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-131/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11556617607186818659.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16626072010167308649.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-131/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-131/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11181317183494557146.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22525 in /w/workspace/undry_device-onvif-camera_PR-131 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-131 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 59a7980d54f1ac3c06c7b0a6ba74086551540c0b into PR head commit 2f0c3ce04832e1b9546ccc49e8706331af5a5714 Merge succeeded, producing 2f0c3ce04832e1b9546ccc49e8706331af5a5714 Checking out Revision 2f0c3ce04832e1b9546ccc49e8706331af5a5714 (PR-131) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f0c3ce04832e1b9546ccc49e8706331af5a5714 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 59a7980d54f1ac3c06c7b0a6ba74086551540c0b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f0c3ce04832e1b9546ccc49e8706331af5a5714 # timeout=10 Commit message: "docs: add missing param to postman call" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:06:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:06:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:06:34 ========================================================= 18:06:34 EdgeX Global Pipelines Version Info 18:06:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:06:35 ------------------- 18:06:35 stable info: 18:06:35 ------------------- 18:06:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:06:35 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 18:06:35 Message: update stable to v1.0.238 18:06:36 ------------------- 18:06:36 experimental info: 18:06:36 ------------------- 18:06:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:06:36 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 18:06:36 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:06:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:06:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:06:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:06:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:06:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:06:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:06:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:06:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-131 [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-131 [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-131 [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f0c3ce04832e1b9546ccc49e8706331af5a5714 [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f0c3ce [Pipeline] echo 18:06:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:06:38 provisioning config files... 18:06:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-131@tmp/config9187860012763168602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:38 ---> docker-login.sh 18:06:38 nexus3.edgexfoundry.org:10001 18:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:38 Configure a credential helper to remove this warning. See 18:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:38 18:06:38 Login Succeeded 18:06:38 nexus3.edgexfoundry.org:10002 18:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:38 Configure a credential helper to remove this warning. See 18:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:38 18:06:38 Login Succeeded 18:06:38 nexus3.edgexfoundry.org:10003 18:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:38 Configure a credential helper to remove this warning. See 18:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:38 18:06:38 Login Succeeded 18:06:38 nexus3.edgexfoundry.org:10004 18:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:39 Configure a credential helper to remove this warning. See 18:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:39 18:06:39 Login Succeeded 18:06:39 docker.io 18:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:39 Configure a credential helper to remove this warning. See 18:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:39 18:06:39 Login Succeeded 18:06:39 ---> docker-login.sh ends [Pipeline] } 18:06:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:06:40 + git rev-list -1 --merges 2f0c3ce04832e1b9546ccc49e8706331af5a5714~1..2f0c3ce04832e1b9546ccc49e8706331af5a5714 [Pipeline] echo 18:06:40 -----------> git rev-list -1 --merges 2f0c3ce04832e1b9546ccc49e8706331af5a5714~1..2f0c3ce04832e1b9546ccc49e8706331af5a5714 2f0c3ce04832e1b9546ccc49e8706331af5a5714 [false] [Pipeline] sh 18:06:40 + git log --format=format:%s -1 2f0c3ce04832e1b9546ccc49e8706331af5a5714 [Pipeline] echo 18:06:40 ========================================================= 18:06:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:06:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:06:41 + git log --format=format:%s -1 2f0c3ce04832e1b9546ccc49e8706331af5a5714 [Pipeline] echo 18:06:41 [semverPrep] GIT_COMMIT: 2f0c3ce04832e1b9546ccc49e8706331af5a5714, Commit Message: docs: add missing param to postman call [Pipeline] echo 18:06:41 [semverPrep] This is not a build commit. [Pipeline] sh 18:06:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:06:41 + grep -v github /etc/ssh/ssh_known_hosts 18:06:41 + [ -e /tmp/ssh_known_hosts ] 18:06:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:06:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:06:41 + sudo tee -a /etc/ssh/ssh_known_hosts 18:06:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:06:42 18:06:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:06:42 0.1.4: Pulling from edgex-devops/py-git-semver 18:06:42 b85a868b505f: Pulling fs layer 18:06:42 e2be974225ed: Pulling fs layer 18:06:42 339a4e72a1f5: Pulling fs layer 18:06:42 988bab9f4d93: Pulling fs layer 18:06:42 1469e6f7b9e6: Pulling fs layer 18:06:42 eaf3925da568: Pulling fs layer 18:06:42 bab4dde63d76: Pulling fs layer 18:06:42 bde34c3a00c8: Pulling fs layer 18:06:42 b352a97aabf1: Pulling fs layer 18:06:42 4872d77fe225: Pulling fs layer 18:06:42 5851b861e8e6: Pulling fs layer 18:06:42 b352a97aabf1: Waiting 18:06:42 bab4dde63d76: Waiting 18:06:42 4872d77fe225: Waiting 18:06:42 988bab9f4d93: Waiting 18:06:42 5851b861e8e6: Waiting 18:06:42 1469e6f7b9e6: Waiting 18:06:42 eaf3925da568: Waiting 18:06:42 bde34c3a00c8: Waiting 18:06:42 e2be974225ed: Verifying Checksum 18:06:42 e2be974225ed: Download complete 18:06:42 988bab9f4d93: Verifying Checksum 18:06:42 988bab9f4d93: Download complete 18:06:42 1469e6f7b9e6: Verifying Checksum 18:06:42 1469e6f7b9e6: Download complete 18:06:42 339a4e72a1f5: Verifying Checksum 18:06:42 339a4e72a1f5: Download complete 18:06:42 eaf3925da568: Verifying Checksum 18:06:42 eaf3925da568: Download complete 18:06:42 bde34c3a00c8: Download complete 18:06:42 b352a97aabf1: Download complete 18:06:42 4872d77fe225: Verifying Checksum 18:06:42 4872d77fe225: Download complete 18:06:42 5851b861e8e6: Verifying Checksum 18:06:42 5851b861e8e6: Download complete 18:06:42 b85a868b505f: Download complete 18:06:43 bab4dde63d76: Verifying Checksum 18:06:43 bab4dde63d76: Download complete 18:06:44 b85a868b505f: Pull complete 18:06:44 e2be974225ed: Pull complete 18:06:44 339a4e72a1f5: Pull complete 18:06:44 988bab9f4d93: Pull complete 18:06:45 1469e6f7b9e6: Pull complete 18:06:45 eaf3925da568: Pull complete 18:06:47 bab4dde63d76: Pull complete 18:06:47 bde34c3a00c8: Pull complete 18:06:47 b352a97aabf1: Pull complete 18:06:47 4872d77fe225: Pull complete 18:06:47 5851b861e8e6: Pull complete 18:06:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:06:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:06:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:47 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 18:06:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-131 -v /w/workspace/undry_device-onvif-camera_PR-131:/w/workspace/undry_device-onvif-camera_PR-131:rw,z -v /w/workspace/undry_device-onvif-camera_PR-131@tmp:/w/workspace/undry_device-onvif-camera_PR-131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:06:48 $ docker top 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 -eo pid,comm 18:06:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:06:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:06:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:49 [ssh-agent] Looking for ssh-agent implementation... 18:06:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:49 $ docker exec 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 ssh-agent 18:06:49 SSH_AUTH_SOCK=/tmp/ssh-Wa304G1LpPaT/agent.33 18:06:49 SSH_AGENT_PID=39 18:06:49 Running ssh-add (command line suppressed) 18:06:49 Identity added: /w/workspace/undry_device-onvif-camera_PR-131@tmp/private_key_7996943765333371040.key (/w/workspace/undry_device-onvif-camera_PR-131@tmp/private_key_7996943765333371040.key) 18:06:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:49 + git tag --points-at HEAD [Pipeline] } 18:06:49 $ docker exec --env ******** --env ******** 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 ssh-agent -k 18:06:49 unset SSH_AUTH_SOCK; 18:06:49 unset SSH_AGENT_PID; 18:06:49 echo Agent pid 39 killed; 18:06:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:06:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:49 [ssh-agent] Looking for ssh-agent implementation... 18:06:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:50 $ docker exec 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 ssh-agent 18:06:50 SSH_AUTH_SOCK=/tmp/ssh-sn37jMsPsGt4/agent.71 18:06:50 SSH_AGENT_PID=77 18:06:50 Running ssh-add (command line suppressed) 18:06:50 Identity added: /w/workspace/undry_device-onvif-camera_PR-131@tmp/private_key_4016863721893156364.key (/w/workspace/undry_device-onvif-camera_PR-131@tmp/private_key_4016863721893156364.key) 18:06:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:50 + git semver init 18:06:50 2022-08-11 18:06:50,862 [run_init] DEBUG init version:0.0.0 force:False 18:06:50 2022-08-11 18:06:50,862 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-131/.semver 18:06:50 2022-08-11 18:06:50,863 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-131/.semver 18:06:50 2022-08-11 18:06:50,863 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-131/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-131, universal_newlines=False, shell=None, istream=None) 18:06:51 2022-08-11 18:06:51,614 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-131/.git/info/exclude 18:06:51 2022-08-11 18:06:51,614 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-131/.semver/PR-131 with force:False 18:06:51 2022-08-11 18:06:51,614 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-131/.semver/PR-131 18:06:51 2022-08-11 18:06:51,618 [execute] INFO git cat-file --batch-check 18:06:51 2022-08-11 18:06:51,618 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-131/.semver, universal_newlines=False, shell=None, istream=) 18:06:51 2022-08-11 18:06:51,625 [execute] INFO git cat-file --batch 18:06:51 2022-08-11 18:06:51,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-131/.semver, universal_newlines=False, shell=None, istream=) 18:06:51 2022-08-11 18:06:51,630 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-131/.semver/PR-131 18:06:51 0.0.0 [Pipeline] } 18:06:51 $ docker exec --env ******** --env ******** 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 ssh-agent -k 18:06:52 unset SSH_AUTH_SOCK; 18:06:52 unset SSH_AGENT_PID; 18:06:52 echo Agent pid 77 killed; 18:06:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:06:52 + git semver [Pipeline] } 18:06:52 $ docker stop --time=1 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 18:06:54 $ docker rm -f 15cb62a390f3a032fa0d7696be88632bae45b290bc8b12d098a3cabe9dee9f07 [Pipeline] // withDockerContainer [Pipeline] sh 18:06:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:06:54 Stashed 1 file(s) [Pipeline] echo 18:06:54 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:06:55 provisioning config files... 18:06:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-131@tmp/config8103583902151636137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:55 ---> docker-login.sh 18:06:55 nexus3.edgexfoundry.org:10001 18:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:55 Configure a credential helper to remove this warning. See 18:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:55 18:06:55 Login Succeeded 18:06:55 nexus3.edgexfoundry.org:10002 18:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:56 Configure a credential helper to remove this warning. See 18:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:56 18:06:56 Login Succeeded 18:06:56 nexus3.edgexfoundry.org:10003 18:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:56 Configure a credential helper to remove this warning. See 18:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:56 18:06:56 Login Succeeded 18:06:56 nexus3.edgexfoundry.org:10004 18:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:56 Configure a credential helper to remove this warning. See 18:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:56 18:06:56 Login Succeeded 18:06:56 docker.io 18:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:56 Configure a credential helper to remove this warning. See 18:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:56 18:06:56 Login Succeeded 18:06:56 ---> docker-login.sh ends [Pipeline] } 18:06:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:06:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:06:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:06:56 ========================================================= 18:06:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:06:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:06:57 Sending build context to Docker daemon 20.54MB 18:06:57 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:06:57 Step 2/13 : FROM ${BASE} AS builder 18:06:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:06:57 2408cc74d12b: Pulling fs layer 18:06:57 ea60b727a1ce: Pulling fs layer 18:06:57 30c4a7721957: Pulling fs layer 18:06:57 370296b7ddb6: Pulling fs layer 18:06:57 7c6cee850709: Pulling fs layer 18:06:57 39a5fcdaea64: Pulling fs layer 18:06:57 d94ebbe4e438: Pulling fs layer 18:06:57 bcfd1f05c69d: Pulling fs layer 18:06:57 59ccb84bbe0f: Pulling fs layer 18:06:57 39a5fcdaea64: Waiting 18:06:57 d94ebbe4e438: Waiting 18:06:57 370296b7ddb6: Waiting 18:06:57 bcfd1f05c69d: Waiting 18:06:57 7c6cee850709: Waiting 18:06:57 59ccb84bbe0f: Waiting 18:06:57 30c4a7721957: Verifying Checksum 18:06:57 30c4a7721957: Download complete 18:06:57 ea60b727a1ce: Download complete 18:06:57 7c6cee850709: Verifying Checksum 18:06:57 7c6cee850709: Download complete 18:06:57 39a5fcdaea64: Download complete 18:06:57 2408cc74d12b: Verifying Checksum 18:06:57 2408cc74d12b: Download complete 18:06:57 d94ebbe4e438: Verifying Checksum 18:06:57 d94ebbe4e438: Download complete 18:06:57 2408cc74d12b: Pull complete 18:06:57 ea60b727a1ce: Pull complete 18:06:57 30c4a7721957: Pull complete 18:06:58 59ccb84bbe0f: Verifying Checksum 18:06:58 59ccb84bbe0f: Download complete 18:06:58 bcfd1f05c69d: Verifying Checksum 18:06:58 bcfd1f05c69d: Download complete 18:06:58 370296b7ddb6: Verifying Checksum 18:06:58 370296b7ddb6: Download complete 18:07:02 370296b7ddb6: Pull complete 18:07:02 7c6cee850709: Pull complete 18:07:02 39a5fcdaea64: Pull complete 18:07:02 d94ebbe4e438: Pull complete 18:07:04 bcfd1f05c69d: Pull complete 18:07:05 59ccb84bbe0f: Pull complete 18:07:05 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 18:07:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:07:05 ---> a4fb48ad2a94 18:07:05 Step 3/13 : ARG MAKE="make build" 18:07:06 ---> Running in bebe9655aa4d 18:07:06 Removing intermediate container bebe9655aa4d 18:07:06 ---> e87ac1754db2 18:07:06 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:07:06 ---> Running in 08604f896550 18:07:06 Removing intermediate container 08604f896550 18:07:06 ---> 24aaa5586594 18:07:06 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 18:07:06 ---> Running in ca621a4a1eef 18:07:06 Removing intermediate container ca621a4a1eef 18:07:06 ---> fc025bb5ad2e 18:07:06 Step 6/13 : LABEL Name=edgex-device-onvif-camera 18:07:06 ---> Running in 7cddc911fca8 18:07:06 Removing intermediate container 7cddc911fca8 18:07:06 ---> 0211faaeff47 18:07:06 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:07:06 ---> Running in b11ea83e9ba3 18:07:07 Removing intermediate container b11ea83e9ba3 18:07:07 ---> 8f9eddcee6e7 18:07:07 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:07:07 ---> Running in 41c711fe03b8 18:07:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:07:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:07:09 OK: 211 MiB in 51 packages 18:07:09 Removing intermediate container 41c711fe03b8 18:07:09 ---> 65e66745756d 18:07:09 Step 9/13 : WORKDIR /device-onvif-camera 18:07:09 ---> Running in dfc2e3497262 18:07:09 Removing intermediate container dfc2e3497262 18:07:09 ---> 55b3a5a46cd3 18:07:09 Step 10/13 : COPY go.mod vendor* ./ 18:07:09 ---> e333ead5efa1 18:07:09 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:07:09 ---> Running in e1856688b87c 18:07:10 Still waiting to schedule task 18:07:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:07:28 Removing intermediate container e1856688b87c 18:07:28 ---> 649a12d1d4f4 18:07:28 Step 12/13 : COPY . . 18:07:28 ---> 4c57017398c1 18:07:28 Step 13/13 : RUN ${MAKE} 18:07:28 ---> Running in d15fae6310cb 18:07:28 noop 18:07:28 Removing intermediate container d15fae6310cb 18:07:28 ---> 3a14ca6ed06d 18:07:28 Successfully built 3a14ca6ed06d 18:07:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:28 + docker inspect -f . ci-base-image-x86_64 18:07:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:28 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 18:07:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-131 -v /w/workspace/undry_device-onvif-camera_PR-131:/w/workspace/undry_device-onvif-camera_PR-131:rw,z -v /w/workspace/undry_device-onvif-camera_PR-131@tmp:/w/workspace/undry_device-onvif-camera_PR-131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:07:29 $ docker top 19afad0306be13cd746aa1ef1bd63adc3ec651e19f4ac02b84e44e720a291a44 -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:29 + go version 18:07:29 go version go1.18.3 linux/amd64 [Pipeline] } 18:07:29 $ docker stop --time=1 19afad0306be13cd746aa1ef1bd63adc3ec651e19f4ac02b84e44e720a291a44 18:07:30 $ docker rm -f 19afad0306be13cd746aa1ef1bd63adc3ec651e19f4ac02b84e44e720a291a44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:31 + docker inspect -f . ci-base-image-x86_64 18:07:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:31 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 18:07:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-131 -v /w/workspace/undry_device-onvif-camera_PR-131:/w/workspace/undry_device-onvif-camera_PR-131:rw,z -v /w/workspace/undry_device-onvif-camera_PR-131@tmp:/w/workspace/undry_device-onvif-camera_PR-131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:07:32 $ docker top 6895a094ad38b2da0fe8abd7bd072967c3cc6e25dc5b7f9d7b9be4a54e0916dd -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:32 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-131 [Pipeline] fileExists [Pipeline] sh 18:07:33 + make test 18:07:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:07:33 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:07:43 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:07:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.023s coverage: 10.6% of statements 18:07:43 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:07:46 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.912s coverage: 13.8% of statements 18:07:53 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:07:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:07:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:07:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:07:56 ./bin/test-attribution-txt.sh [Pipeline] echo 18:07:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:07:56 $ docker stop --time=1 6895a094ad38b2da0fe8abd7bd072967c3cc6e25dc5b7f9d7b9be4a54e0916dd 18:07:58 $ docker rm -f 6895a094ad38b2da0fe8abd7bd072967c3cc6e25dc5b7f9d7b9be4a54e0916dd [Pipeline] // withDockerContainer [Pipeline] sh 18:07:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:07:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:07:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:08:00 + ls -al . 18:08:00 total 232 18:08:00 drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 18:07 . 18:08:00 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:06 .. 18:08:00 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 18:07 .git 18:08:00 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 18:06 .github 18:08:00 -rw-rw-r-- 1 jenkins jenkins 418 Aug 11 18:06 .gitignore 18:08:00 -rw-rw-r-- 1 jenkins jenkins 42 Aug 11 18:06 .golangci.yml 18:08:00 drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 18:06 .semver 18:08:00 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 11 18:06 Attribution.txt 18:08:00 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 11 18:06 CHANGELOG.md 18:08:00 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 11 18:06 Dockerfile 18:08:00 -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 18:06 GOVERNANCE.md 18:08:00 -rw-rw-r-- 1 jenkins jenkins 734 Aug 11 18:06 Jenkinsfile 18:08:00 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 11 18:06 LICENSE 18:08:00 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 11 18:06 Makefile 18:08:00 -rw-rw-r-- 1 jenkins jenkins 625 Aug 11 18:06 OWNERS.md 18:08:00 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 11 18:06 README.md 18:08:00 -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 18:06 VERSION 18:08:00 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 18:06 bin 18:08:00 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 18:06 cmd 18:08:00 -rw-r--r-- 1 jenkins jenkins 76856 Aug 11 18:07 coverage.out 18:08:00 drwxrwxr-x 6 jenkins jenkins 4096 Aug 11 18:06 doc 18:08:00 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 11 18:06 go.mod 18:08:00 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 11 18:06 go.sum 18:08:00 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:06 internal 18:08:00 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:06 snap 18:08:00 -rw-rw-r-- 1 jenkins jenkins 236 Aug 11 18:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:00 + 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=2f0c3ce04832e1b9546ccc49e8706331af5a5714 --label arch=amd64 --label version=0.0.0 . 18:08:00 Sending build context to Docker daemon 20.61MB 18:08:00 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:08:00 Step 2/26 : FROM ${BASE} AS builder 18:08:00 ---> 3a14ca6ed06d 18:08:00 Step 3/26 : ARG MAKE="make build" 18:08:00 ---> Running in 771c805afc6b 18:08:00 Removing intermediate container 771c805afc6b 18:08:00 ---> e8fad8f8427a 18:08:00 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:08:00 ---> Running in fd4a7ea8de8e 18:08:01 Removing intermediate container fd4a7ea8de8e 18:08:01 ---> 6b82ac1e07b0 18:08:01 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 18:08:01 ---> Running in 4f1957d921ce 18:08:01 Removing intermediate container 4f1957d921ce 18:08:01 ---> 431242028c98 18:08:01 Step 6/26 : LABEL Name=edgex-device-onvif-camera 18:08:01 ---> Running in 40b2ddd74160 18:08:01 Removing intermediate container 40b2ddd74160 18:08:01 ---> 49cbda5835fc 18:08:01 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:08:01 ---> Running in c26b13777485 18:08:01 Removing intermediate container c26b13777485 18:08:01 ---> 2387ffb61a46 18:08:01 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:08:01 ---> Running in 2027868f8dea 18:08:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:08:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:08:03 OK: 211 MiB in 51 packages 18:08:03 Removing intermediate container 2027868f8dea 18:08:03 ---> d5f3b6a5660f 18:08:03 Step 9/26 : WORKDIR /device-onvif-camera 18:08:03 ---> Running in ed4ac3b973fd 18:08:03 Removing intermediate container ed4ac3b973fd 18:08:03 ---> 6ca26cb6d7bc 18:08:03 Step 10/26 : COPY go.mod vendor* ./ 18:08:03 ---> 4c3bd21ab773 18:08:03 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:08:03 ---> Running in 77d77e228f67 18:08:04 Removing intermediate container 77d77e228f67 18:08:04 ---> 20d797dc4732 18:08:04 Step 12/26 : COPY . . 18:08:05 ---> 5526fb02c721 18:08:05 Step 13/26 : RUN ${MAKE} 18:08:05 ---> Running in 69558567f995 18:08:05 CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 18:08:27 Removing intermediate container 69558567f995 18:08:27 ---> c258a0f1f568 18:08:27 Step 14/26 : FROM alpine:3.16 18:08:27 3.16: Pulling from library/alpine 18:08:27 213ec9aee27d: Pulling fs layer 18:08:27 213ec9aee27d: Verifying Checksum 18:08:27 213ec9aee27d: Download complete 18:08:27 213ec9aee27d: Pull complete 18:08:27 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:08:27 Status: Downloaded newer image for alpine:3.16 18:08:27 ---> 9c6f07244728 18:08:27 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:08:27 ---> Running in 70c5588c5b5b 18:08:27 Removing intermediate container 70c5588c5b5b 18:08:27 ---> d5a4e1249d9b 18:08:27 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:08:27 ---> Running in c814b35f00f0 18:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:08:27 (1/6) Installing dumb-init (1.2.5-r1) 18:08:27 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:08:27 (3/6) Installing libsodium (1.0.18-r0) 18:08:27 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:08:27 (5/6) Installing libzmq (4.3.4-r0) 18:08:27 (6/6) Installing zeromq (4.3.4-r0) 18:08:27 Executing busybox-1.35.0-r17.trigger 18:08:27 OK: 8 MiB in 20 packages 18:08:27 Removing intermediate container c814b35f00f0 18:08:27 ---> 633c0f7d54ea 18:08:27 Step 17/26 : WORKDIR / 18:08:27 ---> Running in 9a97272e5c5f 18:08:27 Removing intermediate container 9a97272e5c5f 18:08:27 ---> 4994fd1f4041 18:08:27 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:08:27 ---> 1efe966aeb1a 18:08:27 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:08:27 ---> 9c0c353f1c70 18:08:27 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:08:27 ---> b7a4b699936f 18:08:27 Step 21/26 : EXPOSE 59984 18:08:27 ---> Running in af6f1fc66250 18:08:27 Removing intermediate container af6f1fc66250 18:08:27 ---> 5838264d590d 18:08:27 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:08:27 ---> Running in a88f439acf51 18:08:27 Removing intermediate container a88f439acf51 18:08:27 ---> bb0a1fd63799 18:08:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:08:27 ---> Running in af35f9dd7ecf 18:08:27 Removing intermediate container af35f9dd7ecf 18:08:27 ---> 4814ad7a29fc 18:08:27 Step 24/26 : LABEL arch=amd64 18:08:27 ---> Running in 2214476f5cf3 18:08:27 Removing intermediate container 2214476f5cf3 18:08:27 ---> 7e7ceec781ab 18:08:27 Step 25/26 : LABEL git_sha=2f0c3ce04832e1b9546ccc49e8706331af5a5714 18:08:27 ---> Running in e2f21f3e57bc 18:08:27 Removing intermediate container e2f21f3e57bc 18:08:27 ---> 90d0354c7053 18:08:27 Step 26/26 : LABEL version=0.0.0 18:08:27 ---> Running in c358da5bda80 18:08:28 Removing intermediate container c358da5bda80 18:08:28 ---> 83837eb90bf5 18:08:28 [Warning] One or more build-args [ARCH] were not consumed 18:08:28 Successfully built 83837eb90bf5 18:08:28 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:08:28 18:08:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:08:29 latest: Pulling from edgex-lftools-log-publisher 18:08:29 5eb5b503b376: Pulling fs layer 18:08:29 5c69ac0246d0: Pulling fs layer 18:08:29 ec43610c2a17: Pulling fs layer 18:08:29 3a2ae6a8a46f: Pulling fs layer 18:08:29 33b1e0a273af: Pulling fs layer 18:08:29 5d3b04190fa2: Pulling fs layer 18:08:29 2f39f015ded8: Pulling fs layer 18:08:29 3a2ae6a8a46f: Waiting 18:08:29 5d3b04190fa2: Waiting 18:08:29 33b1e0a273af: Waiting 18:08:29 5c69ac0246d0: Download complete 18:08:29 3a2ae6a8a46f: Download complete 18:08:29 33b1e0a273af: Verifying Checksum 18:08:29 33b1e0a273af: Download complete 18:08:29 ec43610c2a17: Verifying Checksum 18:08:29 5d3b04190fa2: Verifying Checksum 18:08:29 5d3b04190fa2: Download complete 18:08:29 ec43610c2a17: Download complete 18:08:29 5eb5b503b376: Verifying Checksum 18:08:29 5eb5b503b376: Download complete 18:08:30 2f39f015ded8: Verifying Checksum 18:08:30 2f39f015ded8: Download complete 18:08:31 5eb5b503b376: Pull complete 18:08:31 5c69ac0246d0: Pull complete 18:08:31 ec43610c2a17: Pull complete 18:08:31 3a2ae6a8a46f: Pull complete 18:08:31 33b1e0a273af: Pull complete 18:08:31 5d3b04190fa2: Pull complete 18:08:36 2f39f015ded8: Pull complete 18:08:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:08:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:08:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:36 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 18:08: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/undry_device-onvif-camera_PR-131 -v /w/workspace/undry_device-onvif-camera_PR-131:/w/workspace/undry_device-onvif-camera_PR-131:rw,z -v /w/workspace/undry_device-onvif-camera_PR-131@tmp:/w/workspace/undry_device-onvif-camera_PR-131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:08:38 $ docker top 2faec03400dfbbaa896c4b2a11cb750c7fc913b6973ee398af1ebf07609389bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:38 ---> job-cost.sh 18:08:38 lf-activate-venv: SKIPPING 18:08:38 INFO: No Stack... 18:08:38 INFO: Retrieving Pricing Info for: v3-standard-8 18:08:39 INFO: Archiving Costs [Pipeline] sh 18:08:39 + cat /w/workspace/undry_device-onvif-camera_PR-131/archives/cost.csv 18:08:39 + cut -d, -f6 [Pipeline] lock 18:08:39 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] 18:08:39 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] did not exist. Created. 18:08:39 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:08:40 + echo total: 0.2199999988079071 [Pipeline] stash 18:08:40 Stashed 1 file(s) [Pipeline] } 18:08:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:08:40 $ docker stop --time=1 2faec03400dfbbaa896c4b2a11cb750c7fc913b6973ee398af1ebf07609389bd 18:08:41 $ docker rm -f 2faec03400dfbbaa896c4b2a11cb750c7fc913b6973ee398af1ebf07609389bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:08:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22526 in /w/workspace/undry_device-onvif-camera_PR-131 [Pipeline] { [Pipeline] ws 18:08:48 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 18:08:48 Selected Git installation does not exist. Using Default 18:08:48 The recommended git tool is: NONE 18:08:54 using credential edgex-jenkins-ssh 18:08:54 Cloning the remote Git repository 18:08:54 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:08:54 > git init /w/workspace/device-onvif-camera/1 # timeout=10 18:08:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:08:54 > git --version # timeout=10 18:08:54 > git --version # 'git version 2.25.1' 18:08:54 using GIT_SSH to set credentials SSH Credentials for GitHub 18:08:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:08:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:08:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:08:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:08:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:08:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:08:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:08:56 Merging remotes/origin/main commit 59a7980d54f1ac3c06c7b0a6ba74086551540c0b into PR head commit 2f0c3ce04832e1b9546ccc49e8706331af5a5714 18:08:56 Merge succeeded, producing 2f0c3ce04832e1b9546ccc49e8706331af5a5714 18:08:56 Checking out Revision 2f0c3ce04832e1b9546ccc49e8706331af5a5714 (PR-131) 18:08:56 > git config core.sparsecheckout # timeout=10 18:08:56 > git checkout -f 2f0c3ce04832e1b9546ccc49e8706331af5a5714 # timeout=10 18:08:56 > git remote # timeout=10 18:08:56 > git config --get remote.origin.url # timeout=10 18:08:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:08:56 > git merge 59a7980d54f1ac3c06c7b0a6ba74086551540c0b # timeout=10 18:08:56 > git rev-parse HEAD^{commit} # timeout=10 18:08:56 > git config core.sparsecheckout # timeout=10 18:08:57 > git checkout -f 2f0c3ce04832e1b9546ccc49e8706331af5a5714 # timeout=10 18:09:01 Commit message: "docs: add missing param to postman call" 18:09:01 > git --version # timeout=10 18:09:01 > git --version # 'git version 2.25.1' 18:09:01 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:09:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:09:02 % Total % Received % Xferd Average Speed Time Time Time Current 18:09:02 Dload Upload Total Spent Left Speed 18:09:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 92029 0 --:--:-- --:--:-- --:--:-- 92029 [Pipeline] sh 18:09:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:09:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:09:03 + sudo tee /etc/docker/daemon.new 18:09:03 { 18:09:03 "registry-mirrors": [ 18:09:03 "https://nexus3.edgexfoundry.org:10001" 18:09:03 ], 18:09:03 "bip": "10.250.0.254/24", 18:09:03 "hosts": [ 18:09:03 "tcp://0.0.0.0:5555", 18:09:03 "unix:///var/run/docker.sock" 18:09:03 ], 18:09:03 "mtu": 1458, 18:09:03 "selinux-enabled": true, 18:09:03 "seccomp-profile": "/etc/docker/seccomp.json" 18:09:03 } [Pipeline] sh 18:09:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:09:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:23 provisioning config files... 18:09:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2636445888765412663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:23 ---> docker-login.sh 18:09:23 nexus3.edgexfoundry.org:10001 18:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:24 Configure a credential helper to remove this warning. See 18:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:24 18:09:24 Login Succeeded 18:09:24 nexus3.edgexfoundry.org:10002 18:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:24 Configure a credential helper to remove this warning. See 18:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:24 18:09:24 Login Succeeded 18:09:24 nexus3.edgexfoundry.org:10003 18:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:25 Configure a credential helper to remove this warning. See 18:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:25 18:09:25 Login Succeeded 18:09:25 nexus3.edgexfoundry.org:10004 18:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:25 Configure a credential helper to remove this warning. See 18:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:25 18:09:25 Login Succeeded 18:09:25 docker.io 18:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:26 Configure a credential helper to remove this warning. See 18:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:26 18:09:26 Login Succeeded 18:09:26 ---> docker-login.sh ends [Pipeline] } 18:09:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:09:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:09:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:09:26 ========================================================= 18:09:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:09:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:09:27 Sending build context to Docker daemon 14.07MB 18:09:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:09:27 Step 2/13 : FROM ${BASE} AS builder 18:09:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:09:27 b3c136eddcbf: Pulling fs layer 18:09:27 c0a3192eca97: Pulling fs layer 18:09:27 a050256f5b6f: Pulling fs layer 18:09:27 656be50a0ddc: Pulling fs layer 18:09:27 2bbca73fdf42: Pulling fs layer 18:09:27 46d945488cbd: Pulling fs layer 18:09:27 8a5474983e97: Pulling fs layer 18:09:27 329c88fbcd65: Pulling fs layer 18:09:27 46d945488cbd: Waiting 18:09:27 8a5474983e97: Waiting 18:09:27 329c88fbcd65: Waiting 18:09:27 656be50a0ddc: Waiting 18:09:27 2bbca73fdf42: Waiting 18:09:27 a050256f5b6f: Verifying Checksum 18:09:27 a050256f5b6f: Download complete 18:09:27 c0a3192eca97: Verifying Checksum 18:09:27 c0a3192eca97: Download complete 18:09:27 2bbca73fdf42: Verifying Checksum 18:09:27 2bbca73fdf42: Download complete 18:09:28 46d945488cbd: Verifying Checksum 18:09:28 46d945488cbd: Download complete 18:09:28 b3c136eddcbf: Verifying Checksum 18:09:28 b3c136eddcbf: Download complete 18:09:29 b3c136eddcbf: Pull complete 18:09:29 329c88fbcd65: Verifying Checksum 18:09:29 329c88fbcd65: Download complete 18:09:29 c0a3192eca97: Pull complete 18:09:29 a050256f5b6f: Pull complete 18:09:30 8a5474983e97: Verifying Checksum 18:09:30 8a5474983e97: Download complete 18:09:30 656be50a0ddc: Verifying Checksum 18:09:30 656be50a0ddc: Download complete 18:09:46 656be50a0ddc: Pull complete 18:09:46 2bbca73fdf42: Pull complete 18:09:46 46d945488cbd: Pull complete 18:09:50 8a5474983e97: Pull complete 18:09:52 329c88fbcd65: Pull complete 18:09:52 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 18:09:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:09:52 ---> ff4287adb874 18:09:52 Step 3/13 : ARG MAKE="make build" 18:09:53 ---> Running in 9bcc91b76108 18:09:54 Removing intermediate container 9bcc91b76108 18:09:54 ---> 0eb73f450ae4 18:09:54 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:09:54 ---> Running in d660d1b89a86 18:09:54 Removing intermediate container d660d1b89a86 18:09:54 ---> 2b212a765091 18:09:54 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 18:09:54 ---> Running in 92be5a0de66f 18:09:56 Removing intermediate container 92be5a0de66f 18:09:56 ---> 600f5891fc91 18:09:56 Step 6/13 : LABEL Name=edgex-device-onvif-camera 18:09:56 ---> Running in 231192acf660 18:09:56 Removing intermediate container 231192acf660 18:09:56 ---> ada148ade782 18:09:56 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:09:56 ---> Running in 6d2a25d5d671 18:09:58 Removing intermediate container 6d2a25d5d671 18:09:58 ---> 19010c763dd1 18:09:58 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:09:58 ---> Running in d33e12a5b85d 18:09:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:10:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:10:01 OK: 221 MiB in 51 packages 18:10:02 Removing intermediate container d33e12a5b85d 18:10:02 ---> 807c9ce9ac3c 18:10:02 Step 9/13 : WORKDIR /device-onvif-camera 18:10:02 ---> Running in 83faaac49519 18:10:02 Removing intermediate container 83faaac49519 18:10:02 ---> 1ded5cbf7baa 18:10:02 Step 10/13 : COPY go.mod vendor* ./ 18:10:03 ---> c25e6f67b480 18:10:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:10:03 ---> Running in 4ecd5d4787b4 18:10:59 Removing intermediate container 4ecd5d4787b4 18:10:59 ---> 72958b134092 18:10:59 Step 12/13 : COPY . . 18:10:59 ---> c02189b659cb 18:10:59 Step 13/13 : RUN ${MAKE} 18:10:59 ---> Running in 74afae620723 18:10:59 noop 18:10:59 Removing intermediate container 74afae620723 18:10:59 ---> 871e02caf530 18:10:59 Successfully built 871e02caf530 18:10:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:00 + docker inspect -f . ci-base-image-arm64 18:11:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:00 prd-ubuntu20.04-docker-arm64-4c-16g-22526 does not seem to be running inside a container 18:11:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:11:01 $ docker top 73b7f0d00a39759b76598f8fac497841a4cc3677bb7ed77e69a059444b147f6e -eo pid,comm [Pipeline] { [Pipeline] sh 18:11:02 + go version 18:11:02 go version go1.18.3 linux/arm64 [Pipeline] } 18:11:02 $ docker stop --time=1 73b7f0d00a39759b76598f8fac497841a4cc3677bb7ed77e69a059444b147f6e 18:11:04 $ docker rm -f 73b7f0d00a39759b76598f8fac497841a4cc3677bb7ed77e69a059444b147f6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:05 + docker inspect -f . ci-base-image-arm64 18:11:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:05 prd-ubuntu20.04-docker-arm64-4c-16g-22526 does not seem to be running inside a container 18:11:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:11:06 $ docker top cb3c1db62aa3abefa6d6548461de3606ac961cc3bd92567aa7509c07a04fdc49 -eo pid,comm [Pipeline] { [Pipeline] sh 18:11:07 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 18:11:08 + make test 18:11:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:11:09 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:12:31 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:12:38 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.121s coverage: 10.6% of statements 18:12:38 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:13:00 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.157s coverage: 13.8% of statements 18:13:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:13:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:13:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:13:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:13:22 ./bin/test-attribution-txt.sh [Pipeline] echo 18:13:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:13:23 $ docker stop --time=1 cb3c1db62aa3abefa6d6548461de3606ac961cc3bd92567aa7509c07a04fdc49 18:13:24 $ docker rm -f cb3c1db62aa3abefa6d6548461de3606ac961cc3bd92567aa7509c07a04fdc49 [Pipeline] // withDockerContainer [Pipeline] sh 18:13:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:13:25 Warning: overwriting stash ‘coverage-report’ 18:13:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:13:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:13:27 + ls -al . 18:13:27 total 228 18:13:27 drwxrwxr-x 9 jenkins jenkins 4096 Aug 11 18:11 . 18:13:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:08 .. 18:13:27 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 18:09 .git 18:13:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 18:08 .github 18:13:27 -rw-rw-r-- 1 jenkins jenkins 418 Aug 11 18:08 .gitignore 18:13:27 -rw-rw-r-- 1 jenkins jenkins 42 Aug 11 18:08 .golangci.yml 18:13:27 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 11 18:08 Attribution.txt 18:13:27 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 11 18:08 CHANGELOG.md 18:13:27 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 11 18:08 Dockerfile 18:13:27 -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 18:08 GOVERNANCE.md 18:13:27 -rw-rw-r-- 1 jenkins jenkins 734 Aug 11 18:08 Jenkinsfile 18:13:27 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 11 18:08 LICENSE 18:13:27 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 11 18:08 Makefile 18:13:27 -rw-rw-r-- 1 jenkins jenkins 625 Aug 11 18:08 OWNERS.md 18:13:27 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 11 18:08 README.md 18:13:27 -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 18:06 VERSION 18:13:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 18:08 bin 18:13:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 18:08 cmd 18:13:27 -rw-r--r-- 1 jenkins jenkins 76856 Aug 11 18:12 coverage.out 18:13:27 drwxrwxr-x 6 jenkins jenkins 4096 Aug 11 18:08 doc 18:13:27 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 11 18:08 go.mod 18:13:27 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 11 18:08 go.sum 18:13:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:08 internal 18:13:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:08 snap 18:13:27 -rw-rw-r-- 1 jenkins jenkins 236 Aug 11 18:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:27 + 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=2f0c3ce04832e1b9546ccc49e8706331af5a5714 --label arch=arm64 --label version=0.0.0 . 18:13:28 Sending build context to Docker daemon 14.15MB 18:13:28 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:13:28 Step 2/26 : FROM ${BASE} AS builder 18:13:28 ---> 871e02caf530 18:13:28 Step 3/26 : ARG MAKE="make build" 18:13:28 ---> Running in 43d73071e5f7 18:13:28 Removing intermediate container 43d73071e5f7 18:13:28 ---> ee4a5333ba4e 18:13:28 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:13:28 ---> Running in 8dfa76612c10 18:13:29 Removing intermediate container 8dfa76612c10 18:13:29 ---> 81e1d12359a1 18:13:29 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 18:13:29 ---> Running in 58e524791c70 18:13:29 Removing intermediate container 58e524791c70 18:13:29 ---> 596bc0365991 18:13:29 Step 6/26 : LABEL Name=edgex-device-onvif-camera 18:13:29 ---> Running in e91f51442a59 18:13:29 Removing intermediate container e91f51442a59 18:13:29 ---> 293d0445c7cc 18:13:29 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:13:29 ---> Running in b147c6e1bf87 18:13:31 Removing intermediate container b147c6e1bf87 18:13:31 ---> fa558d45c51f 18:13:31 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:13:31 ---> Running in 5c3e28e2d6f9 18:13:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:13:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:13:34 OK: 221 MiB in 51 packages 18:13:35 Removing intermediate container 5c3e28e2d6f9 18:13:35 ---> dde84b041ba8 18:13:35 Step 9/26 : WORKDIR /device-onvif-camera 18:13:35 ---> Running in 24fb4bfde907 18:13:35 Removing intermediate container 24fb4bfde907 18:13:35 ---> 84b8e1c52401 18:13:35 Step 10/26 : COPY go.mod vendor* ./ 18:13:36 ---> a0fbb944cdf1 18:13:36 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:36 ---> Running in 3a5f1bf0d5cd 18:13:38 Removing intermediate container 3a5f1bf0d5cd 18:13:38 ---> fd6051b1e4eb 18:13:38 Step 12/26 : COPY . . 18:13:39 ---> 009e73eb0708 18:13:39 Step 13/26 : RUN ${MAKE} 18:13:39 ---> Running in b18ed7b3e979 18:13:40 CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 18:15:47 Removing intermediate container b18ed7b3e979 18:15:47 ---> c4b8f5ac304b 18:15:47 Step 14/26 : FROM alpine:3.16 18:15:47 3.16: Pulling from library/alpine 18:15:47 9b18e9b68314: Pulling fs layer 18:15:47 9b18e9b68314: Download complete 18:15:48 9b18e9b68314: Pull complete 18:15:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:15:48 Status: Downloaded newer image for alpine:3.16 18:15:48 ---> a6215f271958 18:15:48 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:15:48 ---> Running in b247a1dab453 18:15:48 Removing intermediate container b247a1dab453 18:15:48 ---> 25b52ad7a47e 18:15:48 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:15:48 ---> Running in 5fbe7b3a9531 18:15:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:15:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:15:50 (1/6) Installing dumb-init (1.2.5-r1) 18:15:50 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:15:50 (3/6) Installing libsodium (1.0.18-r0) 18:15:50 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:15:50 (5/6) Installing libzmq (4.3.4-r0) 18:15:50 (6/6) Installing zeromq (4.3.4-r0) 18:15:50 Executing busybox-1.35.0-r17.trigger 18:15:50 OK: 8 MiB in 20 packages 18:15:51 Removing intermediate container 5fbe7b3a9531 18:15:51 ---> c9c8757257c0 18:15:51 Step 17/26 : WORKDIR / 18:15:51 ---> Running in 154ae083c197 18:15:52 Removing intermediate container 154ae083c197 18:15:52 ---> 94acccd6ba95 18:15:52 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:15:53 ---> faf9c3606ba6 18:15:53 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:15:54 ---> eeffee0f2af8 18:15:54 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:15:54 ---> 856b8a4c1d12 18:15:54 Step 21/26 : EXPOSE 59984 18:15:54 ---> Running in 184d413b839d 18:15:55 Removing intermediate container 184d413b839d 18:15:55 ---> 0c177468d226 18:15:55 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:15:55 ---> Running in 14434e51f25a 18:15:55 Removing intermediate container 14434e51f25a 18:15:55 ---> da17ee3bd8d6 18:15:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:15:55 ---> Running in ac32c788c4c6 18:15:55 Removing intermediate container ac32c788c4c6 18:15:55 ---> b76f27cf9ca9 18:15:55 Step 24/26 : LABEL arch=arm64 18:15:55 ---> Running in 018f344d4e63 18:15:56 Removing intermediate container 018f344d4e63 18:15:56 ---> dae78d496912 18:15:56 Step 25/26 : LABEL git_sha=2f0c3ce04832e1b9546ccc49e8706331af5a5714 18:15:56 ---> Running in 0d9ac3936aee 18:15:56 Removing intermediate container 0d9ac3936aee 18:15:56 ---> d4cc5d2d0246 18:15:56 Step 26/26 : LABEL version=0.0.0 18:15:56 ---> Running in 5bda3fe36f4b 18:15:56 Removing intermediate container 5bda3fe36f4b 18:15:56 ---> 5ea7a3770d88 18:15:56 [Warning] One or more build-args [ARCH] were not consumed 18:15:56 Successfully built 5ea7a3770d88 18:15:56 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:15:57 18:15:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:15:58 arm64: Pulling from edgex-lftools-log-publisher 18:15:58 8998bd30e6a1: Pulling fs layer 18:15:58 04944245beec: Pulling fs layer 18:15:58 699f458cf7ca: Pulling fs layer 18:15:58 765212b225bb: Pulling fs layer 18:15:58 f23df028b6ca: Pulling fs layer 18:15:58 d65c8cfc05b1: Pulling fs layer 18:15:58 2437ff75d9bd: Pulling fs layer 18:15:58 765212b225bb: Waiting 18:15:58 f23df028b6ca: Waiting 18:15:58 d65c8cfc05b1: Waiting 18:15:58 2437ff75d9bd: Waiting 18:15:58 04944245beec: Verifying Checksum 18:15:58 04944245beec: Download complete 18:15:58 765212b225bb: Verifying Checksum 18:15:58 765212b225bb: Download complete 18:15:58 f23df028b6ca: Verifying Checksum 18:15:58 f23df028b6ca: Download complete 18:15:58 d65c8cfc05b1: Verifying Checksum 18:15:58 d65c8cfc05b1: Download complete 18:15:58 699f458cf7ca: Verifying Checksum 18:15:58 699f458cf7ca: Download complete 18:15:59 8998bd30e6a1: Verifying Checksum 18:15:59 8998bd30e6a1: Download complete 18:16:01 2437ff75d9bd: Verifying Checksum 18:16:01 2437ff75d9bd: Download complete 18:16:03 8998bd30e6a1: Pull complete 18:16:03 04944245beec: Pull complete 18:16:05 699f458cf7ca: Pull complete 18:16:05 765212b225bb: Pull complete 18:16:06 f23df028b6ca: Pull complete 18:16:06 d65c8cfc05b1: Pull complete 18:16:21 2437ff75d9bd: Pull complete 18:16:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:16:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:16:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:22 prd-ubuntu20.04-docker-arm64-4c-16g-22526 does not seem to be running inside a container 18:16:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:16:25 $ docker top d1d58d4e0f2afcc7530851467fb6f32d2eeb73ff41260ef60f3b398d931e5495 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:26 ---> job-cost.sh 18:16:26 lf-activate-venv: SKIPPING 18:16:26 INFO: No Stack... 18:16:26 INFO: Retrieving Pricing Info for: v3-standard-4 18:16:27 INFO: Archiving Costs [Pipeline] sh 18:16:28 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 18:16:28 + cut -d, -f6 [Pipeline] lock 18:16:28 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] 18:16:28 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] did not exist. Created. 18:16:28 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:16:29 /w/workspace/device-onvif-camera/1@tmp/durable-dcc72998/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:16:29 + echo total: 0.10999999940395355 [Pipeline] stash 18:16:29 Warning: overwriting stash ‘stack-cost’ 18:16:29 Stashed 1 file(s) [Pipeline] } 18:16:29 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-131-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:16:29 $ docker stop --time=1 d1d58d4e0f2afcc7530851467fb6f32d2eeb73ff41260ef60f3b398d931e5495 18:16:31 $ docker rm -f d1d58d4e0f2afcc7530851467fb6f32d2eeb73ff41260ef60f3b398d931e5495 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:16:32 provisioning config files... 18:16:32 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-131@tmp/config5986783014918211730tmp [Pipeline] { [Pipeline] sh 18:16:32 + set +x 18:16:32 + + bash -s -- 18:16:32 curl -s https://codecov.io/bash 18:16:32 18:16:32 _____ _ 18:16:32 / ____| | | 18:16:32 | | ___ __| | ___ ___ _____ __ 18:16:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:16:32 | |___| (_) | (_| | __/ (_| (_) \ V / 18:16:32 \_____\___/ \__,_|\___|\___\___/ \_/ 18:16:32 Bash-1.0.6 18:16:32 18:16:32 18:16:32 ==> git version 2.25.1 found 18:16:32 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:16:32 Release-Date: 2020-01-08 18:16:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:16:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:16:32 ==> Jenkins CI detected. 18:16:32 current dir:  /w/workspace/undry_device-onvif-camera_PR-131 18:16:32 project root: . 18:16:32 --> token set from env 18:16:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:16:32 ==> Running gcov in . (disable via -X gcov) 18:16:32 ==> Python coveragepy not found 18:16:32 ==> Searching for coverage reports in: 18:16:32 + . 18:16:32 -> Found 1 reports 18:16:32 ==> Detecting git/mercurial file structure 18:16:33 ==> Reading reports 18:16:33 + ./coverage.out bytes=76856 18:16:33 ==> Appending adjustments 18:16:33 https://docs.codecov.io/docs/fixing-reports 18:16:33 + Found adjustments 18:16:33 ==> Gzipping contents 18:16:33 12K /tmp/codecov.WCtYxj.gz 18:16:33 ==> Uploading reports 18:16:33 url: https://codecov.io 18:16:33 query: branch=PR-131&commit=2f0c3ce04832e1b9546ccc49e8706331af5a5714&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=131&job=&cmd_args= 18:16:33 -> Pinging Codecov 18:16:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-131&commit=2f0c3ce04832e1b9546ccc49e8706331af5a5714&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=131&job=&cmd_args= 18:16:33 -> Uploading to 18:16:33 https://storage.googleapis.com/codecov/v4/raw/2022-08-11/F29A59C45E3A92E06B3E522C9905F8EF/2f0c3ce04832e1b9546ccc49e8706331af5a5714/2932491e-9ac4-4073-8ce6-34be5eef0cbe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220811T181633Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f02dbe8eebb5da89047527abd672f5d2382fcbf7c048ec0e90a94f01a454326 18:16:33 % Total % Received % Xferd Average Speed Time Time Time Current 18:16:33 Dload Upload Total Spent Left Speed 18:16:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10359 0 0 100 10359 0 41270 --:--:-- --:--:-- --:--:-- 41436 18:16:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/2f0c3ce04832e1b9546ccc49e8706331af5a5714 [Pipeline] } 18:16:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:16:35 + [ -d /w/workspace/undry_device-onvif-camera_PR-131/archives ] 18:16:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-131/archives 18:16:35 total 16 18:16:35 drwxr-xr-x 3 root root 4096 Aug 11 18:08 . 18:16:35 drwxrwxr-x 11 jenkins jenkins 4096 Aug 11 18:08 .. 18:16:35 drwxr-xr-x 2 root root 4096 Aug 11 18:08 cost 18:16:35 -rw-r--r-- 1 root root 91 Aug 11 18:08 cost.csv 18:16:35 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-131/archives 18:16:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-131/archives 18:16:35 total 16 18:16:35 drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 18:08 . 18:16:35 drwxrwxr-x 11 jenkins jenkins 4096 Aug 11 18:08 .. 18:16:35 drwxr-xr-x 2 jenkins jenkins 4096 Aug 11 18:08 cost 18:16:35 -rw-r--r-- 1 jenkins jenkins 91 Aug 11 18:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:16:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:16:36 ---> package-listing.sh 18:16:36 ++ facter osfamily 18:16:36 ++ tr '[:upper:]' '[:lower:]' 18:16:36 + OS_FAMILY=debian 18:16:36 + workspace=/w/workspace/undry_device-onvif-camera_PR-131 18:16:36 + START_PACKAGES=/tmp/packages_start.txt 18:16:36 + END_PACKAGES=/tmp/packages_end.txt 18:16:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:36 + PACKAGES=/tmp/packages_start.txt 18:16:36 + '[' /w/workspace/undry_device-onvif-camera_PR-131 ']' 18:16:36 + PACKAGES=/tmp/packages_end.txt 18:16:36 + case "${OS_FAMILY}" in 18:16:36 + dpkg -l 18:16:36 + grep '^ii' 18:16:36 + '[' -f /tmp/packages_start.txt ']' 18:16:36 + '[' -f /tmp/packages_end.txt ']' 18:16:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:36 + '[' /w/workspace/undry_device-onvif-camera_PR-131 ']' 18:16:36 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-131/archives/ 18:16:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-131/archives/ [Pipeline] echo 18:16:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-131/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:16:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:16:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:38 prd-ubuntu20.04-docker-8c-8g-22525 does not seem to be running inside a container 18:16:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-131/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-131 -v /w/workspace/undry_device-onvif-camera_PR-131:/w/workspace/undry_device-onvif-camera_PR-131:rw,z -v /w/workspace/undry_device-onvif-camera_PR-131@tmp:/w/workspace/undry_device-onvif-camera_PR-131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:16:38 $ docker top 6b460fc9ff8c34258bbddf89ea6b9732ca3f939baa3a1c905ef056eafadb8869 -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:38 + touch /tmp/pre-build-complete [Pipeline] sh 18:16:39 + mkdir -p /var/log/sysstat [Pipeline] sh 18:16:39 + ls /var/log/sa-host 18:16:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:16:39 provisioning config files... 18:16:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-131@tmp/config2044655911845168983tmp [Pipeline] { [Pipeline] echo 18:16:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:16:39 ---> create-netrc.sh [Pipeline] } 18:16:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:16:40 ---> python-tools-install.sh [Pipeline] echo 18:16:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:16:40 ---> sudo-logs.sh 18:16:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:16:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:16:41 ---> job-cost.sh 18:16:41 lf-activate-venv: SKIPPING 18:16:41 DEBUG: total: 0.2199999988079071 18:16:41 INFO: Retrieving Stack Cost... 18:16:41 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:41 INFO: Archiving Costs [Pipeline] echo 18:16:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:16:42 ---> logs-deploy.sh 18:16:42 lf-activate-venv: SKIPPING 18:16:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-131/1 18:16:42 INFO: archiving workspace using pattern(s): 18:16:43 Archives upload complete. 18:16:43 INFO: archiving logs to Nexus 18:16:44 ---> uname -a: 18:16:44 Linux prd-ubuntu20-04-docker-8c-8g-22525 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 18:16:44 18:16:44 18:16:44 ---> lscpu: 18:16:44 Architecture: x86_64 18:16:44 CPU op-mode(s): 32-bit, 64-bit 18:16:44 Byte Order: Little Endian 18:16:44 Address sizes: 40 bits physical, 48 bits virtual 18:16:44 CPU(s): 8 18:16:44 On-line CPU(s) list: 0-7 18:16:44 Thread(s) per core: 1 18:16:44 Core(s) per socket: 1 18:16:44 Socket(s): 8 18:16:44 NUMA node(s): 1 18:16:44 Vendor ID: AuthenticAMD 18:16:44 CPU family: 23 18:16:44 Model: 49 18:16:44 Model name: AMD EPYC-Rome Processor 18:16:44 Stepping: 0 18:16:44 CPU MHz: 2799.998 18:16:44 BogoMIPS: 5599.99 18:16:44 Virtualization: AMD-V 18:16:44 Hypervisor vendor: KVM 18:16:44 Virtualization type: full 18:16:44 L1d cache: 256 KiB 18:16:44 L1i cache: 256 KiB 18:16:44 L2 cache: 4 MiB 18:16:44 L3 cache: 128 MiB 18:16:44 NUMA node0 CPU(s): 0-7 18:16:44 Vulnerability Itlb multihit: Not affected 18:16:44 Vulnerability L1tf: Not affected 18:16:44 Vulnerability Mds: Not affected 18:16:44 Vulnerability Meltdown: Not affected 18:16:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:16:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:16:44 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:16:44 Vulnerability Srbds: Not affected 18:16:44 Vulnerability Tsx async abort: Not affected 18:16:44 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:16:44 18:16:44 18:16:44 ---> nproc: 18:16:44 8 18:16:44 18:16:44 18:16:44 ---> df -h: 18:16:44 Filesystem Size Used Avail Use% Mounted on 18:16:44 overlay 155G 11G 145G 8% / 18:16:44 tmpfs 64M 0 64M 0% /dev 18:16:44 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:16:44 shm 64M 0 64M 0% /dev/shm 18:16:44 /dev/vda1 155G 11G 145G 8% /facter-os 18:16:44 18:16:44 18:16:44 ---> sar -b -r -n DEV: 18:16:44 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22525) 08/11/22 _x86_64_ (8 CPU) 18:16:44 18:16:44 18:05:59 LINUX RESTART (8 CPU) 18:16:44 18:16:44 18:06:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:16:44 18:07:02 387.44 82.77 304.67 0.00 10800.07 204330.34 0.00 18:16:44 18:08:01 204.74 1.32 203.42 0.00 34.97 70770.99 0.00 18:16:44 18:09:01 159.11 0.05 159.06 0.00 12.80 36328.35 0.00 18:16:44 18:10:01 1.72 0.00 1.72 0.00 0.00 21.21 0.00 18:16:44 18:11:01 1.42 0.00 1.42 0.00 0.00 16.66 0.00 18:16:44 18:12:01 0.97 0.02 0.95 0.00 0.13 11.73 0.00 18:16:44 18:13:01 1.55 0.00 1.55 0.00 0.00 17.60 0.00 18:16:44 18:14:01 0.83 0.00 0.83 0.00 0.00 10.13 0.00 18:16:44 18:15:01 1.05 0.00 1.05 0.00 0.00 12.53 0.00 18:16:44 18:16:01 0.98 0.00 0.98 0.00 0.00 12.26 0.00 18:16:44 Average: 75.76 8.43 67.34 0.00 1086.46 31085.64 0.00 18:16:44 18:16:44 18:06:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:16:44 18:07:02 29056572 31746376 564108 1.72 114664 2848732 2197864 6.48 1147416 2313148 504040 18:16:44 18:08:01 28280980 31738860 555072 1.69 166540 3498376 1994556 5.88 1342952 2808336 504 18:16:44 18:09:01 27531704 31757024 533888 1.62 177412 4191536 1762160 5.19 1375300 3456084 404 18:16:44 18:10:01 27533160 31758564 531900 1.62 177436 4191536 1762160 5.19 1374336 3456084 12 18:16:44 18:11:01 27542832 31768212 522292 1.59 177464 4191536 1762160 5.19 1364732 3456092 28 18:16:44 18:12:01 27542824 31768304 522208 1.59 177484 4191548 1762160 5.19 1364608 3456192 12 18:16:44 18:13:01 27550296 31775864 514640 1.57 177508 4191556 1762160 5.19 1357420 3456204 8 18:16:44 18:14:01 27550248 31775884 514612 1.56 177520 4191560 1762160 5.19 1357356 3456272 12 18:16:44 18:15:01 27550960 31776628 514040 1.56 177528 4191560 1762160 5.19 1357380 3456276 16 18:16:44 18:16:01 27550944 31776724 514012 1.56 177552 4191552 1762160 5.19 1357292 3456384 20 18:16:44 Average: 27769052 31764244 528677 1.61 170111 3987949 1828970 5.39 1339879 3277107 50506 18:16:44 18:16:44 18:06:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:16:44 18:07:02 docker0 9.42 8.68 0.88 104.62 0.00 0.00 0.00 0.00 18:16:44 18:07:02 lo 8.73 8.73 0.83 0.83 0.00 0.00 0.00 0.00 18:16:44 18:07:02 ens3 847.13 517.73 8899.60 108.47 0.00 0.00 0.00 0.00 18:16:44 18:08:01 docker0 129.31 162.54 10.78 1555.20 0.00 0.00 0.00 0.00 18:16:44 18:08:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 18:16:44 18:08:01 ens3 250.51 192.61 1611.77 82.92 0.00 0.00 0.00 0.00 18:16:44 18:09:01 docker0 13.05 17.51 0.78 98.84 0.00 0.00 0.00 0.00 18:16:44 18:09:01 lo 1.80 1.80 0.17 0.17 0.00 0.00 0.00 0.00 18:16:44 18:09:01 ens3 142.54 101.13 2676.57 60.85 0.00 0.00 0.00 0.00 18:16:44 18:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 18:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 18:10:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 18:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 18:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:16:44 18:11:01 ens3 0.55 0.38 0.27 0.21 0.00 0.00 0.00 0.00 18:16:44 18:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 18:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 18:12:01 ens3 0.13 0.10 0.08 0.07 0.00 0.00 0.00 0.00 18:16:44 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 18:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:16:44 18:13:01 ens3 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:16:44 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 18:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 18:14:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 18:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:16:44 18:15:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 18:16:44 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 18:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 18:16:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:44 Average: docker0 14.99 18.63 1.23 173.58 0.00 0.00 0.00 0.00 18:16:44 Average: lo 1.14 1.14 0.11 0.11 0.00 0.00 0.00 0.00 18:16:44 Average: ens3 123.89 81.03 1318.26 25.16 0.00 0.00 0.00 0.00 18:16:44 18:16:44 18:16:44 ---> sar -P ALL: 18:16:44 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22525) 08/11/22 _x86_64_ (8 CPU) 18:16:44 18:16:44 18:05:59 LINUX RESTART (8 CPU) 18:16:44 18:16:44 18:06:01 CPU %user %nice %system %iowait %steal %idle 18:16:44 18:07:02 all 10.89 0.00 4.45 2.12 0.06 82.49 18:16:44 18:07:02 0 11.18 0.00 3.82 1.19 0.07 83.74 18:16:44 18:07:02 1 10.14 0.00 4.23 1.26 0.05 84.31 18:16:44 18:07:02 2 12.21 0.00 4.45 1.25 0.05 82.04 18:16:44 18:07:02 3 9.74 0.00 3.49 4.63 0.07 82.07 18:16:44 18:07:02 4 12.10 0.00 4.30 1.03 0.05 82.52 18:16:44 18:07:02 5 10.54 0.00 5.07 2.49 0.05 81.86 18:16:44 18:07:02 6 11.13 0.00 4.26 4.36 0.05 80.21 18:16:44 18:07:02 7 10.07 0.00 5.96 0.71 0.07 83.18 18:16:44 18:08:01 all 28.16 0.00 5.72 1.35 0.08 64.70 18:16:44 18:08:01 0 31.46 0.00 6.20 0.07 0.07 62.20 18:16:44 18:08:01 1 28.38 0.00 6.87 6.19 0.09 58.48 18:16:44 18:08:01 2 28.65 0.00 5.49 2.34 0.07 63.44 18:16:44 18:08:01 3 26.77 0.00 4.75 0.72 0.07 67.68 18:16:44 18:08:01 4 27.25 0.00 5.60 0.40 0.07 66.68 18:16:44 18:08:01 5 24.85 0.00 5.65 0.34 0.09 69.07 18:16:44 18:08:01 6 27.57 0.00 5.59 0.48 0.09 66.28 18:16:44 18:08:01 7 30.33 0.00 5.63 0.22 0.09 63.73 18:16:44 18:09:01 all 19.54 0.00 4.24 0.85 0.06 75.31 18:16:44 18:09:01 0 22.95 0.00 4.23 0.42 0.05 72.35 18:16:44 18:09:01 1 19.18 0.00 4.13 2.16 0.05 74.48 18:16:44 18:09:01 2 19.96 0.00 4.26 0.34 0.07 75.38 18:16:44 18:09:01 3 18.05 0.00 3.76 0.12 0.05 78.02 18:16:44 18:09:01 4 20.59 0.00 4.26 0.25 0.07 74.83 18:16:44 18:09:01 5 17.49 0.00 4.22 3.10 0.08 75.11 18:16:44 18:09:01 6 19.27 0.00 4.40 0.20 0.05 76.07 18:16:44 18:09:01 7 18.79 0.00 4.63 0.24 0.05 76.30 18:16:44 18:10:01 all 0.26 0.00 0.02 0.01 0.00 99.71 18:16:44 18:10:01 0 1.99 0.00 0.00 0.03 0.02 97.96 18:16:44 18:10:01 1 0.02 0.00 0.03 0.00 0.00 99.95 18:16:44 18:10:01 2 0.02 0.00 0.00 0.00 0.00 99.98 18:16:44 18:10:01 3 0.00 0.00 0.00 0.00 0.00 100.00 18:16:44 18:10:01 4 0.02 0.00 0.05 0.00 0.00 99.93 18:16:44 18:10:01 5 0.02 0.00 0.02 0.03 0.00 99.93 18:16:44 18:10:01 6 0.02 0.00 0.02 0.00 0.00 99.97 18:16:44 18:10:01 7 0.02 0.00 0.02 0.00 0.00 99.97 18:16:44 18:11:01 all 0.11 0.00 0.03 0.00 0.00 99.85 18:16:44 18:11:01 0 0.75 0.00 0.13 0.02 0.00 99.10 18:16:44 18:11:01 1 0.03 0.00 0.02 0.02 0.00 99.93 18:16:44 18:11:01 2 0.02 0.00 0.00 0.00 0.00 99.98 18:16:44 18:11:01 3 0.00 0.00 0.00 0.00 0.00 100.00 18:16:44 18:11:01 4 0.05 0.00 0.05 0.00 0.02 99.88 18:16:44 18:11:01 5 0.02 0.00 0.02 0.00 0.00 99.97 18:16:44 18:11:01 6 0.00 0.00 0.02 0.00 0.00 99.98 18:16:44 18:11:01 7 0.00 0.00 0.02 0.00 0.00 99.98 18:16:44 18:12:01 all 0.02 0.00 0.01 0.00 0.00 99.97 18:16:44 18:12:01 0 0.00 0.00 0.05 0.00 0.02 99.93 18:16:44 18:12:01 1 0.02 0.00 0.02 0.00 0.00 99.97 18:16:44 18:12:01 2 0.02 0.00 0.00 0.00 0.00 99.98 18:16:44 18:12:01 3 0.02 0.00 0.00 0.00 0.00 99.98 18:16:44 18:12:01 4 0.05 0.00 0.02 0.00 0.00 99.93 18:16:44 18:12:01 5 0.00 0.00 0.00 0.02 0.00 99.98 18:16:44 18:12:01 6 0.00 0.00 0.00 0.00 0.00 100.00 18:16:44 18:12:01 7 0.03 0.00 0.00 0.00 0.00 99.97 18:16:44 18:13:01 all 0.02 0.00 0.01 0.00 0.00 99.96 18:16:44 18:13:01 0 0.05 0.00 0.00 0.02 0.00 99.93 18:16:44 18:13:01 1 0.02 0.00 0.02 0.02 0.00 99.95 18:16:44 18:13:01 2 0.02 0.00 0.02 0.00 0.00 99.97 18:16:44 18:13:01 3 0.00 0.00 0.00 0.00 0.00 100.00 18:16:44 18:13:01 4 0.03 0.00 0.03 0.00 0.00 99.93 18:16:44 18:13:01 5 0.02 0.00 0.02 0.00 0.02 99.95 18:16:44 18:13:01 6 0.00 0.00 0.00 0.00 0.00 100.00 18:16:44 18:13:01 7 0.00 0.00 0.02 0.00 0.00 99.98 18:16:44 18:14:01 all 0.01 0.00 0.01 0.00 0.00 99.97 18:16:44 18:14:01 0 0.03 0.00 0.03 0.02 0.02 99.90 18:16:44 18:14:01 1 0.00 0.00 0.00 0.00 0.00 100.00 18:16:44 18:14:01 2 0.00 0.00 0.02 0.00 0.00 99.98 18:16:44 18:14:01 3 0.00 0.00 0.03 0.00 0.00 99.97 18:16:44 18:14:01 4 0.02 0.00 0.03 0.00 0.00 99.95 18:16:44 18:14:01 5 0.00 0.00 0.00 0.00 0.00 100.00 18:16:44 18:14:01 6 0.00 0.00 0.00 0.00 0.00 100.00 18:16:44 18:14:01 7 0.03 0.00 0.00 0.00 0.02 99.95 18:16:44 18:15:01 all 0.03 0.00 0.01 0.00 0.00 99.96 18:16:44 18:15:01 0 0.03 0.00 0.03 0.00 0.00 99.93 18:16:44 18:15:01 1 0.02 0.00 0.02 0.02 0.00 99.95 18:16:44 18:15:01 2 0.03 0.00 0.00 0.00 0.00 99.97 18:16:44 18:15:01 3 0.02 0.00 0.00 0.00 0.00 99.98 18:16:44 18:15:01 4 0.07 0.00 0.02 0.00 0.02 99.90 18:16:44 18:15:01 5 0.02 0.00 0.00 0.00 0.00 99.98 18:16:44 18:15:01 6 0.02 0.00 0.00 0.00 0.00 99.98 18:16:44 18:15:01 7 0.02 0.00 0.00 0.00 0.00 99.98 18:16:44 18:16:01 all 0.01 0.00 0.01 0.00 0.00 99.97 18:16:44 18:16:01 0 0.03 0.00 0.02 0.02 0.02 99.92 18:16:44 18:16:01 1 0.02 0.00 0.00 0.02 0.00 99.97 18:16:44 18:16:01 2 0.00 0.00 0.02 0.00 0.00 99.98 18:16:44 18:16:01 3 0.00 0.00 0.00 0.00 0.02 99.98 18:16:44 18:16:01 4 0.00 0.00 0.02 0.00 0.00 99.98 18:16:44 18:16:01 5 0.02 0.00 0.02 0.00 0.00 99.97 18:16:44 18:16:01 6 0.00 0.00 0.00 0.00 0.00 100.00 18:16:44 18:16:01 7 0.02 0.00 0.02 0.00 0.00 99.97 18:16:44 Average: all 5.82 0.00 1.43 0.43 0.02 92.30 18:16:44 Average: 0 6.77 0.00 1.44 0.18 0.03 91.59 18:16:44 Average: 1 5.69 0.00 1.51 0.95 0.02 91.83 18:16:44 Average: 2 6.02 0.00 1.41 0.39 0.02 92.17 18:16:44 Average: 3 5.37 0.00 1.19 0.54 0.02 92.87 18:16:44 Average: 4 5.93 0.00 1.42 0.17 0.02 92.46 18:16:44 Average: 5 5.22 0.00 1.48 0.60 0.02 92.68 18:16:44 Average: 6 5.71 0.00 1.41 0.50 0.02 92.37 18:16:44 Average: 7 5.84 0.00 1.60 0.12 0.02 92.42 18:16:44 18:16:44 18:16:44