Pull request #183 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9743c2621e012aae49f2714df923641dd282187+c32d12cb3f3d5bd786ac66f0af1d84994387a230 (be29ec3472b84bb5d41cca65d6fadcb10e02683f) 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-ssh4091480004522421428.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2215789355458675430.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh 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-183/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-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8510191260254748002.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-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11436067105321051859.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh7366332384405425675.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-183/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-183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1150638664043619681.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-8998’ Running on prd-ubuntu20.04-docker-8c-8g-9064 in /w/workspace/undry_device-onvif-camera_PR-183 [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-183 # 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/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit f9743c2621e012aae49f2714df923641dd282187 Merge succeeded, producing f9743c2621e012aae49f2714df923641dd282187 Checking out Revision f9743c2621e012aae49f2714df923641dd282187 (PR-183) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T03:42:20.172Z] Timeout set to expire in 6 hr 0 min > git config core.sparsecheckout # timeout=10 > git checkout -f f9743c2621e012aae49f2714df923641dd282187 # 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 c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9743c2621e012aae49f2714df923641dd282187 # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T03:42:20.357Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T03:42:20.459Z] ========================================================= [2022-10-24T03:42:20.459Z] EdgeX Global Pipelines Version Info [2022-10-24T03:42:20.459Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:42:21.198Z] ------------------- [2022-10-24T03:42:21.198Z] stable info: [2022-10-24T03:42:21.198Z] ------------------- [2022-10-24T03:42:21.198Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T03:42:21.198Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T03:42:21.198Z] Message: update stable to v1.0.243 [2022-10-24T03:42:21.772Z] ------------------- [2022-10-24T03:42:21.772Z] experimental info: [2022-10-24T03:42:21.772Z] ------------------- [2022-10-24T03:42:21.772Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T03:42:21.772Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T03:42:21.772Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T03:42:22.038Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-24T03:42:22.076Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-24T03:42:22.115Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T03:42:22.154Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T03:42:22.194Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T03:42:22.230Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T03:42:22.270Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T03:42:22.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T03:42:22.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T03:42:22.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T03:42:22.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T03:42:22.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-24T03:42:22.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T03:42:22.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T03:42:22.576Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T03:42:22.617Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T03:42:22.657Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T03:42:22.696Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T03:42:22.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T03:42:22.771Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T03:42:22.809Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-24T03:42:22.841Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-24T03:42:22.887Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T03:42:22.921Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T03:42:22.963Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T03:42:23.004Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T03:42:23.044Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T03:42:23.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-183 [Pipeline] echo [2022-10-24T03:42:23.118Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-183 [Pipeline] echo [2022-10-24T03:42:23.155Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-183 [Pipeline] echo [2022-10-24T03:42:23.193Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9743c2621e012aae49f2714df923641dd282187 [Pipeline] echo [2022-10-24T03:42:23.234Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9743c2 [Pipeline] echo [2022-10-24T03:42:23.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T03:42:23.392Z] provisioning config files... [2022-10-24T03:42:23.406Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-183@tmp/config4448041597267008159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:42:23.853Z] ---> docker-login.sh [2022-10-24T03:42:23.853Z] nexus3.edgexfoundry.org:10001 [2022-10-24T03:42:24.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:24.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:24.115Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:24.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:24.115Z] [2022-10-24T03:42:24.115Z] Login Succeeded [2022-10-24T03:42:24.115Z] nexus3.edgexfoundry.org:10002 [2022-10-24T03:42:24.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:24.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:24.115Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:24.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:24.115Z] [2022-10-24T03:42:24.115Z] Login Succeeded [2022-10-24T03:42:24.115Z] nexus3.edgexfoundry.org:10003 [2022-10-24T03:42:24.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:24.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:24.375Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:24.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:24.375Z] [2022-10-24T03:42:24.375Z] Login Succeeded [2022-10-24T03:42:24.375Z] nexus3.edgexfoundry.org:10004 [2022-10-24T03:42:24.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:24.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:24.375Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:24.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:24.375Z] [2022-10-24T03:42:24.375Z] Login Succeeded [2022-10-24T03:42:24.375Z] docker.io [2022-10-24T03:42:24.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:24.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:24.897Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:24.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:24.897Z] [2022-10-24T03:42:24.897Z] Login Succeeded [2022-10-24T03:42:24.897Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T03:42:24.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T03:42:25.529Z] + git rev-list -1 --merges f9743c2621e012aae49f2714df923641dd282187~1..f9743c2621e012aae49f2714df923641dd282187 [Pipeline] echo [2022-10-24T03:42:25.578Z] -----------> git rev-list -1 --merges f9743c2621e012aae49f2714df923641dd282187~1..f9743c2621e012aae49f2714df923641dd282187 f9743c2621e012aae49f2714df923641dd282187 [false] [Pipeline] sh [2022-10-24T03:42:25.891Z] + git log --format=format:%s -1 f9743c2621e012aae49f2714df923641dd282187 [Pipeline] echo [2022-10-24T03:42:25.931Z] ========================================================= [2022-10-24T03:42:25.931Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T03:42:25.931Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T03:42:26.342Z] + git log --format=format:%s -1 f9743c2621e012aae49f2714df923641dd282187 [Pipeline] echo [2022-10-24T03:42:26.374Z] [semverPrep] GIT_COMMIT: f9743c2621e012aae49f2714df923641dd282187, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-10-24T03:42:26.404Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T03:42:26.794Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T03:42:26.794Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T03:42:26.794Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T03:42:26.794Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T03:42:26.794Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T03:42:26.794Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T03:42:26.794Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:42:27.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T03:42:27.214Z] [2022-10-24T03:42:27.214Z] 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-24T03:42:27.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T03:42:27.600Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T03:42:27.600Z] b85a868b505f: Pulling fs layer [2022-10-24T03:42:27.600Z] e2be974225ed: Pulling fs layer [2022-10-24T03:42:27.600Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T03:42:27.600Z] 988bab9f4d93: Pulling fs layer [2022-10-24T03:42:27.600Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T03:42:27.600Z] eaf3925da568: Pulling fs layer [2022-10-24T03:42:27.600Z] bab4dde63d76: Pulling fs layer [2022-10-24T03:42:27.600Z] bde34c3a00c8: Pulling fs layer [2022-10-24T03:42:27.600Z] b352a97aabf1: Pulling fs layer [2022-10-24T03:42:27.600Z] 4872d77fe225: Pulling fs layer [2022-10-24T03:42:27.600Z] 5851b861e8e6: Pulling fs layer [2022-10-24T03:42:27.600Z] 1469e6f7b9e6: Waiting [2022-10-24T03:42:27.600Z] eaf3925da568: Waiting [2022-10-24T03:42:27.600Z] bab4dde63d76: Waiting [2022-10-24T03:42:27.600Z] bde34c3a00c8: Waiting [2022-10-24T03:42:27.600Z] b352a97aabf1: Waiting [2022-10-24T03:42:27.600Z] 4872d77fe225: Waiting [2022-10-24T03:42:27.600Z] 988bab9f4d93: Waiting [2022-10-24T03:42:27.600Z] e2be974225ed: Download complete [2022-10-24T03:42:27.600Z] 988bab9f4d93: Verifying Checksum [2022-10-24T03:42:27.600Z] 988bab9f4d93: Download complete [2022-10-24T03:42:27.871Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T03:42:27.871Z] 1469e6f7b9e6: Download complete [2022-10-24T03:42:27.871Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T03:42:27.871Z] 339a4e72a1f5: Download complete [2022-10-24T03:42:27.871Z] eaf3925da568: Verifying Checksum [2022-10-24T03:42:27.871Z] eaf3925da568: Download complete [2022-10-24T03:42:27.871Z] bde34c3a00c8: Verifying Checksum [2022-10-24T03:42:27.871Z] bde34c3a00c8: Download complete [2022-10-24T03:42:27.871Z] b352a97aabf1: Download complete [2022-10-24T03:42:27.871Z] 4872d77fe225: Verifying Checksum [2022-10-24T03:42:27.871Z] 4872d77fe225: Download complete [2022-10-24T03:42:27.871Z] 5851b861e8e6: Download complete [2022-10-24T03:42:27.871Z] b85a868b505f: Verifying Checksum [2022-10-24T03:42:27.871Z] b85a868b505f: Download complete [2022-10-24T03:42:28.139Z] bab4dde63d76: Verifying Checksum [2022-10-24T03:42:28.139Z] bab4dde63d76: Download complete [2022-10-24T03:42:29.525Z] b85a868b505f: Pull complete [2022-10-24T03:42:29.525Z] e2be974225ed: Pull complete [2022-10-24T03:42:30.094Z] 339a4e72a1f5: Pull complete [2022-10-24T03:42:30.094Z] 988bab9f4d93: Pull complete [2022-10-24T03:42:30.663Z] 1469e6f7b9e6: Pull complete [2022-10-24T03:42:30.922Z] eaf3925da568: Pull complete [2022-10-24T03:42:32.825Z] bab4dde63d76: Pull complete [2022-10-24T03:42:32.825Z] bde34c3a00c8: Pull complete [2022-10-24T03:42:33.086Z] b352a97aabf1: Pull complete [2022-10-24T03:42:33.086Z] 4872d77fe225: Pull complete [2022-10-24T03:42:33.086Z] 5851b861e8e6: Pull complete [2022-10-24T03:42:33.086Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T03:42:33.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T03:42:33.086Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:42:33.321Z] prd-ubuntu20.04-docker-8c-8g-9064 does not seem to be running inside a container [2022-10-24T03:42:33.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-183 -v /w/workspace/undry_device-onvif-camera_PR-183:/w/workspace/undry_device-onvif-camera_PR-183:rw,z -v /w/workspace/undry_device-onvif-camera_PR-183@tmp:/w/workspace/undry_device-onvif-camera_PR-183@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-24T03:42:35.784Z] $ docker top ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be -eo pid,comm [2022-10-24T03:42:35.853Z] 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-24T03:42:35.854Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T03:42:35.981Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T03:42:35.981Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T03:42:36.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T03:42:36.131Z] $ docker exec ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be ssh-agent [2022-10-24T03:42:36.255Z] SSH_AUTH_SOCK=/tmp/ssh-4lRueDPnx2nC/agent.14 [2022-10-24T03:42:36.255Z] SSH_AGENT_PID=27 [2022-10-24T03:42:36.271Z] Running ssh-add (command line suppressed) [2022-10-24T03:42:36.385Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-183@tmp/private_key_3798790537898418977.key (/w/workspace/undry_device-onvif-camera_PR-183@tmp/private_key_3798790537898418977.key) [2022-10-24T03:42:36.397Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T03:42:36.726Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T03:42:36.751Z] $ docker exec --env ******** --env ******** ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be ssh-agent -k [2022-10-24T03:42:36.850Z] unset SSH_AUTH_SOCK; [2022-10-24T03:42:36.851Z] unset SSH_AGENT_PID; [2022-10-24T03:42:36.851Z] echo Agent pid 27 killed; [2022-10-24T03:42:36.881Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T03:42:36.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T03:42:36.967Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T03:42:37.073Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T03:42:37.077Z] $ docker exec ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be ssh-agent [2022-10-24T03:42:37.201Z] SSH_AUTH_SOCK=/tmp/ssh-nIgQxOweR00b/agent.70 [2022-10-24T03:42:37.201Z] SSH_AGENT_PID=76 [2022-10-24T03:42:37.207Z] Running ssh-add (command line suppressed) [2022-10-24T03:42:37.323Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-183@tmp/private_key_15330260123580531816.key (/w/workspace/undry_device-onvif-camera_PR-183@tmp/private_key_15330260123580531816.key) [2022-10-24T03:42:37.335Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T03:42:37.661Z] + git semver init [2022-10-24T03:42:37.921Z] 2022-10-24 03:42:37,875 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T03:42:37.921Z] 2022-10-24 03:42:37,876 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-183/.semver [2022-10-24T03:42:37.921Z] 2022-10-24 03:42:37,876 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-183/.semver [2022-10-24T03:42:37.921Z] 2022-10-24 03:42:37,877 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-183/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-183, universal_newlines=False, shell=None, istream=None) [2022-10-24T03:42:39.297Z] 2022-10-24 03:42:38,922 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-183/.git/info/exclude [2022-10-24T03:42:39.297Z] 2022-10-24 03:42:38,923 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-183/.semver/PR-183 with force:False [2022-10-24T03:42:39.297Z] 2022-10-24 03:42:38,923 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-183/.semver/PR-183 [2022-10-24T03:42:39.297Z] 2022-10-24 03:42:38,927 [execute] INFO git cat-file --batch-check [2022-10-24T03:42:39.297Z] 2022-10-24 03:42:38,928 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-183/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T03:42:39.297Z] 2022-10-24 03:42:38,935 [execute] INFO git cat-file --batch [2022-10-24T03:42:39.297Z] 2022-10-24 03:42:38,935 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-183/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T03:42:39.297Z] 2022-10-24 03:42:38,941 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-183/.semver/PR-183 [2022-10-24T03:42:39.297Z] 0.0.0 [Pipeline] } [2022-10-24T03:42:39.324Z] $ docker exec --env ******** --env ******** ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be ssh-agent -k [2022-10-24T03:42:39.422Z] unset SSH_AUTH_SOCK; [2022-10-24T03:42:39.422Z] unset SSH_AGENT_PID; [2022-10-24T03:42:39.423Z] echo Agent pid 76 killed; [2022-10-24T03:42:39.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T03:42:39.875Z] + git semver [Pipeline] } [2022-10-24T03:42:40.162Z] $ docker stop --time=1 ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be [2022-10-24T03:42:41.446Z] $ docker rm -f ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T03:42:41.847Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T03:42:42.078Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T03:42:42.095Z] [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-24T03:42:42.652Z] provisioning config files... [2022-10-24T03:42:42.660Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-183@tmp/config14373068516190439931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:42:43.001Z] ---> docker-login.sh [2022-10-24T03:42:43.001Z] nexus3.edgexfoundry.org:10001 [2022-10-24T03:42:43.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:43.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:43.264Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:43.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:43.264Z] [2022-10-24T03:42:43.264Z] Login Succeeded [2022-10-24T03:42:43.264Z] nexus3.edgexfoundry.org:10002 [2022-10-24T03:42:43.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:43.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:43.264Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:43.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:43.264Z] [2022-10-24T03:42:43.264Z] Login Succeeded [2022-10-24T03:42:43.264Z] nexus3.edgexfoundry.org:10003 [2022-10-24T03:42:43.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:43.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:43.523Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:43.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:43.523Z] [2022-10-24T03:42:43.523Z] Login Succeeded [2022-10-24T03:42:43.523Z] nexus3.edgexfoundry.org:10004 [2022-10-24T03:42:43.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:43.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:43.523Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:43.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:43.523Z] [2022-10-24T03:42:43.523Z] Login Succeeded [2022-10-24T03:42:43.523Z] docker.io [2022-10-24T03:42:43.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:44.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:44.090Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:44.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:44.090Z] [2022-10-24T03:42:44.090Z] Login Succeeded [2022-10-24T03:42:44.090Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T03:42:44.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T03:42:44.310Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T03:42:44.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T03:42:44.380Z] ========================================================= [2022-10-24T03:42:44.380Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T03:42:44.380Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:42:44.853Z] + 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-24T03:42:44.853Z] Sending build context to Docker daemon 21.4MB [2022-10-24T03:42:44.853Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T03:42:44.853Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-24T03:42:45.113Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T03:42:45.113Z] 213ec9aee27d: Pulling fs layer [2022-10-24T03:42:45.113Z] 4583459ba037: Pulling fs layer [2022-10-24T03:42:45.113Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T03:42:45.113Z] 53926ce57604: Pulling fs layer [2022-10-24T03:42:45.113Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T03:42:45.113Z] 30f14e443154: Pulling fs layer [2022-10-24T03:42:45.113Z] 801331c1e519: Pulling fs layer [2022-10-24T03:42:45.113Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T03:42:45.113Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T03:42:45.113Z] 801331c1e519: Waiting [2022-10-24T03:42:45.113Z] 99cc6dd402b0: Waiting [2022-10-24T03:42:45.113Z] 53926ce57604: Waiting [2022-10-24T03:42:45.113Z] 7d9ed39f4882: Waiting [2022-10-24T03:42:45.113Z] 21b2b0c7a3f4: Waiting [2022-10-24T03:42:45.113Z] 30f14e443154: Waiting [2022-10-24T03:42:45.113Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T03:42:45.113Z] 93c1e223e6f2: Download complete [2022-10-24T03:42:45.113Z] 4583459ba037: Download complete [2022-10-24T03:42:45.113Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-24T03:42:45.113Z] 21b2b0c7a3f4: Download complete [2022-10-24T03:42:45.113Z] 30f14e443154: Verifying Checksum [2022-10-24T03:42:45.113Z] 30f14e443154: Download complete [2022-10-24T03:42:45.113Z] 213ec9aee27d: Verifying Checksum [2022-10-24T03:42:45.113Z] 213ec9aee27d: Download complete [2022-10-24T03:42:45.113Z] 801331c1e519: Verifying Checksum [2022-10-24T03:42:45.113Z] 801331c1e519: Download complete [2022-10-24T03:42:45.371Z] 213ec9aee27d: Pull complete [2022-10-24T03:42:45.371Z] 4583459ba037: Pull complete [2022-10-24T03:42:45.371Z] 93c1e223e6f2: Pull complete [2022-10-24T03:42:45.634Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T03:42:45.634Z] 7d9ed39f4882: Download complete [2022-10-24T03:42:45.634Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T03:42:45.634Z] 99cc6dd402b0: Download complete [2022-10-24T03:42:45.894Z] 53926ce57604: Verifying Checksum [2022-10-24T03:42:45.894Z] 53926ce57604: Download complete [2022-10-24T03:42:50.101Z] 53926ce57604: Pull complete [2022-10-24T03:42:50.101Z] 21b2b0c7a3f4: Pull complete [2022-10-24T03:42:50.101Z] 30f14e443154: Pull complete [2022-10-24T03:42:50.101Z] 801331c1e519: Pull complete [2022-10-24T03:42:51.999Z] 99cc6dd402b0: Pull complete [2022-10-24T03:42:52.932Z] 7d9ed39f4882: Pull complete [2022-10-24T03:42:52.932Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T03:42:52.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T03:42:52.932Z] ---> 1dedd983c030 [2022-10-24T03:42:52.932Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-24T03:42:57.483Z] Still waiting to schedule task [2022-10-24T03:42:57.484Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9062’ [2022-10-24T03:42:58.208Z] ---> Running in c186aa2e37b5 [2022-10-24T03:42:58.466Z] Removing intermediate container c186aa2e37b5 [2022-10-24T03:42:58.466Z] ---> 4c245d8ca80b [2022-10-24T03:42:58.466Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T03:42:58.466Z] ---> Running in 18a65cff8437 [2022-10-24T03:42:58.724Z] Removing intermediate container 18a65cff8437 [2022-10-24T03:42:58.725Z] ---> 9e6042ab29c4 [2022-10-24T03:42:58.725Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T03:42:58.982Z] ---> Running in 5ec9419046f8 [2022-10-24T03:42:59.261Z] Removing intermediate container 5ec9419046f8 [2022-10-24T03:42:59.261Z] ---> 4dd268c33324 [2022-10-24T03:42:59.261Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T03:42:59.523Z] ---> Running in b9b36c5b1e7b [2022-10-24T03:42:59.783Z] Removing intermediate container b9b36c5b1e7b [2022-10-24T03:42:59.783Z] ---> b5b07e9b6007 [2022-10-24T03:42:59.783Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-24T03:43:00.348Z] ---> Running in 16283e345112 [2022-10-24T03:43:00.348Z] Removing intermediate container 16283e345112 [2022-10-24T03:43:00.348Z] ---> 7c88c16d702a [2022-10-24T03:43:00.348Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T03:43:00.606Z] ---> Running in 14791ddee4fc [2022-10-24T03:43:01.171Z] Removing intermediate container 14791ddee4fc [2022-10-24T03:43:01.171Z] ---> 6b09e45d4dad [2022-10-24T03:43:01.171Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T03:43:01.171Z] ---> Running in 8c2edfddc6bb [2022-10-24T03:43:01.430Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T03:43:02.365Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T03:43:02.624Z] OK: 211 MiB in 51 packages [2022-10-24T03:43:03.190Z] Removing intermediate container 8c2edfddc6bb [2022-10-24T03:43:03.190Z] ---> 2dcf19ebfb15 [2022-10-24T03:43:03.190Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-24T03:43:03.190Z] ---> Running in 06526d5c819e [2022-10-24T03:43:03.448Z] Removing intermediate container 06526d5c819e [2022-10-24T03:43:03.448Z] ---> 8071de30bc04 [2022-10-24T03:43:03.448Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-24T03:43:03.706Z] ---> f98721598cb1 [2022-10-24T03:43:03.706Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T03:43:03.706Z] ---> Running in efd330f3e548 [2022-10-24T03:43:35.834Z] Removing intermediate container efd330f3e548 [2022-10-24T03:43:35.834Z] ---> d5756f61ee1e [2022-10-24T03:43:35.834Z] Step 13/14 : COPY . . [2022-10-24T03:43:35.834Z] ---> 7ef15f0b484d [2022-10-24T03:43:35.834Z] Step 14/14 : RUN ${MAKE} [2022-10-24T03:43:35.834Z] ---> Running in c448c96d5ef0 [2022-10-24T03:43:35.834Z] noop [2022-10-24T03:43:35.834Z] Removing intermediate container c448c96d5ef0 [2022-10-24T03:43:35.834Z] ---> a7539cfe1608 [2022-10-24T03:43:35.834Z] Successfully built a7539cfe1608 [2022-10-24T03:43:35.834Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:43:36.249Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T03:43:36.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:43:36.403Z] prd-ubuntu20.04-docker-8c-8g-9064 does not seem to be running inside a container [2022-10-24T03:43:36.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-183 -v /w/workspace/undry_device-onvif-camera_PR-183:/w/workspace/undry_device-onvif-camera_PR-183:rw,z -v /w/workspace/undry_device-onvif-camera_PR-183@tmp:/w/workspace/undry_device-onvif-camera_PR-183@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-x86_64 cat [2022-10-24T03:43:36.783Z] $ docker top 11ac1d59a55987e90fc54afbe355fdc60e05bf1905a60f76f13d9be3853ed4ca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:43:37.167Z] + go version [2022-10-24T03:43:37.167Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T03:43:37.202Z] $ docker stop --time=1 11ac1d59a55987e90fc54afbe355fdc60e05bf1905a60f76f13d9be3853ed4ca [2022-10-24T03:43:38.434Z] $ docker rm -f 11ac1d59a55987e90fc54afbe355fdc60e05bf1905a60f76f13d9be3853ed4ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:43:39.136Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T03:43:39.136Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:43:39.276Z] prd-ubuntu20.04-docker-8c-8g-9064 does not seem to be running inside a container [2022-10-24T03:43:39.314Z] $ 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-183 -v /w/workspace/undry_device-onvif-camera_PR-183:/w/workspace/undry_device-onvif-camera_PR-183:rw,z -v /w/workspace/undry_device-onvif-camera_PR-183@tmp:/w/workspace/undry_device-onvif-camera_PR-183@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-x86_64 cat [2022-10-24T03:43:39.619Z] $ docker top 403293b19059bb802a0c5a148815db7ae9311d27cf09660560ab0cc2d79952c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:43:39.995Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-183 [Pipeline] fileExists [Pipeline] sh [2022-10-24T03:43:40.344Z] + make test [2022-10-24T03:43:40.344Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T03:43:40.602Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-24T03:43:50.562Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-24T03:43:51.936Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.038s coverage: 28.2% of statements [2022-10-24T03:43:51.937Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-24T03:43:51.937Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.315s coverage: 86.5% of statements [2022-10-24T03:43:58.491Z] 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-24T03:43:58.491Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T03:44:01.826Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T03:44:01.826Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T03:44:01.826Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T03:44:01.866Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T03:44:01.897Z] $ docker stop --time=1 403293b19059bb802a0c5a148815db7ae9311d27cf09660560ab0cc2d79952c6 [2022-10-24T03:44:04.725Z] $ docker rm -f 403293b19059bb802a0c5a148815db7ae9311d27cf09660560ab0cc2d79952c6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T03:44:05.241Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T03:44:05.317Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T03:44:05.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T03:44:06.257Z] + ls -al . [2022-10-24T03:44:06.257Z] total 244 [2022-10-24T03:44:06.257Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 03:43 . [2022-10-24T03:44:06.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:42 .. [2022-10-24T03:44:06.257Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:43 .git [2022-10-24T03:44:06.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:42 .github [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 24 03:42 .gitignore [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 03:42 .golangci.yml [2022-10-24T03:44:06.257Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:42 .semver [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 24 03:42 Attribution.txt [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 24 03:42 CHANGELOG.md [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 24 03:42 Dockerfile [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:42 GOVERNANCE.md [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 24 03:42 Jenkinsfile [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 03:42 LICENSE [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 24 03:42 Makefile [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 03:42 OWNERS.md [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 24 03:42 README.md [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 03:42 VERSION [2022-10-24T03:44:06.257Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:42 bin [2022-10-24T03:44:06.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:42 cmd [2022-10-24T03:44:06.257Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 24 03:43 coverage.out [2022-10-24T03:44:06.257Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 03:42 doc [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 24 03:42 go.mod [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 24 03:42 go.sum [2022-10-24T03:44:06.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:42 internal [2022-10-24T03:44:06.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:42 snap [2022-10-24T03:44:06.257Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 03:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:44:06.655Z] + 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=f9743c2621e012aae49f2714df923641dd282187 --label arch=amd64 --label version=0.0.0 . [2022-10-24T03:44:06.655Z] Sending build context to Docker daemon 21.48MB [2022-10-24T03:44:06.655Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T03:44:06.655Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-24T03:44:06.655Z] ---> a7539cfe1608 [2022-10-24T03:44:06.655Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-24T03:44:06.915Z] ---> Running in ffb9109cc4d2 [2022-10-24T03:44:06.915Z] Removing intermediate container ffb9109cc4d2 [2022-10-24T03:44:06.915Z] ---> fe76eb17cc94 [2022-10-24T03:44:06.915Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T03:44:06.915Z] ---> Running in ec3aa905fc36 [2022-10-24T03:44:07.175Z] Removing intermediate container ec3aa905fc36 [2022-10-24T03:44:07.175Z] ---> 434baece26c1 [2022-10-24T03:44:07.175Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T03:44:07.175Z] ---> Running in 185b5fa42477 [2022-10-24T03:44:07.175Z] Removing intermediate container 185b5fa42477 [2022-10-24T03:44:07.175Z] ---> 783c10c5f8d8 [2022-10-24T03:44:07.175Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T03:44:07.175Z] ---> Running in b663eaaee79e [2022-10-24T03:44:07.175Z] Removing intermediate container b663eaaee79e [2022-10-24T03:44:07.175Z] ---> d7f6186c1c93 [2022-10-24T03:44:07.175Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-24T03:44:07.433Z] ---> Running in 2365e72570aa [2022-10-24T03:44:07.433Z] Removing intermediate container 2365e72570aa [2022-10-24T03:44:07.433Z] ---> 13e45480397e [2022-10-24T03:44:07.433Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T03:44:07.433Z] ---> Running in e0e64a159c0a [2022-10-24T03:44:08.001Z] Removing intermediate container e0e64a159c0a [2022-10-24T03:44:08.001Z] ---> e5db0e49a9c3 [2022-10-24T03:44:08.001Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T03:44:08.001Z] ---> Running in 03150a0edc9d [2022-10-24T03:44:08.261Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T03:44:09.197Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T03:44:09.455Z] OK: 211 MiB in 51 packages [2022-10-24T03:44:09.715Z] Removing intermediate container 03150a0edc9d [2022-10-24T03:44:09.715Z] ---> 0428a4d9fb76 [2022-10-24T03:44:09.715Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-24T03:44:09.715Z] ---> Running in f02359bb21eb [2022-10-24T03:44:09.715Z] Removing intermediate container f02359bb21eb [2022-10-24T03:44:09.715Z] ---> 8f25bde0de66 [2022-10-24T03:44:09.715Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-24T03:44:09.973Z] ---> b8cba66bfacf [2022-10-24T03:44:09.973Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T03:44:09.973Z] ---> Running in 629e700c6ccc [2022-10-24T03:44:10.909Z] Removing intermediate container 629e700c6ccc [2022-10-24T03:44:10.909Z] ---> 6af692b6ec73 [2022-10-24T03:44:10.909Z] Step 13/27 : COPY . . [2022-10-24T03:44:11.481Z] ---> 395d8387bc9c [2022-10-24T03:44:11.481Z] Step 14/27 : RUN ${MAKE} [2022-10-24T03:44:11.740Z] ---> Running in cca6fe8ce639 [2022-10-24T03:44:12.307Z] 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-24T03:44:38.891Z] Removing intermediate container cca6fe8ce639 [2022-10-24T03:44:38.891Z] ---> 3613757b5ff6 [2022-10-24T03:44:38.891Z] Step 15/27 : FROM alpine:3.16 [2022-10-24T03:44:38.891Z] 3.16: Pulling from library/alpine [2022-10-24T03:44:38.891Z] 213ec9aee27d: Already exists [2022-10-24T03:44:38.891Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T03:44:38.891Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T03:44:38.891Z] ---> 9c6f07244728 [2022-10-24T03:44:38.891Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-24T03:44:38.891Z] ---> Running in cfa362cbc976 [2022-10-24T03:44:38.891Z] Removing intermediate container cfa362cbc976 [2022-10-24T03:44:38.891Z] ---> c5c65afa5752 [2022-10-24T03:44:38.891Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T03:44:38.891Z] ---> Running in d399740bc2d0 [2022-10-24T03:44:38.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T03:44:38.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T03:44:38.891Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T03:44:38.891Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T03:44:38.891Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T03:44:38.891Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T03:44:38.891Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T03:44:38.891Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T03:44:38.891Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T03:44:38.891Z] OK: 8 MiB in 20 packages [2022-10-24T03:44:38.891Z] Removing intermediate container d399740bc2d0 [2022-10-24T03:44:38.891Z] ---> e76168af80ac [2022-10-24T03:44:38.891Z] Step 18/27 : WORKDIR / [2022-10-24T03:44:38.891Z] ---> Running in 7fe2bbc4383e [2022-10-24T03:44:38.891Z] Removing intermediate container 7fe2bbc4383e [2022-10-24T03:44:38.891Z] ---> eb7056a5cd3c [2022-10-24T03:44:38.891Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-24T03:44:40.270Z] ---> 3df2298420f2 [2022-10-24T03:44:40.270Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-24T03:44:40.270Z] ---> 807165cdeb1a [2022-10-24T03:44:40.270Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-24T03:44:40.270Z] ---> 48156836a93c [2022-10-24T03:44:40.270Z] Step 22/27 : EXPOSE 59984 [2022-10-24T03:44:40.270Z] ---> Running in d1357bc08e86 [2022-10-24T03:44:40.270Z] Removing intermediate container d1357bc08e86 [2022-10-24T03:44:40.270Z] ---> 2b0d9948bb88 [2022-10-24T03:44:40.270Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-24T03:44:40.270Z] ---> Running in 0ecd0d8d36b2 [2022-10-24T03:44:40.529Z] Removing intermediate container 0ecd0d8d36b2 [2022-10-24T03:44:40.529Z] ---> 0a5dcef0f46c [2022-10-24T03:44:40.529Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T03:44:40.529Z] ---> Running in 720cbea4ec52 [2022-10-24T03:44:40.529Z] Removing intermediate container 720cbea4ec52 [2022-10-24T03:44:40.529Z] ---> c13a54eb5dfd [2022-10-24T03:44:40.529Z] Step 25/27 : LABEL arch=amd64 [2022-10-24T03:44:40.529Z] ---> Running in a349cf63965e [2022-10-24T03:44:40.529Z] Removing intermediate container a349cf63965e [2022-10-24T03:44:40.529Z] ---> 3c6cc2789217 [2022-10-24T03:44:40.529Z] Step 26/27 : LABEL git_sha=f9743c2621e012aae49f2714df923641dd282187 [2022-10-24T03:44:40.789Z] ---> Running in 12ce5a5d75bb [2022-10-24T03:44:40.789Z] Removing intermediate container 12ce5a5d75bb [2022-10-24T03:44:40.789Z] ---> ec217e8e6765 [2022-10-24T03:44:40.789Z] Step 27/27 : LABEL version=0.0.0 [2022-10-24T03:44:40.789Z] ---> Running in 5feb2d4e36a7 [2022-10-24T03:44:40.789Z] Removing intermediate container 5feb2d4e36a7 [2022-10-24T03:44:40.789Z] ---> 264e58b02bdd [2022-10-24T03:44:40.789Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T03:44:40.789Z] Successfully built 264e58b02bdd [2022-10-24T03:44:40.789Z] 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-24T03:44:41.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T03:44:41.652Z] [2022-10-24T03:44:41.652Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:44:42.028Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T03:44:42.028Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T03:44:42.028Z] 5eb5b503b376: Pulling fs layer [2022-10-24T03:44:42.028Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T03:44:42.028Z] ec43610c2a17: Pulling fs layer [2022-10-24T03:44:42.028Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T03:44:42.028Z] 33b1e0a273af: Pulling fs layer [2022-10-24T03:44:42.028Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T03:44:42.028Z] 2f39f015ded8: Pulling fs layer [2022-10-24T03:44:42.028Z] 3a2ae6a8a46f: Waiting [2022-10-24T03:44:42.028Z] 33b1e0a273af: Waiting [2022-10-24T03:44:42.028Z] 5d3b04190fa2: Waiting [2022-10-24T03:44:42.028Z] 2f39f015ded8: Waiting [2022-10-24T03:44:42.028Z] 5c69ac0246d0: Download complete [2022-10-24T03:44:42.028Z] 3a2ae6a8a46f: Download complete [2022-10-24T03:44:42.288Z] 33b1e0a273af: Verifying Checksum [2022-10-24T03:44:42.288Z] 33b1e0a273af: Download complete [2022-10-24T03:44:42.288Z] 5d3b04190fa2: Download complete [2022-10-24T03:44:42.288Z] ec43610c2a17: Verifying Checksum [2022-10-24T03:44:42.288Z] ec43610c2a17: Download complete [2022-10-24T03:44:42.288Z] 5eb5b503b376: Verifying Checksum [2022-10-24T03:44:42.288Z] 5eb5b503b376: Download complete [2022-10-24T03:44:43.327Z] 2f39f015ded8: Download complete [2022-10-24T03:44:43.623Z] 5eb5b503b376: Pull complete [2022-10-24T03:44:43.623Z] 5c69ac0246d0: Pull complete [2022-10-24T03:44:44.189Z] ec43610c2a17: Pull complete [2022-10-24T03:44:44.189Z] 3a2ae6a8a46f: Pull complete [2022-10-24T03:44:44.189Z] 33b1e0a273af: Pull complete [2022-10-24T03:44:44.446Z] 5d3b04190fa2: Pull complete [2022-10-24T03:44:48.626Z] 2f39f015ded8: Pull complete [2022-10-24T03:44:48.626Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T03:44:48.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T03:44:48.626Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:44:48.857Z] prd-ubuntu20.04-docker-8c-8g-9064 does not seem to be running inside a container [2022-10-24T03:44:48.889Z] $ 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-183 -v /w/workspace/undry_device-onvif-camera_PR-183:/w/workspace/undry_device-onvif-camera_PR-183:rw,z -v /w/workspace/undry_device-onvif-camera_PR-183@tmp:/w/workspace/undry_device-onvif-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T03:44:53.390Z] $ docker top a0f4cf26bc94ff42dcc9822efd611e4b2713fb2fd28c8e2d4d4c309779c2189c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:44:53.817Z] ---> job-cost.sh [2022-10-24T03:44:53.818Z] lf-activate-venv: SKIPPING [2022-10-24T03:44:53.818Z] INFO: No Stack... [2022-10-24T03:44:54.076Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T03:44:54.335Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T03:44:54.654Z] + cat /w/workspace/undry_device-onvif-camera_PR-183/archives/cost.csv [2022-10-24T03:44:54.654Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T03:44:54.695Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] [2022-10-24T03:44:54.700Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] did not exist. Created. [2022-10-24T03:44:54.700Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T03:44:55.095Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T03:44:55.156Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T03:44:55.180Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T03:44:55.248Z] $ docker stop --time=1 a0f4cf26bc94ff42dcc9822efd611e4b2713fb2fd28c8e2d4d4c309779c2189c [2022-10-24T03:44:56.400Z] $ docker rm -f a0f4cf26bc94ff42dcc9822efd611e4b2713fb2fd28c8e2d4d4c309779c2189c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T03:45:29.031Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9070 in /w/workspace/undry_device-onvif-camera_PR-183 [Pipeline] { [Pipeline] ws [2022-10-24T03:45:29.072Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-24T03:45:29.157Z] The recommended git tool is: git [2022-10-24T03:45:35.011Z] using credential edgex-jenkins-ssh [2022-10-24T03:45:35.027Z] Cloning the remote Git repository [2022-10-24T03:45:35.074Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-24T03:45:35.157Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-10-24T03:45:35.327Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-24T03:45:35.328Z] > git --version # timeout=10 [2022-10-24T03:45:35.353Z] > git --version # 'git version 2.25.1' [2022-10-24T03:45:35.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T03:45:35.409Z] Verifying host key using known hosts file [2022-10-24T03:45:35.644Z] 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-24T03:45:35.663Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T03:45:37.031Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-24T03:45:37.052Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T03:45:38.684Z] Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit f9743c2621e012aae49f2714df923641dd282187 [2022-10-24T03:45:39.095Z] Merge succeeded, producing f9743c2621e012aae49f2714df923641dd282187 [2022-10-24T03:45:39.096Z] Checking out Revision f9743c2621e012aae49f2714df923641dd282187 (PR-183) [2022-10-24T03:45:38.020Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-24T03:45:38.063Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-24T03:45:38.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T03:45:38.070Z] Verifying host key using known hosts file [2022-10-24T03:45:38.077Z] 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-24T03:45:38.089Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T03:45:38.703Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T03:45:38.727Z] > git checkout -f f9743c2621e012aae49f2714df923641dd282187 # timeout=10 [2022-10-24T03:45:38.983Z] > git remote # timeout=10 [2022-10-24T03:45:39.002Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T03:45:39.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T03:45:39.035Z] Verifying host key using known hosts file [2022-10-24T03:45:39.041Z] 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-24T03:45:39.051Z] > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 [2022-10-24T03:45:39.076Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T03:45:39.100Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T03:45:39.119Z] > git checkout -f f9743c2621e012aae49f2714df923641dd282187 # timeout=10 [2022-10-24T03:45:39.865Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-10-24T03:45:39.915Z] > git --version # timeout=10 [2022-10-24T03:45:39.927Z] > git --version # 'git version 2.25.1' [2022-10-24T03:45:39.950Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T03:45:41.030Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T03:45:41.030Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T03:45:41.030Z] Dload Upload Total Spent Left Speed [2022-10-24T03:45:41.030Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2022-10-24T03:45:41.681Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T03:45:42.080Z] + sudo tee /etc/docker/daemon.new [2022-10-24T03:45:42.080Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T03:45:42.080Z] { [2022-10-24T03:45:42.080Z] "registry-mirrors": [ [2022-10-24T03:45:42.080Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T03:45:42.080Z] ], [2022-10-24T03:45:42.080Z] "bip": "10.250.0.254/24", [2022-10-24T03:45:42.080Z] "hosts": [ [2022-10-24T03:45:42.080Z] "tcp://0.0.0.0:5555", [2022-10-24T03:45:42.080Z] "unix:///var/run/docker.sock" [2022-10-24T03:45:42.080Z] ], [2022-10-24T03:45:42.080Z] "mtu": 1458, [2022-10-24T03:45:42.080Z] "selinux-enabled": true, [2022-10-24T03:45:42.080Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T03:45:42.080Z] } [Pipeline] sh [2022-10-24T03:45:42.430Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T03:45:42.782Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T03:46:01.095Z] provisioning config files... [2022-10-24T03:46:01.120Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config11664882331739390490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:46:01.504Z] ---> docker-login.sh [2022-10-24T03:46:01.504Z] nexus3.edgexfoundry.org:10001 [2022-10-24T03:46:02.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:46:02.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:46:02.090Z] Configure a credential helper to remove this warning. See [2022-10-24T03:46:02.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:46:02.090Z] [2022-10-24T03:46:02.090Z] Login Succeeded [2022-10-24T03:46:02.090Z] nexus3.edgexfoundry.org:10002 [2022-10-24T03:46:02.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:46:02.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:46:02.361Z] Configure a credential helper to remove this warning. See [2022-10-24T03:46:02.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:46:02.361Z] [2022-10-24T03:46:02.361Z] Login Succeeded [2022-10-24T03:46:02.361Z] nexus3.edgexfoundry.org:10003 [2022-10-24T03:46:02.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:46:02.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:46:02.896Z] Configure a credential helper to remove this warning. See [2022-10-24T03:46:02.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:46:02.896Z] [2022-10-24T03:46:02.896Z] Login Succeeded [2022-10-24T03:46:02.896Z] nexus3.edgexfoundry.org:10004 [2022-10-24T03:46:02.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:46:03.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:46:03.166Z] Configure a credential helper to remove this warning. See [2022-10-24T03:46:03.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:46:03.166Z] [2022-10-24T03:46:03.166Z] Login Succeeded [2022-10-24T03:46:03.166Z] docker.io [2022-10-24T03:46:03.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:46:03.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:46:03.704Z] Configure a credential helper to remove this warning. See [2022-10-24T03:46:03.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:46:03.704Z] [2022-10-24T03:46:03.704Z] Login Succeeded [2022-10-24T03:46:03.704Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T03:46:03.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T03:46:04.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T03:46:04.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T03:46:04.099Z] ========================================================= [2022-10-24T03:46:04.099Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T03:46:04.099Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:46:04.581Z] + 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-24T03:46:04.848Z] Sending build context to Docker daemon 14.75MB [2022-10-24T03:46:05.132Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T03:46:05.132Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-24T03:46:05.132Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T03:46:05.132Z] 9b18e9b68314: Pulling fs layer [2022-10-24T03:46:05.132Z] d32db5db7311: Pulling fs layer [2022-10-24T03:46:05.132Z] d0c4b47475fc: Pulling fs layer [2022-10-24T03:46:05.132Z] 5831b945b038: Pulling fs layer [2022-10-24T03:46:05.132Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T03:46:05.132Z] e10730c5d714: Pulling fs layer [2022-10-24T03:46:05.132Z] 5dd5c2283517: Pulling fs layer [2022-10-24T03:46:05.132Z] d5ac0230b979: Pulling fs layer [2022-10-24T03:46:05.132Z] 5831b945b038: Waiting [2022-10-24T03:46:05.132Z] 86bbec2aaacd: Waiting [2022-10-24T03:46:05.132Z] e10730c5d714: Waiting [2022-10-24T03:46:05.132Z] 5dd5c2283517: Waiting [2022-10-24T03:46:05.132Z] d5ac0230b979: Waiting [2022-10-24T03:46:05.132Z] d0c4b47475fc: Verifying Checksum [2022-10-24T03:46:05.132Z] d0c4b47475fc: Download complete [2022-10-24T03:46:05.132Z] d32db5db7311: Verifying Checksum [2022-10-24T03:46:05.132Z] d32db5db7311: Download complete [2022-10-24T03:46:05.132Z] 86bbec2aaacd: Verifying Checksum [2022-10-24T03:46:05.132Z] 86bbec2aaacd: Download complete [2022-10-24T03:46:05.403Z] e10730c5d714: Verifying Checksum [2022-10-24T03:46:05.403Z] e10730c5d714: Download complete [2022-10-24T03:46:05.403Z] 9b18e9b68314: Download complete [2022-10-24T03:46:05.995Z] 9b18e9b68314: Pull complete [2022-10-24T03:46:06.264Z] d5ac0230b979: Verifying Checksum [2022-10-24T03:46:06.264Z] d5ac0230b979: Download complete [2022-10-24T03:46:06.557Z] d32db5db7311: Pull complete [2022-10-24T03:46:07.157Z] d0c4b47475fc: Pull complete [2022-10-24T03:46:07.427Z] 5dd5c2283517: Verifying Checksum [2022-10-24T03:46:07.427Z] 5dd5c2283517: Download complete [2022-10-24T03:46:08.014Z] 5831b945b038: Verifying Checksum [2022-10-24T03:46:08.014Z] 5831b945b038: Download complete [2022-10-24T03:46:20.360Z] 5831b945b038: Pull complete [2022-10-24T03:46:20.360Z] 86bbec2aaacd: Pull complete [2022-10-24T03:46:20.360Z] e10730c5d714: Pull complete [2022-10-24T03:46:27.186Z] 5dd5c2283517: Pull complete [2022-10-24T03:46:28.162Z] d5ac0230b979: Pull complete [2022-10-24T03:46:28.162Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T03:46:28.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T03:46:28.162Z] ---> 59b3b1a385d4 [2022-10-24T03:46:28.162Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-24T03:46:30.123Z] ---> Running in 54ab82e6f12c [2022-10-24T03:46:30.397Z] Removing intermediate container 54ab82e6f12c [2022-10-24T03:46:30.397Z] ---> 94d57cb0d132 [2022-10-24T03:46:30.397Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T03:46:30.666Z] ---> Running in 5f1d5abf9bb4 [2022-10-24T03:46:30.932Z] Removing intermediate container 5f1d5abf9bb4 [2022-10-24T03:46:30.932Z] ---> d9dc2c6d5a69 [2022-10-24T03:46:30.932Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T03:46:30.932Z] ---> Running in 72f396365cb4 [2022-10-24T03:46:31.200Z] Removing intermediate container 72f396365cb4 [2022-10-24T03:46:31.200Z] ---> 1a755a877bed [2022-10-24T03:46:31.200Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T03:46:31.470Z] ---> Running in 6ae34f8f9ce0 [2022-10-24T03:46:31.740Z] Removing intermediate container 6ae34f8f9ce0 [2022-10-24T03:46:31.740Z] ---> 081acf41bf73 [2022-10-24T03:46:31.740Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-24T03:46:31.740Z] ---> Running in 4020752781c5 [2022-10-24T03:46:32.011Z] Removing intermediate container 4020752781c5 [2022-10-24T03:46:32.011Z] ---> ebb87fa775bc [2022-10-24T03:46:32.011Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T03:46:32.279Z] ---> Running in fe0a17381cc4 [2022-10-24T03:46:34.243Z] Removing intermediate container fe0a17381cc4 [2022-10-24T03:46:34.243Z] ---> 6643094d9e60 [2022-10-24T03:46:34.243Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T03:46:34.243Z] ---> Running in ce4462fb8c82 [2022-10-24T03:46:34.830Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T03:46:35.791Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T03:46:37.198Z] OK: 221 MiB in 51 packages [2022-10-24T03:46:37.785Z] Removing intermediate container ce4462fb8c82 [2022-10-24T03:46:37.785Z] ---> fd1134405e95 [2022-10-24T03:46:37.785Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-24T03:46:37.785Z] ---> Running in 76baaacdf58e [2022-10-24T03:46:38.065Z] Removing intermediate container 76baaacdf58e [2022-10-24T03:46:38.065Z] ---> c8803eab2d23 [2022-10-24T03:46:38.065Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-24T03:46:38.656Z] ---> 8d18b3b85f4b [2022-10-24T03:46:38.656Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T03:46:38.656Z] ---> Running in 07c5ef5f5283 [2022-10-24T03:47:35.087Z] Removing intermediate container 07c5ef5f5283 [2022-10-24T03:47:35.087Z] ---> 9cc59fcf5539 [2022-10-24T03:47:35.087Z] Step 13/14 : COPY . . [2022-10-24T03:47:35.087Z] ---> c248907c8ec9 [2022-10-24T03:47:35.087Z] Step 14/14 : RUN ${MAKE} [2022-10-24T03:47:35.087Z] ---> Running in 2aabf0ce0848 [2022-10-24T03:47:35.087Z] noop [2022-10-24T03:47:35.088Z] Removing intermediate container 2aabf0ce0848 [2022-10-24T03:47:35.088Z] ---> 62167cb3ac34 [2022-10-24T03:47:35.088Z] Successfully built 62167cb3ac34 [2022-10-24T03:47:35.088Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:47:35.561Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T03:47:35.561Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:47:35.803Z] prd-ubuntu20.04-docker-arm64-4c-16g-9070 does not seem to be running inside a container [2022-10-24T03:47:35.872Z] $ 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-24T03:47:37.031Z] $ docker top 9baa76d663aaee0cf953e4b4429e787e22c383cd4b59c6c086fb9bd072b6a4fe -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:47:37.880Z] + go version [2022-10-24T03:47:37.880Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T03:47:37.922Z] $ docker stop --time=1 9baa76d663aaee0cf953e4b4429e787e22c383cd4b59c6c086fb9bd072b6a4fe [2022-10-24T03:47:39.468Z] $ docker rm -f 9baa76d663aaee0cf953e4b4429e787e22c383cd4b59c6c086fb9bd072b6a4fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:47:40.439Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T03:47:40.439Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:47:40.673Z] prd-ubuntu20.04-docker-arm64-4c-16g-9070 does not seem to be running inside a container [2022-10-24T03:47:40.746Z] $ 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-24T03:47:41.888Z] $ docker top 9ed6cea157c8003d6d98e6f6daeebb53ff06332553ecc13a2dcf85312c60c2b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:47:42.437Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-24T03:47:43.408Z] + make test [2022-10-24T03:47:43.408Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T03:47:44.818Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-24T03:49:21.480Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-24T03:49:26.867Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.211s coverage: 28.2% of statements [2022-10-24T03:49:26.867Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-24T03:49:45.159Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.925s coverage: 86.5% of statements [2022-10-24T03:49:45.159Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T03:49:45.159Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T03:50:24.132Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T03:50:24.132Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T03:50:24.132Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T03:50:24.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T03:50:24.206Z] $ docker stop --time=1 9ed6cea157c8003d6d98e6f6daeebb53ff06332553ecc13a2dcf85312c60c2b3 [2022-10-24T03:50:26.294Z] $ docker rm -f 9ed6cea157c8003d6d98e6f6daeebb53ff06332553ecc13a2dcf85312c60c2b3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T03:50:27.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T03:50:27.495Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T03:50:28.095Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T03:50:28.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T03:50:29.080Z] + ls -al . [2022-10-24T03:50:29.080Z] total 240 [2022-10-24T03:50:29.080Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 03:47 . [2022-10-24T03:50:29.080Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:45 .. [2022-10-24T03:50:29.080Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:45 .git [2022-10-24T03:50:29.080Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:45 .github [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 24 03:45 .gitignore [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 03:45 .golangci.yml [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 24 03:45 Attribution.txt [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 24 03:45 CHANGELOG.md [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 24 03:45 Dockerfile [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:45 GOVERNANCE.md [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 24 03:45 Jenkinsfile [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 03:45 LICENSE [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 24 03:45 Makefile [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 03:45 OWNERS.md [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 24 03:45 README.md [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 03:42 VERSION [2022-10-24T03:50:29.080Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:45 bin [2022-10-24T03:50:29.080Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:45 cmd [2022-10-24T03:50:29.080Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 24 03:49 coverage.out [2022-10-24T03:50:29.080Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 03:45 doc [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 24 03:45 go.mod [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 24 03:45 go.sum [2022-10-24T03:50:29.080Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:45 internal [2022-10-24T03:50:29.080Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:45 snap [2022-10-24T03:50:29.080Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 03:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:50:29.489Z] + 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=f9743c2621e012aae49f2714df923641dd282187 --label arch=arm64 --label version=0.0.0 . [2022-10-24T03:50:30.075Z] Sending build context to Docker daemon 14.83MB [2022-10-24T03:50:30.075Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T03:50:30.075Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-24T03:50:30.075Z] ---> 62167cb3ac34 [2022-10-24T03:50:30.075Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-24T03:50:30.075Z] ---> Running in c0f6265edc13 [2022-10-24T03:50:30.343Z] Removing intermediate container c0f6265edc13 [2022-10-24T03:50:30.343Z] ---> 09d8e3ba3786 [2022-10-24T03:50:30.343Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T03:50:30.610Z] ---> Running in ce273558d1df [2022-10-24T03:50:30.877Z] Removing intermediate container ce273558d1df [2022-10-24T03:50:30.877Z] ---> ad635342bd9f [2022-10-24T03:50:30.877Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T03:50:30.877Z] ---> Running in 167af5edb62c [2022-10-24T03:50:31.458Z] Removing intermediate container 167af5edb62c [2022-10-24T03:50:31.458Z] ---> a1b93fdd054c [2022-10-24T03:50:31.458Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T03:50:31.458Z] ---> Running in e108b84e22ca [2022-10-24T03:50:32.041Z] Removing intermediate container e108b84e22ca [2022-10-24T03:50:32.041Z] ---> ea26df0d98cd [2022-10-24T03:50:32.041Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-24T03:50:32.629Z] ---> Running in e33e1a20bbf5 [2022-10-24T03:50:34.046Z] Removing intermediate container e33e1a20bbf5 [2022-10-24T03:50:34.046Z] ---> d69828f4d445 [2022-10-24T03:50:34.046Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T03:50:34.046Z] ---> Running in 1d42433865ec [2022-10-24T03:50:36.642Z] Removing intermediate container 1d42433865ec [2022-10-24T03:50:36.642Z] ---> c749ac1d5444 [2022-10-24T03:50:36.642Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T03:50:36.642Z] ---> Running in d2ca8146cf99 [2022-10-24T03:50:37.611Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T03:50:38.578Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T03:50:39.989Z] OK: 221 MiB in 51 packages [2022-10-24T03:50:40.969Z] Removing intermediate container d2ca8146cf99 [2022-10-24T03:50:40.969Z] ---> 660c2880655c [2022-10-24T03:50:40.969Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-24T03:50:40.969Z] ---> Running in e9a55f9b7ada [2022-10-24T03:50:42.949Z] Removing intermediate container e9a55f9b7ada [2022-10-24T03:50:42.949Z] ---> fd38c6a068e0 [2022-10-24T03:50:42.949Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-24T03:50:43.217Z] ---> a7626de2fdfb [2022-10-24T03:50:43.217Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T03:50:43.492Z] ---> Running in e604b28e3a33 [2022-10-24T03:50:48.876Z] Removing intermediate container e604b28e3a33 [2022-10-24T03:50:48.876Z] ---> 4a4bb2c3a668 [2022-10-24T03:50:48.876Z] Step 13/27 : COPY . . [2022-10-24T03:50:50.846Z] ---> 72f66c6f6a66 [2022-10-24T03:50:50.846Z] Step 14/27 : RUN ${MAKE} [2022-10-24T03:50:50.846Z] ---> Running in 17021e676bab [2022-10-24T03:50:52.279Z] 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-24T03:53:44.309Z] Removing intermediate container 17021e676bab [2022-10-24T03:53:44.309Z] ---> 6dc6470733ac [2022-10-24T03:53:44.309Z] Step 15/27 : FROM alpine:3.16 [2022-10-24T03:53:44.309Z] 3.16: Pulling from library/alpine [2022-10-24T03:53:44.309Z] 9b18e9b68314: Already exists [2022-10-24T03:53:44.309Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T03:53:44.309Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T03:53:44.309Z] ---> a6215f271958 [2022-10-24T03:53:44.309Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-24T03:53:44.309Z] ---> Running in d918d36af359 [2022-10-24T03:53:44.309Z] Removing intermediate container d918d36af359 [2022-10-24T03:53:44.309Z] ---> 051f15239fc7 [2022-10-24T03:53:44.309Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T03:53:44.309Z] ---> Running in ab65b23747c2 [2022-10-24T03:53:44.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T03:53:44.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T03:53:44.309Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T03:53:44.309Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T03:53:44.309Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T03:53:44.309Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T03:53:44.309Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T03:53:44.309Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T03:53:44.309Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T03:53:44.309Z] OK: 8 MiB in 20 packages [2022-10-24T03:53:44.309Z] Removing intermediate container ab65b23747c2 [2022-10-24T03:53:44.309Z] ---> 8538798fe19a [2022-10-24T03:53:44.309Z] Step 18/27 : WORKDIR / [2022-10-24T03:53:44.309Z] ---> Running in 1b40b82b4659 [2022-10-24T03:53:44.309Z] Removing intermediate container 1b40b82b4659 [2022-10-24T03:53:44.309Z] ---> 6f81295e1284 [2022-10-24T03:53:44.309Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-24T03:53:44.309Z] ---> b00903a24506 [2022-10-24T03:53:44.309Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-24T03:53:44.309Z] ---> 93975989ba24 [2022-10-24T03:53:44.309Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-24T03:53:44.579Z] ---> 14773b0deb7f [2022-10-24T03:53:44.579Z] Step 22/27 : EXPOSE 59984 [2022-10-24T03:53:44.579Z] ---> Running in d3fb9a38fc0f [2022-10-24T03:53:45.185Z] Removing intermediate container d3fb9a38fc0f [2022-10-24T03:53:45.185Z] ---> 4ae952a09720 [2022-10-24T03:53:45.185Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-24T03:53:45.185Z] ---> Running in 83efde057b95 [2022-10-24T03:53:45.455Z] Removing intermediate container 83efde057b95 [2022-10-24T03:53:45.455Z] ---> 03afef418d7a [2022-10-24T03:53:45.455Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T03:53:45.455Z] ---> Running in a40d43d4bd26 [2022-10-24T03:53:45.743Z] Removing intermediate container a40d43d4bd26 [2022-10-24T03:53:45.743Z] ---> 52f309e8fc34 [2022-10-24T03:53:45.743Z] Step 25/27 : LABEL arch=arm64 [2022-10-24T03:53:46.025Z] ---> Running in 4a87dfb613c9 [2022-10-24T03:53:47.988Z] Removing intermediate container 4a87dfb613c9 [2022-10-24T03:53:47.988Z] ---> 471bffeb2177 [2022-10-24T03:53:47.988Z] Step 26/27 : LABEL git_sha=f9743c2621e012aae49f2714df923641dd282187 [2022-10-24T03:53:47.988Z] ---> Running in f81b41915557 [2022-10-24T03:53:47.988Z] Removing intermediate container f81b41915557 [2022-10-24T03:53:47.988Z] ---> bfc02e880159 [2022-10-24T03:53:47.988Z] Step 27/27 : LABEL version=0.0.0 [2022-10-24T03:53:47.988Z] ---> Running in d673b17af972 [2022-10-24T03:53:48.256Z] Removing intermediate container d673b17af972 [2022-10-24T03:53:48.256Z] ---> e343922120cd [2022-10-24T03:53:48.256Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T03:53:48.523Z] Successfully built e343922120cd [2022-10-24T03:53:48.523Z] 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-24T03:53:49.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T03:53:49.364Z] [2022-10-24T03:53:49.364Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:53:49.772Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T03:53:50.042Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T03:53:50.042Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T03:53:50.042Z] 04944245beec: Pulling fs layer [2022-10-24T03:53:50.042Z] 699f458cf7ca: Pulling fs layer [2022-10-24T03:53:50.042Z] 765212b225bb: Pulling fs layer [2022-10-24T03:53:50.042Z] f23df028b6ca: Pulling fs layer [2022-10-24T03:53:50.042Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T03:53:50.042Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T03:53:50.042Z] 765212b225bb: Waiting [2022-10-24T03:53:50.042Z] f23df028b6ca: Waiting [2022-10-24T03:53:50.042Z] d65c8cfc05b1: Waiting [2022-10-24T03:53:50.042Z] 2437ff75d9bd: Waiting [2022-10-24T03:53:50.042Z] 04944245beec: Verifying Checksum [2022-10-24T03:53:50.042Z] 04944245beec: Download complete [2022-10-24T03:53:50.042Z] 765212b225bb: Verifying Checksum [2022-10-24T03:53:50.042Z] 765212b225bb: Download complete [2022-10-24T03:53:50.042Z] f23df028b6ca: Verifying Checksum [2022-10-24T03:53:50.042Z] f23df028b6ca: Download complete [2022-10-24T03:53:50.315Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T03:53:50.315Z] d65c8cfc05b1: Download complete [2022-10-24T03:53:50.315Z] 699f458cf7ca: Verifying Checksum [2022-10-24T03:53:50.315Z] 699f458cf7ca: Download complete [2022-10-24T03:53:50.588Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T03:53:50.588Z] 8998bd30e6a1: Download complete [2022-10-24T03:53:53.188Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T03:53:53.188Z] 2437ff75d9bd: Download complete [2022-10-24T03:53:54.601Z] 8998bd30e6a1: Pull complete [2022-10-24T03:53:55.186Z] 04944245beec: Pull complete [2022-10-24T03:53:56.595Z] 699f458cf7ca: Pull complete [2022-10-24T03:53:56.862Z] 765212b225bb: Pull complete [2022-10-24T03:53:57.824Z] f23df028b6ca: Pull complete [2022-10-24T03:53:57.824Z] d65c8cfc05b1: Pull complete [2022-10-24T03:54:12.836Z] 2437ff75d9bd: Pull complete [2022-10-24T03:54:12.836Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T03:54:12.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T03:54:12.836Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:54:13.188Z] prd-ubuntu20.04-docker-arm64-4c-16g-9070 does not seem to be running inside a container [2022-10-24T03:54:13.274Z] $ 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-24T03:54:16.200Z] $ docker top 333e541878b38d696cc78df179cd00ef501424d4624937085b861088b19d58ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:54:17.113Z] ---> job-cost.sh [2022-10-24T03:54:17.113Z] lf-activate-venv: SKIPPING [2022-10-24T03:54:17.113Z] INFO: No Stack... [2022-10-24T03:54:17.700Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T03:54:18.299Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T03:54:19.230Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-10-24T03:54:19.230Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T03:54:19.312Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] [2022-10-24T03:54:19.317Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] did not exist. Created. [2022-10-24T03:54:19.318Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T03:54:20.043Z] /w/workspace/device-onvif-camera/1@tmp/durable-dc6ea499/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T03:54:20.407Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T03:54:20.448Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T03:54:20.514Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T03:54:20.530Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T03:54:20.611Z] $ docker stop --time=1 333e541878b38d696cc78df179cd00ef501424d4624937085b861088b19d58ce [2022-10-24T03:54:22.134Z] $ docker rm -f 333e541878b38d696cc78df179cd00ef501424d4624937085b861088b19d58ce [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-24T03:54:23.119Z] provisioning config files... [2022-10-24T03:54:23.126Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-183@tmp/config931676026442182002tmp [Pipeline] { [Pipeline] sh [2022-10-24T03:54:23.466Z] + set +x [2022-10-24T03:54:23.467Z] + curl -s https://codecov.io/bash [2022-10-24T03:54:23.467Z] + bash -s -- [2022-10-24T03:54:23.467Z] [2022-10-24T03:54:23.467Z] _____ _ [2022-10-24T03:54:23.467Z] / ____| | | [2022-10-24T03:54:23.467Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T03:54:23.467Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T03:54:23.467Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T03:54:23.467Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T03:54:23.467Z] Bash-1.0.6 [2022-10-24T03:54:23.467Z] [2022-10-24T03:54:23.467Z] [2022-10-24T03:54:23.467Z] ==> git version 2.25.1 found [2022-10-24T03:54:23.467Z] ==> 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-24T03:54:23.467Z] Release-Date: 2020-01-08 [2022-10-24T03:54:23.467Z] 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-24T03:54:23.467Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T03:54:23.467Z] ==> Jenkins CI detected. [2022-10-24T03:54:23.467Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-183 [2022-10-24T03:54:23.467Z] project root: . [2022-10-24T03:54:23.467Z] --> token set from env [2022-10-24T03:54:23.467Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T03:54:23.467Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T03:54:23.467Z] ==> Python coveragepy not found [2022-10-24T03:54:23.467Z] ==> Searching for coverage reports in: [2022-10-24T03:54:23.467Z] + . [2022-10-24T03:54:23.467Z] -> Found 1 reports [2022-10-24T03:54:23.467Z] ==> Detecting git/mercurial file structure [2022-10-24T03:54:23.467Z] ==> Reading reports [2022-10-24T03:54:23.467Z] + ./coverage.out bytes=78636 [2022-10-24T03:54:23.467Z] ==> Appending adjustments [2022-10-24T03:54:23.467Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T03:54:23.725Z] + Found adjustments [2022-10-24T03:54:23.725Z] ==> Gzipping contents [2022-10-24T03:54:23.726Z] 12K /tmp/codecov.PDeoRu.gz [2022-10-24T03:54:23.726Z] ==> Uploading reports [2022-10-24T03:54:23.726Z] url: https://codecov.io [2022-10-24T03:54:23.726Z] query: branch=PR-183&commit=f9743c2621e012aae49f2714df923641dd282187&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=183&job=&cmd_args= [2022-10-24T03:54:23.726Z] -> Pinging Codecov [2022-10-24T03:54:23.726Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-183&commit=f9743c2621e012aae49f2714df923641dd282187&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=183&job=&cmd_args= [2022-10-24T03:54:23.985Z] -> Uploading to [2022-10-24T03:54:23.985Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/F29A59C45E3A92E06B3E522C9905F8EF/f9743c2621e012aae49f2714df923641dd282187/dd83da1d-03c4-4edc-83ff-70ee5fdf65cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T035423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4cb0aeaa7f4c60bbd7cb81e3e6a73ec3f3bbc1c9b8b6f7d2831bb49881dc4926 [2022-10-24T03:54:23.985Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T03:54:23.985Z] Dload Upload Total Spent Left Speed [2022-10-24T03:54:24.244Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10776 0 0 100 10776 0 48760 --:--:-- --:--:-- --:--:-- 48760 [2022-10-24T03:54:24.244Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f9743c2621e012aae49f2714df923641dd282187 [Pipeline] } [2022-10-24T03:54:24.271Z] 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-24T03:54:25.952Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-183/archives ] [2022-10-24T03:54:25.952Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-183/archives [2022-10-24T03:54:25.952Z] total 16 [2022-10-24T03:54:25.952Z] drwxr-xr-x 3 root root 4096 Oct 24 03:44 . [2022-10-24T03:54:25.952Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:44 .. [2022-10-24T03:54:25.952Z] drwxr-xr-x 2 root root 4096 Oct 24 03:44 cost [2022-10-24T03:54:25.952Z] -rw-r--r-- 1 root root 91 Oct 24 03:44 cost.csv [2022-10-24T03:54:25.952Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-183/archives [2022-10-24T03:54:25.952Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-183/archives [2022-10-24T03:54:25.952Z] total 16 [2022-10-24T03:54:25.952Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:44 . [2022-10-24T03:54:25.952Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:44 .. [2022-10-24T03:54:25.952Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 03:44 cost [2022-10-24T03:54:25.952Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 24 03:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:54:26.275Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:54:27.163Z] ---> package-listing.sh [2022-10-24T03:54:27.163Z] ++ facter osfamily [2022-10-24T03:54:27.163Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T03:54:27.422Z] + OS_FAMILY=debian [2022-10-24T03:54:27.422Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-183 [2022-10-24T03:54:27.422Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T03:54:27.422Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T03:54:27.422Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T03:54:27.422Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T03:54:27.422Z] + '[' /w/workspace/undry_device-onvif-camera_PR-183 ']' [2022-10-24T03:54:27.422Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T03:54:27.422Z] + case "${OS_FAMILY}" in [2022-10-24T03:54:27.422Z] + dpkg -l [2022-10-24T03:54:27.422Z] + grep '^ii' [2022-10-24T03:54:27.422Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T03:54:27.422Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T03:54:27.422Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T03:54:27.422Z] + '[' /w/workspace/undry_device-onvif-camera_PR-183 ']' [2022-10-24T03:54:27.422Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-183/archives/ [2022-10-24T03:54:27.422Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-183/archives/ [Pipeline] echo [2022-10-24T03:54:27.455Z] 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-183/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T03:54:27.746Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:54:28.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T03:54:28.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:54:28.524Z] prd-ubuntu20.04-docker-8c-8g-9064 does not seem to be running inside a container [2022-10-24T03:54:28.557Z] $ 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-183/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-183 -v /w/workspace/undry_device-onvif-camera_PR-183:/w/workspace/undry_device-onvif-camera_PR-183:rw,z -v /w/workspace/undry_device-onvif-camera_PR-183@tmp:/w/workspace/undry_device-onvif-camera_PR-183@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-24T03:54:28.744Z] $ docker top 206e6f5081cac9be18a4b12ad8c73514ac857a3542d71cf39188a61dee75826e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:54:29.139Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T03:54:29.443Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T03:54:29.754Z] + ls /var/log/sa-host [2022-10-24T03:54:29.754Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T03:54:29.909Z] provisioning config files... [2022-10-24T03:54:29.917Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-183@tmp/config12092039538822227920tmp [Pipeline] { [Pipeline] echo [2022-10-24T03:54:29.983Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:54:30.295Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T03:54:30.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:54:30.723Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T03:54:30.754Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:54:31.061Z] ---> sudo-logs.sh [2022-10-24T03:54:31.061Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T03:54:31.153Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:54:31.463Z] ---> job-cost.sh [2022-10-24T03:54:31.463Z] lf-activate-venv: SKIPPING [2022-10-24T03:54:31.463Z] DEBUG: total: 0.2199999988079071 [2022-10-24T03:54:31.463Z] INFO: Retrieving Stack Cost... [2022-10-24T03:54:31.722Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T03:54:32.289Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T03:54:32.324Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:54:32.634Z] ---> logs-deploy.sh [2022-10-24T03:54:32.634Z] lf-activate-venv: SKIPPING [2022-10-24T03:54:32.634Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-183/1 [2022-10-24T03:54:32.634Z] INFO: archiving workspace using pattern(s): [2022-10-24T03:54:33.571Z] Archives upload complete. [2022-10-24T03:54:33.571Z] INFO: archiving logs to Nexus