Pull request #146 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from c59b58dcab6ff79b612679c6b5509f76a7f4158c+5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 (8786b9210a8b84a3dacdef57b74e50cc1782370d) 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-ssh18148425090734624657.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-ssh12635661185982494834.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12789567193880437305.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 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-ssh7580142637297902264.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-146/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-146/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16475367323769104358.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-23752 in /w/workspace/undry_device-onvif-camera_PR-146 [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-146 # 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 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 into PR head commit c59b58dcab6ff79b612679c6b5509f76a7f4158c Merge succeeded, producing c59b58dcab6ff79b612679c6b5509f76a7f4158c Checking out Revision c59b58dcab6ff79b612679c6b5509f76a7f4158c (PR-146) > 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/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c59b58dcab6ff79b612679c6b5509f76a7f4158c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c59b58dcab6ff79b612679c6b5509f76a7f4158c # timeout=10 Commit message: "fix: Check whether the onvif response is valid" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-29T03:26:16.335Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-29T03:26:16.410Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-29T03:26:16.430Z] ========================================================= [2022-08-29T03:26:16.430Z] EdgeX Global Pipelines Version Info [2022-08-29T03:26:16.430Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7fdb570f67acbbcb31debbaa30cbaf156f58b692 # timeout=10 [2022-08-29T03:26:17.187Z] ------------------- [2022-08-29T03:26:17.187Z] stable info: [2022-08-29T03:26:17.187Z] ------------------- [2022-08-29T03:26:17.187Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-29T03:26:17.187Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-29T03:26:17.187Z] Message: update stable to v1.0.239 [2022-08-29T03:26:17.760Z] ------------------- [2022-08-29T03:26:17.760Z] experimental info: [2022-08-29T03:26:17.760Z] ------------------- [2022-08-29T03:26:17.760Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-29T03:26:17.760Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-29T03:26:17.760Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-29T03:26:17.932Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-29T03:26:17.943Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-29T03:26:17.959Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-29T03:26:17.976Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-29T03:26:17.990Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-29T03:26:18.000Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-29T03:26:18.011Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-29T03:26:18.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-29T03:26:18.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-29T03:26:18.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-29T03:26:18.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-29T03:26:18.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-29T03:26:18.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-29T03:26:18.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-29T03:26:18.107Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-29T03:26:18.122Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-29T03:26:18.138Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-29T03:26:18.148Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-29T03:26:18.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-29T03:26:18.164Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-29T03:26:18.172Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-29T03:26:18.180Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-29T03:26:18.188Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-29T03:26:18.196Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-29T03:26:18.206Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-29T03:26:18.218Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-29T03:26:18.230Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-29T03:26:18.244Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo [2022-08-29T03:26:18.258Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo [2022-08-29T03:26:18.269Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo [2022-08-29T03:26:18.282Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c59b58dcab6ff79b612679c6b5509f76a7f4158c [Pipeline] echo [2022-08-29T03:26:18.299Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c59b58d [Pipeline] echo [2022-08-29T03:26:18.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-29T03:26:18.362Z] provisioning config files... [2022-08-29T03:26:18.376Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-146@tmp/config2497103217861530866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:26:18.679Z] ---> docker-login.sh [2022-08-29T03:26:18.679Z] nexus3.edgexfoundry.org:10001 [2022-08-29T03:26:18.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:26:18.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:26:18.940Z] Configure a credential helper to remove this warning. See [2022-08-29T03:26:18.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:26:18.940Z] [2022-08-29T03:26:18.940Z] Login Succeeded [2022-08-29T03:26:18.940Z] nexus3.edgexfoundry.org:10002 [2022-08-29T03:26:18.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:26:19.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:26:19.201Z] Configure a credential helper to remove this warning. See [2022-08-29T03:26:19.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:26:19.201Z] [2022-08-29T03:26:19.201Z] Login Succeeded [2022-08-29T03:26:19.201Z] nexus3.edgexfoundry.org:10003 [2022-08-29T03:26:19.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:26:19.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:26:19.201Z] Configure a credential helper to remove this warning. See [2022-08-29T03:26:19.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:26:19.201Z] [2022-08-29T03:26:19.201Z] Login Succeeded [2022-08-29T03:26:19.201Z] nexus3.edgexfoundry.org:10004 [2022-08-29T03:26:19.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:26:19.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:26:19.462Z] Configure a credential helper to remove this warning. See [2022-08-29T03:26:19.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:26:19.462Z] [2022-08-29T03:26:19.462Z] Login Succeeded [2022-08-29T03:26:19.462Z] docker.io [2022-08-29T03:26:19.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:26:19.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:26:19.722Z] Configure a credential helper to remove this warning. See [2022-08-29T03:26:19.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:26:19.722Z] [2022-08-29T03:26:19.722Z] Login Succeeded [2022-08-29T03:26:19.722Z] ---> docker-login.sh ends [Pipeline] } [2022-08-29T03:26:19.731Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-29T03:26:20.111Z] + git rev-list -1 --merges c59b58dcab6ff79b612679c6b5509f76a7f4158c~1..c59b58dcab6ff79b612679c6b5509f76a7f4158c [Pipeline] echo [2022-08-29T03:26:20.221Z] -----------> git rev-list -1 --merges c59b58dcab6ff79b612679c6b5509f76a7f4158c~1..c59b58dcab6ff79b612679c6b5509f76a7f4158c c59b58dcab6ff79b612679c6b5509f76a7f4158c [false] [Pipeline] sh [2022-08-29T03:26:20.514Z] + git log --format=format:%s -1 c59b58dcab6ff79b612679c6b5509f76a7f4158c [Pipeline] echo [2022-08-29T03:26:20.530Z] ========================================================= [2022-08-29T03:26:20.530Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-29T03:26:20.530Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-29T03:26:20.874Z] + git log --format=format:%s -1 c59b58dcab6ff79b612679c6b5509f76a7f4158c [Pipeline] echo [2022-08-29T03:26:20.885Z] [semverPrep] GIT_COMMIT: c59b58dcab6ff79b612679c6b5509f76a7f4158c, Commit Message: fix: Check whether the onvif response is valid [Pipeline] echo [2022-08-29T03:26:20.893Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-29T03:26:21.243Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-29T03:26:21.243Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-29T03:26:21.243Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-29T03:26:21.243Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-29T03:26:21.243Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-29T03:26:21.243Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-29T03:26:21.243Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:26:21.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-29T03:26:21.603Z] [2022-08-29T03:26:21.603Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:26:21.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-29T03:26:21.914Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-29T03:26:21.914Z] b85a868b505f: Pulling fs layer [2022-08-29T03:26:21.914Z] e2be974225ed: Pulling fs layer [2022-08-29T03:26:21.914Z] 339a4e72a1f5: Pulling fs layer [2022-08-29T03:26:21.914Z] 988bab9f4d93: Pulling fs layer [2022-08-29T03:26:21.914Z] 1469e6f7b9e6: Pulling fs layer [2022-08-29T03:26:21.914Z] eaf3925da568: Pulling fs layer [2022-08-29T03:26:21.914Z] bab4dde63d76: Pulling fs layer [2022-08-29T03:26:21.914Z] bde34c3a00c8: Pulling fs layer [2022-08-29T03:26:21.914Z] b352a97aabf1: Pulling fs layer [2022-08-29T03:26:21.914Z] 4872d77fe225: Pulling fs layer [2022-08-29T03:26:21.914Z] 5851b861e8e6: Pulling fs layer [2022-08-29T03:26:21.914Z] b352a97aabf1: Waiting [2022-08-29T03:26:21.914Z] bde34c3a00c8: Waiting [2022-08-29T03:26:21.914Z] 988bab9f4d93: Waiting [2022-08-29T03:26:21.914Z] 1469e6f7b9e6: Waiting [2022-08-29T03:26:21.914Z] eaf3925da568: Waiting [2022-08-29T03:26:21.914Z] bab4dde63d76: Waiting [2022-08-29T03:26:21.914Z] 4872d77fe225: Waiting [2022-08-29T03:26:21.914Z] 5851b861e8e6: Waiting [2022-08-29T03:26:21.914Z] e2be974225ed: Verifying Checksum [2022-08-29T03:26:21.914Z] e2be974225ed: Download complete [2022-08-29T03:26:21.914Z] 988bab9f4d93: Download complete [2022-08-29T03:26:22.173Z] 1469e6f7b9e6: Verifying Checksum [2022-08-29T03:26:22.173Z] 1469e6f7b9e6: Download complete [2022-08-29T03:26:22.173Z] 339a4e72a1f5: Verifying Checksum [2022-08-29T03:26:22.173Z] 339a4e72a1f5: Download complete [2022-08-29T03:26:22.173Z] eaf3925da568: Download complete [2022-08-29T03:26:22.173Z] bde34c3a00c8: Verifying Checksum [2022-08-29T03:26:22.173Z] bde34c3a00c8: Download complete [2022-08-29T03:26:22.173Z] b352a97aabf1: Verifying Checksum [2022-08-29T03:26:22.173Z] b352a97aabf1: Download complete [2022-08-29T03:26:22.173Z] 4872d77fe225: Verifying Checksum [2022-08-29T03:26:22.173Z] 4872d77fe225: Download complete [2022-08-29T03:26:22.173Z] 5851b861e8e6: Verifying Checksum [2022-08-29T03:26:22.173Z] 5851b861e8e6: Download complete [2022-08-29T03:26:22.173Z] b85a868b505f: Verifying Checksum [2022-08-29T03:26:22.173Z] b85a868b505f: Download complete [2022-08-29T03:26:22.437Z] bab4dde63d76: Verifying Checksum [2022-08-29T03:26:22.437Z] bab4dde63d76: Download complete [2022-08-29T03:26:23.819Z] b85a868b505f: Pull complete [2022-08-29T03:26:23.819Z] e2be974225ed: Pull complete [2022-08-29T03:26:24.081Z] 339a4e72a1f5: Pull complete [2022-08-29T03:26:24.081Z] 988bab9f4d93: Pull complete [2022-08-29T03:26:24.653Z] 1469e6f7b9e6: Pull complete [2022-08-29T03:26:24.653Z] eaf3925da568: Pull complete [2022-08-29T03:26:26.565Z] bab4dde63d76: Pull complete [2022-08-29T03:26:26.565Z] bde34c3a00c8: Pull complete [2022-08-29T03:26:26.565Z] b352a97aabf1: Pull complete [2022-08-29T03:26:26.565Z] 4872d77fe225: Pull complete [2022-08-29T03:26:26.826Z] 5851b861e8e6: Pull complete [2022-08-29T03:26:26.826Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-29T03:26:26.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-29T03:26:26.826Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:26:26.948Z] prd-ubuntu20.04-docker-8c-8g-23752 does not seem to be running inside a container [2022-08-29T03:26:26.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-29T03:26:28.127Z] $ docker top b0cf1fdf17da8f9ef02f20fc3b0cee6ed69da62e4016eee23cdc3b0f7986bdfd -eo pid,comm [2022-08-29T03:26:28.187Z] 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). [2022-08-29T03:26:28.187Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-29T03:26:28.225Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-29T03:26:28.225Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-29T03:26:28.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-29T03:26:28.364Z] $ docker exec b0cf1fdf17da8f9ef02f20fc3b0cee6ed69da62e4016eee23cdc3b0f7986bdfd ssh-agent [2022-08-29T03:26:28.490Z] SSH_AUTH_SOCK=/tmp/ssh-NMsVLzAt2J6l/agent.33 [2022-08-29T03:26:28.490Z] SSH_AGENT_PID=39 [2022-08-29T03:26:28.496Z] Running ssh-add (command line suppressed) [2022-08-29T03:26:28.620Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-146@tmp/private_key_7558497721453023916.key (/w/workspace/undry_device-onvif-camera_PR-146@tmp/private_key_7558497721453023916.key) [2022-08-29T03:26:28.634Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-29T03:26:28.927Z] + git tag --points-at HEAD [Pipeline] } [2022-08-29T03:26:28.946Z] $ docker exec --env ******** --env ******** b0cf1fdf17da8f9ef02f20fc3b0cee6ed69da62e4016eee23cdc3b0f7986bdfd ssh-agent -k [2022-08-29T03:26:29.059Z] unset SSH_AUTH_SOCK; [2022-08-29T03:26:29.059Z] unset SSH_AGENT_PID; [2022-08-29T03:26:29.059Z] echo Agent pid 39 killed; [2022-08-29T03:26:29.069Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-29T03:26:29.090Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-29T03:26:29.090Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-29T03:26:29.205Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-29T03:26:29.211Z] $ docker exec b0cf1fdf17da8f9ef02f20fc3b0cee6ed69da62e4016eee23cdc3b0f7986bdfd ssh-agent [2022-08-29T03:26:29.346Z] SSH_AUTH_SOCK=/tmp/ssh-LbbEYj9OMTz3/agent.72 [2022-08-29T03:26:29.346Z] SSH_AGENT_PID=78 [2022-08-29T03:26:29.352Z] Running ssh-add (command line suppressed) [2022-08-29T03:26:29.470Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-146@tmp/private_key_7317347922486629648.key (/w/workspace/undry_device-onvif-camera_PR-146@tmp/private_key_7317347922486629648.key) [2022-08-29T03:26:29.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-29T03:26:29.781Z] + git semver init [2022-08-29T03:26:30.043Z] 2022-08-29 03:26:29,950 [run_init] DEBUG init version:0.0.0 force:False [2022-08-29T03:26:30.043Z] 2022-08-29 03:26:29,951 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-146/.semver [2022-08-29T03:26:30.043Z] 2022-08-29 03:26:29,951 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-146/.semver [2022-08-29T03:26:30.043Z] 2022-08-29 03:26:29,951 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-146/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-146, universal_newlines=False, shell=None, istream=None) [2022-08-29T03:26:30.985Z] 2022-08-29 03:26:30,734 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-146/.git/info/exclude [2022-08-29T03:26:30.985Z] 2022-08-29 03:26:30,734 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-146/.semver/PR-146 with force:False [2022-08-29T03:26:30.985Z] 2022-08-29 03:26:30,734 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-146/.semver/PR-146 [2022-08-29T03:26:30.985Z] 2022-08-29 03:26:30,739 [execute] INFO git cat-file --batch-check [2022-08-29T03:26:30.985Z] 2022-08-29 03:26:30,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-146/.semver, universal_newlines=False, shell=None, istream=) [2022-08-29T03:26:30.985Z] 2022-08-29 03:26:30,746 [execute] INFO git cat-file --batch [2022-08-29T03:26:30.985Z] 2022-08-29 03:26:30,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-146/.semver, universal_newlines=False, shell=None, istream=) [2022-08-29T03:26:30.985Z] 2022-08-29 03:26:30,751 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-146/.semver/PR-146 [2022-08-29T03:26:30.985Z] 0.0.0 [Pipeline] } [2022-08-29T03:26:30.999Z] $ docker exec --env ******** --env ******** b0cf1fdf17da8f9ef02f20fc3b0cee6ed69da62e4016eee23cdc3b0f7986bdfd ssh-agent -k [2022-08-29T03:26:31.114Z] unset SSH_AUTH_SOCK; [2022-08-29T03:26:31.115Z] unset SSH_AGENT_PID; [2022-08-29T03:26:31.115Z] echo Agent pid 78 killed; [2022-08-29T03:26:31.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-29T03:26:31.436Z] + git semver [Pipeline] } [2022-08-29T03:26:31.715Z] $ docker stop --time=1 b0cf1fdf17da8f9ef02f20fc3b0cee6ed69da62e4016eee23cdc3b0f7986bdfd [2022-08-29T03:26:33.038Z] $ docker rm -f b0cf1fdf17da8f9ef02f20fc3b0cee6ed69da62e4016eee23cdc3b0f7986bdfd [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-29T03:26:33.391Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-29T03:26:33.639Z] Stashed 1 file(s) [Pipeline] echo [2022-08-29T03:26:33.641Z] [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 [2022-08-29T03:26:33.794Z] provisioning config files... [2022-08-29T03:26:33.809Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-146@tmp/config6832534368513493075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:26:34.108Z] ---> docker-login.sh [2022-08-29T03:26:34.108Z] nexus3.edgexfoundry.org:10001 [2022-08-29T03:26:34.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:26:34.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:26:34.108Z] Configure a credential helper to remove this warning. See [2022-08-29T03:26:34.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:26:34.108Z] [2022-08-29T03:26:34.108Z] Login Succeeded [2022-08-29T03:26:34.108Z] nexus3.edgexfoundry.org:10002 [2022-08-29T03:26:34.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:26:34.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:26:34.368Z] Configure a credential helper to remove this warning. See [2022-08-29T03:26:34.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:26:34.368Z] [2022-08-29T03:26:34.368Z] Login Succeeded [2022-08-29T03:26:34.368Z] nexus3.edgexfoundry.org:10003 [2022-08-29T03:26:34.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:26:34.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:26:34.368Z] Configure a credential helper to remove this warning. See [2022-08-29T03:26:34.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:26:34.368Z] [2022-08-29T03:26:34.368Z] Login Succeeded [2022-08-29T03:26:34.368Z] nexus3.edgexfoundry.org:10004 [2022-08-29T03:26:34.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:26:34.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:26:34.629Z] Configure a credential helper to remove this warning. See [2022-08-29T03:26:34.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:26:34.629Z] [2022-08-29T03:26:34.629Z] Login Succeeded [2022-08-29T03:26:34.629Z] docker.io [2022-08-29T03:26:34.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:26:34.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:26:34.890Z] Configure a credential helper to remove this warning. See [2022-08-29T03:26:34.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:26:34.890Z] [2022-08-29T03:26:34.890Z] Login Succeeded [2022-08-29T03:26:34.890Z] ---> docker-login.sh ends [Pipeline] } [2022-08-29T03:26:34.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-29T03:26:34.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-29T03:26:34.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-29T03:26:34.988Z] ========================================================= [2022-08-29T03:26:34.988Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-29T03:26:34.988Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:26:35.304Z] + 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 . [2022-08-29T03:26:35.304Z] Sending build context to Docker daemon 20.6MB [2022-08-29T03:26:35.304Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-29T03:26:35.304Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-29T03:26:35.567Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-29T03:26:35.567Z] 2408cc74d12b: Pulling fs layer [2022-08-29T03:26:35.567Z] ea60b727a1ce: Pulling fs layer [2022-08-29T03:26:35.567Z] 30c4a7721957: Pulling fs layer [2022-08-29T03:26:35.567Z] 370296b7ddb6: Pulling fs layer [2022-08-29T03:26:35.567Z] 7c6cee850709: Pulling fs layer [2022-08-29T03:26:35.567Z] 39a5fcdaea64: Pulling fs layer [2022-08-29T03:26:35.567Z] d94ebbe4e438: Pulling fs layer [2022-08-29T03:26:35.567Z] bcfd1f05c69d: Pulling fs layer [2022-08-29T03:26:35.567Z] 59ccb84bbe0f: Pulling fs layer [2022-08-29T03:26:35.567Z] 7c6cee850709: Waiting [2022-08-29T03:26:35.567Z] bcfd1f05c69d: Waiting [2022-08-29T03:26:35.567Z] 39a5fcdaea64: Waiting [2022-08-29T03:26:35.567Z] 59ccb84bbe0f: Waiting [2022-08-29T03:26:35.567Z] 30c4a7721957: Verifying Checksum [2022-08-29T03:26:35.567Z] 30c4a7721957: Download complete [2022-08-29T03:26:35.567Z] ea60b727a1ce: Verifying Checksum [2022-08-29T03:26:35.567Z] ea60b727a1ce: Download complete [2022-08-29T03:26:35.567Z] 7c6cee850709: Verifying Checksum [2022-08-29T03:26:35.567Z] 7c6cee850709: Download complete [2022-08-29T03:26:35.567Z] 39a5fcdaea64: Verifying Checksum [2022-08-29T03:26:35.567Z] 39a5fcdaea64: Download complete [2022-08-29T03:26:35.567Z] 2408cc74d12b: Verifying Checksum [2022-08-29T03:26:35.567Z] 2408cc74d12b: Download complete [2022-08-29T03:26:35.567Z] d94ebbe4e438: Download complete [2022-08-29T03:26:35.567Z] 2408cc74d12b: Pull complete [2022-08-29T03:26:35.827Z] ea60b727a1ce: Pull complete [2022-08-29T03:26:35.827Z] 30c4a7721957: Pull complete [2022-08-29T03:26:36.096Z] 59ccb84bbe0f: Verifying Checksum [2022-08-29T03:26:36.096Z] 59ccb84bbe0f: Download complete [2022-08-29T03:26:36.356Z] 370296b7ddb6: Verifying Checksum [2022-08-29T03:26:36.356Z] 370296b7ddb6: Download complete [2022-08-29T03:26:36.356Z] bcfd1f05c69d: Download complete [2022-08-29T03:26:40.552Z] 370296b7ddb6: Pull complete [2022-08-29T03:26:40.552Z] 7c6cee850709: Pull complete [2022-08-29T03:26:40.552Z] 39a5fcdaea64: Pull complete [2022-08-29T03:26:40.813Z] d94ebbe4e438: Pull complete [2022-08-29T03:26:42.733Z] bcfd1f05c69d: Pull complete [2022-08-29T03:26:43.673Z] 59ccb84bbe0f: Pull complete [2022-08-29T03:26:43.673Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-29T03:26:43.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-29T03:26:43.673Z] ---> a4fb48ad2a94 [2022-08-29T03:26:43.673Z] Step 3/13 : ARG MAKE="make build" [2022-08-29T03:26:45.059Z] ---> Running in 9c071b9a7454 [2022-08-29T03:26:45.059Z] Removing intermediate container 9c071b9a7454 [2022-08-29T03:26:45.059Z] ---> 39f3bf0b9f81 [2022-08-29T03:26:45.059Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-29T03:26:45.059Z] ---> Running in fa3d5c94628d [2022-08-29T03:26:45.059Z] Removing intermediate container fa3d5c94628d [2022-08-29T03:26:45.059Z] ---> 03f695faab73 [2022-08-29T03:26:45.059Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-29T03:26:45.059Z] ---> Running in 81eb1ad6ccc3 [2022-08-29T03:26:45.320Z] Removing intermediate container 81eb1ad6ccc3 [2022-08-29T03:26:45.320Z] ---> e03cd44c2b3e [2022-08-29T03:26:45.320Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-29T03:26:45.320Z] ---> Running in ac2879a5b38f [2022-08-29T03:26:45.320Z] Removing intermediate container ac2879a5b38f [2022-08-29T03:26:45.320Z] ---> da53e20392dd [2022-08-29T03:26:45.320Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-29T03:26:45.320Z] ---> Running in 23d666e4f728 [2022-08-29T03:26:45.893Z] Removing intermediate container 23d666e4f728 [2022-08-29T03:26:45.893Z] ---> d4dd4a26cafa [2022-08-29T03:26:45.893Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-29T03:26:45.893Z] ---> Running in 43f75829c118 [2022-08-29T03:26:46.156Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-29T03:26:47.100Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-29T03:26:47.360Z] OK: 211 MiB in 51 packages [2022-08-29T03:26:47.621Z] Removing intermediate container 43f75829c118 [2022-08-29T03:26:47.621Z] ---> a0cb257da79f [2022-08-29T03:26:47.621Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-29T03:26:47.621Z] ---> Running in 551e04c1621d [2022-08-29T03:26:47.883Z] Removing intermediate container 551e04c1621d [2022-08-29T03:26:47.883Z] ---> e8cafd5036e9 [2022-08-29T03:26:47.883Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-29T03:26:47.883Z] ---> 994e3ff1a236 [2022-08-29T03:26:47.883Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-29T03:26:47.883Z] ---> Running in 6d39f960e58b [2022-08-29T03:26:48.750Z] Still waiting to schedule task [2022-08-29T03:26:48.751Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-29T03:27:06.000Z] Removing intermediate container 6d39f960e58b [2022-08-29T03:27:06.000Z] ---> 3c377e93f8e1 [2022-08-29T03:27:06.000Z] Step 12/13 : COPY . . [2022-08-29T03:27:06.000Z] ---> f01a591537e2 [2022-08-29T03:27:06.000Z] Step 13/13 : RUN ${MAKE} [2022-08-29T03:27:06.000Z] ---> Running in 94caf81d5650 [2022-08-29T03:27:06.000Z] noop [2022-08-29T03:27:06.000Z] Removing intermediate container 94caf81d5650 [2022-08-29T03:27:06.000Z] ---> 55be6315e082 [2022-08-29T03:27:06.000Z] Successfully built 55be6315e082 [2022-08-29T03:27:06.000Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:27:06.328Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-29T03:27:06.328Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:27:06.413Z] prd-ubuntu20.04-docker-8c-8g-23752 does not seem to be running inside a container [2022-08-29T03:27:06.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-29T03:27:06.784Z] $ docker top c6b50d8133723b45af5407850ebc5d41708f90ffda51285e13517a537ddea0e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T03:27:07.140Z] + go version [2022-08-29T03:27:07.140Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-29T03:27:07.155Z] $ docker stop --time=1 c6b50d8133723b45af5407850ebc5d41708f90ffda51285e13517a537ddea0e3 [2022-08-29T03:27:08.435Z] $ docker rm -f c6b50d8133723b45af5407850ebc5d41708f90ffda51285e13517a537ddea0e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:27:08.856Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-29T03:27:08.856Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:27:08.944Z] prd-ubuntu20.04-docker-8c-8g-23752 does not seem to be running inside a container [2022-08-29T03:27:08.980Z] $ 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-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-29T03:27:09.360Z] $ docker top 952df31abc6a2b10759f15056cc864494e49b8bd7d99beb43bb968017f2bc02f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T03:27:09.772Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-146 [Pipeline] fileExists [Pipeline] sh [2022-08-29T03:27:10.081Z] + make test [2022-08-29T03:27:10.081Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-29T03:27:10.339Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-29T03:27:20.326Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-29T03:27:20.586Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.027s coverage: 10.5% of statements [2022-08-29T03:27:20.586Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-29T03:27:24.785Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.345s coverage: 13.8% of statements [2022-08-29T03:27:31.362Z] 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." [2022-08-29T03:27:31.362Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-29T03:27:34.655Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-29T03:27:34.655Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-29T03:27:34.655Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-29T03:27:34.670Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-29T03:27:34.688Z] $ docker stop --time=1 952df31abc6a2b10759f15056cc864494e49b8bd7d99beb43bb968017f2bc02f [2022-08-29T03:27:36.349Z] $ docker rm -f 952df31abc6a2b10759f15056cc864494e49b8bd7d99beb43bb968017f2bc02f [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-29T03:27:36.797Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-29T03:27:36.863Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-29T03:27:37.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-29T03:27:37.604Z] + ls -al . [2022-08-29T03:27:37.605Z] total 232 [2022-08-29T03:27:37.605Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 29 03:27 . [2022-08-29T03:27:37.605Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:26 .. [2022-08-29T03:27:37.605Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 03:27 .git [2022-08-29T03:27:37.605Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:26 .github [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 29 03:26 .gitignore [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 29 03:26 .golangci.yml [2022-08-29T03:27:37.605Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 03:26 .semver [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 29 03:26 Attribution.txt [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 29 03:26 CHANGELOG.md [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 29 03:26 Dockerfile [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 03:26 GOVERNANCE.md [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 29 03:26 Jenkinsfile [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 29 03:26 LICENSE [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 29 03:26 Makefile [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 29 03:26 OWNERS.md [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 29 03:26 README.md [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 29 03:26 VERSION [2022-08-29T03:27:37.605Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 03:26 bin [2022-08-29T03:27:37.605Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:26 cmd [2022-08-29T03:27:37.605Z] -rw-r--r-- 1 jenkins jenkins 77822 Aug 29 03:27 coverage.out [2022-08-29T03:27:37.605Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 29 03:26 doc [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 29 03:26 go.mod [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 29 03:26 go.sum [2022-08-29T03:27:37.605Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:26 internal [2022-08-29T03:27:37.605Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:26 snap [2022-08-29T03:27:37.605Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 29 03:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:27:37.914Z] + 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=c59b58dcab6ff79b612679c6b5509f76a7f4158c --label arch=amd64 --label version=0.0.0 . [2022-08-29T03:27:37.914Z] Sending build context to Docker daemon 20.68MB [2022-08-29T03:27:37.914Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-29T03:27:37.914Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-29T03:27:37.914Z] ---> 55be6315e082 [2022-08-29T03:27:37.914Z] Step 3/26 : ARG MAKE="make build" [2022-08-29T03:27:38.174Z] ---> Running in c9f070704c66 [2022-08-29T03:27:38.174Z] Removing intermediate container c9f070704c66 [2022-08-29T03:27:38.174Z] ---> 0813549758c2 [2022-08-29T03:27:38.174Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-29T03:27:38.175Z] ---> Running in 6b652b3d0e6f [2022-08-29T03:27:38.175Z] Removing intermediate container 6b652b3d0e6f [2022-08-29T03:27:38.175Z] ---> dbfb5dea0725 [2022-08-29T03:27:38.175Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-29T03:27:38.175Z] ---> Running in 9061605080bd [2022-08-29T03:27:38.435Z] Removing intermediate container 9061605080bd [2022-08-29T03:27:38.435Z] ---> 445bd7c6ebe0 [2022-08-29T03:27:38.435Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-29T03:27:38.435Z] ---> Running in b25def072d16 [2022-08-29T03:27:38.435Z] Removing intermediate container b25def072d16 [2022-08-29T03:27:38.435Z] ---> 6c4031cd2a7d [2022-08-29T03:27:38.435Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-29T03:27:38.435Z] ---> Running in 06374c41f1ef [2022-08-29T03:27:39.006Z] Removing intermediate container 06374c41f1ef [2022-08-29T03:27:39.006Z] ---> b0c1a6ffcc5f [2022-08-29T03:27:39.006Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-29T03:27:39.006Z] ---> Running in 8f9a54976df6 [2022-08-29T03:27:39.267Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-29T03:27:40.209Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-29T03:27:40.470Z] OK: 211 MiB in 51 packages [2022-08-29T03:27:40.731Z] Removing intermediate container 8f9a54976df6 [2022-08-29T03:27:40.731Z] ---> d0432fa1297c [2022-08-29T03:27:40.731Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-29T03:27:40.731Z] ---> Running in d19a9afb9fd1 [2022-08-29T03:27:40.991Z] Removing intermediate container d19a9afb9fd1 [2022-08-29T03:27:40.991Z] ---> a9897f2e7da0 [2022-08-29T03:27:40.991Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-29T03:27:40.991Z] ---> 8caf55387791 [2022-08-29T03:27:40.991Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-29T03:27:40.991Z] ---> Running in e7a4df41d7c2 [2022-08-29T03:27:41.928Z] Removing intermediate container e7a4df41d7c2 [2022-08-29T03:27:41.928Z] ---> 2bc13f17580b [2022-08-29T03:27:41.928Z] Step 12/26 : COPY . . [2022-08-29T03:27:42.189Z] ---> 3d5cd4fad618 [2022-08-29T03:27:42.189Z] Step 13/26 : RUN ${MAKE} [2022-08-29T03:27:42.189Z] ---> Running in f334e5f34505 [2022-08-29T03:27:42.449Z] 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 [2022-08-29T03:28:04.390Z] Removing intermediate container f334e5f34505 [2022-08-29T03:28:04.390Z] ---> bf4c49468a81 [2022-08-29T03:28:04.390Z] Step 14/26 : FROM alpine:3.16 [2022-08-29T03:28:04.390Z] 3.16: Pulling from library/alpine [2022-08-29T03:28:04.390Z] 213ec9aee27d: Pulling fs layer [2022-08-29T03:28:04.390Z] 213ec9aee27d: Download complete [2022-08-29T03:28:04.390Z] 213ec9aee27d: Pull complete [2022-08-29T03:28:04.390Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-29T03:28:04.390Z] Status: Downloaded newer image for alpine:3.16 [2022-08-29T03:28:04.390Z] ---> 9c6f07244728 [2022-08-29T03:28:04.390Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-29T03:28:04.390Z] ---> Running in 0d59f5b7d72d [2022-08-29T03:28:04.390Z] Removing intermediate container 0d59f5b7d72d [2022-08-29T03:28:04.390Z] ---> 5930910910d1 [2022-08-29T03:28:04.390Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-29T03:28:04.390Z] ---> Running in 59f11a56123c [2022-08-29T03:28:04.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-29T03:28:04.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-29T03:28:04.390Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-29T03:28:04.390Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-29T03:28:04.390Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-29T03:28:04.390Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-29T03:28:04.390Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-29T03:28:04.390Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-29T03:28:04.390Z] Executing busybox-1.35.0-r17.trigger [2022-08-29T03:28:04.390Z] OK: 8 MiB in 20 packages [2022-08-29T03:28:04.390Z] Removing intermediate container 59f11a56123c [2022-08-29T03:28:04.390Z] ---> 78e9a0c2669e [2022-08-29T03:28:04.390Z] Step 17/26 : WORKDIR / [2022-08-29T03:28:04.390Z] ---> Running in 94d9a29f835c [2022-08-29T03:28:04.390Z] Removing intermediate container 94d9a29f835c [2022-08-29T03:28:04.390Z] ---> ffa4c5595913 [2022-08-29T03:28:04.390Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-29T03:28:04.390Z] ---> 2e7854c60db7 [2022-08-29T03:28:04.390Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-29T03:28:04.390Z] ---> 959fbcfd8f39 [2022-08-29T03:28:04.390Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-29T03:28:04.390Z] ---> 69b06f599882 [2022-08-29T03:28:04.390Z] Step 21/26 : EXPOSE 59984 [2022-08-29T03:28:04.390Z] ---> Running in 5fae57349467 [2022-08-29T03:28:04.390Z] Removing intermediate container 5fae57349467 [2022-08-29T03:28:04.390Z] ---> f851ed37d6e4 [2022-08-29T03:28:04.390Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-29T03:28:04.390Z] ---> Running in 584c390dd57f [2022-08-29T03:28:04.390Z] Removing intermediate container 584c390dd57f [2022-08-29T03:28:04.390Z] ---> 5d1300bb59d8 [2022-08-29T03:28:04.390Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-29T03:28:04.390Z] ---> Running in 55a6b5219faa [2022-08-29T03:28:04.390Z] Removing intermediate container 55a6b5219faa [2022-08-29T03:28:04.390Z] ---> 01ccd624d27c [2022-08-29T03:28:04.390Z] Step 24/26 : LABEL arch=amd64 [2022-08-29T03:28:04.390Z] ---> Running in 74737a302d6d [2022-08-29T03:28:04.390Z] Removing intermediate container 74737a302d6d [2022-08-29T03:28:04.390Z] ---> 916f49d656ca [2022-08-29T03:28:04.390Z] Step 25/26 : LABEL git_sha=c59b58dcab6ff79b612679c6b5509f76a7f4158c [2022-08-29T03:28:04.390Z] ---> Running in 49dc3ff27421 [2022-08-29T03:28:04.651Z] Removing intermediate container 49dc3ff27421 [2022-08-29T03:28:04.651Z] ---> f88593ae8b24 [2022-08-29T03:28:04.651Z] Step 26/26 : LABEL version=0.0.0 [2022-08-29T03:28:04.651Z] ---> Running in bbad42ef22a8 [2022-08-29T03:28:04.651Z] Removing intermediate container bbad42ef22a8 [2022-08-29T03:28:04.651Z] ---> 412d5dc2fb86 [2022-08-29T03:28:04.651Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-29T03:28:04.651Z] Successfully built 412d5dc2fb86 [2022-08-29T03:28:04.651Z] 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 [2022-08-29T03:28:05.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-29T03:28:05.094Z] [2022-08-29T03:28:05.094Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:28:05.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-29T03:28:05.399Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-29T03:28:05.399Z] 5eb5b503b376: Pulling fs layer [2022-08-29T03:28:05.399Z] 5c69ac0246d0: Pulling fs layer [2022-08-29T03:28:05.399Z] ec43610c2a17: Pulling fs layer [2022-08-29T03:28:05.399Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-29T03:28:05.399Z] 33b1e0a273af: Pulling fs layer [2022-08-29T03:28:05.399Z] 33b1e0a273af: Waiting [2022-08-29T03:28:05.399Z] 3a2ae6a8a46f: Waiting [2022-08-29T03:28:05.399Z] 5d3b04190fa2: Pulling fs layer [2022-08-29T03:28:05.399Z] 2f39f015ded8: Pulling fs layer [2022-08-29T03:28:05.399Z] 5d3b04190fa2: Waiting [2022-08-29T03:28:05.399Z] 2f39f015ded8: Waiting [2022-08-29T03:28:05.399Z] 5c69ac0246d0: Verifying Checksum [2022-08-29T03:28:05.399Z] 5c69ac0246d0: Download complete [2022-08-29T03:28:05.399Z] 3a2ae6a8a46f: Download complete [2022-08-29T03:28:05.399Z] 33b1e0a273af: Verifying Checksum [2022-08-29T03:28:05.399Z] 33b1e0a273af: Download complete [2022-08-29T03:28:05.399Z] 5d3b04190fa2: Verifying Checksum [2022-08-29T03:28:05.399Z] 5d3b04190fa2: Download complete [2022-08-29T03:28:05.399Z] ec43610c2a17: Verifying Checksum [2022-08-29T03:28:05.399Z] ec43610c2a17: Download complete [2022-08-29T03:28:05.660Z] 5eb5b503b376: Verifying Checksum [2022-08-29T03:28:05.660Z] 5eb5b503b376: Download complete [2022-08-29T03:28:06.230Z] 2f39f015ded8: Download complete [2022-08-29T03:28:06.798Z] 5eb5b503b376: Pull complete [2022-08-29T03:28:07.058Z] 5c69ac0246d0: Pull complete [2022-08-29T03:28:07.319Z] ec43610c2a17: Pull complete [2022-08-29T03:28:07.578Z] 3a2ae6a8a46f: Pull complete [2022-08-29T03:28:07.838Z] 33b1e0a273af: Pull complete [2022-08-29T03:28:07.838Z] 5d3b04190fa2: Pull complete [2022-08-29T03:28:12.033Z] 2f39f015ded8: Pull complete [2022-08-29T03:28:12.033Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-29T03:28:12.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-29T03:28:12.033Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:28:12.142Z] prd-ubuntu20.04-docker-8c-8g-23752 does not seem to be running inside a container [2022-08-29T03:28:12.182Z] $ 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-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-29T03:28:13.583Z] $ docker top adce6a1d72001f12afb81be4e28cd7dc72b140780633ea47a2529018a56558d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:28:13.965Z] ---> job-cost.sh [2022-08-29T03:28:13.965Z] lf-activate-venv: SKIPPING [2022-08-29T03:28:13.965Z] INFO: No Stack... [2022-08-29T03:28:14.536Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-29T03:28:14.796Z] INFO: Archiving Costs [Pipeline] sh [2022-08-29T03:28:15.091Z] + cat /w/workspace/undry_device-onvif-camera_PR-146/archives/cost.csv [2022-08-29T03:28:15.091Z] + cut -d, -f6 [Pipeline] lock [2022-08-29T03:28:15.107Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-146-2-stack-cost] [2022-08-29T03:28:15.113Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-146-2-stack-cost] did not exist. Created. [2022-08-29T03:28:15.113Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-29T03:28:15.421Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-29T03:28:15.447Z] Stashed 1 file(s) [Pipeline] } [2022-08-29T03:28:15.454Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-29T03:28:15.481Z] $ docker stop --time=1 adce6a1d72001f12afb81be4e28cd7dc72b140780633ea47a2529018a56558d4 [2022-08-29T03:28:16.647Z] $ docker rm -f adce6a1d72001f12afb81be4e28cd7dc72b140780633ea47a2529018a56558d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-29T03:29:12.703Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23754 in /w/workspace/undry_device-onvif-camera_PR-146 [Pipeline] { [Pipeline] ws [2022-08-29T03:29:12.719Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-08-29T03:29:12.801Z] Selected Git installation does not exist. Using Default [2022-08-29T03:29:12.801Z] The recommended git tool is: NONE [2022-08-29T03:29:19.731Z] using credential edgex-jenkins-ssh [2022-08-29T03:29:19.748Z] Cloning the remote Git repository [2022-08-29T03:29:19.815Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-29T03:29:19.891Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-08-29T03:29:19.973Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-29T03:29:19.973Z] > git --version # timeout=10 [2022-08-29T03:29:19.995Z] > git --version # 'git version 2.25.1' [2022-08-29T03:29:19.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-29T03:29:20.129Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-29T03:29:21.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-29T03:29:21.364Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-29T03:29:21.405Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-29T03:29:21.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-29T03:29:21.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-29T03:29:21.464Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-29T03:29:21.988Z] Merging remotes/origin/main commit 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 into PR head commit c59b58dcab6ff79b612679c6b5509f76a7f4158c [2022-08-29T03:29:22.354Z] Merge succeeded, producing c59b58dcab6ff79b612679c6b5509f76a7f4158c [2022-08-29T03:29:22.354Z] Checking out Revision c59b58dcab6ff79b612679c6b5509f76a7f4158c (PR-146) [2022-08-29T03:29:22.010Z] > git config core.sparsecheckout # timeout=10 [2022-08-29T03:29:22.025Z] > git checkout -f c59b58dcab6ff79b612679c6b5509f76a7f4158c # timeout=10 [2022-08-29T03:29:22.257Z] > git remote # timeout=10 [2022-08-29T03:29:22.286Z] > git config --get remote.origin.url # timeout=10 [2022-08-29T03:29:22.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-29T03:29:22.312Z] > git merge 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 # timeout=10 [2022-08-29T03:29:22.337Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-29T03:29:22.364Z] > git config core.sparsecheckout # timeout=10 [2022-08-29T03:29:22.376Z] > git checkout -f c59b58dcab6ff79b612679c6b5509f76a7f4158c # timeout=10 [2022-08-29T03:29:26.757Z] Commit message: "fix: Check whether the onvif response is valid" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-29T03:29:27.587Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-29T03:29:27.587Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-29T03:29:27.587Z] Dload Upload Total Spent Left Speed [2022-08-29T03:29:27.587Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 241k 0 --:--:-- --:--:-- --:--:-- 241k [Pipeline] sh [2022-08-29T03:29:28.271Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-29T03:29:28.618Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-29T03:29:28.618Z] + sudo tee /etc/docker/daemon.new [2022-08-29T03:29:28.618Z] { [2022-08-29T03:29:28.618Z] "registry-mirrors": [ [2022-08-29T03:29:28.618Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-29T03:29:28.618Z] ], [2022-08-29T03:29:28.618Z] "bip": "10.250.0.254/24", [2022-08-29T03:29:28.618Z] "hosts": [ [2022-08-29T03:29:28.618Z] "tcp://0.0.0.0:5555", [2022-08-29T03:29:28.618Z] "unix:///var/run/docker.sock" [2022-08-29T03:29:28.618Z] ], [2022-08-29T03:29:28.618Z] "mtu": 1458, [2022-08-29T03:29:28.618Z] "selinux-enabled": true, [2022-08-29T03:29:28.618Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-29T03:29:28.618Z] } [Pipeline] sh [2022-08-29T03:29:29.003Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-29T03:29:29.341Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-29T03:29:47.677Z] provisioning config files... [2022-08-29T03:29:47.700Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config3450930141825720953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:29:48.196Z] ---> docker-login.sh [2022-08-29T03:29:48.196Z] nexus3.edgexfoundry.org:10001 [2022-08-29T03:29:48.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:29:49.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:29:49.065Z] Configure a credential helper to remove this warning. See [2022-08-29T03:29:49.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:29:49.065Z] [2022-08-29T03:29:49.065Z] Login Succeeded [2022-08-29T03:29:49.065Z] nexus3.edgexfoundry.org:10002 [2022-08-29T03:29:49.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:29:49.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:29:49.613Z] Configure a credential helper to remove this warning. See [2022-08-29T03:29:49.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:29:49.613Z] [2022-08-29T03:29:49.613Z] Login Succeeded [2022-08-29T03:29:49.613Z] nexus3.edgexfoundry.org:10003 [2022-08-29T03:29:49.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:29:49.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:29:49.885Z] Configure a credential helper to remove this warning. See [2022-08-29T03:29:49.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:29:49.885Z] [2022-08-29T03:29:49.885Z] Login Succeeded [2022-08-29T03:29:50.171Z] nexus3.edgexfoundry.org:10004 [2022-08-29T03:29:50.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:29:50.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:29:50.443Z] Configure a credential helper to remove this warning. See [2022-08-29T03:29:50.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:29:50.443Z] [2022-08-29T03:29:50.443Z] Login Succeeded [2022-08-29T03:29:50.443Z] docker.io [2022-08-29T03:29:50.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-29T03:29:51.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-29T03:29:51.309Z] Configure a credential helper to remove this warning. See [2022-08-29T03:29:51.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-29T03:29:51.309Z] [2022-08-29T03:29:51.309Z] Login Succeeded [2022-08-29T03:29:51.309Z] ---> docker-login.sh ends [Pipeline] } [2022-08-29T03:29:51.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-29T03:29:51.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-29T03:29:51.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-29T03:29:51.599Z] ========================================================= [2022-08-29T03:29:51.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-29T03:29:51.599Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:29:51.958Z] + 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 . [2022-08-29T03:29:52.553Z] Sending build context to Docker daemon 14.1MB [2022-08-29T03:29:52.553Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-29T03:29:52.553Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-29T03:29:52.553Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-29T03:29:52.553Z] b3c136eddcbf: Pulling fs layer [2022-08-29T03:29:52.553Z] c0a3192eca97: Pulling fs layer [2022-08-29T03:29:52.553Z] a050256f5b6f: Pulling fs layer [2022-08-29T03:29:52.553Z] 656be50a0ddc: Pulling fs layer [2022-08-29T03:29:52.553Z] 2bbca73fdf42: Pulling fs layer [2022-08-29T03:29:52.553Z] 46d945488cbd: Pulling fs layer [2022-08-29T03:29:52.553Z] 8a5474983e97: Pulling fs layer [2022-08-29T03:29:52.553Z] 329c88fbcd65: Pulling fs layer [2022-08-29T03:29:52.553Z] 46d945488cbd: Waiting [2022-08-29T03:29:52.553Z] 8a5474983e97: Waiting [2022-08-29T03:29:52.553Z] 656be50a0ddc: Waiting [2022-08-29T03:29:52.553Z] 329c88fbcd65: Waiting [2022-08-29T03:29:52.553Z] 2bbca73fdf42: Waiting [2022-08-29T03:29:52.833Z] a050256f5b6f: Verifying Checksum [2022-08-29T03:29:52.833Z] a050256f5b6f: Download complete [2022-08-29T03:29:52.833Z] c0a3192eca97: Verifying Checksum [2022-08-29T03:29:52.833Z] c0a3192eca97: Download complete [2022-08-29T03:29:52.833Z] 2bbca73fdf42: Download complete [2022-08-29T03:29:52.833Z] 46d945488cbd: Download complete [2022-08-29T03:29:52.833Z] b3c136eddcbf: Verifying Checksum [2022-08-29T03:29:52.833Z] b3c136eddcbf: Download complete [2022-08-29T03:29:53.834Z] b3c136eddcbf: Pull complete [2022-08-29T03:29:53.834Z] 329c88fbcd65: Verifying Checksum [2022-08-29T03:29:53.834Z] 329c88fbcd65: Download complete [2022-08-29T03:29:54.113Z] c0a3192eca97: Pull complete [2022-08-29T03:29:54.388Z] a050256f5b6f: Pull complete [2022-08-29T03:29:54.988Z] 8a5474983e97: Verifying Checksum [2022-08-29T03:29:54.988Z] 8a5474983e97: Download complete [2022-08-29T03:29:55.579Z] 656be50a0ddc: Verifying Checksum [2022-08-29T03:29:55.579Z] 656be50a0ddc: Download complete [2022-08-29T03:30:07.965Z] 656be50a0ddc: Pull complete [2022-08-29T03:30:07.965Z] 2bbca73fdf42: Pull complete [2022-08-29T03:30:07.965Z] 46d945488cbd: Pull complete [2022-08-29T03:30:12.262Z] 8a5474983e97: Pull complete [2022-08-29T03:30:14.249Z] 329c88fbcd65: Pull complete [2022-08-29T03:30:14.249Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-29T03:30:14.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-29T03:30:14.249Z] ---> ff4287adb874 [2022-08-29T03:30:14.249Z] Step 3/13 : ARG MAKE="make build" [2022-08-29T03:30:16.241Z] ---> Running in 347af7402694 [2022-08-29T03:30:16.241Z] Removing intermediate container 347af7402694 [2022-08-29T03:30:16.241Z] ---> 7f61d340fb63 [2022-08-29T03:30:16.241Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-29T03:30:16.517Z] ---> Running in 46580155beda [2022-08-29T03:30:16.794Z] Removing intermediate container 46580155beda [2022-08-29T03:30:16.794Z] ---> 61dd16b9a18f [2022-08-29T03:30:16.794Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-29T03:30:16.794Z] ---> Running in b0f8d17a916b [2022-08-29T03:30:17.068Z] Removing intermediate container b0f8d17a916b [2022-08-29T03:30:17.068Z] ---> 822ffcbf127e [2022-08-29T03:30:17.068Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-29T03:30:17.068Z] ---> Running in d865b49f50d4 [2022-08-29T03:30:17.346Z] Removing intermediate container d865b49f50d4 [2022-08-29T03:30:17.346Z] ---> f07f7178cf0d [2022-08-29T03:30:17.346Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-29T03:30:17.619Z] ---> Running in 647cab8216b4 [2022-08-29T03:30:19.614Z] Removing intermediate container 647cab8216b4 [2022-08-29T03:30:19.614Z] ---> fc5b8c275bee [2022-08-29T03:30:19.614Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-29T03:30:19.614Z] ---> Running in 36382dd786d9 [2022-08-29T03:30:21.596Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-29T03:30:22.575Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-29T03:30:23.562Z] OK: 221 MiB in 51 packages [2022-08-29T03:30:24.169Z] Removing intermediate container 36382dd786d9 [2022-08-29T03:30:24.169Z] ---> fbfc302b3844 [2022-08-29T03:30:24.169Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-29T03:30:24.443Z] ---> Running in f5189d52f4b6 [2022-08-29T03:30:24.717Z] Removing intermediate container f5189d52f4b6 [2022-08-29T03:30:24.717Z] ---> e93d28537cfa [2022-08-29T03:30:24.717Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-29T03:30:25.323Z] ---> f51973194a33 [2022-08-29T03:30:25.323Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-29T03:30:25.323Z] ---> Running in 7b397f882b3f [2022-08-29T03:31:12.283Z] Removing intermediate container 7b397f882b3f [2022-08-29T03:31:12.283Z] ---> 3649eee6dfc3 [2022-08-29T03:31:12.283Z] Step 12/13 : COPY . . [2022-08-29T03:31:13.261Z] ---> 41d91e41d79f [2022-08-29T03:31:13.261Z] Step 13/13 : RUN ${MAKE} [2022-08-29T03:31:13.261Z] ---> Running in 724afa5707c6 [2022-08-29T03:31:14.246Z] noop [2022-08-29T03:31:14.842Z] Removing intermediate container 724afa5707c6 [2022-08-29T03:31:14.842Z] ---> eb59af75ea02 [2022-08-29T03:31:15.114Z] Successfully built eb59af75ea02 [2022-08-29T03:31:15.114Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:31:15.488Z] + docker inspect -f . ci-base-image-arm64 [2022-08-29T03:31:15.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:31:15.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-23754 does not seem to be running inside a container [2022-08-29T03:31:15.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-29T03:31:17.063Z] $ docker top e0eb09fa3ac862c65571680c95634da105b6b6a1fb2a1b2e9326e363090259b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T03:31:17.954Z] + go version [2022-08-29T03:31:17.954Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-29T03:31:17.985Z] $ docker stop --time=1 e0eb09fa3ac862c65571680c95634da105b6b6a1fb2a1b2e9326e363090259b9 [2022-08-29T03:31:19.582Z] $ docker rm -f e0eb09fa3ac862c65571680c95634da105b6b6a1fb2a1b2e9326e363090259b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:31:20.175Z] + docker inspect -f . ci-base-image-arm64 [2022-08-29T03:31:20.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:31:20.408Z] prd-ubuntu20.04-docker-arm64-4c-16g-23754 does not seem to be running inside a container [2022-08-29T03:31:20.491Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-29T03:31:21.673Z] $ docker top aee94806fd2b3bf2f66b31dca01f7f5d5ef808d0222fa99eade97560794a386e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T03:31:22.550Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-08-29T03:31:23.211Z] + make test [2022-08-29T03:31:23.211Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-29T03:31:24.647Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-29T03:33:01.528Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-29T03:33:01.528Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.135s coverage: 10.5% of statements [2022-08-29T03:33:01.528Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-29T03:33:23.708Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.905s coverage: 13.8% of statements [2022-08-29T03:33:23.708Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-29T03:33:23.708Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-29T03:33:45.927Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-29T03:33:45.927Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-29T03:33:45.927Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-29T03:33:45.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-29T03:33:45.969Z] $ docker stop --time=1 aee94806fd2b3bf2f66b31dca01f7f5d5ef808d0222fa99eade97560794a386e [2022-08-29T03:33:47.762Z] $ docker rm -f aee94806fd2b3bf2f66b31dca01f7f5d5ef808d0222fa99eade97560794a386e [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-29T03:33:48.763Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-29T03:33:48.783Z] Warning: overwriting stash ‘coverage-report’ [2022-08-29T03:33:49.349Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-29T03:33:49.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-29T03:33:50.069Z] + ls -al . [2022-08-29T03:33:50.069Z] total 228 [2022-08-29T03:33:50.069Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 29 03:31 . [2022-08-29T03:33:50.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:29 .. [2022-08-29T03:33:50.069Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 03:29 .git [2022-08-29T03:33:50.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:29 .github [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 29 03:29 .gitignore [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 29 03:29 .golangci.yml [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 29 03:29 Attribution.txt [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 29 03:29 CHANGELOG.md [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 29 03:29 Dockerfile [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 03:29 GOVERNANCE.md [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 29 03:29 Jenkinsfile [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 29 03:29 LICENSE [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 29 03:29 Makefile [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 29 03:29 OWNERS.md [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 29 03:29 README.md [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 29 03:26 VERSION [2022-08-29T03:33:50.069Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 03:29 bin [2022-08-29T03:33:50.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 03:29 cmd [2022-08-29T03:33:50.069Z] -rw-r--r-- 1 jenkins jenkins 77822 Aug 29 03:33 coverage.out [2022-08-29T03:33:50.069Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 29 03:29 doc [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 29 03:29 go.mod [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 29 03:29 go.sum [2022-08-29T03:33:50.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:29 internal [2022-08-29T03:33:50.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 03:29 snap [2022-08-29T03:33:50.069Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 29 03:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:33:50.420Z] + 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=c59b58dcab6ff79b612679c6b5509f76a7f4158c --label arch=arm64 --label version=0.0.0 . [2022-08-29T03:33:51.014Z] Sending build context to Docker daemon 14.17MB [2022-08-29T03:33:51.014Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-29T03:33:51.014Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-29T03:33:51.014Z] ---> eb59af75ea02 [2022-08-29T03:33:51.014Z] Step 3/26 : ARG MAKE="make build" [2022-08-29T03:33:51.014Z] ---> Running in ed2583232dc3 [2022-08-29T03:33:51.289Z] Removing intermediate container ed2583232dc3 [2022-08-29T03:33:51.289Z] ---> 7397da45890b [2022-08-29T03:33:51.289Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-29T03:33:51.559Z] ---> Running in 4800a6bec96b [2022-08-29T03:33:51.832Z] Removing intermediate container 4800a6bec96b [2022-08-29T03:33:51.832Z] ---> 9969b344d950 [2022-08-29T03:33:51.832Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-29T03:33:51.832Z] ---> Running in 319c19457ad4 [2022-08-29T03:33:52.105Z] Removing intermediate container 319c19457ad4 [2022-08-29T03:33:52.105Z] ---> 62f7c8378fa6 [2022-08-29T03:33:52.105Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-29T03:33:52.105Z] ---> Running in 8010835a9614 [2022-08-29T03:33:52.377Z] Removing intermediate container 8010835a9614 [2022-08-29T03:33:52.377Z] ---> 70ec22fde36a [2022-08-29T03:33:52.377Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-29T03:33:52.652Z] ---> Running in b88f8f00704e [2022-08-29T03:33:54.087Z] Removing intermediate container b88f8f00704e [2022-08-29T03:33:54.088Z] ---> 1956533f95ca [2022-08-29T03:33:54.088Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-29T03:33:54.088Z] ---> Running in 3475da51436d [2022-08-29T03:33:55.061Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-29T03:33:56.037Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-29T03:33:57.012Z] OK: 221 MiB in 51 packages [2022-08-29T03:33:57.610Z] Removing intermediate container 3475da51436d [2022-08-29T03:33:57.610Z] ---> a20e61640afb [2022-08-29T03:33:57.610Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-29T03:33:57.881Z] ---> Running in c5a2994733c2 [2022-08-29T03:33:58.156Z] Removing intermediate container c5a2994733c2 [2022-08-29T03:33:58.156Z] ---> 6762ad771a27 [2022-08-29T03:33:58.156Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-29T03:33:58.761Z] ---> f15f2b464017 [2022-08-29T03:33:58.761Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-29T03:33:58.761Z] ---> Running in bf962975804a [2022-08-29T03:34:00.739Z] Removing intermediate container bf962975804a [2022-08-29T03:34:00.739Z] ---> 03e3ba061bd3 [2022-08-29T03:34:00.739Z] Step 12/26 : COPY . . [2022-08-29T03:34:02.176Z] ---> 449146aedb13 [2022-08-29T03:34:02.176Z] Step 13/26 : RUN ${MAKE} [2022-08-29T03:34:02.176Z] ---> Running in 9bb9c9b55c38 [2022-08-29T03:34:03.165Z] 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 [2022-08-29T03:36:25.098Z] Removing intermediate container 9bb9c9b55c38 [2022-08-29T03:36:25.098Z] ---> 6d6f7e29a459 [2022-08-29T03:36:25.098Z] Step 14/26 : FROM alpine:3.16 [2022-08-29T03:36:25.098Z] 3.16: Pulling from library/alpine [2022-08-29T03:36:25.098Z] 9b18e9b68314: Pulling fs layer [2022-08-29T03:36:25.098Z] 9b18e9b68314: Verifying Checksum [2022-08-29T03:36:25.098Z] 9b18e9b68314: Download complete [2022-08-29T03:36:25.098Z] 9b18e9b68314: Pull complete [2022-08-29T03:36:25.098Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-29T03:36:25.098Z] Status: Downloaded newer image for alpine:3.16 [2022-08-29T03:36:25.098Z] ---> a6215f271958 [2022-08-29T03:36:25.098Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-29T03:36:25.098Z] ---> Running in f606d5a43ac9 [2022-08-29T03:36:25.098Z] Removing intermediate container f606d5a43ac9 [2022-08-29T03:36:25.098Z] ---> 892e4c41e188 [2022-08-29T03:36:25.098Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-29T03:36:25.098Z] ---> Running in 07b863641315 [2022-08-29T03:36:25.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-29T03:36:25.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-29T03:36:25.098Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-29T03:36:25.098Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-29T03:36:25.098Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-29T03:36:25.098Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-29T03:36:25.098Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-29T03:36:25.098Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-29T03:36:25.098Z] Executing busybox-1.35.0-r17.trigger [2022-08-29T03:36:25.098Z] OK: 8 MiB in 20 packages [2022-08-29T03:36:25.098Z] Removing intermediate container 07b863641315 [2022-08-29T03:36:25.098Z] ---> ef37a752704c [2022-08-29T03:36:25.098Z] Step 17/26 : WORKDIR / [2022-08-29T03:36:25.098Z] ---> Running in d075f990257f [2022-08-29T03:36:25.098Z] Removing intermediate container d075f990257f [2022-08-29T03:36:25.098Z] ---> 413fd8d137f1 [2022-08-29T03:36:25.098Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-29T03:36:25.098Z] ---> b656a0a71797 [2022-08-29T03:36:25.098Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-29T03:36:25.098Z] ---> 16ee9c431e97 [2022-08-29T03:36:25.098Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-29T03:36:25.098Z] ---> 3fd488043328 [2022-08-29T03:36:25.098Z] Step 21/26 : EXPOSE 59984 [2022-08-29T03:36:25.098Z] ---> Running in a2304733f3ed [2022-08-29T03:36:25.098Z] Removing intermediate container a2304733f3ed [2022-08-29T03:36:25.098Z] ---> ddd4e6738542 [2022-08-29T03:36:25.098Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-29T03:36:25.098Z] ---> Running in 757d986b60dc [2022-08-29T03:36:25.098Z] Removing intermediate container 757d986b60dc [2022-08-29T03:36:25.098Z] ---> 6fc746d0b661 [2022-08-29T03:36:25.098Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-29T03:36:25.098Z] ---> Running in 2fa031c25086 [2022-08-29T03:36:25.098Z] Removing intermediate container 2fa031c25086 [2022-08-29T03:36:25.098Z] ---> 1efb342fbd2c [2022-08-29T03:36:25.098Z] Step 24/26 : LABEL arch=arm64 [2022-08-29T03:36:25.098Z] ---> Running in bbcbd8a287fb [2022-08-29T03:36:25.098Z] Removing intermediate container bbcbd8a287fb [2022-08-29T03:36:25.098Z] ---> 124edaa23e5f [2022-08-29T03:36:25.098Z] Step 25/26 : LABEL git_sha=c59b58dcab6ff79b612679c6b5509f76a7f4158c [2022-08-29T03:36:25.098Z] ---> Running in 037f16d45a22 [2022-08-29T03:36:25.376Z] Removing intermediate container 037f16d45a22 [2022-08-29T03:36:25.376Z] ---> 9b4ab8fcb314 [2022-08-29T03:36:25.376Z] Step 26/26 : LABEL version=0.0.0 [2022-08-29T03:36:25.376Z] ---> Running in 15c7f30ae203 [2022-08-29T03:36:25.650Z] Removing intermediate container 15c7f30ae203 [2022-08-29T03:36:25.650Z] ---> f299f05915b0 [2022-08-29T03:36:25.650Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-29T03:36:25.650Z] Successfully built f299f05915b0 [2022-08-29T03:36:25.650Z] 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 [2022-08-29T03:36:26.142Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-29T03:36:26.142Z] [2022-08-29T03:36:26.142Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:36:26.502Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-29T03:36:26.778Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-29T03:36:26.778Z] 8998bd30e6a1: Pulling fs layer [2022-08-29T03:36:26.778Z] 04944245beec: Pulling fs layer [2022-08-29T03:36:26.778Z] 699f458cf7ca: Pulling fs layer [2022-08-29T03:36:26.778Z] 765212b225bb: Pulling fs layer [2022-08-29T03:36:26.778Z] f23df028b6ca: Pulling fs layer [2022-08-29T03:36:26.778Z] d65c8cfc05b1: Pulling fs layer [2022-08-29T03:36:26.778Z] 2437ff75d9bd: Pulling fs layer [2022-08-29T03:36:26.778Z] 765212b225bb: Waiting [2022-08-29T03:36:26.778Z] f23df028b6ca: Waiting [2022-08-29T03:36:26.778Z] d65c8cfc05b1: Waiting [2022-08-29T03:36:26.778Z] 2437ff75d9bd: Waiting [2022-08-29T03:36:26.778Z] 04944245beec: Verifying Checksum [2022-08-29T03:36:26.778Z] 04944245beec: Download complete [2022-08-29T03:36:26.778Z] 765212b225bb: Verifying Checksum [2022-08-29T03:36:26.778Z] 765212b225bb: Download complete [2022-08-29T03:36:26.778Z] f23df028b6ca: Download complete [2022-08-29T03:36:26.778Z] d65c8cfc05b1: Verifying Checksum [2022-08-29T03:36:26.778Z] d65c8cfc05b1: Download complete [2022-08-29T03:36:27.051Z] 699f458cf7ca: Verifying Checksum [2022-08-29T03:36:27.051Z] 699f458cf7ca: Download complete [2022-08-29T03:36:27.328Z] 8998bd30e6a1: Verifying Checksum [2022-08-29T03:36:27.328Z] 8998bd30e6a1: Download complete [2022-08-29T03:36:29.962Z] 2437ff75d9bd: Verifying Checksum [2022-08-29T03:36:29.962Z] 2437ff75d9bd: Download complete [2022-08-29T03:36:31.942Z] 8998bd30e6a1: Pull complete [2022-08-29T03:36:32.220Z] 04944245beec: Pull complete [2022-08-29T03:36:33.669Z] 699f458cf7ca: Pull complete [2022-08-29T03:36:33.943Z] 765212b225bb: Pull complete [2022-08-29T03:36:34.928Z] f23df028b6ca: Pull complete [2022-08-29T03:36:34.928Z] d65c8cfc05b1: Pull complete [2022-08-29T03:36:50.030Z] 2437ff75d9bd: Pull complete [2022-08-29T03:36:50.030Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-29T03:36:50.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-29T03:36:50.030Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:36:50.289Z] prd-ubuntu20.04-docker-arm64-4c-16g-23754 does not seem to be running inside a container [2022-08-29T03:36:50.386Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-29T03:36:52.875Z] $ docker top 74b753897ca2766da42dddcd2524b17f4d96a7f8951524cebe8b599d8f2bfa9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:36:53.776Z] ---> job-cost.sh [2022-08-29T03:36:53.776Z] lf-activate-venv: SKIPPING [2022-08-29T03:36:53.776Z] INFO: No Stack... [2022-08-29T03:36:54.371Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-29T03:36:55.349Z] INFO: Archiving Costs [Pipeline] sh [2022-08-29T03:36:56.017Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2022-08-29T03:36:56.017Z] + cut -d, -f6 [Pipeline] lock [2022-08-29T03:36:56.083Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-146-2-stack-cost] [2022-08-29T03:36:56.088Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-146-2-stack-cost] did not exist. Created. [2022-08-29T03:36:56.089Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-29T03:36:56.774Z] /w/workspace/device-onvif-camera/2@tmp/durable-d6fffb2b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-29T03:36:57.456Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-29T03:36:57.487Z] Warning: overwriting stash ‘stack-cost’ [2022-08-29T03:36:57.543Z] Stashed 1 file(s) [Pipeline] } [2022-08-29T03:36:57.550Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-29T03:36:57.581Z] $ docker stop --time=1 74b753897ca2766da42dddcd2524b17f4d96a7f8951524cebe8b599d8f2bfa9f [2022-08-29T03:36:59.090Z] $ docker rm -f 74b753897ca2766da42dddcd2524b17f4d96a7f8951524cebe8b599d8f2bfa9f [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 [2022-08-29T03:36:59.552Z] provisioning config files... [2022-08-29T03:36:59.577Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-146@tmp/config8139183280619527837tmp [Pipeline] { [Pipeline] sh [2022-08-29T03:36:59.871Z] + set +x [2022-08-29T03:36:59.871Z] + curl -s https://codecov.io/bash [2022-08-29T03:36:59.871Z] + bash -s -- [2022-08-29T03:36:59.871Z] [2022-08-29T03:36:59.871Z] _____ _ [2022-08-29T03:36:59.871Z] / ____| | | [2022-08-29T03:36:59.871Z] | | ___ __| | ___ ___ _____ __ [2022-08-29T03:36:59.871Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-29T03:36:59.871Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-29T03:36:59.871Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-29T03:36:59.871Z] Bash-1.0.6 [2022-08-29T03:36:59.871Z] [2022-08-29T03:36:59.871Z] [2022-08-29T03:36:59.871Z] ==> git version 2.25.1 found [2022-08-29T03:36:59.871Z] ==> 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 [2022-08-29T03:36:59.871Z] Release-Date: 2020-01-08 [2022-08-29T03:36:59.871Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-29T03:36:59.871Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-29T03:36:59.871Z] ==> Jenkins CI detected. [2022-08-29T03:36:59.871Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-146 [2022-08-29T03:36:59.871Z] project root: . [2022-08-29T03:36:59.871Z] --> token set from env [2022-08-29T03:36:59.871Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-29T03:36:59.871Z] ==> Running gcov in . (disable via -X gcov) [2022-08-29T03:36:59.871Z] ==> Python coveragepy not found [2022-08-29T03:36:59.871Z] ==> Searching for coverage reports in: [2022-08-29T03:36:59.871Z] + . [2022-08-29T03:36:59.871Z] -> Found 1 reports [2022-08-29T03:36:59.871Z] ==> Detecting git/mercurial file structure [2022-08-29T03:36:59.871Z] ==> Reading reports [2022-08-29T03:36:59.872Z] + ./coverage.out bytes=77822 [2022-08-29T03:36:59.872Z] ==> Appending adjustments [2022-08-29T03:36:59.872Z] https://docs.codecov.io/docs/fixing-reports [2022-08-29T03:37:00.132Z] + Found adjustments [2022-08-29T03:37:00.132Z] ==> Gzipping contents [2022-08-29T03:37:00.132Z] 12K /tmp/codecov.FRchEp.gz [2022-08-29T03:37:00.132Z] ==> Uploading reports [2022-08-29T03:37:00.132Z] url: https://codecov.io [2022-08-29T03:37:00.132Z] query: branch=PR-146&commit=c59b58dcab6ff79b612679c6b5509f76a7f4158c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-146%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=146&job=&cmd_args= [2022-08-29T03:37:00.132Z] -> Pinging Codecov [2022-08-29T03:37:00.132Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-146&commit=c59b58dcab6ff79b612679c6b5509f76a7f4158c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-146%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=146&job=&cmd_args= [2022-08-29T03:37:00.392Z] -> Uploading to [2022-08-29T03:37:00.392Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-29/F29A59C45E3A92E06B3E522C9905F8EF/c59b58dcab6ff79b612679c6b5509f76a7f4158c/82052baf-f668-4dd8-89ff-29b55e4089a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220829%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220829T033700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0379f8e7ca8df408caa574fe2f3fc398e13259db5ba788fa5c0ea3fac43fa83b [2022-08-29T03:37:00.392Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-29T03:37:00.392Z] Dload Upload Total Spent Left Speed [2022-08-29T03:37:00.654Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10482 0 0 100 10482 0 51635 --:--:-- --:--:-- --:--:-- 51382 100 10482 0 0 100 10482 0 48527 --:--:-- --:--:-- --:--:-- 48304 [2022-08-29T03:37:00.654Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/c59b58dcab6ff79b612679c6b5509f76a7f4158c [Pipeline] } [2022-08-29T03:37:00.663Z] 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 [2022-08-29T03:37:01.377Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-146/archives ] [2022-08-29T03:37:01.378Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-146/archives [2022-08-29T03:37:01.378Z] total 16 [2022-08-29T03:37:01.378Z] drwxr-xr-x 3 root root 4096 Aug 29 03:28 . [2022-08-29T03:37:01.378Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 03:28 .. [2022-08-29T03:37:01.378Z] drwxr-xr-x 2 root root 4096 Aug 29 03:28 cost [2022-08-29T03:37:01.378Z] -rw-r--r-- 1 root root 91 Aug 29 03:28 cost.csv [2022-08-29T03:37:01.378Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-146/archives [2022-08-29T03:37:01.378Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-146/archives [2022-08-29T03:37:01.378Z] total 16 [2022-08-29T03:37:01.378Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 03:28 . [2022-08-29T03:37:01.378Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 03:28 .. [2022-08-29T03:37:01.378Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 29 03:28 cost [2022-08-29T03:37:01.378Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 29 03:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:37:01.672Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:37:02.543Z] ---> package-listing.sh [2022-08-29T03:37:02.543Z] ++ facter osfamily [2022-08-29T03:37:02.543Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-29T03:37:02.806Z] + OS_FAMILY=debian [2022-08-29T03:37:02.806Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-146 [2022-08-29T03:37:02.806Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-29T03:37:02.806Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-29T03:37:02.806Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-29T03:37:02.806Z] + PACKAGES=/tmp/packages_start.txt [2022-08-29T03:37:02.806Z] + '[' /w/workspace/undry_device-onvif-camera_PR-146 ']' [2022-08-29T03:37:02.806Z] + PACKAGES=/tmp/packages_end.txt [2022-08-29T03:37:02.806Z] + case "${OS_FAMILY}" in [2022-08-29T03:37:02.806Z] + dpkg -l [2022-08-29T03:37:02.806Z] + grep '^ii' [2022-08-29T03:37:02.806Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-29T03:37:02.806Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-29T03:37:02.806Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-29T03:37:02.806Z] + '[' /w/workspace/undry_device-onvif-camera_PR-146 ']' [2022-08-29T03:37:02.806Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-146/archives/ [2022-08-29T03:37:02.806Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-146/archives/ [Pipeline] echo [2022-08-29T03:37:02.819Z] 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-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-29T03:37:03.104Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-29T03:37:03.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-29T03:37:03.669Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-29T03:37:03.780Z] prd-ubuntu20.04-docker-8c-8g-23752 does not seem to be running inside a container [2022-08-29T03:37:03.817Z] $ 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-146/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-146 -v /w/workspace/undry_device-onvif-camera_PR-146:/w/workspace/undry_device-onvif-camera_PR-146:rw,z -v /w/workspace/undry_device-onvif-camera_PR-146@tmp:/w/workspace/undry_device-onvif-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-29T03:37:04.044Z] $ docker top 619cfdf55aac4997ad5d1d8f09772b8da2b6d7fad5a5f296533983b284adf89b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-29T03:37:04.405Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-29T03:37:04.701Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-29T03:37:04.994Z] + ls /var/log/sa-host [2022-08-29T03:37:04.995Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-29T03:37:05.064Z] provisioning config files... [2022-08-29T03:37:05.074Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-146@tmp/config3521416697332160353tmp [Pipeline] { [Pipeline] echo [2022-08-29T03:37:05.088Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:37:05.374Z] ---> create-netrc.sh [Pipeline] } [2022-08-29T03:37:05.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:37:05.712Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-29T03:37:05.721Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:37:06.019Z] ---> sudo-logs.sh [2022-08-29T03:37:06.019Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-29T03:37:06.041Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:37:06.328Z] ---> job-cost.sh [2022-08-29T03:37:06.329Z] lf-activate-venv: SKIPPING [2022-08-29T03:37:06.329Z] DEBUG: total: 0.2199999988079071 [2022-08-29T03:37:06.329Z] INFO: Retrieving Stack Cost... [2022-08-29T03:37:06.590Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-29T03:37:07.165Z] INFO: Archiving Costs [Pipeline] echo [2022-08-29T03:37:07.178Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-29T03:37:07.467Z] ---> logs-deploy.sh [2022-08-29T03:37:07.467Z] lf-activate-venv: SKIPPING [2022-08-29T03:37:07.467Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-146/2 [2022-08-29T03:37:07.467Z] INFO: archiving workspace using pattern(s): [2022-08-29T03:37:08.409Z] Archives upload complete. [2022-08-29T03:37:08.409Z] INFO: archiving logs to Nexus