Pull request #145 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 51d17d69713a44d13c4e403642911d9850989911 rather than 60be3eb68cb91baa591578c6392931cc2c8ffad5 Obtained Jenkinsfile from 51d17d69713a44d13c4e403642911d9850989911 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-ssh4604936723481780535.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh5521718832761274707.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-145/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-145/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11119431060027541621.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-145/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9025962325188951830.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh12483140972925871592.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-145/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-145/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7187035613294083173.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-23467’ Running on prd-ubuntu20.04-docker-8c-8g-23469 in /w/workspace/undry_device-onvif-camera_PR-145 [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-145 # 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 51d17d69713a44d13c4e403642911d9850989911 into PR head commit 60be3eb68cb91baa591578c6392931cc2c8ffad5 > 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/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 60be3eb68cb91baa591578c6392931cc2c8ffad5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing 265960408281c9f88fe69f851785741b90ff9245 Checking out Revision 265960408281c9f88fe69f851785741b90ff9245 (PR-145) > git merge 51d17d69713a44d13c4e403642911d9850989911 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 265960408281c9f88fe69f851785741b90ff9245 # timeout=10 Commit message: "Merge commit '51d17d69713a44d13c4e403642911d9850989911' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:24:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:24:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:24:08 ========================================================= 23:24:08 EdgeX Global Pipelines Version Info 23:24:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:24:09 ------------------- 23:24:09 stable info: 23:24:09 ------------------- 23:24:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:24:09 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:24:09 Message: update stable to v1.0.239 23:24:10 ------------------- 23:24:10 experimental info: 23:24:10 ------------------- 23:24:10 Commited By: **** collab-it+edgex@linuxfoundation.org 23:24:10 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:24:10 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:24:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:24:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:24:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:24:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:24:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:24:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:24:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:24:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:24:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:24:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-145 [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-145 [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-145 [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 265960408281c9f88fe69f851785741b90ff9245 [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2659604 [Pipeline] echo 23:24:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:24:11 provisioning config files... 23:24:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-145@tmp/config7161688060243432249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:24:12 ---> docker-login.sh 23:24:12 nexus3.edgexfoundry.org:10001 23:24:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:12 Configure a credential helper to remove this warning. See 23:24:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:12 23:24:12 Login Succeeded 23:24:12 nexus3.edgexfoundry.org:10002 23:24:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:12 Configure a credential helper to remove this warning. See 23:24:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:12 23:24:12 Login Succeeded 23:24:12 nexus3.edgexfoundry.org:10003 23:24:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:13 Configure a credential helper to remove this warning. See 23:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:13 23:24:13 Login Succeeded 23:24:13 nexus3.edgexfoundry.org:10004 23:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:13 Configure a credential helper to remove this warning. See 23:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:13 23:24:13 Login Succeeded 23:24:13 docker.io 23:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:13 Configure a credential helper to remove this warning. See 23:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:13 23:24:13 Login Succeeded 23:24:13 ---> docker-login.sh ends [Pipeline] } 23:24:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:24:14 + git rev-list -1 --merges 265960408281c9f88fe69f851785741b90ff9245~1..265960408281c9f88fe69f851785741b90ff9245 [Pipeline] echo 23:24:14 -----------> git rev-list -1 --merges 265960408281c9f88fe69f851785741b90ff9245~1..265960408281c9f88fe69f851785741b90ff9245 265960408281c9f88fe69f851785741b90ff9245 23:24:14 265960408281c9f88fe69f851785741b90ff9245 [false] [Pipeline] sh 23:24:14 + git log --format=format:%s -1 265960408281c9f88fe69f851785741b90ff9245 [Pipeline] echo 23:24:14 ========================================================= 23:24:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:24:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:24:15 + git log --format=format:%s -1 265960408281c9f88fe69f851785741b90ff9245 [Pipeline] echo 23:24:15 [semverPrep] GIT_COMMIT: 265960408281c9f88fe69f851785741b90ff9245, Commit Message: Merge commit '51d17d69713a44d13c4e403642911d9850989911' into HEAD [Pipeline] echo 23:24:15 [semverPrep] This is not a build commit. [Pipeline] sh 23:24:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:24:15 + grep -v github /etc/ssh/ssh_known_hosts 23:24:15 + [ -e /tmp/ssh_known_hosts ] 23:24:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:24:15 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:24:15 sudo tee -a /etc/ssh/ssh_known_hosts 23:24:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:24:16 23:24:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:24:16 0.1.4: Pulling from edgex-devops/py-git-semver 23:24:16 b85a868b505f: Pulling fs layer 23:24:16 e2be974225ed: Pulling fs layer 23:24:16 339a4e72a1f5: Pulling fs layer 23:24:16 988bab9f4d93: Pulling fs layer 23:24:16 1469e6f7b9e6: Pulling fs layer 23:24:16 eaf3925da568: Pulling fs layer 23:24:16 bab4dde63d76: Pulling fs layer 23:24:16 bde34c3a00c8: Pulling fs layer 23:24:16 b352a97aabf1: Pulling fs layer 23:24:16 4872d77fe225: Pulling fs layer 23:24:16 5851b861e8e6: Pulling fs layer 23:24:16 bab4dde63d76: Waiting 23:24:16 bde34c3a00c8: Waiting 23:24:16 b352a97aabf1: Waiting 23:24:16 4872d77fe225: Waiting 23:24:16 5851b861e8e6: Waiting 23:24:16 988bab9f4d93: Waiting 23:24:16 eaf3925da568: Waiting 23:24:16 1469e6f7b9e6: Waiting 23:24:16 e2be974225ed: Download complete 23:24:16 988bab9f4d93: Verifying Checksum 23:24:16 988bab9f4d93: Download complete 23:24:16 339a4e72a1f5: Verifying Checksum 23:24:16 339a4e72a1f5: Download complete 23:24:16 1469e6f7b9e6: Verifying Checksum 23:24:16 1469e6f7b9e6: Download complete 23:24:16 eaf3925da568: Download complete 23:24:16 bde34c3a00c8: Download complete 23:24:16 b352a97aabf1: Verifying Checksum 23:24:16 b352a97aabf1: Download complete 23:24:16 4872d77fe225: Verifying Checksum 23:24:16 4872d77fe225: Download complete 23:24:16 5851b861e8e6: Download complete 23:24:16 b85a868b505f: Verifying Checksum 23:24:16 b85a868b505f: Download complete 23:24:17 bab4dde63d76: Verifying Checksum 23:24:17 bab4dde63d76: Download complete 23:24:18 b85a868b505f: Pull complete 23:24:18 e2be974225ed: Pull complete 23:24:18 339a4e72a1f5: Pull complete 23:24:18 988bab9f4d93: Pull complete 23:24:19 1469e6f7b9e6: Pull complete 23:24:19 eaf3925da568: Pull complete 23:24:21 bab4dde63d76: Pull complete 23:24:21 bde34c3a00c8: Pull complete 23:24:21 b352a97aabf1: Pull complete 23:24:21 4872d77fe225: Pull complete 23:24:21 5851b861e8e6: Pull complete 23:24:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:24:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:24:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:22 prd-ubuntu20.04-docker-8c-8g-23469 does not seem to be running inside a container 23:24:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-145 -v /w/workspace/undry_device-onvif-camera_PR-145:/w/workspace/undry_device-onvif-camera_PR-145:rw,z -v /w/workspace/undry_device-onvif-camera_PR-145@tmp:/w/workspace/undry_device-onvif-camera_PR-145@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:24:23 $ docker top 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b -eo pid,comm 23:24:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:24:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:24:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:24:24 [ssh-agent] Looking for ssh-agent implementation... 23:24:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:24:24 $ docker exec 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b ssh-agent 23:24:24 SSH_AUTH_SOCK=/tmp/ssh-OFqWHgPB289t/agent.32 23:24:24 SSH_AGENT_PID=38 23:24:24 Running ssh-add (command line suppressed) 23:24:24 Identity added: /w/workspace/undry_device-onvif-camera_PR-145@tmp/private_key_8323513067281982239.key (/w/workspace/undry_device-onvif-camera_PR-145@tmp/private_key_8323513067281982239.key) 23:24:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:24:24 + git tag --points-at HEAD [Pipeline] } 23:24:24 $ docker exec --env ******** --env ******** 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b ssh-agent -k 23:24:25 unset SSH_AUTH_SOCK; 23:24:25 unset SSH_AGENT_PID; 23:24:25 echo Agent pid 38 killed; 23:24:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:24:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:24:25 [ssh-agent] Looking for ssh-agent implementation... 23:24:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:24:25 $ docker exec 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b ssh-agent 23:24:25 SSH_AUTH_SOCK=/tmp/ssh-B6hdJFbfWcQv/agent.71 23:24:25 SSH_AGENT_PID=77 23:24:25 Running ssh-add (command line suppressed) 23:24:25 Identity added: /w/workspace/undry_device-onvif-camera_PR-145@tmp/private_key_7917043411435082386.key (/w/workspace/undry_device-onvif-camera_PR-145@tmp/private_key_7917043411435082386.key) 23:24:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:24:25 + git semver init 23:24:26 2022-08-24 23:24:26,074 [run_init] DEBUG init version:0.0.0 force:False 23:24:26 2022-08-24 23:24:26,075 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-145/.semver 23:24:26 2022-08-24 23:24:26,075 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-145/.semver 23:24:26 2022-08-24 23:24:26,076 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-145/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-145, universal_newlines=False, shell=None, istream=None) 23:24:27 2022-08-24 23:24:26,866 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-145/.git/info/exclude 23:24:27 2022-08-24 23:24:26,867 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-145/.semver/PR-145 with force:False 23:24:27 2022-08-24 23:24:26,867 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-145/.semver/PR-145 23:24:27 2022-08-24 23:24:26,872 [execute] INFO git cat-file --batch-check 23:24:27 2022-08-24 23:24:26,873 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-145/.semver, universal_newlines=False, shell=None, istream=) 23:24:27 2022-08-24 23:24:26,879 [execute] INFO git cat-file --batch 23:24:27 2022-08-24 23:24:26,879 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-145/.semver, universal_newlines=False, shell=None, istream=) 23:24:27 2022-08-24 23:24:26,885 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-145/.semver/PR-145 23:24:27 0.0.0 [Pipeline] } 23:24:27 $ docker exec --env ******** --env ******** 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b ssh-agent -k 23:24:27 unset SSH_AUTH_SOCK; 23:24:27 unset SSH_AGENT_PID; 23:24:27 echo Agent pid 77 killed; 23:24:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:24:27 + git semver [Pipeline] } 23:24:28 $ docker stop --time=1 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b 23:24:29 $ docker rm -f 8745cc33fd745d0756e38d25927dedd6f8663e489385b3c8cd20d0f91153062b [Pipeline] // withDockerContainer [Pipeline] sh 23:24:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:24:30 Stashed 1 file(s) [Pipeline] echo 23:24:30 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:24:30 provisioning config files... 23:24:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-145@tmp/config4277082261110811928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:24:31 ---> docker-login.sh 23:24:31 nexus3.edgexfoundry.org:10001 23:24:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:31 Configure a credential helper to remove this warning. See 23:24:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:31 23:24:31 Login Succeeded 23:24:31 nexus3.edgexfoundry.org:10002 23:24:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:31 Configure a credential helper to remove this warning. See 23:24:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:31 23:24:31 Login Succeeded 23:24:31 nexus3.edgexfoundry.org:10003 23:24:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:31 Configure a credential helper to remove this warning. See 23:24:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:31 23:24:31 Login Succeeded 23:24:31 nexus3.edgexfoundry.org:10004 23:24:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:31 Configure a credential helper to remove this warning. See 23:24:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:31 23:24:31 Login Succeeded 23:24:31 docker.io 23:24:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:32 Configure a credential helper to remove this warning. See 23:24:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:32 23:24:32 Login Succeeded 23:24:32 ---> docker-login.sh ends [Pipeline] } 23:24:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:24:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:24:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:24:32 ========================================================= 23:24:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:24:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:24:32 Sending build context to Docker daemon 20.59MB 23:24:32 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:24:32 Step 2/13 : FROM ${BASE} AS builder 23:24:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:24:33 2408cc74d12b: Pulling fs layer 23:24:33 ea60b727a1ce: Pulling fs layer 23:24:33 30c4a7721957: Pulling fs layer 23:24:33 370296b7ddb6: Pulling fs layer 23:24:33 7c6cee850709: Pulling fs layer 23:24:33 39a5fcdaea64: Pulling fs layer 23:24:33 d94ebbe4e438: Pulling fs layer 23:24:33 bcfd1f05c69d: Pulling fs layer 23:24:33 59ccb84bbe0f: Pulling fs layer 23:24:33 39a5fcdaea64: Waiting 23:24:33 370296b7ddb6: Waiting 23:24:33 d94ebbe4e438: Waiting 23:24:33 7c6cee850709: Waiting 23:24:33 59ccb84bbe0f: Waiting 23:24:33 30c4a7721957: Download complete 23:24:33 ea60b727a1ce: Verifying Checksum 23:24:33 ea60b727a1ce: Download complete 23:24:33 7c6cee850709: Verifying Checksum 23:24:33 7c6cee850709: Download complete 23:24:33 39a5fcdaea64: Verifying Checksum 23:24:33 39a5fcdaea64: Download complete 23:24:33 2408cc74d12b: Download complete 23:24:33 d94ebbe4e438: Verifying Checksum 23:24:33 d94ebbe4e438: Download complete 23:24:33 2408cc74d12b: Pull complete 23:24:33 ea60b727a1ce: Pull complete 23:24:33 30c4a7721957: Pull complete 23:24:33 59ccb84bbe0f: Download complete 23:24:33 bcfd1f05c69d: Verifying Checksum 23:24:33 bcfd1f05c69d: Download complete 23:24:33 370296b7ddb6: Verifying Checksum 23:24:33 370296b7ddb6: Download complete 23:24:38 370296b7ddb6: Pull complete 23:24:38 7c6cee850709: Pull complete 23:24:38 39a5fcdaea64: Pull complete 23:24:38 d94ebbe4e438: Pull complete 23:24:40 bcfd1f05c69d: Pull complete 23:24:41 59ccb84bbe0f: Pull complete 23:24:41 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:24:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:24:41 ---> a4fb48ad2a94 23:24:41 Step 3/13 : ARG MAKE="make build" 23:24:43 ---> Running in 573f88f047a0 23:24:43 Removing intermediate container 573f88f047a0 23:24:43 ---> 383415a46ab3 23:24:43 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:24:43 ---> Running in 5e6a2737f191 23:24:43 Removing intermediate container 5e6a2737f191 23:24:43 ---> 746a1d81c2e4 23:24:43 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 23:24:43 ---> Running in 7514c07259a7 23:24:43 Removing intermediate container 7514c07259a7 23:24:43 ---> 5254c9221306 23:24:43 Step 6/13 : LABEL Name=edgex-device-onvif-camera 23:24:43 ---> Running in 019124438a62 23:24:44 Removing intermediate container 019124438a62 23:24:44 ---> 896255c451d4 23:24:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:24:44 ---> Running in 7739915e4983 23:24:44 Removing intermediate container 7739915e4983 23:24:44 ---> 542d56307778 23:24:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:24:44 ---> Running in 92aa455169d9 23:24:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:24:45 Still waiting to schedule task 23:24:45 ‘prd-ubuntu20.04-docker-arm64-4c-16g-23468’ is offline 23:24:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:24:46 OK: 211 MiB in 51 packages 23:24:46 Removing intermediate container 92aa455169d9 23:24:46 ---> dc23eee57f9d 23:24:46 Step 9/13 : WORKDIR /device-onvif-camera 23:24:46 ---> Running in edd4f316809e 23:24:46 Removing intermediate container edd4f316809e 23:24:46 ---> d696648ef67f 23:24:46 Step 10/13 : COPY go.mod vendor* ./ 23:24:46 ---> 031e2f39255f 23:24:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:24:46 ---> Running in 73cb008dd73d 23:25:08 Removing intermediate container 73cb008dd73d 23:25:08 ---> ddda29bc4206 23:25:08 Step 12/13 : COPY . . 23:25:08 ---> bc79eb7101b5 23:25:08 Step 13/13 : RUN ${MAKE} 23:25:09 ---> Running in e1707f43d8c1 23:25:09 noop 23:25:09 Removing intermediate container e1707f43d8c1 23:25:09 ---> c0e8955aacc8 23:25:09 Successfully built c0e8955aacc8 23:25:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:10 + docker inspect -f . ci-base-image-x86_64 23:25:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:10 prd-ubuntu20.04-docker-8c-8g-23469 does not seem to be running inside a container 23:25:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-145 -v /w/workspace/undry_device-onvif-camera_PR-145:/w/workspace/undry_device-onvif-camera_PR-145:rw,z -v /w/workspace/undry_device-onvif-camera_PR-145@tmp:/w/workspace/undry_device-onvif-camera_PR-145@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 ******** ci-base-image-x86_64 cat 23:25:10 $ docker top ef61a4601b823b84b07f9c79bc591734b9ecd38d0977a6ad5b6716476db15e8c -eo pid,comm [Pipeline] { [Pipeline] sh 23:25:10 + go version 23:25:10 go version go1.18.3 linux/amd64 [Pipeline] } 23:25:11 $ docker stop --time=1 ef61a4601b823b84b07f9c79bc591734b9ecd38d0977a6ad5b6716476db15e8c 23:25:12 $ docker rm -f ef61a4601b823b84b07f9c79bc591734b9ecd38d0977a6ad5b6716476db15e8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:13 + docker inspect -f . ci-base-image-x86_64 23:25:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:13 prd-ubuntu20.04-docker-8c-8g-23469 does not seem to be running inside a container 23:25:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-145 -v /w/workspace/undry_device-onvif-camera_PR-145:/w/workspace/undry_device-onvif-camera_PR-145:rw,z -v /w/workspace/undry_device-onvif-camera_PR-145@tmp:/w/workspace/undry_device-onvif-camera_PR-145@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 ******** ci-base-image-x86_64 cat 23:25:13 $ docker top 5f9ad41d9d14f921fa05e151aa27ee59630ddf1c16958d15d501f81c1cae5df2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:25:14 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-145 [Pipeline] fileExists [Pipeline] sh 23:25:14 + make test 23:25:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:25:14 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:25:26 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:25:26 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.027s coverage: 10.6% of statements 23:25:26 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:25:30 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.885s coverage: 13.8% of statements 23:25:38 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 23:25:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:25:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:25:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:25:41 ./bin/test-attribution-txt.sh [Pipeline] echo 23:25:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:25:41 $ docker stop --time=1 5f9ad41d9d14f921fa05e151aa27ee59630ddf1c16958d15d501f81c1cae5df2 23:25:43 $ docker rm -f 5f9ad41d9d14f921fa05e151aa27ee59630ddf1c16958d15d501f81c1cae5df2 [Pipeline] // withDockerContainer [Pipeline] sh 23:25:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:25:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:25:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:25:45 + ls -al . 23:25:45 total 232 23:25:45 drwxrwxr-x 10 jenkins jenkins 4096 Aug 24 23:25 . 23:25:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 23:24 .. 23:25:45 drwxrwxr-x 8 jenkins jenkins 4096 Aug 24 23:25 .git 23:25:45 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 23:24 .github 23:25:45 -rw-rw-r-- 1 jenkins jenkins 418 Aug 24 23:24 .gitignore 23:25:45 -rw-rw-r-- 1 jenkins jenkins 42 Aug 24 23:24 .golangci.yml 23:25:45 drwxr-xr-x 3 jenkins jenkins 4096 Aug 24 23:24 .semver 23:25:45 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 24 23:24 Attribution.txt 23:25:45 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 24 23:24 CHANGELOG.md 23:25:45 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 24 23:24 Dockerfile 23:25:45 -rw-rw-r-- 1 jenkins jenkins 677 Aug 24 23:24 GOVERNANCE.md 23:25:45 -rw-rw-r-- 1 jenkins jenkins 734 Aug 24 23:24 Jenkinsfile 23:25:45 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 24 23:24 LICENSE 23:25:45 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 24 23:24 Makefile 23:25:45 -rw-rw-r-- 1 jenkins jenkins 625 Aug 24 23:24 OWNERS.md 23:25:45 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 24 23:24 README.md 23:25:45 -rw-rw-r-- 1 jenkins jenkins 5 Aug 24 23:24 VERSION 23:25:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 23:24 bin 23:25:45 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 23:24 cmd 23:25:45 -rw-r--r-- 1 jenkins jenkins 76854 Aug 24 23:25 coverage.out 23:25:45 drwxrwxr-x 6 jenkins jenkins 4096 Aug 24 23:24 doc 23:25:45 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 24 23:24 go.mod 23:25:45 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 24 23:24 go.sum 23:25:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 23:24 internal 23:25:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 23:24 snap 23:25:45 -rw-rw-r-- 1 jenkins jenkins 236 Aug 24 23:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:45 + 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=265960408281c9f88fe69f851785741b90ff9245 --label arch=amd64 --label version=0.0.0 . 23:25:45 Sending build context to Docker daemon 20.67MB 23:25:45 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:25:45 Step 2/26 : FROM ${BASE} AS builder 23:25:45 ---> c0e8955aacc8 23:25:45 Step 3/26 : ARG MAKE="make build" 23:25:46 ---> Running in 96c9e9081ac2 23:25:46 Removing intermediate container 96c9e9081ac2 23:25:46 ---> 2697a1a7d8d7 23:25:46 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:25:46 ---> Running in 2c5452ba1ea2 23:25:46 Removing intermediate container 2c5452ba1ea2 23:25:46 ---> bd0b39746bc3 23:25:46 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 23:25:46 ---> Running in 075bc1a52221 23:25:46 Removing intermediate container 075bc1a52221 23:25:46 ---> 7ac842c0dd03 23:25:46 Step 6/26 : LABEL Name=edgex-device-onvif-camera 23:25:46 ---> Running in 097024732e92 23:25:46 Removing intermediate container 097024732e92 23:25:46 ---> 2b46cfb189ac 23:25:46 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:25:46 ---> Running in 1fade891fb2c 23:25:47 Removing intermediate container 1fade891fb2c 23:25:47 ---> 6a889c4a0742 23:25:47 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:25:47 ---> Running in 8551cdf639d3 23:25:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:25:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:25:48 OK: 211 MiB in 51 packages 23:25:48 Removing intermediate container 8551cdf639d3 23:25:48 ---> 43f164bb4f87 23:25:48 Step 9/26 : WORKDIR /device-onvif-camera 23:25:48 ---> Running in e3aef9a43e57 23:25:49 Removing intermediate container e3aef9a43e57 23:25:49 ---> 1554c4ea7a1e 23:25:49 Step 10/26 : COPY go.mod vendor* ./ 23:25:49 ---> 0efa50ec168e 23:25:49 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:25:49 ---> Running in bbaf96746e17 23:25:50 Removing intermediate container bbaf96746e17 23:25:50 ---> ffe1e8df49a3 23:25:50 Step 12/26 : COPY . . 23:25:50 ---> 09f4b48318b8 23:25:50 Step 13/26 : RUN ${MAKE} 23:25:50 ---> Running in 6f58e000726a 23:25:50 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 23:26:13 Removing intermediate container 6f58e000726a 23:26:13 ---> 666b8031a37b 23:26:13 Step 14/26 : FROM alpine:3.16 23:26:13 3.16: Pulling from library/alpine 23:26:13 213ec9aee27d: Pulling fs layer 23:26:13 213ec9aee27d: Verifying Checksum 23:26:13 213ec9aee27d: Download complete 23:26:13 213ec9aee27d: Pull complete 23:26:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:26:13 Status: Downloaded newer image for alpine:3.16 23:26:13 ---> 9c6f07244728 23:26:13 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:26:14 ---> Running in e9638993c1dc 23:26:14 Removing intermediate container e9638993c1dc 23:26:14 ---> b39e60b2409a 23:26:14 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:26:14 ---> Running in a3f126663dc9 23:26:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:26:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:26:15 (1/6) Installing dumb-init (1.2.5-r1) 23:26:15 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:26:15 (3/6) Installing libsodium (1.0.18-r0) 23:26:15 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:26:15 (5/6) Installing libzmq (4.3.4-r0) 23:26:15 (6/6) Installing zeromq (4.3.4-r0) 23:26:15 Executing busybox-1.35.0-r17.trigger 23:26:15 OK: 8 MiB in 20 packages 23:26:15 Removing intermediate container a3f126663dc9 23:26:15 ---> 83ab3b374669 23:26:15 Step 17/26 : WORKDIR / 23:26:15 ---> Running in fe2249d492cb 23:26:16 Removing intermediate container fe2249d492cb 23:26:16 ---> 445ea3377a0f 23:26:16 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:26:16 ---> e82155309b5c 23:26:16 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:26:16 ---> 1f289c893722 23:26:16 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:26:16 ---> cdaae2d7d695 23:26:16 Step 21/26 : EXPOSE 59984 23:26:16 ---> Running in 66684477cce5 23:26:17 Removing intermediate container 66684477cce5 23:26:17 ---> e76ddaf1db7b 23:26:17 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:26:17 ---> Running in b5d2c5e65ad9 23:26:17 Removing intermediate container b5d2c5e65ad9 23:26:17 ---> e711c676d54e 23:26:17 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:26:17 ---> Running in e6a56b357ff0 23:26:17 Removing intermediate container e6a56b357ff0 23:26:17 ---> 6f173335ecea 23:26:17 Step 24/26 : LABEL arch=amd64 23:26:17 ---> Running in dae3498f3cc0 23:26:17 Removing intermediate container dae3498f3cc0 23:26:17 ---> 9a5f35bbff79 23:26:17 Step 25/26 : LABEL git_sha=265960408281c9f88fe69f851785741b90ff9245 23:26:17 ---> Running in 8c6a2ec50a94 23:26:17 Removing intermediate container 8c6a2ec50a94 23:26:17 ---> 72529b3deb17 23:26:17 Step 26/26 : LABEL version=0.0.0 23:26:17 ---> Running in 7cda4fb31f32 23:26:17 Removing intermediate container 7cda4fb31f32 23:26:17 ---> f5f41ba8551f 23:26:17 [Warning] One or more build-args [ARCH] were not consumed 23:26:17 Successfully built f5f41ba8551f 23:26:17 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:26:18 23:26:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:26:18 latest: Pulling from edgex-lftools-log-publisher 23:26:18 5eb5b503b376: Pulling fs layer 23:26:18 5c69ac0246d0: Pulling fs layer 23:26:18 ec43610c2a17: Pulling fs layer 23:26:18 3a2ae6a8a46f: Pulling fs layer 23:26:18 33b1e0a273af: Pulling fs layer 23:26:18 3a2ae6a8a46f: Waiting 23:26:18 33b1e0a273af: Waiting 23:26:18 5d3b04190fa2: Pulling fs layer 23:26:18 2f39f015ded8: Pulling fs layer 23:26:18 5d3b04190fa2: Waiting 23:26:18 2f39f015ded8: Waiting 23:26:18 5c69ac0246d0: Download complete 23:26:18 3a2ae6a8a46f: Download complete 23:26:18 33b1e0a273af: Verifying Checksum 23:26:18 33b1e0a273af: Download complete 23:26:18 ec43610c2a17: Verifying Checksum 23:26:18 ec43610c2a17: Download complete 23:26:19 5d3b04190fa2: Verifying Checksum 23:26:19 5d3b04190fa2: Download complete 23:26:19 5eb5b503b376: Download complete 23:26:19 2f39f015ded8: Download complete 23:26:20 5eb5b503b376: Pull complete 23:26:20 5c69ac0246d0: Pull complete 23:26:21 ec43610c2a17: Pull complete 23:26:21 3a2ae6a8a46f: Pull complete 23:26:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23471 in /w/workspace/undry_device-onvif-camera_PR-145 [Pipeline] { [Pipeline] ws 23:26:21 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 23:26:21 Selected Git installation does not exist. Using Default 23:26:21 The recommended git tool is: NONE 23:26:21 33b1e0a273af: Pull complete 23:26:21 5d3b04190fa2: Pull complete 23:26:26 2f39f015ded8: Pull complete 23:26:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:26:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:26:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:26:27 prd-ubuntu20.04-docker-8c-8g-23469 does not seem to be running inside a container 23:26:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-145 -v /w/workspace/undry_device-onvif-camera_PR-145:/w/workspace/undry_device-onvif-camera_PR-145:rw,z -v /w/workspace/undry_device-onvif-camera_PR-145@tmp:/w/workspace/undry_device-onvif-camera_PR-145@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:26:27 using credential edgex-jenkins-ssh 23:26:27 Cloning the remote Git repository 23:26:27 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:26:27 > git init /w/workspace/device-onvif-camera/1 # timeout=10 23:26:27 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:26:27 > git --version # timeout=10 23:26:27 > git --version # 'git version 2.25.1' 23:26:27 using GIT_SSH to set credentials SSH Credentials for GitHub 23:26:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:26:29 $ docker top 2f60fd1dde70587e0dcaa7d85c4b83edf5cdb84a64aed50cd4c50529897a3c4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:29 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:26:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:26:29 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:26:29 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:26:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:26:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:26:29 ---> job-cost.sh 23:26:29 lf-activate-venv: SKIPPING 23:26:29 INFO: No Stack... 23:26:29 Merging remotes/origin/main commit 51d17d69713a44d13c4e403642911d9850989911 into PR head commit 60be3eb68cb91baa591578c6392931cc2c8ffad5 23:26:30 INFO: Retrieving Pricing Info for: v3-standard-8 23:26:30 INFO: Archiving Costs [Pipeline] sh 23:26:30 Merge succeeded, producing 8302ca870d2726cc021977c8a3ce3fefedb4b7a7 23:26:30 Checking out Revision 8302ca870d2726cc021977c8a3ce3fefedb4b7a7 (PR-145) 23:26:30 + cat /w/workspace/undry_device-onvif-camera_PR-145/archives/cost.csv 23:26:30 + cut -d, -f6 23:26:29 > git config core.sparsecheckout # timeout=10 23:26:29 > git checkout -f 60be3eb68cb91baa591578c6392931cc2c8ffad5 # timeout=10 23:26:30 > git remote # timeout=10 23:26:30 > git config --get remote.origin.url # timeout=10 23:26:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:26:30 > git merge 51d17d69713a44d13c4e403642911d9850989911 # timeout=10 23:26:30 > git rev-parse HEAD^{commit} # timeout=10 23:26:30 > git config core.sparsecheckout # timeout=10 23:26:30 > git checkout -f 8302ca870d2726cc021977c8a3ce3fefedb4b7a7 # timeout=10 [Pipeline] lock 23:26:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] 23:26:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] did not exist. Created. 23:26:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:26:31 + echo total: 0.2199999988079071 [Pipeline] stash 23:26:31 Stashed 1 file(s) [Pipeline] } 23:26:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:26:31 $ docker stop --time=1 2f60fd1dde70587e0dcaa7d85c4b83edf5cdb84a64aed50cd4c50529897a3c4c 23:26:32 $ docker rm -f 2f60fd1dde70587e0dcaa7d85c4b83edf5cdb84a64aed50cd4c50529897a3c4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:26:34 Commit message: "Merge commit '51d17d69713a44d13c4e403642911d9850989911' into HEAD" 23:26:34 First time build. Skipping changelog. 23:26:34 > git --version # timeout=10 23:26:34 > git --version # 'git version 2.25.1' 23:26:34 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:26:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:26:36 % Total % Received % Xferd Average Speed Time Time Time Current 23:26:36 Dload Upload Total Spent Left Speed 23:26:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86315 0 --:--:-- --:--:-- --:--:-- 86315 100 12602 100 12602 0 0 85727 0 --:--:-- --:--:-- --:--:-- 85727 [Pipeline] sh 23:26:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:26:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:26:37 + sudo tee /etc/docker/daemon.new 23:26:37 { 23:26:37 "registry-mirrors": [ 23:26:37 "https://nexus3.edgexfoundry.org:10001" 23:26:37 ], 23:26:37 "bip": "10.250.0.254/24", 23:26:37 "hosts": [ 23:26:37 "tcp://0.0.0.0:5555", 23:26:37 "unix:///var/run/docker.sock" 23:26:37 ], 23:26:37 "mtu": 1458, 23:26:37 "selinux-enabled": true, 23:26:37 "seccomp-profile": "/etc/docker/seccomp.json" 23:26:37 } [Pipeline] sh 23:26:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:26:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:26:56 provisioning config files... 23:26:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7410122831833569184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:56 ---> docker-login.sh 23:26:56 nexus3.edgexfoundry.org:10001 23:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:57 Configure a credential helper to remove this warning. See 23:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:57 23:26:57 Login Succeeded 23:26:57 nexus3.edgexfoundry.org:10002 23:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:58 Configure a credential helper to remove this warning. See 23:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:58 23:26:58 Login Succeeded 23:26:58 nexus3.edgexfoundry.org:10003 23:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:58 Configure a credential helper to remove this warning. See 23:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:58 23:26:58 Login Succeeded 23:26:58 nexus3.edgexfoundry.org:10004 23:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:59 Configure a credential helper to remove this warning. See 23:26:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:59 23:26:59 Login Succeeded 23:26:59 docker.io 23:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:59 Configure a credential helper to remove this warning. See 23:26:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:59 23:26:59 Login Succeeded 23:26:59 ---> docker-login.sh ends [Pipeline] } 23:26:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:27:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:27:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:27:00 ========================================================= 23:27:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:27:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:27:01 Sending build context to Docker daemon 14.09MB 23:27:01 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:27:01 Step 2/13 : FROM ${BASE} AS builder 23:27:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:27:01 b3c136eddcbf: Pulling fs layer 23:27:01 c0a3192eca97: Pulling fs layer 23:27:01 a050256f5b6f: Pulling fs layer 23:27:01 656be50a0ddc: Pulling fs layer 23:27:01 2bbca73fdf42: Pulling fs layer 23:27:01 46d945488cbd: Pulling fs layer 23:27:01 8a5474983e97: Pulling fs layer 23:27:01 329c88fbcd65: Pulling fs layer 23:27:01 46d945488cbd: Waiting 23:27:01 656be50a0ddc: Waiting 23:27:01 2bbca73fdf42: Waiting 23:27:01 8a5474983e97: Waiting 23:27:01 329c88fbcd65: Waiting 23:27:01 a050256f5b6f: Verifying Checksum 23:27:01 a050256f5b6f: Download complete 23:27:01 c0a3192eca97: Verifying Checksum 23:27:01 c0a3192eca97: Download complete 23:27:01 46d945488cbd: Verifying Checksum 23:27:01 46d945488cbd: Download complete 23:27:01 b3c136eddcbf: Verifying Checksum 23:27:01 b3c136eddcbf: Download complete 23:27:02 b3c136eddcbf: Pull complete 23:27:02 329c88fbcd65: Verifying Checksum 23:27:02 329c88fbcd65: Download complete 23:27:03 c0a3192eca97: Pull complete 23:27:03 a050256f5b6f: Pull complete 23:27:03 8a5474983e97: Verifying Checksum 23:27:03 8a5474983e97: Download complete 23:27:04 656be50a0ddc: Verifying Checksum 23:27:04 656be50a0ddc: Download complete 23:27:16 656be50a0ddc: Pull complete 23:27:17 2bbca73fdf42: Pull complete 23:27:17 46d945488cbd: Pull complete 23:27:24 8a5474983e97: Pull complete 23:27:26 329c88fbcd65: Pull complete 23:27:26 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 23:27:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:27:26 ---> ff4287adb874 23:27:26 Step 3/13 : ARG MAKE="make build" 23:27:27 ---> Running in 93b9ac09a8ec 23:27:28 Removing intermediate container 93b9ac09a8ec 23:27:28 ---> a561de0bbec7 23:27:28 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:27:28 ---> Running in cae5c61f4ec9 23:27:28 Removing intermediate container cae5c61f4ec9 23:27:28 ---> ab29b3c9a4a8 23:27:28 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 23:27:28 ---> Running in a37d202ca5cb 23:27:29 Removing intermediate container a37d202ca5cb 23:27:29 ---> e3c1d22b31dd 23:27:29 Step 6/13 : LABEL Name=edgex-device-onvif-camera 23:27:29 ---> Running in dc59331ebfc9 23:27:30 Removing intermediate container dc59331ebfc9 23:27:30 ---> b7f757bb4857 23:27:30 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:27:30 ---> Running in 49cb17ecef6b 23:27:32 Removing intermediate container 49cb17ecef6b 23:27:32 ---> 42eddc8c7b9e 23:27:32 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:27:32 ---> Running in c54e56b1f858 23:27:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:27:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:27:34 OK: 221 MiB in 51 packages 23:27:35 Removing intermediate container c54e56b1f858 23:27:35 ---> 0a5624c6581e 23:27:35 Step 9/13 : WORKDIR /device-onvif-camera 23:27:35 ---> Running in f3b7dcd57fb2 23:27:35 Removing intermediate container f3b7dcd57fb2 23:27:35 ---> dda36a6eeaf0 23:27:35 Step 10/13 : COPY go.mod vendor* ./ 23:27:36 ---> 363ae59106b0 23:27:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:27:36 ---> Running in 30c925db2101 23:28:33 Removing intermediate container 30c925db2101 23:28:33 ---> 26c4e921803e 23:28:33 Step 12/13 : COPY . . 23:28:33 ---> 2d9b9cb02a00 23:28:33 Step 13/13 : RUN ${MAKE} 23:28:33 ---> Running in 7a99e15137f3 23:28:33 noop 23:28:33 Removing intermediate container 7a99e15137f3 23:28:33 ---> 2b9a03f4ea57 23:28:33 Successfully built 2b9a03f4ea57 23:28:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:33 + docker inspect -f . ci-base-image-arm64 23:28:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:33 prd-ubuntu20.04-docker-arm64-4c-16g-23471 does not seem to be running inside a container 23:28:33 $ 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 ******** ci-base-image-arm64 cat 23:28:35 $ docker top 6e86523e92439f431eebf7695bd9bfb74326ed7dff6a990c71a42a0306efd26b -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:36 + go version 23:28:36 go version go1.18.3 linux/arm64 [Pipeline] } 23:28:36 $ docker stop --time=1 6e86523e92439f431eebf7695bd9bfb74326ed7dff6a990c71a42a0306efd26b 23:28:37 $ docker rm -f 6e86523e92439f431eebf7695bd9bfb74326ed7dff6a990c71a42a0306efd26b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:38 + docker inspect -f . ci-base-image-arm64 23:28:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:39 prd-ubuntu20.04-docker-arm64-4c-16g-23471 does not seem to be running inside a container 23:28:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:28:40 $ docker top ae2145dd26ea0bd0400ef4345769c78bad75814bddaa579ad553f2fba69690f8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:41 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 23:28:42 + make test 23:28:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:28:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:30:06 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:30:12 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.117s coverage: 10.6% of statements 23:30:12 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:30:39 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.851s coverage: 13.8% of statements 23:30:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:30:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:30:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:30:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:30:58 ./bin/test-attribution-txt.sh [Pipeline] echo 23:30:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:30:58 $ docker stop --time=1 ae2145dd26ea0bd0400ef4345769c78bad75814bddaa579ad553f2fba69690f8 23:31:00 $ docker rm -f ae2145dd26ea0bd0400ef4345769c78bad75814bddaa579ad553f2fba69690f8 [Pipeline] // withDockerContainer [Pipeline] sh 23:31:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:31:01 Warning: overwriting stash ‘coverage-report’ 23:31:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:31:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:31:02 + ls -al . 23:31:02 total 228 23:31:02 drwxrwxr-x 9 jenkins jenkins 4096 Aug 24 23:28 . 23:31:02 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 23:26 .. 23:31:02 drwxrwxr-x 8 jenkins jenkins 4096 Aug 24 23:26 .git 23:31:02 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 23:26 .github 23:31:02 -rw-rw-r-- 1 jenkins jenkins 418 Aug 24 23:26 .gitignore 23:31:02 -rw-rw-r-- 1 jenkins jenkins 42 Aug 24 23:26 .golangci.yml 23:31:02 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 24 23:26 Attribution.txt 23:31:02 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 24 23:26 CHANGELOG.md 23:31:02 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 24 23:26 Dockerfile 23:31:02 -rw-rw-r-- 1 jenkins jenkins 677 Aug 24 23:26 GOVERNANCE.md 23:31:02 -rw-rw-r-- 1 jenkins jenkins 734 Aug 24 23:26 Jenkinsfile 23:31:02 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 24 23:26 LICENSE 23:31:02 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 24 23:26 Makefile 23:31:02 -rw-rw-r-- 1 jenkins jenkins 625 Aug 24 23:26 OWNERS.md 23:31:02 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 24 23:26 README.md 23:31:02 -rw-rw-r-- 1 jenkins jenkins 5 Aug 24 23:24 VERSION 23:31:02 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 23:26 bin 23:31:02 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 23:26 cmd 23:31:02 -rw-r--r-- 1 jenkins jenkins 76854 Aug 24 23:30 coverage.out 23:31:02 drwxrwxr-x 6 jenkins jenkins 4096 Aug 24 23:26 doc 23:31:02 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 24 23:26 go.mod 23:31:02 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 24 23:26 go.sum 23:31:02 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 23:26 internal 23:31:02 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 23:26 snap 23:31:02 -rw-rw-r-- 1 jenkins jenkins 236 Aug 24 23:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:03 + 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=8302ca870d2726cc021977c8a3ce3fefedb4b7a7 --label arch=arm64 --label version=0.0.0 . 23:31:03 Sending build context to Docker daemon 14.17MB 23:31:03 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:31:03 Step 2/26 : FROM ${BASE} AS builder 23:31:03 ---> 2b9a03f4ea57 23:31:03 Step 3/26 : ARG MAKE="make build" 23:31:04 ---> Running in 31719ba7bb64 23:31:04 Removing intermediate container 31719ba7bb64 23:31:04 ---> 5f9843601c8b 23:31:04 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:31:04 ---> Running in e060d7cdf723 23:31:04 Removing intermediate container e060d7cdf723 23:31:04 ---> eb43ef70e17c 23:31:04 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 23:31:04 ---> Running in 65e592b50039 23:31:05 Removing intermediate container 65e592b50039 23:31:05 ---> 1228f89edf8b 23:31:05 Step 6/26 : LABEL Name=edgex-device-onvif-camera 23:31:05 ---> Running in 593530de6900 23:31:05 Removing intermediate container 593530de6900 23:31:05 ---> 5f9f47ba0ad9 23:31:05 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:31:05 ---> Running in af67f40fda67 23:31:07 Removing intermediate container af67f40fda67 23:31:07 ---> ce3dd804e0a1 23:31:07 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:31:07 ---> Running in 5668d0a15ee6 23:31:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:31:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:31:10 OK: 221 MiB in 51 packages 23:31:11 Removing intermediate container 5668d0a15ee6 23:31:11 ---> 1ac225cbd3b3 23:31:11 Step 9/26 : WORKDIR /device-onvif-camera 23:31:11 ---> Running in 5e946eaa079b 23:31:11 Removing intermediate container 5e946eaa079b 23:31:11 ---> 3ba2940b198e 23:31:11 Step 10/26 : COPY go.mod vendor* ./ 23:31:12 ---> ea0cecb91e75 23:31:12 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:31:12 ---> Running in 684ca0bcad30 23:31:14 Removing intermediate container 684ca0bcad30 23:31:14 ---> e696ae741858 23:31:14 Step 12/26 : COPY . . 23:31:15 ---> 2374d9bb3d16 23:31:15 Step 13/26 : RUN ${MAKE} 23:31:15 ---> Running in 9e2588b5c680 23:31:16 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 23:33:38 Removing intermediate container 9e2588b5c680 23:33:38 ---> a6e7bebb142f 23:33:38 Step 14/26 : FROM alpine:3.16 23:33:38 3.16: Pulling from library/alpine 23:33:38 9b18e9b68314: Pulling fs layer 23:33:38 9b18e9b68314: Verifying Checksum 23:33:38 9b18e9b68314: Download complete 23:33:38 9b18e9b68314: Pull complete 23:33:38 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:33:38 Status: Downloaded newer image for alpine:3.16 23:33:38 ---> a6215f271958 23:33:38 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:33:38 ---> Running in f31b8fae2e94 23:33:38 Removing intermediate container f31b8fae2e94 23:33:38 ---> c02b5b9b8a71 23:33:38 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:33:38 ---> Running in af11604da338 23:33:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:33:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:33:38 (1/6) Installing dumb-init (1.2.5-r1) 23:33:38 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:33:38 (3/6) Installing libsodium (1.0.18-r0) 23:33:38 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:33:38 (5/6) Installing libzmq (4.3.4-r0) 23:33:38 (6/6) Installing zeromq (4.3.4-r0) 23:33:38 Executing busybox-1.35.0-r17.trigger 23:33:38 OK: 8 MiB in 20 packages 23:33:38 Removing intermediate container af11604da338 23:33:38 ---> 278c9346410e 23:33:38 Step 17/26 : WORKDIR / 23:33:38 ---> Running in c594510a666e 23:33:38 Removing intermediate container c594510a666e 23:33:38 ---> 3df70d634e0c 23:33:38 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:33:38 ---> bba13fc36068 23:33:38 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:33:38 ---> 083359c3cb97 23:33:38 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:33:38 ---> 9f3a467b9c82 23:33:38 Step 21/26 : EXPOSE 59984 23:33:38 ---> Running in 53907c14604c 23:33:38 Removing intermediate container 53907c14604c 23:33:38 ---> b2af53db02b6 23:33:38 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:33:38 ---> Running in b6da97a6c9de 23:33:38 Removing intermediate container b6da97a6c9de 23:33:38 ---> 023f261c1a31 23:33:38 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:33:38 ---> Running in ac8e59b1bc39 23:33:38 Removing intermediate container ac8e59b1bc39 23:33:38 ---> 8f39ea43a1cd 23:33:38 Step 24/26 : LABEL arch=arm64 23:33:38 ---> Running in 520442181e85 23:33:38 Removing intermediate container 520442181e85 23:33:38 ---> bfa8386e6ad7 23:33:38 Step 25/26 : LABEL git_sha=8302ca870d2726cc021977c8a3ce3fefedb4b7a7 23:33:38 ---> Running in 9472f7c8c199 23:33:38 Removing intermediate container 9472f7c8c199 23:33:38 ---> e88eac9c44ff 23:33:38 Step 26/26 : LABEL version=0.0.0 23:33:38 ---> Running in 492cc9086d5d 23:33:38 Removing intermediate container 492cc9086d5d 23:33:38 ---> 6392e06d8d14 23:33:38 [Warning] One or more build-args [ARCH] were not consumed 23:33:38 Successfully built 6392e06d8d14 23:33:38 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 23:33:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:39 23:33:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:39 arm64: Pulling from edgex-lftools-log-publisher 23:33:39 8998bd30e6a1: Pulling fs layer 23:33:39 04944245beec: Pulling fs layer 23:33:39 699f458cf7ca: Pulling fs layer 23:33:39 765212b225bb: Pulling fs layer 23:33:39 f23df028b6ca: Pulling fs layer 23:33:39 d65c8cfc05b1: Pulling fs layer 23:33:39 2437ff75d9bd: Pulling fs layer 23:33:39 f23df028b6ca: Waiting 23:33:39 d65c8cfc05b1: Waiting 23:33:39 765212b225bb: Waiting 23:33:39 2437ff75d9bd: Waiting 23:33:39 04944245beec: Verifying Checksum 23:33:39 04944245beec: Download complete 23:33:39 765212b225bb: Verifying Checksum 23:33:39 765212b225bb: Download complete 23:33:39 f23df028b6ca: Verifying Checksum 23:33:39 f23df028b6ca: Download complete 23:33:40 d65c8cfc05b1: Verifying Checksum 23:33:40 d65c8cfc05b1: Download complete 23:33:40 699f458cf7ca: Verifying Checksum 23:33:40 699f458cf7ca: Download complete 23:33:40 8998bd30e6a1: Verifying Checksum 23:33:40 8998bd30e6a1: Download complete 23:33:43 2437ff75d9bd: Verifying Checksum 23:33:43 2437ff75d9bd: Download complete 23:33:45 8998bd30e6a1: Pull complete 23:33:45 04944245beec: Pull complete 23:33:46 699f458cf7ca: Pull complete 23:33:47 765212b225bb: Pull complete 23:33:48 f23df028b6ca: Pull complete 23:33:48 d65c8cfc05b1: Pull complete 23:34:03 2437ff75d9bd: Pull complete 23:34:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:34:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:34:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:03 prd-ubuntu20.04-docker-arm64-4c-16g-23471 does not seem to be running inside a container 23:34:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:34:06 $ docker top 428e7ae9aa7f22d6357d46b3349d4f066dc6618c96e5659c0b3dd829c68fbb99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:07 ---> job-cost.sh 23:34:07 lf-activate-venv: SKIPPING 23:34:07 INFO: No Stack... 23:34:07 INFO: Retrieving Pricing Info for: v3-standard-4 23:34:08 INFO: Archiving Costs [Pipeline] sh 23:34:09 + cut -d, -f6 23:34:09 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 23:34:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] 23:34:09 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] did not exist. Created. 23:34:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:34:10 /w/workspace/device-onvif-camera/1@tmp/durable-57714074/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:34:10 + echo total: 0.10999999940395355 [Pipeline] stash 23:34:10 Warning: overwriting stash ‘stack-cost’ 23:34:10 Stashed 1 file(s) [Pipeline] } 23:34:10 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-145-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:34:11 $ docker stop --time=1 428e7ae9aa7f22d6357d46b3349d4f066dc6618c96e5659c0b3dd829c68fbb99 23:34:12 $ docker rm -f 428e7ae9aa7f22d6357d46b3349d4f066dc6618c96e5659c0b3dd829c68fbb99 [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 23:34:13 provisioning config files... 23:34:13 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-145@tmp/config7664494974370290225tmp [Pipeline] { [Pipeline] sh 23:34:13 + set +x 23:34:13 + curl -s https://codecov.io/bash 23:34:13 + bash -s -- 23:34:13 23:34:13 _____ _ 23:34:13 / ____| | | 23:34:13 | | ___ __| | ___ ___ _____ __ 23:34:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:34:13 | |___| (_) | (_| | __/ (_| (_) \ V / 23:34:13 \_____\___/ \__,_|\___|\___\___/ \_/ 23:34:13 Bash-1.0.6 23:34:13 23:34:13 23:34:13 ==> git version 2.25.1 found 23:34:13 ==> 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 23:34:13 Release-Date: 2020-01-08 23:34:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:34:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:34:13 ==> Jenkins CI detected. 23:34:13 current dir:  /w/workspace/undry_device-onvif-camera_PR-145 23:34:13 project root: . 23:34:13 --> token set from env 23:34:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:34:13 ==> Running gcov in . (disable via -X gcov) 23:34:13 ==> Python coveragepy not found 23:34:13 ==> Searching for coverage reports in: 23:34:13 + . 23:34:13 -> Found 1 reports 23:34:13 ==> Detecting git/mercurial file structure 23:34:13 ==> Reading reports 23:34:13 + ./coverage.out bytes=76854 23:34:13 ==> Appending adjustments 23:34:13 https://docs.codecov.io/docs/fixing-reports 23:34:14 + Found adjustments 23:34:14 ==> Gzipping contents 23:34:14 12K /tmp/codecov.FiRk9m.gz 23:34:14 ==> Uploading reports 23:34:14 url: https://codecov.io 23:34:14 query: branch=PR-145&commit=265960408281c9f88fe69f851785741b90ff9245&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-145%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=145&job=&cmd_args= 23:34:14 -> Pinging Codecov 23:34:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-145&commit=265960408281c9f88fe69f851785741b90ff9245&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-145%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=145&job=&cmd_args= 23:34:14 -> Uploading to 23:34:14 https://storage.googleapis.com/codecov/v4/raw/2022-08-24/F29A59C45E3A92E06B3E522C9905F8EF/265960408281c9f88fe69f851785741b90ff9245/c563a5d3-d014-4010-9228-d1ede9b57790.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220824%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220824T233414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be27743a1ff3fa3c11462310d0e646eb0081556c357e2b31d9db5bf2e40bfff8 23:34:14 % Total % Received % Xferd Average Speed Time Time Time Current 23:34:14 Dload Upload Total Spent Left Speed 23:34:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10399 0 0 100 10399 0 46842 --:--:-- --:--:-- --:--:-- 46632 100 10399 0 0 100 10399 0 41430 --:--:-- --:--:-- --:--:-- 41265 23:34:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/265960408281c9f88fe69f851785741b90ff9245 [Pipeline] } 23:34:14 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 23:34:16 + [ -d /w/workspace/undry_device-onvif-camera_PR-145/archives ] 23:34:16 + ls -al /w/workspace/undry_device-onvif-camera_PR-145/archives 23:34:16 total 16 23:34:16 drwxr-xr-x 3 root root 4096 Aug 24 23:26 . 23:34:16 drwxrwxr-x 11 jenkins jenkins 4096 Aug 24 23:26 .. 23:34:16 drwxr-xr-x 2 root root 4096 Aug 24 23:26 cost 23:34:16 -rw-r--r-- 1 root root 91 Aug 24 23:26 cost.csv 23:34:16 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-145/archives 23:34:16 + ls -al /w/workspace/undry_device-onvif-camera_PR-145/archives 23:34:16 total 16 23:34:16 drwxr-xr-x 3 jenkins jenkins 4096 Aug 24 23:26 . 23:34:16 drwxrwxr-x 11 jenkins jenkins 4096 Aug 24 23:26 .. 23:34:16 drwxr-xr-x 2 jenkins jenkins 4096 Aug 24 23:26 cost 23:34:16 -rw-r--r-- 1 jenkins jenkins 91 Aug 24 23:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:34:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:34:17 ---> package-listing.sh 23:34:17 ++ facter osfamily 23:34:17 ++ tr '[:upper:]' '[:lower:]' 23:34:18 + OS_FAMILY=debian 23:34:18 + workspace=/w/workspace/undry_device-onvif-camera_PR-145 23:34:18 + START_PACKAGES=/tmp/packages_start.txt 23:34:18 + END_PACKAGES=/tmp/packages_end.txt 23:34:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:34:18 + PACKAGES=/tmp/packages_start.txt 23:34:18 + '[' /w/workspace/undry_device-onvif-camera_PR-145 ']' 23:34:18 + PACKAGES=/tmp/packages_end.txt 23:34:18 + case "${OS_FAMILY}" in 23:34:18 + dpkg -l 23:34:18 + grep '^ii' 23:34:18 + '[' -f /tmp/packages_start.txt ']' 23:34:18 + '[' -f /tmp/packages_end.txt ']' 23:34:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:34:18 + '[' /w/workspace/undry_device-onvif-camera_PR-145 ']' 23:34:18 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-145/archives/ 23:34:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-145/archives/ [Pipeline] echo 23:34:18 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-145/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:34:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:19 prd-ubuntu20.04-docker-8c-8g-23469 does not seem to be running inside a container 23:34:19 $ 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-145/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-145 -v /w/workspace/undry_device-onvif-camera_PR-145:/w/workspace/undry_device-onvif-camera_PR-145:rw,z -v /w/workspace/undry_device-onvif-camera_PR-145@tmp:/w/workspace/undry_device-onvif-camera_PR-145@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-lftools-log-publisher:latest cat 23:34:19 $ docker top 8ffb08be777d7c26c622ff1fbae67e414c35bb8f87496626cc937de63dd1dc60 -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:19 + touch /tmp/pre-build-complete [Pipeline] sh 23:34:20 + mkdir -p /var/log/sysstat [Pipeline] sh 23:34:20 + ls /var/log/sa-host 23:34:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:20 provisioning config files... 23:34:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-145@tmp/config4823773071315683913tmp [Pipeline] { [Pipeline] echo 23:34:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:34:21 ---> create-netrc.sh [Pipeline] } 23:34:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:34:21 ---> python-tools-install.sh [Pipeline] echo 23:34:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:34:21 ---> sudo-logs.sh 23:34:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:34:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:34:22 ---> job-cost.sh 23:34:22 lf-activate-venv: SKIPPING 23:34:22 DEBUG: total: 0.2199999988079071 23:34:22 INFO: Retrieving Stack Cost... 23:34:22 INFO: Retrieving Pricing Info for: v3-standard-8 23:34:23 INFO: Archiving Costs [Pipeline] echo 23:34:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:34:23 ---> logs-deploy.sh 23:34:23 lf-activate-venv: SKIPPING 23:34:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-145/1 23:34:23 INFO: archiving workspace using pattern(s): 23:34:24 Archives upload complete. 23:34:24 INFO: archiving logs to Nexus 23:34:25 ---> uname -a: 23:34:25 Linux prd-ubuntu20-04-docker-8c-8g-23469 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 23:34:25 23:34:25 23:34:25 ---> lscpu: 23:34:25 Architecture: x86_64 23:34:25 CPU op-mode(s): 32-bit, 64-bit 23:34:25 Byte Order: Little Endian 23:34:25 Address sizes: 40 bits physical, 48 bits virtual 23:34:25 CPU(s): 8 23:34:25 On-line CPU(s) list: 0-7 23:34:25 Thread(s) per core: 1 23:34:25 Core(s) per socket: 1 23:34:25 Socket(s): 8 23:34:25 NUMA node(s): 1 23:34:25 Vendor ID: AuthenticAMD 23:34:25 CPU family: 23 23:34:25 Model: 49 23:34:25 Model name: AMD EPYC-Rome Processor 23:34:25 Stepping: 0 23:34:25 CPU MHz: 2800.002 23:34:25 BogoMIPS: 5600.00 23:34:25 Virtualization: AMD-V 23:34:25 Hypervisor vendor: KVM 23:34:25 Virtualization type: full 23:34:25 L1d cache: 256 KiB 23:34:25 L1i cache: 256 KiB 23:34:25 L2 cache: 4 MiB 23:34:25 L3 cache: 128 MiB 23:34:25 NUMA node0 CPU(s): 0-7 23:34:25 Vulnerability Itlb multihit: Not affected 23:34:25 Vulnerability L1tf: Not affected 23:34:25 Vulnerability Mds: Not affected 23:34:25 Vulnerability Meltdown: Not affected 23:34:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:34:25 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 23:34:25 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 23:34:25 Vulnerability Srbds: Not affected 23:34:25 Vulnerability Tsx async abort: Not affected 23:34:25 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 23:34:25 23:34:25 23:34:25 ---> nproc: 23:34:25 8 23:34:25 23:34:25 23:34:25 ---> df -h: 23:34:25 Filesystem Size Used Avail Use% Mounted on 23:34:25 overlay 155G 11G 145G 8% / 23:34:25 tmpfs 64M 0 64M 0% /dev 23:34:25 tmpfs 16G 0 16G 0% /sys/fs/cgroup 23:34:25 shm 64M 0 64M 0% /dev/shm 23:34:25 /dev/vda1 155G 11G 145G 8% /facter-os 23:34:25 23:34:25 23:34:25 ---> sar -b -r -n DEV: 23:34:25 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-23469) 08/24/22 _x86_64_ (8 CPU) 23:34:25 23:34:25 23:23:29 LINUX RESTART (8 CPU) 23:34:25 23:34:25 23:24:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:34:25 23:25:01 366.51 13.70 352.81 0.00 2123.38 125027.43 0.00 23:34:25 23:26:01 130.23 0.15 130.08 0.00 11.46 28552.31 0.00 23:34:25 23:27:01 113.20 0.02 113.18 0.00 1.87 34150.31 0.00 23:34:25 23:28:01 1.95 0.00 1.95 0.00 0.00 22.01 0.00 23:34:25 23:29:01 1.12 0.02 1.10 0.00 0.13 12.26 0.00 23:34:25 23:30:02 1.28 0.00 1.28 0.00 0.00 16.00 0.00 23:34:25 23:31:01 0.91 0.00 0.91 0.00 0.00 10.84 0.00 23:34:25 23:32:01 1.40 0.00 1.40 0.00 0.00 16.13 0.00 23:34:25 23:33:01 0.92 0.00 0.92 0.00 0.00 10.00 0.00 23:34:25 23:34:01 1.67 0.00 1.67 0.00 0.00 22.79 0.00 23:34:25 Average: 62.02 1.39 60.63 0.00 214.03 18814.09 0.00 23:34:25 23:34:25 23:24:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:34:25 23:25:01 28054292 31716300 576960 1.75 147932 3704848 2192924 6.46 1269128 3095376 244328 23:34:25 23:26:01 27655600 31380604 904196 2.75 166912 3742208 2768656 8.16 1803968 2939644 225568 23:34:25 23:27:01 27529032 31754372 532380 1.62 176420 4193092 1808092 5.33 1374192 3457240 156 23:34:25 23:28:01 27529904 31755248 531224 1.62 176440 4193092 1808092 5.33 1373164 3457240 20 23:34:25 23:29:01 27540268 31765624 520780 1.58 176464 4193096 1808092 5.33 1363000 3457248 24 23:34:25 23:30:02 27539476 31764860 521484 1.59 176484 4193104 1808092 5.33 1362736 3457252 72 23:34:25 23:31:01 27546224 31771992 514404 1.56 176496 4193108 1808092 5.33 1356244 3457496 164 23:34:25 23:32:01 27546880 31772656 513856 1.56 176520 4193112 1808092 5.33 1355884 3457500 48 23:34:25 23:33:01 27546620 31772416 514056 1.56 176532 4193112 1808092 5.33 1355920 3457500 12 23:34:25 23:34:01 27546968 31772848 513812 1.56 176576 4193092 1808092 5.33 1356792 3457528 260 23:34:25 Average: 27603526 31722692 564315 1.72 172678 4099186 1942632 5.73 1397103 3369402 47065 23:34:25 23:34:25 23:24:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:34:25 23:25:01 lo 6.67 6.67 0.65 0.65 0.00 0.00 0.00 0.00 23:34:25 23:25:01 docker0 145.79 185.54 11.89 1634.90 0.00 0.00 0.00 0.00 23:34:25 23:25:01 ens3 584.00 389.02 7467.25 79.64 0.00 0.00 0.00 0.00 23:34:25 23:26:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 23:34:25 23:26:01 docker0 6.73 9.08 0.40 40.77 0.00 0.00 0.00 0.00 23:34:25 23:26:01 vethe09881b 0.05 0.20 0.00 0.02 0.00 0.00 0.00 0.00 23:34:25 23:26:01 ens3 89.55 64.69 92.77 70.03 0.00 0.00 0.00 0.00 23:34:25 23:27:01 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 23:34:25 23:27:01 docker0 2.63 5.97 0.17 57.97 0.00 0.00 0.00 0.00 23:34:25 23:27:01 ens3 160.12 108.52 2637.28 62.49 0.00 0.00 0.00 0.00 23:34:25 23:28:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:34:25 23:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:34:25 23:28:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 23:34:25 23:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:34:25 23:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:34:25 23:29:01 ens3 0.73 0.38 1.48 0.09 0.00 0.00 0.00 0.00 23:34:25 23:30:02 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:34:25 23:30:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:34:25 23:30:02 ens3 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 23:34:25 23:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:34:25 23:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:34:25 23:31:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:34:25 23:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:34:25 23:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:34:25 23:32:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 23:34:25 23:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:34:25 23:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:34:25 23:33:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:34:25 23:34:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:34:25 23:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:34:25 23:34:01 ens3 0.33 0.18 0.09 0.07 0.00 0.00 0.00 0.00 23:34:25 Average: lo 0.96 0.96 0.09 0.09 0.00 0.00 0.00 0.00 23:34:25 Average: docker0 15.54 20.09 1.25 173.64 0.00 0.00 0.00 0.00 23:34:25 Average: ens3 83.66 56.40 1021.52 21.27 0.00 0.00 0.00 0.00 23:34:25 23:34:25 23:34:25 ---> sar -P ALL: 23:34:25 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-23469) 08/24/22 _x86_64_ (8 CPU) 23:34:25 23:34:25 23:23:29 LINUX RESTART (8 CPU) 23:34:25 23:34:25 23:24:01 CPU %user %nice %system %iowait %steal %idle 23:34:25 23:25:01 all 10.59 0.00 4.38 2.00 0.06 82.96 23:34:25 23:25:01 0 11.23 0.00 4.82 1.38 0.05 82.52 23:34:25 23:25:01 1 10.97 0.00 4.27 1.68 0.05 83.02 23:34:25 23:25:01 2 11.51 0.00 4.53 3.33 0.07 80.57 23:34:25 23:25:01 3 9.12 0.00 4.00 0.27 0.05 86.56 23:34:25 23:25:01 4 10.46 0.00 4.67 6.15 0.08 78.63 23:34:25 23:25:01 5 9.35 0.00 3.54 0.56 0.03 86.52 23:34:25 23:25:01 6 12.30 0.00 4.26 1.30 0.07 82.08 23:34:25 23:25:01 7 9.77 0.00 4.99 1.39 0.07 83.79 23:34:25 23:26:01 all 41.07 0.00 6.66 0.88 0.09 51.29 23:34:25 23:26:01 0 41.52 0.00 7.13 0.17 0.08 51.10 23:34:25 23:26:01 1 40.46 0.00 6.15 0.15 0.10 53.14 23:34:25 23:26:01 2 39.95 0.00 6.61 3.02 0.08 50.35 23:34:25 23:26:01 3 42.12 0.00 6.59 0.19 0.12 50.99 23:34:25 23:26:01 4 40.49 0.00 6.60 0.03 0.08 52.79 23:34:25 23:26:01 5 41.99 0.00 6.65 1.77 0.10 49.49 23:34:25 23:26:01 6 42.42 0.00 6.28 1.03 0.08 50.19 23:34:25 23:26:01 7 39.61 0.00 7.28 0.68 0.10 52.33 23:34:25 23:27:01 all 9.64 0.00 2.62 0.77 0.04 86.92 23:34:25 23:27:01 0 9.50 0.00 2.25 0.40 0.05 87.80 23:34:25 23:27:01 1 10.40 0.00 2.52 0.39 0.03 86.66 23:34:25 23:27:01 2 10.39 0.00 2.24 0.12 0.05 87.20 23:34:25 23:27:01 3 8.25 0.00 2.40 1.14 0.05 88.15 23:34:25 23:27:01 4 9.28 0.00 2.86 0.17 0.03 87.66 23:34:25 23:27:01 5 10.89 0.00 2.55 0.05 0.03 86.48 23:34:25 23:27:01 6 9.43 0.00 3.28 0.02 0.03 87.24 23:34:25 23:27:01 7 9.01 0.00 2.87 3.93 0.03 84.15 23:34:25 23:28:01 all 0.01 0.00 0.02 0.01 0.01 99.95 23:34:25 23:28:01 0 0.00 0.00 0.02 0.00 0.00 99.98 23:34:25 23:28:01 1 0.02 0.00 0.02 0.00 0.02 99.95 23:34:25 23:28:01 2 0.03 0.00 0.03 0.02 0.02 99.90 23:34:25 23:28:01 3 0.02 0.00 0.03 0.02 0.02 99.92 23:34:25 23:28:01 4 0.00 0.00 0.00 0.00 0.00 100.00 23:34:25 23:28:01 5 0.02 0.00 0.02 0.00 0.00 99.97 23:34:25 23:28:01 6 0.02 0.00 0.02 0.00 0.00 99.97 23:34:25 23:28:01 7 0.02 0.00 0.03 0.02 0.02 99.92 23:34:25 23:29:01 all 0.04 0.00 0.03 0.01 0.01 99.91 23:34:25 23:29:01 0 0.03 0.00 0.02 0.00 0.02 99.93 23:34:25 23:29:01 1 0.02 0.00 0.00 0.00 0.00 99.98 23:34:25 23:29:01 2 0.03 0.00 0.05 0.00 0.02 99.90 23:34:25 23:29:01 3 0.10 0.00 0.03 0.07 0.00 99.80 23:34:25 23:29:01 4 0.03 0.00 0.02 0.00 0.02 99.93 23:34:25 23:29:01 5 0.03 0.00 0.03 0.00 0.00 99.93 23:34:25 23:29:01 6 0.03 0.00 0.02 0.00 0.00 99.95 23:34:25 23:29:01 7 0.05 0.00 0.05 0.02 0.00 99.88 23:34:25 23:30:02 all 0.01 0.00 0.01 0.01 0.01 99.96 23:34:25 23:30:02 0 0.00 0.00 0.02 0.00 0.00 99.98 23:34:25 23:30:02 1 0.00 0.00 0.00 0.00 0.00 100.00 23:34:25 23:30:02 2 0.02 0.00 0.03 0.00 0.02 99.93 23:34:25 23:30:02 3 0.00 0.00 0.02 0.00 0.02 99.97 23:34:25 23:30:02 4 0.00 0.00 0.02 0.00 0.02 99.97 23:34:25 23:30:02 5 0.02 0.00 0.02 0.00 0.02 99.95 23:34:25 23:30:02 6 0.02 0.00 0.00 0.00 0.02 99.97 23:34:25 23:30:02 7 0.02 0.00 0.02 0.07 0.00 99.90 23:34:25 23:31:01 all 0.04 0.00 0.05 0.00 0.00 99.90 23:34:25 23:31:01 0 0.03 0.00 0.07 0.00 0.00 99.90 23:34:25 23:31:01 1 0.02 0.00 0.00 0.00 0.00 99.98 23:34:25 23:31:01 2 0.02 0.00 0.02 0.02 0.00 99.95 23:34:25 23:31:01 3 0.07 0.00 0.08 0.02 0.02 99.81 23:34:25 23:31:01 4 0.12 0.00 0.10 0.00 0.00 99.78 23:34:25 23:31:01 5 0.03 0.00 0.02 0.00 0.00 99.95 23:34:25 23:31:01 6 0.00 0.00 0.00 0.00 0.00 100.00 23:34:25 23:31:01 7 0.05 0.00 0.08 0.00 0.02 99.85 23:34:25 23:32:01 all 0.02 0.00 0.01 0.01 0.00 99.95 23:34:25 23:32:01 0 0.02 0.00 0.02 0.00 0.00 99.97 23:34:25 23:32:01 1 0.02 0.00 0.02 0.00 0.00 99.97 23:34:25 23:32:01 2 0.02 0.00 0.00 0.07 0.00 99.92 23:34:25 23:32:01 3 0.02 0.00 0.02 0.00 0.00 99.97 23:34:25 23:32:01 4 0.00 0.00 0.02 0.00 0.00 99.98 23:34:25 23:32:01 5 0.05 0.00 0.02 0.05 0.02 99.87 23:34:25 23:32:01 6 0.00 0.00 0.02 0.00 0.00 99.98 23:34:25 23:32:01 7 0.02 0.00 0.02 0.00 0.00 99.97 23:34:25 23:33:01 all 0.12 0.00 0.01 0.00 0.01 99.86 23:34:25 23:33:01 0 0.02 0.00 0.00 0.00 0.02 99.97 23:34:25 23:33:01 1 0.00 0.00 0.02 0.00 0.00 99.98 23:34:25 23:33:01 2 0.00 0.00 0.00 0.02 0.00 99.98 23:34:25 23:33:01 3 0.02 0.00 0.00 0.02 0.02 99.95 23:34:25 23:33:01 4 0.83 0.00 0.05 0.00 0.02 99.10 23:34:25 23:33:01 5 0.05 0.00 0.03 0.00 0.02 99.90 23:34:25 23:33:01 6 0.02 0.00 0.02 0.00 0.00 99.97 23:34:25 23:33:01 7 0.00 0.00 0.00 0.00 0.00 100.00 23:34:25 23:34:01 all 0.27 0.00 0.01 0.00 0.01 99.71 23:34:25 23:34:01 0 0.02 0.00 0.02 0.00 0.00 99.97 23:34:25 23:34:01 1 0.00 0.00 0.00 0.00 0.00 100.00 23:34:25 23:34:01 2 0.00 0.00 0.00 0.02 0.02 99.97 23:34:25 23:34:01 3 0.02 0.00 0.02 0.02 0.00 99.95 23:34:25 23:34:01 4 1.95 0.00 0.00 0.00 0.00 98.05 23:34:25 23:34:01 5 0.07 0.00 0.03 0.00 0.03 99.87 23:34:25 23:34:01 6 0.02 0.00 0.00 0.00 0.00 99.98 23:34:25 23:34:01 7 0.03 0.00 0.02 0.00 0.00 99.95 23:34:25 Average: all 6.14 0.00 1.37 0.37 0.02 92.10 23:34:25 Average: 0 6.20 0.00 1.43 0.19 0.02 92.16 23:34:25 Average: 1 6.14 0.00 1.29 0.22 0.02 92.32 23:34:25 Average: 2 6.16 0.00 1.34 0.65 0.03 91.82 23:34:25 Average: 3 5.93 0.00 1.31 0.17 0.03 92.56 23:34:25 Average: 4 6.27 0.00 1.42 0.63 0.03 91.66 23:34:25 Average: 5 6.21 0.00 1.28 0.24 0.03 92.24 23:34:25 Average: 6 6.38 0.00 1.38 0.23 0.02 91.99 23:34:25 Average: 7 5.81 0.00 1.52 0.61 0.02 92.04 23:34:25 23:34:25 23:34:25