Pull request #169 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 77e27a0582289f3b62e1ae2b21962694e5814c8c+0803938d3e117362d3c6c6e4e1a4697135dfbf5d (14b3ca28e24a965cbaa36b23e3ba36493e9ef5ca) 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-ssh14269660916404316657.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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-ssh12892114431406378552.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-169/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-169/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11186596484189573122.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-169/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18089666685527380293.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14214770346499165380.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-169/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-169/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17337314560228436550.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6799’ Running on prd-ubuntu20.04-docker-8c-8g-6804 in /w/workspace/undry_device-onvif-camera_PR-169 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-169 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0803938d3e117362d3c6c6e4e1a4697135dfbf5d into PR head commit 77e27a0582289f3b62e1ae2b21962694e5814c8c Merge succeeded, producing 77e27a0582289f3b62e1ae2b21962694e5814c8c Checking out Revision 77e27a0582289f3b62e1ae2b21962694e5814c8c (PR-169) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T03:21:05.361Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 77e27a0582289f3b62e1ae2b21962694e5814c8c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 0803938d3e117362d3c6c6e4e1a4697135dfbf5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 77e27a0582289f3b62e1ae2b21962694e5814c8c # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T03:21:05.536Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T03:21:05.646Z] ========================================================= [2022-10-03T03:21:05.646Z] EdgeX Global Pipelines Version Info [2022-10-03T03:21:05.646Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:21:06.381Z] ------------------- [2022-10-03T03:21:06.381Z] stable info: [2022-10-03T03:21:06.381Z] ------------------- [2022-10-03T03:21:06.381Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T03:21:06.381Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T03:21:06.381Z] Message: update stable to v1.0.239 [2022-10-03T03:21:06.951Z] ------------------- [2022-10-03T03:21:06.951Z] experimental info: [2022-10-03T03:21:06.951Z] ------------------- [2022-10-03T03:21:06.951Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T03:21:06.951Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T03:21:06.952Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T03:21:07.240Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-03T03:21:07.282Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-03T03:21:07.325Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T03:21:07.366Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T03:21:07.409Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T03:21:07.452Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T03:21:07.495Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T03:21:07.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T03:21:07.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T03:21:07.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T03:21:07.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T03:21:07.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-03T03:21:07.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T03:21:07.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T03:21:07.856Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T03:21:07.899Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T03:21:07.943Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T03:21:07.989Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T03:21:08.031Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T03:21:08.083Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T03:21:08.125Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-03T03:21:08.170Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-03T03:21:08.213Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T03:21:08.259Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T03:21:08.303Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T03:21:08.347Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T03:21:08.391Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T03:21:08.433Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo [2022-10-03T03:21:08.476Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo [2022-10-03T03:21:08.516Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo [2022-10-03T03:21:08.557Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77e27a0582289f3b62e1ae2b21962694e5814c8c [Pipeline] echo [2022-10-03T03:21:08.597Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 77e27a0 [Pipeline] echo [2022-10-03T03:21:08.637Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T03:21:08.765Z] provisioning config files... [2022-10-03T03:21:08.802Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-169@tmp/config8862226468629762174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:21:09.148Z] ---> docker-login.sh [2022-10-03T03:21:09.148Z] nexus3.edgexfoundry.org:10001 [2022-10-03T03:21:09.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:21:09.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:21:09.408Z] Configure a credential helper to remove this warning. See [2022-10-03T03:21:09.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:21:09.408Z] [2022-10-03T03:21:09.408Z] Login Succeeded [2022-10-03T03:21:09.408Z] nexus3.edgexfoundry.org:10002 [2022-10-03T03:21:09.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:21:09.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:21:09.668Z] Configure a credential helper to remove this warning. See [2022-10-03T03:21:09.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:21:09.668Z] [2022-10-03T03:21:09.668Z] Login Succeeded [2022-10-03T03:21:09.668Z] nexus3.edgexfoundry.org:10003 [2022-10-03T03:21:09.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:21:09.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:21:09.668Z] Configure a credential helper to remove this warning. See [2022-10-03T03:21:09.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:21:09.668Z] [2022-10-03T03:21:09.668Z] Login Succeeded [2022-10-03T03:21:09.668Z] nexus3.edgexfoundry.org:10004 [2022-10-03T03:21:09.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:21:09.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:21:09.928Z] Configure a credential helper to remove this warning. See [2022-10-03T03:21:09.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:21:09.928Z] [2022-10-03T03:21:09.928Z] Login Succeeded [2022-10-03T03:21:09.928Z] docker.io [2022-10-03T03:21:09.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:21:10.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:21:10.188Z] Configure a credential helper to remove this warning. See [2022-10-03T03:21:10.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:21:10.188Z] [2022-10-03T03:21:10.188Z] Login Succeeded [2022-10-03T03:21:10.188Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T03:21:10.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T03:21:10.838Z] + git rev-list -1 --merges 77e27a0582289f3b62e1ae2b21962694e5814c8c~1..77e27a0582289f3b62e1ae2b21962694e5814c8c [Pipeline] echo [2022-10-03T03:21:10.888Z] -----------> git rev-list -1 --merges 77e27a0582289f3b62e1ae2b21962694e5814c8c~1..77e27a0582289f3b62e1ae2b21962694e5814c8c 77e27a0582289f3b62e1ae2b21962694e5814c8c [false] [Pipeline] sh [2022-10-03T03:21:11.203Z] + git log --format=format:%s -1 77e27a0582289f3b62e1ae2b21962694e5814c8c [Pipeline] echo [2022-10-03T03:21:11.242Z] ========================================================= [2022-10-03T03:21:11.242Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T03:21:11.242Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T03:21:11.666Z] + git log --format=format:%s -1 77e27a0582289f3b62e1ae2b21962694e5814c8c [Pipeline] echo [2022-10-03T03:21:11.703Z] [semverPrep] GIT_COMMIT: 77e27a0582289f3b62e1ae2b21962694e5814c8c, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-10-03T03:21:11.738Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T03:21:12.109Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T03:21:12.109Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T03:21:12.109Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T03:21:12.109Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T03:21:12.109Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T03:21:12.109Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T03:21:12.109Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:21:12.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T03:21:12.526Z] [2022-10-03T03:21:12.526Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:21:12.900Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T03:21:12.900Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T03:21:12.900Z] b85a868b505f: Pulling fs layer [2022-10-03T03:21:12.900Z] e2be974225ed: Pulling fs layer [2022-10-03T03:21:12.900Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T03:21:12.900Z] 988bab9f4d93: Pulling fs layer [2022-10-03T03:21:12.900Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T03:21:12.900Z] 988bab9f4d93: Waiting [2022-10-03T03:21:12.900Z] eaf3925da568: Pulling fs layer [2022-10-03T03:21:12.900Z] bab4dde63d76: Pulling fs layer [2022-10-03T03:21:12.900Z] bde34c3a00c8: Pulling fs layer [2022-10-03T03:21:12.900Z] b352a97aabf1: Pulling fs layer [2022-10-03T03:21:12.900Z] bde34c3a00c8: Waiting [2022-10-03T03:21:12.900Z] 4872d77fe225: Pulling fs layer [2022-10-03T03:21:12.900Z] 5851b861e8e6: Pulling fs layer [2022-10-03T03:21:12.900Z] b352a97aabf1: Waiting [2022-10-03T03:21:12.900Z] 4872d77fe225: Waiting [2022-10-03T03:21:12.900Z] 5851b861e8e6: Waiting [2022-10-03T03:21:12.900Z] e2be974225ed: Download complete [2022-10-03T03:21:12.900Z] 988bab9f4d93: Verifying Checksum [2022-10-03T03:21:12.900Z] 988bab9f4d93: Download complete [2022-10-03T03:21:13.160Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T03:21:13.160Z] 1469e6f7b9e6: Download complete [2022-10-03T03:21:13.160Z] eaf3925da568: Verifying Checksum [2022-10-03T03:21:13.160Z] eaf3925da568: Download complete [2022-10-03T03:21:13.160Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T03:21:13.160Z] 339a4e72a1f5: Download complete [2022-10-03T03:21:13.160Z] bde34c3a00c8: Verifying Checksum [2022-10-03T03:21:13.160Z] bde34c3a00c8: Download complete [2022-10-03T03:21:13.160Z] b352a97aabf1: Verifying Checksum [2022-10-03T03:21:13.160Z] b352a97aabf1: Download complete [2022-10-03T03:21:13.160Z] 4872d77fe225: Download complete [2022-10-03T03:21:13.160Z] 5851b861e8e6: Verifying Checksum [2022-10-03T03:21:13.161Z] 5851b861e8e6: Download complete [2022-10-03T03:21:13.161Z] b85a868b505f: Verifying Checksum [2022-10-03T03:21:13.161Z] b85a868b505f: Download complete [2022-10-03T03:21:13.420Z] bab4dde63d76: Verifying Checksum [2022-10-03T03:21:13.420Z] bab4dde63d76: Download complete [2022-10-03T03:21:14.356Z] b85a868b505f: Pull complete [2022-10-03T03:21:14.616Z] e2be974225ed: Pull complete [2022-10-03T03:21:15.193Z] 339a4e72a1f5: Pull complete [2022-10-03T03:21:15.193Z] 988bab9f4d93: Pull complete [2022-10-03T03:21:15.454Z] 1469e6f7b9e6: Pull complete [2022-10-03T03:21:15.454Z] eaf3925da568: Pull complete [2022-10-03T03:21:17.395Z] bab4dde63d76: Pull complete [2022-10-03T03:21:17.395Z] bde34c3a00c8: Pull complete [2022-10-03T03:21:17.657Z] b352a97aabf1: Pull complete [2022-10-03T03:21:17.657Z] 4872d77fe225: Pull complete [2022-10-03T03:21:17.657Z] 5851b861e8e6: Pull complete [2022-10-03T03:21:17.657Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T03:21:17.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T03:21:17.657Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:21:17.882Z] prd-ubuntu20.04-docker-8c-8g-6804 does not seem to be running inside a container [2022-10-03T03:21:17.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-03T03:21:20.677Z] $ docker top 7d4c71e12f9c2cede5f7852f8873b0b803de66e9d7313a66c611ab231833bf31 -eo pid,comm [2022-10-03T03:21:20.733Z] 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-10-03T03:21:20.733Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T03:21:20.857Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T03:21:20.857Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T03:21:20.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T03:21:20.972Z] $ docker exec 7d4c71e12f9c2cede5f7852f8873b0b803de66e9d7313a66c611ab231833bf31 ssh-agent [2022-10-03T03:21:21.086Z] SSH_AUTH_SOCK=/tmp/ssh-tXzHhn0ElATz/agent.32 [2022-10-03T03:21:21.086Z] SSH_AGENT_PID=38 [2022-10-03T03:21:21.093Z] Running ssh-add (command line suppressed) [2022-10-03T03:21:21.200Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-169@tmp/private_key_15285357175310035188.key (/w/workspace/undry_device-onvif-camera_PR-169@tmp/private_key_15285357175310035188.key) [2022-10-03T03:21:21.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T03:21:21.542Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T03:21:21.569Z] $ docker exec --env ******** --env ******** 7d4c71e12f9c2cede5f7852f8873b0b803de66e9d7313a66c611ab231833bf31 ssh-agent -k [2022-10-03T03:21:21.666Z] unset SSH_AUTH_SOCK; [2022-10-03T03:21:21.666Z] unset SSH_AGENT_PID; [2022-10-03T03:21:21.666Z] echo Agent pid 38 killed; [2022-10-03T03:21:21.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T03:21:21.766Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T03:21:21.766Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T03:21:21.893Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T03:21:21.896Z] $ docker exec 7d4c71e12f9c2cede5f7852f8873b0b803de66e9d7313a66c611ab231833bf31 ssh-agent [2022-10-03T03:21:22.002Z] SSH_AUTH_SOCK=/tmp/ssh-W7dvcYAbUWyt/agent.71 [2022-10-03T03:21:22.002Z] SSH_AGENT_PID=77 [2022-10-03T03:21:22.008Z] Running ssh-add (command line suppressed) [2022-10-03T03:21:22.110Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-169@tmp/private_key_11036472872447410279.key (/w/workspace/undry_device-onvif-camera_PR-169@tmp/private_key_11036472872447410279.key) [2022-10-03T03:21:22.128Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T03:21:22.455Z] + git semver init [2022-10-03T03:21:22.714Z] 2022-10-03 03:21:22,654 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T03:21:22.714Z] 2022-10-03 03:21:22,655 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-169/.semver [2022-10-03T03:21:22.714Z] 2022-10-03 03:21:22,656 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-169/.semver [2022-10-03T03:21:22.714Z] 2022-10-03 03:21:22,656 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-169/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-169, universal_newlines=False, shell=None, istream=None) [2022-10-03T03:21:23.652Z] 2022-10-03 03:21:23,626 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-169/.git/info/exclude [2022-10-03T03:21:23.652Z] 2022-10-03 03:21:23,627 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-169/.semver/PR-169 with force:False [2022-10-03T03:21:23.652Z] 2022-10-03 03:21:23,627 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-169/.semver/PR-169 [2022-10-03T03:21:23.652Z] 2022-10-03 03:21:23,631 [execute] INFO git cat-file --batch-check [2022-10-03T03:21:23.652Z] 2022-10-03 03:21:23,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-169/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T03:21:23.652Z] 2022-10-03 03:21:23,639 [execute] INFO git cat-file --batch [2022-10-03T03:21:23.652Z] 2022-10-03 03:21:23,639 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-169/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T03:21:23.652Z] 2022-10-03 03:21:23,645 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-169/.semver/PR-169 [2022-10-03T03:21:23.652Z] 0.0.0 [Pipeline] } [2022-10-03T03:21:23.925Z] $ docker exec --env ******** --env ******** 7d4c71e12f9c2cede5f7852f8873b0b803de66e9d7313a66c611ab231833bf31 ssh-agent -k [2022-10-03T03:21:24.022Z] unset SSH_AUTH_SOCK; [2022-10-03T03:21:24.024Z] unset SSH_AGENT_PID; [2022-10-03T03:21:24.024Z] echo Agent pid 77 killed; [2022-10-03T03:21:24.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T03:21:24.442Z] + git semver [Pipeline] } [2022-10-03T03:21:24.724Z] $ docker stop --time=1 7d4c71e12f9c2cede5f7852f8873b0b803de66e9d7313a66c611ab231833bf31 [2022-10-03T03:21:26.026Z] $ docker rm -f 7d4c71e12f9c2cede5f7852f8873b0b803de66e9d7313a66c611ab231833bf31 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T03:21:26.430Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T03:21:26.673Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T03:21:26.689Z] [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-10-03T03:21:27.280Z] provisioning config files... [2022-10-03T03:21:27.292Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-169@tmp/config1430464761945736469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:21:27.638Z] ---> docker-login.sh [2022-10-03T03:21:27.638Z] nexus3.edgexfoundry.org:10001 [2022-10-03T03:21:27.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:21:27.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:21:27.638Z] Configure a credential helper to remove this warning. See [2022-10-03T03:21:27.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:21:27.638Z] [2022-10-03T03:21:27.638Z] Login Succeeded [2022-10-03T03:21:27.638Z] nexus3.edgexfoundry.org:10002 [2022-10-03T03:21:27.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:21:27.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:21:27.638Z] Configure a credential helper to remove this warning. See [2022-10-03T03:21:27.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:21:27.638Z] [2022-10-03T03:21:27.638Z] Login Succeeded [2022-10-03T03:21:27.638Z] nexus3.edgexfoundry.org:10003 [2022-10-03T03:21:27.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:21:27.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:21:27.897Z] Configure a credential helper to remove this warning. See [2022-10-03T03:21:27.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:21:27.897Z] [2022-10-03T03:21:27.897Z] Login Succeeded [2022-10-03T03:21:27.897Z] nexus3.edgexfoundry.org:10004 [2022-10-03T03:21:27.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:21:27.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:21:27.897Z] Configure a credential helper to remove this warning. See [2022-10-03T03:21:27.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:21:27.897Z] [2022-10-03T03:21:27.897Z] Login Succeeded [2022-10-03T03:21:27.897Z] docker.io [2022-10-03T03:21:28.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:21:28.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:21:28.417Z] Configure a credential helper to remove this warning. See [2022-10-03T03:21:28.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:21:28.417Z] [2022-10-03T03:21:28.417Z] Login Succeeded [2022-10-03T03:21:28.417Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T03:21:28.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T03:21:28.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:21:28.670Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:21:28.701Z] ========================================================= [2022-10-03T03:21:28.701Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T03:21:28.701Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:21:29.190Z] + 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-10-03T03:21:29.190Z] Sending build context to Docker daemon 20.77MB [2022-10-03T03:21:29.190Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:21:29.190Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-03T03:21:29.450Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T03:21:29.450Z] 2408cc74d12b: Pulling fs layer [2022-10-03T03:21:29.450Z] ea60b727a1ce: Pulling fs layer [2022-10-03T03:21:29.450Z] 30c4a7721957: Pulling fs layer [2022-10-03T03:21:29.450Z] 370296b7ddb6: Pulling fs layer [2022-10-03T03:21:29.450Z] 7c6cee850709: Pulling fs layer [2022-10-03T03:21:29.450Z] aa9baa53a306: Pulling fs layer [2022-10-03T03:21:29.450Z] 8b309c321861: Pulling fs layer [2022-10-03T03:21:29.450Z] d8d76fd02f46: Pulling fs layer [2022-10-03T03:21:29.450Z] fa31f396de31: Pulling fs layer [2022-10-03T03:21:29.450Z] 7c6cee850709: Waiting [2022-10-03T03:21:29.450Z] fa31f396de31: Waiting [2022-10-03T03:21:29.450Z] d8d76fd02f46: Waiting [2022-10-03T03:21:29.450Z] aa9baa53a306: Waiting [2022-10-03T03:21:29.450Z] 8b309c321861: Waiting [2022-10-03T03:21:29.450Z] 370296b7ddb6: Waiting [2022-10-03T03:21:29.450Z] 30c4a7721957: Verifying Checksum [2022-10-03T03:21:29.450Z] 30c4a7721957: Download complete [2022-10-03T03:21:29.450Z] ea60b727a1ce: Verifying Checksum [2022-10-03T03:21:29.450Z] ea60b727a1ce: Download complete [2022-10-03T03:21:29.450Z] 7c6cee850709: Verifying Checksum [2022-10-03T03:21:29.450Z] 7c6cee850709: Download complete [2022-10-03T03:21:29.450Z] aa9baa53a306: Verifying Checksum [2022-10-03T03:21:29.450Z] aa9baa53a306: Download complete [2022-10-03T03:21:29.450Z] 2408cc74d12b: Verifying Checksum [2022-10-03T03:21:29.450Z] 2408cc74d12b: Download complete [2022-10-03T03:21:29.450Z] 8b309c321861: Verifying Checksum [2022-10-03T03:21:29.450Z] 8b309c321861: Download complete [2022-10-03T03:21:29.725Z] 2408cc74d12b: Pull complete [2022-10-03T03:21:29.725Z] ea60b727a1ce: Pull complete [2022-10-03T03:21:29.725Z] 30c4a7721957: Pull complete [2022-10-03T03:21:30.337Z] fa31f396de31: Verifying Checksum [2022-10-03T03:21:30.337Z] fa31f396de31: Download complete [2022-10-03T03:21:30.337Z] 370296b7ddb6: Verifying Checksum [2022-10-03T03:21:30.337Z] 370296b7ddb6: Download complete [2022-10-03T03:21:30.598Z] d8d76fd02f46: Verifying Checksum [2022-10-03T03:21:30.598Z] d8d76fd02f46: Download complete [2022-10-03T03:21:34.813Z] 370296b7ddb6: Pull complete [2022-10-03T03:21:35.072Z] 7c6cee850709: Pull complete [2022-10-03T03:21:35.072Z] aa9baa53a306: Pull complete [2022-10-03T03:21:35.072Z] 8b309c321861: Pull complete [2022-10-03T03:21:37.602Z] d8d76fd02f46: Pull complete [2022-10-03T03:21:38.169Z] fa31f396de31: Pull complete [2022-10-03T03:21:38.169Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T03:21:38.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T03:21:38.169Z] ---> cef68f9685f8 [2022-10-03T03:21:38.169Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:21:42.105Z] Still waiting to schedule task [2022-10-03T03:21:42.105Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6800’ [2022-10-03T03:21:43.445Z] ---> Running in dd333f5629b7 [2022-10-03T03:21:43.445Z] Removing intermediate container dd333f5629b7 [2022-10-03T03:21:43.445Z] ---> c42f4c796850 [2022-10-03T03:21:43.445Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:21:43.445Z] ---> Running in 492975bd475c [2022-10-03T03:21:43.446Z] Removing intermediate container 492975bd475c [2022-10-03T03:21:43.446Z] ---> 783e6de8267d [2022-10-03T03:21:43.446Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:21:43.446Z] ---> Running in 4ea627d02e3f [2022-10-03T03:21:43.706Z] Removing intermediate container 4ea627d02e3f [2022-10-03T03:21:43.706Z] ---> cc24ce1de567 [2022-10-03T03:21:43.706Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:21:43.706Z] ---> Running in 7cd097a788fe [2022-10-03T03:21:43.706Z] Removing intermediate container 7cd097a788fe [2022-10-03T03:21:43.706Z] ---> 98fa873665ec [2022-10-03T03:21:43.706Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:21:43.706Z] ---> Running in 9f4838f4c014 [2022-10-03T03:21:43.965Z] Removing intermediate container 9f4838f4c014 [2022-10-03T03:21:43.965Z] ---> e8b409afb8d6 [2022-10-03T03:21:43.965Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:21:43.965Z] ---> Running in a3cf9c3aca41 [2022-10-03T03:21:44.535Z] Removing intermediate container a3cf9c3aca41 [2022-10-03T03:21:44.535Z] ---> 6d6b43af3537 [2022-10-03T03:21:44.535Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:21:44.535Z] ---> Running in 848e1013e755 [2022-10-03T03:21:44.794Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T03:21:45.732Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T03:21:45.993Z] OK: 211 MiB in 51 packages [2022-10-03T03:21:46.251Z] Removing intermediate container 848e1013e755 [2022-10-03T03:21:46.251Z] ---> 7a240afbc8c2 [2022-10-03T03:21:46.251Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-03T03:21:46.251Z] ---> Running in 997313daf01c [2022-10-03T03:21:46.251Z] Removing intermediate container 997313daf01c [2022-10-03T03:21:46.251Z] ---> df2c42c4cbe9 [2022-10-03T03:21:46.251Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-03T03:21:46.526Z] ---> f617685be412 [2022-10-03T03:21:46.526Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:21:46.526Z] ---> Running in 50ac98d1726b [2022-10-03T03:22:13.107Z] Removing intermediate container 50ac98d1726b [2022-10-03T03:22:13.108Z] ---> 9282d478588a [2022-10-03T03:22:13.108Z] Step 13/14 : COPY . . [2022-10-03T03:22:13.108Z] ---> ceaba6494a23 [2022-10-03T03:22:13.108Z] Step 14/14 : RUN ${MAKE} [2022-10-03T03:22:13.108Z] ---> Running in 000246d7216d [2022-10-03T03:22:13.108Z] noop [2022-10-03T03:22:13.108Z] Removing intermediate container 000246d7216d [2022-10-03T03:22:13.108Z] ---> 442f340270ab [2022-10-03T03:22:13.108Z] Successfully built 442f340270ab [2022-10-03T03:22:13.108Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:22:13.550Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T03:22:13.550Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:22:13.696Z] prd-ubuntu20.04-docker-8c-8g-6804 does not seem to be running inside a container [2022-10-03T03:22:13.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@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 ******** ci-base-image-x86_64 cat [2022-10-03T03:22:14.071Z] $ docker top f3bda33d2f60cb5de1197db9a381c8a1106359a99574d3a0982351abc1d97dd2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:22:14.455Z] + go version [2022-10-03T03:22:14.455Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T03:22:14.481Z] $ docker stop --time=1 f3bda33d2f60cb5de1197db9a381c8a1106359a99574d3a0982351abc1d97dd2 [2022-10-03T03:22:15.746Z] $ docker rm -f f3bda33d2f60cb5de1197db9a381c8a1106359a99574d3a0982351abc1d97dd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:22:16.452Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T03:22:16.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:22:16.589Z] prd-ubuntu20.04-docker-8c-8g-6804 does not seem to be running inside a container [2022-10-03T03:22:16.618Z] $ 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-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@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 ******** ci-base-image-x86_64 cat [2022-10-03T03:22:16.945Z] $ docker top 0dac32c358ac1070c8b1ca622325e194bb68a8f29dfb2727313c8db39d5a69c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:22:17.338Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-169 [Pipeline] fileExists [Pipeline] sh [2022-10-03T03:22:17.697Z] + make test [2022-10-03T03:22:17.697Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T03:22:17.956Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-03T03:22:30.150Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-03T03:22:30.150Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements [2022-10-03T03:22:30.150Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-03T03:22:30.150Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.315s coverage: 86.5% of statements [2022-10-03T03:22:38.256Z] 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-10-03T03:22:38.256Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T03:22:40.784Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T03:22:40.784Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T03:22:40.784Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T03:22:41.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T03:22:41.102Z] $ docker stop --time=1 0dac32c358ac1070c8b1ca622325e194bb68a8f29dfb2727313c8db39d5a69c4 [2022-10-03T03:22:43.767Z] $ docker rm -f 0dac32c358ac1070c8b1ca622325e194bb68a8f29dfb2727313c8db39d5a69c4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T03:22:44.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T03:22:44.440Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T03:22:45.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T03:22:45.365Z] + ls -al . [2022-10-03T03:22:45.365Z] total 236 [2022-10-03T03:22:45.365Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 03:22 . [2022-10-03T03:22:45.365Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:21 .. [2022-10-03T03:22:45.365Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:22 .git [2022-10-03T03:22:45.365Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:21 .github [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 03:21 .gitignore [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 03:21 .golangci.yml [2022-10-03T03:22:45.365Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:21 .semver [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 03:21 Attribution.txt [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 03:21 CHANGELOG.md [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 03:21 Dockerfile [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 03:21 GOVERNANCE.md [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 03:21 Jenkinsfile [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 03:21 LICENSE [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 03:21 Makefile [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 03:21 OWNERS.md [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 03:21 README.md [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 03:21 VERSION [2022-10-03T03:22:45.365Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:21 bin [2022-10-03T03:22:45.365Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:21 cmd [2022-10-03T03:22:45.365Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 03:22 coverage.out [2022-10-03T03:22:45.365Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 03:21 doc [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 03:21 go.mod [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 03:21 go.sum [2022-10-03T03:22:45.365Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:21 internal [2022-10-03T03:22:45.365Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:21 snap [2022-10-03T03:22:45.365Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 03:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:22:45.757Z] + 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=77e27a0582289f3b62e1ae2b21962694e5814c8c --label arch=amd64 --label version=0.0.0 . [2022-10-03T03:22:45.757Z] Sending build context to Docker daemon 20.85MB [2022-10-03T03:22:45.757Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:22:45.757Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-03T03:22:45.757Z] ---> 442f340270ab [2022-10-03T03:22:45.757Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:22:46.015Z] ---> Running in abb482ecf0c5 [2022-10-03T03:22:46.274Z] Removing intermediate container abb482ecf0c5 [2022-10-03T03:22:46.274Z] ---> ef3e8adfcea1 [2022-10-03T03:22:46.274Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:22:46.274Z] ---> Running in ac3ca1b7e936 [2022-10-03T03:22:46.274Z] Removing intermediate container ac3ca1b7e936 [2022-10-03T03:22:46.274Z] ---> ab4afedb4dd7 [2022-10-03T03:22:46.274Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:22:46.274Z] ---> Running in e76ce1fe87f0 [2022-10-03T03:22:46.532Z] Removing intermediate container e76ce1fe87f0 [2022-10-03T03:22:46.532Z] ---> d72cb34c4174 [2022-10-03T03:22:46.532Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:22:46.532Z] ---> Running in 257e741d2571 [2022-10-03T03:22:46.532Z] Removing intermediate container 257e741d2571 [2022-10-03T03:22:46.532Z] ---> 40f77296afca [2022-10-03T03:22:46.532Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:22:46.532Z] ---> Running in 1f383d5a8868 [2022-10-03T03:22:46.532Z] Removing intermediate container 1f383d5a8868 [2022-10-03T03:22:46.532Z] ---> ac1a2cc742ad [2022-10-03T03:22:46.532Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:22:46.532Z] ---> Running in 748b54ab14c8 [2022-10-03T03:22:47.101Z] Removing intermediate container 748b54ab14c8 [2022-10-03T03:22:47.101Z] ---> bb72ea3f8082 [2022-10-03T03:22:47.101Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:22:47.101Z] ---> Running in 284316acc446 [2022-10-03T03:22:47.666Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T03:22:48.233Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T03:22:48.798Z] OK: 211 MiB in 51 packages [2022-10-03T03:22:49.057Z] Removing intermediate container 284316acc446 [2022-10-03T03:22:49.057Z] ---> f964e4d9034d [2022-10-03T03:22:49.057Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-03T03:22:49.057Z] ---> Running in 289df4ff305d [2022-10-03T03:22:49.057Z] Removing intermediate container 289df4ff305d [2022-10-03T03:22:49.057Z] ---> aae3aabbb1cd [2022-10-03T03:22:49.057Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-03T03:22:49.315Z] ---> 5b6478be282d [2022-10-03T03:22:49.315Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:22:49.315Z] ---> Running in 2ded8e5760d2 [2022-10-03T03:22:49.884Z] Removing intermediate container 2ded8e5760d2 [2022-10-03T03:22:49.884Z] ---> 21dd71db08ce [2022-10-03T03:22:49.884Z] Step 13/27 : COPY . . [2022-10-03T03:22:50.858Z] ---> f83733f6a3e1 [2022-10-03T03:22:50.858Z] Step 14/27 : RUN ${MAKE} [2022-10-03T03:22:50.858Z] ---> Running in f57ed3c895cf [2022-10-03T03:22:51.116Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-03T03:23:17.636Z] Removing intermediate container f57ed3c895cf [2022-10-03T03:23:17.636Z] ---> 9d76803feafc [2022-10-03T03:23:17.636Z] Step 15/27 : FROM alpine:3.16 [2022-10-03T03:23:17.636Z] 3.16: Pulling from library/alpine [2022-10-03T03:23:17.636Z] 213ec9aee27d: Pulling fs layer [2022-10-03T03:23:17.636Z] 213ec9aee27d: Verifying Checksum [2022-10-03T03:23:17.636Z] 213ec9aee27d: Download complete [2022-10-03T03:23:17.636Z] 213ec9aee27d: Pull complete [2022-10-03T03:23:17.636Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T03:23:17.636Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T03:23:17.636Z] ---> 9c6f07244728 [2022-10-03T03:23:17.636Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-03T03:23:17.636Z] ---> Running in 345cb99fdf5a [2022-10-03T03:23:17.636Z] Removing intermediate container 345cb99fdf5a [2022-10-03T03:23:17.636Z] ---> 4fdd27113711 [2022-10-03T03:23:17.636Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T03:23:17.636Z] ---> Running in 9dd2a6aeb5a8 [2022-10-03T03:23:17.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T03:23:17.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T03:23:17.636Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T03:23:17.636Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T03:23:17.636Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T03:23:17.636Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T03:23:17.636Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T03:23:17.636Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T03:23:17.636Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T03:23:17.636Z] OK: 8 MiB in 20 packages [2022-10-03T03:23:17.636Z] Removing intermediate container 9dd2a6aeb5a8 [2022-10-03T03:23:17.636Z] ---> 1130e682f1c9 [2022-10-03T03:23:17.636Z] Step 18/27 : WORKDIR / [2022-10-03T03:23:17.636Z] ---> Running in ccd5e2d719f9 [2022-10-03T03:23:17.636Z] Removing intermediate container ccd5e2d719f9 [2022-10-03T03:23:17.636Z] ---> 8ce99a4a6942 [2022-10-03T03:23:17.636Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-03T03:23:17.636Z] ---> e30a483529d0 [2022-10-03T03:23:17.636Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-03T03:23:17.636Z] ---> 83d930b935fc [2022-10-03T03:23:17.636Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-03T03:23:17.636Z] ---> b250a468cc58 [2022-10-03T03:23:17.636Z] Step 22/27 : EXPOSE 59984 [2022-10-03T03:23:17.636Z] ---> Running in 8c88a46fb50e [2022-10-03T03:23:17.636Z] Removing intermediate container 8c88a46fb50e [2022-10-03T03:23:17.636Z] ---> 196b32e9e71f [2022-10-03T03:23:17.636Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-03T03:23:17.636Z] ---> Running in 902247d5e44a [2022-10-03T03:23:17.636Z] Removing intermediate container 902247d5e44a [2022-10-03T03:23:17.636Z] ---> f79a4d481d40 [2022-10-03T03:23:17.636Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T03:23:17.636Z] ---> Running in 1f009515188d [2022-10-03T03:23:17.636Z] Removing intermediate container 1f009515188d [2022-10-03T03:23:17.636Z] ---> eba0ed7a6c5b [2022-10-03T03:23:17.636Z] Step 25/27 : LABEL arch=amd64 [2022-10-03T03:23:17.637Z] ---> Running in dd17d5936849 [2022-10-03T03:23:17.637Z] Removing intermediate container dd17d5936849 [2022-10-03T03:23:17.637Z] ---> 952992ba4f41 [2022-10-03T03:23:17.637Z] Step 26/27 : LABEL git_sha=77e27a0582289f3b62e1ae2b21962694e5814c8c [2022-10-03T03:23:17.637Z] ---> Running in 2bf3e07a83da [2022-10-03T03:23:17.894Z] Removing intermediate container 2bf3e07a83da [2022-10-03T03:23:17.894Z] ---> 486508ffd0d9 [2022-10-03T03:23:17.894Z] Step 27/27 : LABEL version=0.0.0 [2022-10-03T03:23:17.894Z] ---> Running in 0dda5b0ee628 [2022-10-03T03:23:17.894Z] Removing intermediate container 0dda5b0ee628 [2022-10-03T03:23:17.894Z] ---> 42d960054bf8 [2022-10-03T03:23:17.894Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T03:23:17.894Z] Successfully built 42d960054bf8 [2022-10-03T03:23:17.894Z] 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-10-03T03:23:18.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:23:18.744Z] [2022-10-03T03:23:18.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:23:19.128Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:23:19.128Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T03:23:19.128Z] 5eb5b503b376: Pulling fs layer [2022-10-03T03:23:19.128Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T03:23:19.128Z] ec43610c2a17: Pulling fs layer [2022-10-03T03:23:19.128Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T03:23:19.128Z] 33b1e0a273af: Pulling fs layer [2022-10-03T03:23:19.128Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T03:23:19.128Z] 3a2ae6a8a46f: Waiting [2022-10-03T03:23:19.128Z] 33b1e0a273af: Waiting [2022-10-03T03:23:19.128Z] 2f39f015ded8: Pulling fs layer [2022-10-03T03:23:19.128Z] 5d3b04190fa2: Waiting [2022-10-03T03:23:19.128Z] 2f39f015ded8: Waiting [2022-10-03T03:23:19.128Z] 5c69ac0246d0: Verifying Checksum [2022-10-03T03:23:19.128Z] 5c69ac0246d0: Download complete [2022-10-03T03:23:19.128Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-03T03:23:19.128Z] 3a2ae6a8a46f: Download complete [2022-10-03T03:23:19.388Z] 33b1e0a273af: Verifying Checksum [2022-10-03T03:23:19.388Z] 33b1e0a273af: Download complete [2022-10-03T03:23:19.388Z] ec43610c2a17: Verifying Checksum [2022-10-03T03:23:19.388Z] ec43610c2a17: Download complete [2022-10-03T03:23:19.388Z] 5d3b04190fa2: Verifying Checksum [2022-10-03T03:23:19.388Z] 5d3b04190fa2: Download complete [2022-10-03T03:23:19.388Z] 5eb5b503b376: Verifying Checksum [2022-10-03T03:23:19.388Z] 5eb5b503b376: Download complete [2022-10-03T03:23:19.953Z] 2f39f015ded8: Download complete [2022-10-03T03:23:20.518Z] 5eb5b503b376: Pull complete [2022-10-03T03:23:20.518Z] 5c69ac0246d0: Pull complete [2022-10-03T03:23:21.091Z] ec43610c2a17: Pull complete [2022-10-03T03:23:21.091Z] 3a2ae6a8a46f: Pull complete [2022-10-03T03:23:21.350Z] 33b1e0a273af: Pull complete [2022-10-03T03:23:21.350Z] 5d3b04190fa2: Pull complete [2022-10-03T03:23:25.533Z] 2f39f015ded8: Pull complete [2022-10-03T03:23:25.533Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T03:23:25.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:23:25.533Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:23:25.749Z] prd-ubuntu20.04-docker-8c-8g-6804 does not seem to be running inside a container [2022-10-03T03:23:25.777Z] $ 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-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T03:23:30.321Z] $ docker top 3d9e9ed559e9ca34af52244bb08ae3314d4172076492b5b0ee6a1c042a2eed3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:23:30.757Z] ---> job-cost.sh [2022-10-03T03:23:30.757Z] lf-activate-venv: SKIPPING [2022-10-03T03:23:30.757Z] INFO: No Stack... [2022-10-03T03:23:31.326Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T03:23:31.585Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T03:23:31.897Z] + cat /w/workspace/undry_device-onvif-camera_PR-169/archives/cost.csv [2022-10-03T03:23:31.897Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T03:23:31.936Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-169-1-stack-cost] [2022-10-03T03:23:31.941Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-169-1-stack-cost] did not exist. Created. [2022-10-03T03:23:31.941Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-169-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T03:23:32.336Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T03:23:32.387Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T03:23:32.417Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-169-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T03:23:32.486Z] $ docker stop --time=1 3d9e9ed559e9ca34af52244bb08ae3314d4172076492b5b0ee6a1c042a2eed3f [2022-10-03T03:23:33.698Z] $ docker rm -f 3d9e9ed559e9ca34af52244bb08ae3314d4172076492b5b0ee6a1c042a2eed3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T03:24:42.728Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6807 in /w/workspace/undry_device-onvif-camera_PR-169 [Pipeline] { [Pipeline] ws [2022-10-03T03:24:42.770Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-03T03:24:42.851Z] The recommended git tool is: git [2022-10-03T03:24:48.500Z] using credential edgex-jenkins-ssh [2022-10-03T03:24:48.518Z] Cloning the remote Git repository [2022-10-03T03:24:48.584Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-03T03:24:48.681Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-10-03T03:24:48.843Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-03T03:24:48.845Z] > git --version # timeout=10 [2022-10-03T03:24:48.870Z] > git --version # 'git version 2.25.1' [2022-10-03T03:24:48.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T03:24:48.927Z] Verifying host key using known hosts file [2022-10-03T03:24:49.180Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T03:24:49.196Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T03:24:50.530Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-03T03:24:50.553Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T03:24:51.537Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-03T03:24:51.585Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-03T03:24:51.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T03:24:51.592Z] Verifying host key using known hosts file [2022-10-03T03:24:51.600Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T03:24:51.613Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T03:24:52.178Z] Merging remotes/origin/main commit 0803938d3e117362d3c6c6e4e1a4697135dfbf5d into PR head commit 77e27a0582289f3b62e1ae2b21962694e5814c8c [2022-10-03T03:24:52.609Z] Merge succeeded, producing 77e27a0582289f3b62e1ae2b21962694e5814c8c [2022-10-03T03:24:52.609Z] Checking out Revision 77e27a0582289f3b62e1ae2b21962694e5814c8c (PR-169) [2022-10-03T03:24:52.200Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T03:24:52.227Z] > git checkout -f 77e27a0582289f3b62e1ae2b21962694e5814c8c # timeout=10 [2022-10-03T03:24:52.481Z] > git remote # timeout=10 [2022-10-03T03:24:52.508Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T03:24:52.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T03:24:52.535Z] Verifying host key using known hosts file [2022-10-03T03:24:52.542Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T03:24:52.558Z] > git merge 0803938d3e117362d3c6c6e4e1a4697135dfbf5d # timeout=10 [2022-10-03T03:24:52.592Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T03:24:52.620Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T03:24:52.636Z] > git checkout -f 77e27a0582289f3b62e1ae2b21962694e5814c8c # timeout=10 [2022-10-03T03:24:53.508Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-10-03T03:24:53.574Z] > git --version # timeout=10 [2022-10-03T03:24:53.589Z] > git --version # 'git version 2.25.1' [2022-10-03T03:24:53.612Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T03:24:54.760Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T03:24:54.761Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T03:24:54.761Z] Dload Upload Total Spent Left Speed [2022-10-03T03:24:54.761Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh [2022-10-03T03:24:55.432Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T03:24:55.805Z] + sudo tee /etc/docker/daemon.new [2022-10-03T03:24:55.805Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T03:24:55.805Z] { [2022-10-03T03:24:55.805Z] "registry-mirrors": [ [2022-10-03T03:24:55.805Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T03:24:55.805Z] ], [2022-10-03T03:24:55.805Z] "bip": "10.250.0.254/24", [2022-10-03T03:24:55.805Z] "hosts": [ [2022-10-03T03:24:55.805Z] "tcp://0.0.0.0:5555", [2022-10-03T03:24:55.805Z] "unix:///var/run/docker.sock" [2022-10-03T03:24:55.805Z] ], [2022-10-03T03:24:55.805Z] "mtu": 1458, [2022-10-03T03:24:55.805Z] "selinux-enabled": true, [2022-10-03T03:24:55.805Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T03:24:55.805Z] } [Pipeline] sh [2022-10-03T03:24:56.171Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T03:24:56.559Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T03:25:14.899Z] provisioning config files... [2022-10-03T03:25:14.925Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6870143516795877840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:25:15.312Z] ---> docker-login.sh [2022-10-03T03:25:15.312Z] nexus3.edgexfoundry.org:10001 [2022-10-03T03:25:15.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:25:16.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:25:16.172Z] Configure a credential helper to remove this warning. See [2022-10-03T03:25:16.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:25:16.172Z] [2022-10-03T03:25:16.172Z] Login Succeeded [2022-10-03T03:25:16.172Z] nexus3.edgexfoundry.org:10002 [2022-10-03T03:25:16.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:25:16.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:25:16.441Z] Configure a credential helper to remove this warning. See [2022-10-03T03:25:16.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:25:16.441Z] [2022-10-03T03:25:16.441Z] Login Succeeded [2022-10-03T03:25:16.441Z] nexus3.edgexfoundry.org:10003 [2022-10-03T03:25:16.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:25:16.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:25:16.713Z] Configure a credential helper to remove this warning. See [2022-10-03T03:25:16.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:25:16.713Z] [2022-10-03T03:25:16.713Z] Login Succeeded [2022-10-03T03:25:16.713Z] nexus3.edgexfoundry.org:10004 [2022-10-03T03:25:16.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:25:17.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:25:17.264Z] Configure a credential helper to remove this warning. See [2022-10-03T03:25:17.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:25:17.264Z] [2022-10-03T03:25:17.264Z] Login Succeeded [2022-10-03T03:25:17.264Z] docker.io [2022-10-03T03:25:17.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:25:17.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:25:17.801Z] Configure a credential helper to remove this warning. See [2022-10-03T03:25:17.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:25:17.801Z] [2022-10-03T03:25:17.801Z] Login Succeeded [2022-10-03T03:25:17.802Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T03:25:17.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T03:25:18.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:25:18.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:25:18.202Z] ========================================================= [2022-10-03T03:25:18.202Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T03:25:18.202Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:25:18.685Z] + 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-10-03T03:25:19.276Z] Sending build context to Docker daemon 14.2MB [2022-10-03T03:25:19.276Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:25:19.276Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-03T03:25:19.276Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T03:25:19.276Z] b3c136eddcbf: Pulling fs layer [2022-10-03T03:25:19.276Z] c0a3192eca97: Pulling fs layer [2022-10-03T03:25:19.276Z] a050256f5b6f: Pulling fs layer [2022-10-03T03:25:19.276Z] 656be50a0ddc: Pulling fs layer [2022-10-03T03:25:19.276Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T03:25:19.276Z] f607e4fc86c3: Pulling fs layer [2022-10-03T03:25:19.276Z] 4d572c569a2c: Pulling fs layer [2022-10-03T03:25:19.276Z] fcf976331f73: Pulling fs layer [2022-10-03T03:25:19.276Z] 656be50a0ddc: Waiting [2022-10-03T03:25:19.276Z] 2bbca73fdf42: Waiting [2022-10-03T03:25:19.276Z] f607e4fc86c3: Waiting [2022-10-03T03:25:19.276Z] 4d572c569a2c: Waiting [2022-10-03T03:25:19.276Z] a050256f5b6f: Verifying Checksum [2022-10-03T03:25:19.276Z] a050256f5b6f: Download complete [2022-10-03T03:25:19.276Z] c0a3192eca97: Verifying Checksum [2022-10-03T03:25:19.276Z] c0a3192eca97: Download complete [2022-10-03T03:25:19.555Z] 2bbca73fdf42: Verifying Checksum [2022-10-03T03:25:19.555Z] 2bbca73fdf42: Download complete [2022-10-03T03:25:19.555Z] b3c136eddcbf: Verifying Checksum [2022-10-03T03:25:19.555Z] b3c136eddcbf: Download complete [2022-10-03T03:25:19.555Z] f607e4fc86c3: Download complete [2022-10-03T03:25:20.537Z] b3c136eddcbf: Pull complete [2022-10-03T03:25:20.537Z] fcf976331f73: Verifying Checksum [2022-10-03T03:25:20.537Z] fcf976331f73: Download complete [2022-10-03T03:25:21.129Z] c0a3192eca97: Pull complete [2022-10-03T03:25:21.409Z] a050256f5b6f: Pull complete [2022-10-03T03:25:21.689Z] 4d572c569a2c: Verifying Checksum [2022-10-03T03:25:21.689Z] 4d572c569a2c: Download complete [2022-10-03T03:25:22.658Z] 656be50a0ddc: Verifying Checksum [2022-10-03T03:25:22.658Z] 656be50a0ddc: Download complete [2022-10-03T03:25:35.178Z] 656be50a0ddc: Pull complete [2022-10-03T03:25:35.450Z] 2bbca73fdf42: Pull complete [2022-10-03T03:25:35.721Z] f607e4fc86c3: Pull complete [2022-10-03T03:25:42.397Z] 4d572c569a2c: Pull complete [2022-10-03T03:25:43.812Z] fcf976331f73: Pull complete [2022-10-03T03:25:43.812Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T03:25:43.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T03:25:43.812Z] ---> 3970a7415f9e [2022-10-03T03:25:43.812Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:25:45.771Z] ---> Running in 2fb86fdc02a4 [2022-10-03T03:25:46.042Z] Removing intermediate container 2fb86fdc02a4 [2022-10-03T03:25:46.042Z] ---> baebe0b83260 [2022-10-03T03:25:46.042Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:25:46.311Z] ---> Running in 9aa4b88bc666 [2022-10-03T03:25:46.580Z] Removing intermediate container 9aa4b88bc666 [2022-10-03T03:25:46.580Z] ---> 6c17db151bd2 [2022-10-03T03:25:46.580Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:25:46.580Z] ---> Running in 929e92a067bb [2022-10-03T03:25:46.851Z] Removing intermediate container 929e92a067bb [2022-10-03T03:25:46.851Z] ---> 036f7c982042 [2022-10-03T03:25:46.851Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:25:46.851Z] ---> Running in efbd61d62695 [2022-10-03T03:25:47.438Z] Removing intermediate container efbd61d62695 [2022-10-03T03:25:47.438Z] ---> cb7299574cc0 [2022-10-03T03:25:47.438Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:25:47.438Z] ---> Running in 6628063b1cb4 [2022-10-03T03:25:47.706Z] Removing intermediate container 6628063b1cb4 [2022-10-03T03:25:47.706Z] ---> 2592fce8456c [2022-10-03T03:25:47.706Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:25:47.706Z] ---> Running in 6dba50609c59 [2022-10-03T03:25:49.669Z] Removing intermediate container 6dba50609c59 [2022-10-03T03:25:49.669Z] ---> 2a9435973664 [2022-10-03T03:25:49.669Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:25:49.669Z] ---> Running in a06d08ee4ef3 [2022-10-03T03:25:50.632Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T03:25:51.600Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T03:25:52.565Z] OK: 221 MiB in 51 packages [2022-10-03T03:25:53.528Z] Removing intermediate container a06d08ee4ef3 [2022-10-03T03:25:53.528Z] ---> 7d889c16826a [2022-10-03T03:25:53.528Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-03T03:25:53.528Z] ---> Running in 9666682a4471 [2022-10-03T03:25:54.117Z] Removing intermediate container 9666682a4471 [2022-10-03T03:25:54.117Z] ---> c09e91b539a1 [2022-10-03T03:25:54.117Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-03T03:25:54.394Z] ---> 911d7aca6e8f [2022-10-03T03:25:54.394Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:25:54.663Z] ---> Running in c98c9f25f32d [2022-10-03T03:26:51.093Z] Removing intermediate container c98c9f25f32d [2022-10-03T03:26:51.093Z] ---> d8a8820b1652 [2022-10-03T03:26:51.093Z] Step 13/14 : COPY . . [2022-10-03T03:26:51.093Z] ---> faf5ac9600d3 [2022-10-03T03:26:51.093Z] Step 14/14 : RUN ${MAKE} [2022-10-03T03:26:51.093Z] ---> Running in b938d945712b [2022-10-03T03:26:51.093Z] noop [2022-10-03T03:26:51.093Z] Removing intermediate container b938d945712b [2022-10-03T03:26:51.093Z] ---> 4122105a26b7 [2022-10-03T03:26:51.093Z] Successfully built 4122105a26b7 [2022-10-03T03:26:51.093Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:26:51.560Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T03:26:51.560Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:26:51.810Z] prd-ubuntu20.04-docker-arm64-4c-16g-6807 does not seem to be running inside a container [2022-10-03T03:26:51.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T03:26:53.068Z] $ docker top b0572aefbc3b4171212e5474163d1ddf8d96ef9b7bd6cc395eb3450dc82c7649 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:26:53.940Z] + go version [2022-10-03T03:26:53.940Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T03:26:53.973Z] $ docker stop --time=1 b0572aefbc3b4171212e5474163d1ddf8d96ef9b7bd6cc395eb3450dc82c7649 [2022-10-03T03:26:55.564Z] $ docker rm -f b0572aefbc3b4171212e5474163d1ddf8d96ef9b7bd6cc395eb3450dc82c7649 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:26:56.416Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T03:26:56.416Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:26:56.658Z] prd-ubuntu20.04-docker-arm64-4c-16g-6807 does not seem to be running inside a container [2022-10-03T03:26:56.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T03:26:57.841Z] $ docker top c2b1317bcdcf28e06acfdde9e14ce1f7fa2d07d5c56b58b1133c349433fa2c59 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:26:58.402Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-03T03:26:59.118Z] + make test [2022-10-03T03:26:59.119Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T03:27:01.059Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-03T03:28:52.768Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-03T03:28:52.768Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.211s coverage: 28.2% of statements [2022-10-03T03:28:52.768Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-03T03:29:07.790Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.960s coverage: 86.5% of statements [2022-10-03T03:29:07.790Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T03:29:07.790Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T03:29:40.023Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T03:29:40.023Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T03:29:40.291Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T03:29:40.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T03:29:40.615Z] $ docker stop --time=1 c2b1317bcdcf28e06acfdde9e14ce1f7fa2d07d5c56b58b1133c349433fa2c59 [2022-10-03T03:29:42.679Z] $ docker rm -f c2b1317bcdcf28e06acfdde9e14ce1f7fa2d07d5c56b58b1133c349433fa2c59 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T03:29:43.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T03:29:43.793Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T03:29:44.323Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T03:29:44.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T03:29:45.266Z] + ls -al . [2022-10-03T03:29:45.266Z] total 232 [2022-10-03T03:29:45.266Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 03:27 . [2022-10-03T03:29:45.266Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:24 .. [2022-10-03T03:29:45.266Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:24 .git [2022-10-03T03:29:45.266Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:24 .github [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 03:24 .gitignore [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 03:24 .golangci.yml [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 03:24 Attribution.txt [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 03:24 CHANGELOG.md [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 03:24 Dockerfile [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 03:24 GOVERNANCE.md [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 03:24 Jenkinsfile [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 03:24 LICENSE [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 03:24 Makefile [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 03:24 OWNERS.md [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 03:24 README.md [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 03:21 VERSION [2022-10-03T03:29:45.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:24 bin [2022-10-03T03:29:45.266Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:24 cmd [2022-10-03T03:29:45.266Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 03:29 coverage.out [2022-10-03T03:29:45.266Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 03:24 doc [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 03:24 go.mod [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 03:24 go.sum [2022-10-03T03:29:45.266Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:24 internal [2022-10-03T03:29:45.266Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:24 snap [2022-10-03T03:29:45.266Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 03:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:29:45.683Z] + 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=77e27a0582289f3b62e1ae2b21962694e5814c8c --label arch=arm64 --label version=0.0.0 . [2022-10-03T03:29:46.267Z] Sending build context to Docker daemon 14.28MB [2022-10-03T03:29:46.267Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:29:46.267Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-03T03:29:46.267Z] ---> 4122105a26b7 [2022-10-03T03:29:46.267Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:29:46.267Z] ---> Running in d9351a8996a0 [2022-10-03T03:29:46.855Z] Removing intermediate container d9351a8996a0 [2022-10-03T03:29:46.855Z] ---> dac1964fb11b [2022-10-03T03:29:46.855Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:29:46.855Z] ---> Running in a21b64ec3f54 [2022-10-03T03:29:48.802Z] Removing intermediate container a21b64ec3f54 [2022-10-03T03:29:48.802Z] ---> 291f169e813d [2022-10-03T03:29:48.802Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:29:48.802Z] ---> Running in 2e0ecfd5f64f [2022-10-03T03:29:49.071Z] Removing intermediate container 2e0ecfd5f64f [2022-10-03T03:29:49.071Z] ---> 16b6be090392 [2022-10-03T03:29:49.071Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:29:49.071Z] ---> Running in 18747802907e [2022-10-03T03:29:49.338Z] Removing intermediate container 18747802907e [2022-10-03T03:29:49.338Z] ---> d70422176256 [2022-10-03T03:29:49.338Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:29:49.607Z] ---> Running in 60272776c64e [2022-10-03T03:29:51.022Z] Removing intermediate container 60272776c64e [2022-10-03T03:29:51.022Z] ---> 4367f65313d5 [2022-10-03T03:29:51.022Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:29:51.292Z] ---> Running in 1b31c6d21c36 [2022-10-03T03:29:53.880Z] Removing intermediate container 1b31c6d21c36 [2022-10-03T03:29:53.880Z] ---> 7d805a5a9748 [2022-10-03T03:29:53.880Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:29:53.880Z] ---> Running in 2ced8171e687 [2022-10-03T03:29:55.304Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T03:29:55.885Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T03:29:57.294Z] OK: 221 MiB in 51 packages [2022-10-03T03:29:58.703Z] Removing intermediate container 2ced8171e687 [2022-10-03T03:29:58.703Z] ---> bf0918311e15 [2022-10-03T03:29:58.703Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-03T03:29:58.703Z] ---> Running in d1879b1ced9e [2022-10-03T03:29:59.315Z] Removing intermediate container d1879b1ced9e [2022-10-03T03:29:59.315Z] ---> cad64f6617bd [2022-10-03T03:29:59.315Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-03T03:29:59.904Z] ---> d5b8042543cd [2022-10-03T03:29:59.904Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:29:59.904Z] ---> Running in 2a70b9167d7c [2022-10-03T03:30:02.509Z] Removing intermediate container 2a70b9167d7c [2022-10-03T03:30:02.509Z] ---> 2ff47d76f33b [2022-10-03T03:30:02.509Z] Step 13/27 : COPY . . [2022-10-03T03:30:04.470Z] ---> 00dd721f5026 [2022-10-03T03:30:04.470Z] Step 14/27 : RUN ${MAKE} [2022-10-03T03:30:04.470Z] ---> Running in d33ebed768d5 [2022-10-03T03:30:05.441Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-03T03:32:42.192Z] Removing intermediate container d33ebed768d5 [2022-10-03T03:32:42.192Z] ---> 0ac8bf49fe26 [2022-10-03T03:32:42.192Z] Step 15/27 : FROM alpine:3.16 [2022-10-03T03:32:42.192Z] 3.16: Pulling from library/alpine [2022-10-03T03:32:42.192Z] 9b18e9b68314: Pulling fs layer [2022-10-03T03:32:42.192Z] 9b18e9b68314: Verifying Checksum [2022-10-03T03:32:42.192Z] 9b18e9b68314: Download complete [2022-10-03T03:32:42.192Z] 9b18e9b68314: Pull complete [2022-10-03T03:32:42.192Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T03:32:42.192Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T03:32:42.192Z] ---> a6215f271958 [2022-10-03T03:32:42.192Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-03T03:32:42.192Z] ---> Running in 6cb09c85b279 [2022-10-03T03:32:42.192Z] Removing intermediate container 6cb09c85b279 [2022-10-03T03:32:42.192Z] ---> c19f526b5479 [2022-10-03T03:32:42.192Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T03:32:42.192Z] ---> Running in c364e060ac61 [2022-10-03T03:32:42.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T03:32:42.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T03:32:42.192Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T03:32:42.192Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T03:32:42.192Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T03:32:42.192Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T03:32:42.192Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T03:32:42.192Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T03:32:42.192Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T03:32:42.192Z] OK: 8 MiB in 20 packages [2022-10-03T03:32:42.192Z] Removing intermediate container c364e060ac61 [2022-10-03T03:32:42.192Z] ---> f629c7412efd [2022-10-03T03:32:42.192Z] Step 18/27 : WORKDIR / [2022-10-03T03:32:42.192Z] ---> Running in bf6e5fd94ab6 [2022-10-03T03:32:42.192Z] Removing intermediate container bf6e5fd94ab6 [2022-10-03T03:32:42.192Z] ---> fca140d00621 [2022-10-03T03:32:42.192Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-03T03:32:42.192Z] ---> acdd8171e4cb [2022-10-03T03:32:42.192Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-03T03:32:42.192Z] ---> 86c7a309bc88 [2022-10-03T03:32:42.192Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-03T03:32:42.192Z] ---> 8c46cabac8f8 [2022-10-03T03:32:42.192Z] Step 22/27 : EXPOSE 59984 [2022-10-03T03:32:42.192Z] ---> Running in d3a78a537567 [2022-10-03T03:32:42.192Z] Removing intermediate container d3a78a537567 [2022-10-03T03:32:42.192Z] ---> f60a2918039f [2022-10-03T03:32:42.192Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-03T03:32:42.192Z] ---> Running in ac083ff69cb0 [2022-10-03T03:32:42.192Z] Removing intermediate container ac083ff69cb0 [2022-10-03T03:32:42.192Z] ---> 7db54c9567de [2022-10-03T03:32:42.192Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T03:32:42.192Z] ---> Running in d3229c1d53e8 [2022-10-03T03:32:42.480Z] Removing intermediate container d3229c1d53e8 [2022-10-03T03:32:42.480Z] ---> b15c677be4fd [2022-10-03T03:32:42.480Z] Step 25/27 : LABEL arch=arm64 [2022-10-03T03:32:42.480Z] ---> Running in 8ee637b1922e [2022-10-03T03:32:42.760Z] Removing intermediate container 8ee637b1922e [2022-10-03T03:32:42.760Z] ---> 68dfc8e339ae [2022-10-03T03:32:42.760Z] Step 26/27 : LABEL git_sha=77e27a0582289f3b62e1ae2b21962694e5814c8c [2022-10-03T03:32:43.033Z] ---> Running in 19c7bdbce2e8 [2022-10-03T03:32:43.304Z] Removing intermediate container 19c7bdbce2e8 [2022-10-03T03:32:43.304Z] ---> bb0441a13bbf [2022-10-03T03:32:43.304Z] Step 27/27 : LABEL version=0.0.0 [2022-10-03T03:32:43.304Z] ---> Running in 448e5aad45c6 [2022-10-03T03:32:43.598Z] Removing intermediate container 448e5aad45c6 [2022-10-03T03:32:43.598Z] ---> b641843de01d [2022-10-03T03:32:43.598Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T03:32:43.598Z] Successfully built b641843de01d [2022-10-03T03:32:43.598Z] 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-10-03T03:32:44.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T03:32:44.399Z] [2022-10-03T03:32:44.399Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:32:44.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T03:32:44.806Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T03:32:44.806Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T03:32:44.806Z] 04944245beec: Pulling fs layer [2022-10-03T03:32:44.806Z] 699f458cf7ca: Pulling fs layer [2022-10-03T03:32:44.806Z] 765212b225bb: Pulling fs layer [2022-10-03T03:32:44.806Z] f23df028b6ca: Pulling fs layer [2022-10-03T03:32:44.806Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T03:32:44.806Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T03:32:44.806Z] 765212b225bb: Waiting [2022-10-03T03:32:44.806Z] f23df028b6ca: Waiting [2022-10-03T03:32:44.806Z] 2437ff75d9bd: Waiting [2022-10-03T03:32:45.076Z] 04944245beec: Verifying Checksum [2022-10-03T03:32:45.076Z] 04944245beec: Download complete [2022-10-03T03:32:45.076Z] 765212b225bb: Verifying Checksum [2022-10-03T03:32:45.076Z] 765212b225bb: Download complete [2022-10-03T03:32:45.076Z] f23df028b6ca: Verifying Checksum [2022-10-03T03:32:45.076Z] f23df028b6ca: Download complete [2022-10-03T03:32:45.076Z] d65c8cfc05b1: Verifying Checksum [2022-10-03T03:32:45.076Z] d65c8cfc05b1: Download complete [2022-10-03T03:32:45.346Z] 699f458cf7ca: Verifying Checksum [2022-10-03T03:32:45.346Z] 699f458cf7ca: Download complete [2022-10-03T03:32:45.634Z] 8998bd30e6a1: Verifying Checksum [2022-10-03T03:32:45.634Z] 8998bd30e6a1: Download complete [2022-10-03T03:32:48.235Z] 2437ff75d9bd: Verifying Checksum [2022-10-03T03:32:48.235Z] 2437ff75d9bd: Download complete [2022-10-03T03:32:49.650Z] 8998bd30e6a1: Pull complete [2022-10-03T03:32:49.917Z] 04944245beec: Pull complete [2022-10-03T03:32:51.326Z] 699f458cf7ca: Pull complete [2022-10-03T03:32:51.326Z] 765212b225bb: Pull complete [2022-10-03T03:32:52.293Z] f23df028b6ca: Pull complete [2022-10-03T03:32:52.293Z] d65c8cfc05b1: Pull complete [2022-10-03T03:33:07.299Z] 2437ff75d9bd: Pull complete [2022-10-03T03:33:07.299Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T03:33:07.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T03:33:07.299Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:33:07.625Z] prd-ubuntu20.04-docker-arm64-4c-16g-6807 does not seem to be running inside a container [2022-10-03T03:33:07.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-03T03:33:10.491Z] $ docker top eabe6a9a307d690d8ecc16c5839f58ad453fd111c2b3b1716b5a5ba0367b5759 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:33:11.434Z] ---> job-cost.sh [2022-10-03T03:33:11.434Z] lf-activate-venv: SKIPPING [2022-10-03T03:33:11.434Z] INFO: No Stack... [2022-10-03T03:33:12.016Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T03:33:12.599Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T03:33:13.268Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-10-03T03:33:13.268Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T03:33:13.357Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-169-1-stack-cost] [2022-10-03T03:33:13.363Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-169-1-stack-cost] did not exist. Created. [2022-10-03T03:33:13.363Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-169-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T03:33:14.087Z] /w/workspace/device-onvif-camera/1@tmp/durable-895b50cf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T03:33:14.769Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T03:33:14.805Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T03:33:14.867Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T03:33:14.883Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-169-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T03:33:14.944Z] $ docker stop --time=1 eabe6a9a307d690d8ecc16c5839f58ad453fd111c2b3b1716b5a5ba0367b5759 [2022-10-03T03:33:16.439Z] $ docker rm -f eabe6a9a307d690d8ecc16c5839f58ad453fd111c2b3b1716b5a5ba0367b5759 [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-10-03T03:33:17.394Z] provisioning config files... [2022-10-03T03:33:17.402Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-169@tmp/config3785117405097089007tmp [Pipeline] { [Pipeline] sh [2022-10-03T03:33:17.734Z] + set +x [2022-10-03T03:33:17.735Z] + curl -s https://codecov.io/bash [2022-10-03T03:33:17.735Z] + bash -s -- [2022-10-03T03:33:17.735Z] [2022-10-03T03:33:17.735Z] _____ _ [2022-10-03T03:33:17.735Z] / ____| | | [2022-10-03T03:33:17.735Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T03:33:17.735Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T03:33:17.735Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T03:33:17.735Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T03:33:17.735Z] Bash-1.0.6 [2022-10-03T03:33:17.735Z] [2022-10-03T03:33:17.735Z] [2022-10-03T03:33:17.735Z] ==> git version 2.25.1 found [2022-10-03T03:33:17.735Z] ==> 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-10-03T03:33:17.735Z] Release-Date: 2020-01-08 [2022-10-03T03:33:17.735Z] 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-10-03T03:33:17.735Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T03:33:17.735Z] ==> Jenkins CI detected. [2022-10-03T03:33:17.735Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-169 [2022-10-03T03:33:17.735Z] project root: . [2022-10-03T03:33:17.735Z] --> token set from env [2022-10-03T03:33:17.735Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T03:33:17.735Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T03:33:17.735Z] ==> Python coveragepy not found [2022-10-03T03:33:17.735Z] ==> Searching for coverage reports in: [2022-10-03T03:33:17.735Z] + . [2022-10-03T03:33:17.735Z] -> Found 1 reports [2022-10-03T03:33:17.735Z] ==> Detecting git/mercurial file structure [2022-10-03T03:33:17.735Z] ==> Reading reports [2022-10-03T03:33:17.735Z] + ./coverage.out bytes=78461 [2022-10-03T03:33:17.735Z] ==> Appending adjustments [2022-10-03T03:33:17.735Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T03:33:17.994Z] + Found adjustments [2022-10-03T03:33:17.994Z] ==> Gzipping contents [2022-10-03T03:33:17.994Z] 12K /tmp/codecov.CkWeB9.gz [2022-10-03T03:33:17.994Z] ==> Uploading reports [2022-10-03T03:33:17.994Z] url: https://codecov.io [2022-10-03T03:33:17.994Z] query: branch=PR-169&commit=77e27a0582289f3b62e1ae2b21962694e5814c8c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-169%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=169&job=&cmd_args= [2022-10-03T03:33:17.994Z] -> Pinging Codecov [2022-10-03T03:33:17.994Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-169&commit=77e27a0582289f3b62e1ae2b21962694e5814c8c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-169%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=169&job=&cmd_args= [2022-10-03T03:33:18.252Z] -> Uploading to [2022-10-03T03:33:18.252Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/F29A59C45E3A92E06B3E522C9905F8EF/77e27a0582289f3b62e1ae2b21962694e5814c8c/b3720842-08c7-4907-9bf4-3ea46526c16f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T033318Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=39c5f788dd6e5b7a18773a21fe6e9d8b15a61b4ba1df15e178420caf404ab95b [2022-10-03T03:33:18.252Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T03:33:18.252Z] Dload Upload Total Spent Left Speed [2022-10-03T03:33:18.511Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10752 0 0 100 10752 0 43530 --:--:-- --:--:-- --:--:-- 43530 [2022-10-03T03:33:18.511Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/77e27a0582289f3b62e1ae2b21962694e5814c8c [Pipeline] } [2022-10-03T03:33:18.539Z] 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-10-03T03:33:20.409Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-169/archives ] [2022-10-03T03:33:20.409Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-169/archives [2022-10-03T03:33:20.409Z] total 16 [2022-10-03T03:33:20.409Z] drwxr-xr-x 3 root root 4096 Oct 3 03:23 . [2022-10-03T03:33:20.409Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 03:23 .. [2022-10-03T03:33:20.409Z] drwxr-xr-x 2 root root 4096 Oct 3 03:23 cost [2022-10-03T03:33:20.409Z] -rw-r--r-- 1 root root 91 Oct 3 03:23 cost.csv [2022-10-03T03:33:20.409Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-169/archives [2022-10-03T03:33:20.409Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-169/archives [2022-10-03T03:33:20.409Z] total 16 [2022-10-03T03:33:20.409Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:23 . [2022-10-03T03:33:20.409Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 03:23 .. [2022-10-03T03:33:20.409Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 03:23 cost [2022-10-03T03:33:20.409Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 3 03:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:33:20.733Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:33:21.620Z] ---> package-listing.sh [2022-10-03T03:33:21.620Z] ++ facter osfamily [2022-10-03T03:33:21.620Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T03:33:21.881Z] + OS_FAMILY=debian [2022-10-03T03:33:21.881Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-169 [2022-10-03T03:33:21.881Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T03:33:21.881Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T03:33:21.881Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T03:33:21.881Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T03:33:21.881Z] + '[' /w/workspace/undry_device-onvif-camera_PR-169 ']' [2022-10-03T03:33:21.881Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T03:33:21.881Z] + case "${OS_FAMILY}" in [2022-10-03T03:33:21.881Z] + dpkg -l [2022-10-03T03:33:21.881Z] + grep '^ii' [2022-10-03T03:33:21.881Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T03:33:21.881Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T03:33:21.881Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T03:33:21.881Z] + '[' /w/workspace/undry_device-onvif-camera_PR-169 ']' [2022-10-03T03:33:21.881Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-169/archives/ [2022-10-03T03:33:21.881Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-169/archives/ [Pipeline] echo [2022-10-03T03:33:21.914Z] 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-169/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-03T03:33:22.202Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:33:22.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:33:22.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:33:22.972Z] prd-ubuntu20.04-docker-8c-8g-6804 does not seem to be running inside a container [2022-10-03T03:33:22.996Z] $ 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-169/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-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T03:33:23.321Z] $ docker top 8f09f828ffc99014aa56471b78d2138afbc620f1c85b3f58d05d495131a09b8f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:33:23.708Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T03:33:24.018Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T03:33:24.330Z] + ls /var/log/sa-host [2022-10-03T03:33:24.330Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T03:33:24.461Z] provisioning config files... [2022-10-03T03:33:24.469Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-169@tmp/config9796589310682305630tmp [Pipeline] { [Pipeline] echo [2022-10-03T03:33:24.527Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:33:24.843Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T03:33:24.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:33:25.257Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T03:33:25.294Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:33:25.613Z] ---> sudo-logs.sh [2022-10-03T03:33:25.613Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T03:33:25.704Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:33:26.013Z] ---> job-cost.sh [2022-10-03T03:33:26.013Z] lf-activate-venv: SKIPPING [2022-10-03T03:33:26.013Z] DEBUG: total: 0.2199999988079071 [2022-10-03T03:33:26.013Z] INFO: Retrieving Stack Cost... [2022-10-03T03:33:26.273Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T03:33:26.839Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T03:33:26.871Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:33:27.179Z] ---> logs-deploy.sh [2022-10-03T03:33:27.179Z] lf-activate-venv: SKIPPING [2022-10-03T03:33:27.179Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-169/1 [2022-10-03T03:33:27.179Z] INFO: archiving workspace using pattern(s): [2022-10-03T03:33:28.115Z] Archives upload complete. [2022-10-03T03:33:28.115Z] INFO: archiving logs to Nexus