Pull request #184 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d29b63f7efcf0ccbfe51df73156e3d4f2c064810+c32d12cb3f3d5bd786ac66f0af1d84994387a230 (9fd49c1c7d59d6b269796c939ca6a46cddd21ece) 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-ssh5330342687227290658.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-ssh7606830174285878417.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-184/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-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17742326981734911487.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-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18169411003950697909.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-ssh15380558610195558749.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-184/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-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9325006510283396575.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-9063 in /w/workspace/undry_device-onvif-camera_PR-184 [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-184 # 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/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit d29b63f7efcf0ccbfe51df73156e3d4f2c064810 Merge succeeded, producing d29b63f7efcf0ccbfe51df73156e3d4f2c064810 Checking out Revision d29b63f7efcf0ccbfe51df73156e3d4f2c064810 (PR-184) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" 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:21.659Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f d29b63f7efcf0ccbfe51df73156e3d4f2c064810 # 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 d29b63f7efcf0ccbfe51df73156e3d4f2c064810 # timeout=10 [Pipeline] withCredentials [2022-10-24T03:42:21.836Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T03:42:21.924Z] ========================================================= [2022-10-24T03:42:21.924Z] EdgeX Global Pipelines Version Info [2022-10-24T03:42:21.924Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:42:22.667Z] ------------------- [2022-10-24T03:42:22.667Z] stable info: [2022-10-24T03:42:22.667Z] ------------------- [2022-10-24T03:42:22.667Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T03:42:22.667Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T03:42:22.667Z] Message: update stable to v1.0.243 [2022-10-24T03:42:23.240Z] ------------------- [2022-10-24T03:42:23.240Z] experimental info: [2022-10-24T03:42:23.240Z] ------------------- [2022-10-24T03:42:23.240Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T03:42:23.240Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T03:42:23.240Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T03:42:23.633Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-24T03:42:23.675Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-24T03:42:23.709Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T03:42:23.750Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T03:42:23.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T03:42:23.836Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T03:42:23.880Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T03:42:23.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T03:42:23.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T03:42:23.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T03:42:24.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T03:42:24.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-24T03:42:24.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T03:42:24.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T03:42:24.191Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T03:42:24.230Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T03:42:24.269Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T03:42:24.309Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T03:42:24.348Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T03:42:24.390Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T03:42:24.430Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-24T03:42:24.468Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-24T03:42:24.512Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T03:42:24.549Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T03:42:24.587Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T03:42:24.629Z] [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:24.664Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T03:42:24.703Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo [2022-10-24T03:42:24.743Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo [2022-10-24T03:42:24.785Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo [2022-10-24T03:42:24.826Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d29b63f7efcf0ccbfe51df73156e3d4f2c064810 [Pipeline] echo [2022-10-24T03:42:24.867Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d29b63f [Pipeline] echo [2022-10-24T03:42:24.922Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T03:42:25.034Z] provisioning config files... [2022-10-24T03:42:25.052Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config8179565780154452569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:42:25.392Z] ---> docker-login.sh [2022-10-24T03:42:25.392Z] nexus3.edgexfoundry.org:10001 [2022-10-24T03:42:25.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:25.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:25.651Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:25.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:25.651Z] [2022-10-24T03:42:25.651Z] Login Succeeded [2022-10-24T03:42:25.651Z] nexus3.edgexfoundry.org:10002 [2022-10-24T03:42:25.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:25.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:25.913Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:25.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:25.913Z] [2022-10-24T03:42:25.913Z] Login Succeeded [2022-10-24T03:42:25.913Z] nexus3.edgexfoundry.org:10003 [2022-10-24T03:42:25.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:25.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:25.913Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:25.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:25.913Z] [2022-10-24T03:42:25.913Z] Login Succeeded [2022-10-24T03:42:25.913Z] nexus3.edgexfoundry.org:10004 [2022-10-24T03:42:25.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:26.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:26.173Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:26.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:26.173Z] [2022-10-24T03:42:26.173Z] Login Succeeded [2022-10-24T03:42:26.173Z] docker.io [2022-10-24T03:42:26.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:26.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:26.431Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:26.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:26.431Z] [2022-10-24T03:42:26.431Z] Login Succeeded [2022-10-24T03:42:26.431Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T03:42:26.467Z] 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:27.094Z] + git rev-list -1 --merges d29b63f7efcf0ccbfe51df73156e3d4f2c064810~1..d29b63f7efcf0ccbfe51df73156e3d4f2c064810 [Pipeline] echo [2022-10-24T03:42:27.137Z] -----------> git rev-list -1 --merges d29b63f7efcf0ccbfe51df73156e3d4f2c064810~1..d29b63f7efcf0ccbfe51df73156e3d4f2c064810 d29b63f7efcf0ccbfe51df73156e3d4f2c064810 [false] [Pipeline] sh [2022-10-24T03:42:27.466Z] + git log --format=format:%s -1 d29b63f7efcf0ccbfe51df73156e3d4f2c064810 [Pipeline] echo [2022-10-24T03:42:27.503Z] ========================================================= [2022-10-24T03:42:27.503Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T03:42:27.503Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T03:42:27.947Z] + git log --format=format:%s -1 d29b63f7efcf0ccbfe51df73156e3d4f2c064810 [Pipeline] echo [2022-10-24T03:42:27.980Z] [semverPrep] GIT_COMMIT: d29b63f7efcf0ccbfe51df73156e3d4f2c064810, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo [2022-10-24T03:42:28.013Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T03:42:28.382Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T03:42:28.382Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T03:42:28.382Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T03:42:28.382Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T03:42:28.382Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T03:42:28.382Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T03:42:28.382Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:42:28.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T03:42:28.814Z] [2022-10-24T03:42:28.814Z] 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:29.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T03:42:29.194Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T03:42:29.194Z] b85a868b505f: Pulling fs layer [2022-10-24T03:42:29.194Z] e2be974225ed: Pulling fs layer [2022-10-24T03:42:29.194Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T03:42:29.194Z] 988bab9f4d93: Pulling fs layer [2022-10-24T03:42:29.194Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T03:42:29.194Z] eaf3925da568: Pulling fs layer [2022-10-24T03:42:29.194Z] bab4dde63d76: Pulling fs layer [2022-10-24T03:42:29.194Z] bde34c3a00c8: Pulling fs layer [2022-10-24T03:42:29.194Z] b352a97aabf1: Pulling fs layer [2022-10-24T03:42:29.194Z] 4872d77fe225: Pulling fs layer [2022-10-24T03:42:29.194Z] 5851b861e8e6: Pulling fs layer [2022-10-24T03:42:29.194Z] 988bab9f4d93: Waiting [2022-10-24T03:42:29.194Z] 1469e6f7b9e6: Waiting [2022-10-24T03:42:29.194Z] eaf3925da568: Waiting [2022-10-24T03:42:29.194Z] bab4dde63d76: Waiting [2022-10-24T03:42:29.194Z] bde34c3a00c8: Waiting [2022-10-24T03:42:29.194Z] b352a97aabf1: Waiting [2022-10-24T03:42:29.194Z] 4872d77fe225: Waiting [2022-10-24T03:42:29.194Z] 5851b861e8e6: Waiting [2022-10-24T03:42:29.194Z] e2be974225ed: Verifying Checksum [2022-10-24T03:42:29.194Z] e2be974225ed: Download complete [2022-10-24T03:42:29.194Z] 988bab9f4d93: Verifying Checksum [2022-10-24T03:42:29.194Z] 988bab9f4d93: Download complete [2022-10-24T03:42:29.455Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T03:42:29.455Z] 1469e6f7b9e6: Download complete [2022-10-24T03:42:29.455Z] eaf3925da568: Verifying Checksum [2022-10-24T03:42:29.455Z] eaf3925da568: Download complete [2022-10-24T03:42:29.455Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T03:42:29.455Z] 339a4e72a1f5: Download complete [2022-10-24T03:42:29.455Z] bde34c3a00c8: Download complete [2022-10-24T03:42:29.455Z] b352a97aabf1: Download complete [2022-10-24T03:42:29.455Z] 4872d77fe225: Verifying Checksum [2022-10-24T03:42:29.455Z] 4872d77fe225: Download complete [2022-10-24T03:42:29.455Z] 5851b861e8e6: Download complete [2022-10-24T03:42:29.455Z] b85a868b505f: Download complete [2022-10-24T03:42:30.021Z] bab4dde63d76: Verifying Checksum [2022-10-24T03:42:30.021Z] bab4dde63d76: Download complete [2022-10-24T03:42:30.970Z] b85a868b505f: Pull complete [2022-10-24T03:42:31.229Z] e2be974225ed: Pull complete [2022-10-24T03:42:31.799Z] 339a4e72a1f5: Pull complete [2022-10-24T03:42:32.061Z] 988bab9f4d93: Pull complete [2022-10-24T03:42:32.324Z] 1469e6f7b9e6: Pull complete [2022-10-24T03:42:32.324Z] eaf3925da568: Pull complete [2022-10-24T03:42:34.223Z] bab4dde63d76: Pull complete [2022-10-24T03:42:34.482Z] bde34c3a00c8: Pull complete [2022-10-24T03:42:34.746Z] b352a97aabf1: Pull complete [2022-10-24T03:42:34.746Z] 4872d77fe225: Pull complete [2022-10-24T03:42:35.006Z] 5851b861e8e6: Pull complete [2022-10-24T03:42:35.266Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T03:42:35.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T03:42:35.266Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:42:35.470Z] prd-ubuntu20.04-docker-8c-8g-9063 does not seem to be running inside a container [2022-10-24T03:42:35.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@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:38.055Z] $ docker top 609ca7f12ed1869e0afc83cfa6ef15d0bda9d22174a1df4bba88d4032bf25bf8 -eo pid,comm [2022-10-24T03:42:38.105Z] 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:38.105Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T03:42:38.226Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T03:42:38.226Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T03:42:38.343Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T03:42:38.347Z] $ docker exec 609ca7f12ed1869e0afc83cfa6ef15d0bda9d22174a1df4bba88d4032bf25bf8 ssh-agent [2022-10-24T03:42:38.455Z] SSH_AUTH_SOCK=/tmp/ssh-izgrhiVYHuFX/agent.32 [2022-10-24T03:42:38.455Z] SSH_AGENT_PID=38 [2022-10-24T03:42:38.461Z] Running ssh-add (command line suppressed) [2022-10-24T03:42:38.562Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_14854031498411818461.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_14854031498411818461.key) [2022-10-24T03:42:38.576Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T03:42:38.902Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T03:42:38.930Z] $ docker exec --env ******** --env ******** 609ca7f12ed1869e0afc83cfa6ef15d0bda9d22174a1df4bba88d4032bf25bf8 ssh-agent -k [2022-10-24T03:42:39.024Z] unset SSH_AUTH_SOCK; [2022-10-24T03:42:39.024Z] unset SSH_AGENT_PID; [2022-10-24T03:42:39.024Z] echo Agent pid 38 killed; [2022-10-24T03:42:39.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T03:42:39.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T03:42:39.143Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T03:42:39.248Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T03:42:39.252Z] $ docker exec 609ca7f12ed1869e0afc83cfa6ef15d0bda9d22174a1df4bba88d4032bf25bf8 ssh-agent [2022-10-24T03:42:39.358Z] SSH_AUTH_SOCK=/tmp/ssh-4za190wAyk0E/agent.70 [2022-10-24T03:42:39.358Z] SSH_AGENT_PID=76 [2022-10-24T03:42:39.362Z] Running ssh-add (command line suppressed) [2022-10-24T03:42:39.461Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_16095556647712531464.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_16095556647712531464.key) [2022-10-24T03:42:39.472Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T03:42:39.798Z] + git semver init [2022-10-24T03:42:40.057Z] 2022-10-24 03:42:39,979 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T03:42:40.057Z] 2022-10-24 03:42:39,980 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-184/.semver [2022-10-24T03:42:40.057Z] 2022-10-24 03:42:39,980 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-184/.semver [2022-10-24T03:42:40.057Z] 2022-10-24 03:42:39,980 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-184/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-184, universal_newlines=False, shell=None, istream=None) [2022-10-24T03:42:41.436Z] 2022-10-24 03:42:41,042 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-184/.git/info/exclude [2022-10-24T03:42:41.436Z] 2022-10-24 03:42:41,042 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 with force:False [2022-10-24T03:42:41.436Z] 2022-10-24 03:42:41,042 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 [2022-10-24T03:42:41.436Z] 2022-10-24 03:42:41,046 [execute] INFO git cat-file --batch-check [2022-10-24T03:42:41.436Z] 2022-10-24 03:42:41,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T03:42:41.436Z] 2022-10-24 03:42:41,052 [execute] INFO git cat-file --batch [2022-10-24T03:42:41.436Z] 2022-10-24 03:42:41,052 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T03:42:41.436Z] 2022-10-24 03:42:41,056 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 [2022-10-24T03:42:41.436Z] 0.0.0 [Pipeline] } [2022-10-24T03:42:41.465Z] $ docker exec --env ******** --env ******** 609ca7f12ed1869e0afc83cfa6ef15d0bda9d22174a1df4bba88d4032bf25bf8 ssh-agent -k [2022-10-24T03:42:41.559Z] unset SSH_AUTH_SOCK; [2022-10-24T03:42:41.559Z] unset SSH_AGENT_PID; [2022-10-24T03:42:41.559Z] echo Agent pid 76 killed; [2022-10-24T03:42:41.570Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T03:42:41.989Z] + git semver [Pipeline] } [2022-10-24T03:42:42.274Z] $ docker stop --time=1 609ca7f12ed1869e0afc83cfa6ef15d0bda9d22174a1df4bba88d4032bf25bf8 [2022-10-24T03:42:43.573Z] $ docker rm -f 609ca7f12ed1869e0afc83cfa6ef15d0bda9d22174a1df4bba88d4032bf25bf8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T03:42:43.968Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T03:42:44.225Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T03:42:44.241Z] [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:44.845Z] provisioning config files... [2022-10-24T03:42:44.851Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config13786529087059711208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:42:45.199Z] ---> docker-login.sh [2022-10-24T03:42:45.199Z] nexus3.edgexfoundry.org:10001 [2022-10-24T03:42:45.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:45.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:45.199Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:45.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:45.199Z] [2022-10-24T03:42:45.199Z] Login Succeeded [2022-10-24T03:42:45.199Z] nexus3.edgexfoundry.org:10002 [2022-10-24T03:42:45.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:45.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:45.199Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:45.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:45.199Z] [2022-10-24T03:42:45.199Z] Login Succeeded [2022-10-24T03:42:45.459Z] nexus3.edgexfoundry.org:10003 [2022-10-24T03:42:45.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:45.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:45.459Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:45.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:45.459Z] [2022-10-24T03:42:45.459Z] Login Succeeded [2022-10-24T03:42:45.459Z] nexus3.edgexfoundry.org:10004 [2022-10-24T03:42:45.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:45.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:45.717Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:45.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:45.717Z] [2022-10-24T03:42:45.717Z] Login Succeeded [2022-10-24T03:42:45.717Z] docker.io [2022-10-24T03:42:45.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:42:45.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:42:45.980Z] Configure a credential helper to remove this warning. See [2022-10-24T03:42:45.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:42:45.980Z] [2022-10-24T03:42:45.980Z] Login Succeeded [2022-10-24T03:42:45.980Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T03:42:46.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T03:42:46.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T03:42:46.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T03:42:46.243Z] ========================================================= [2022-10-24T03:42:46.243Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T03:42:46.243Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:42:46.690Z] + 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:46.690Z] Sending build context to Docker daemon 21.39MB [2022-10-24T03:42:46.690Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T03:42:46.690Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-24T03:42:46.690Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T03:42:46.690Z] 213ec9aee27d: Pulling fs layer [2022-10-24T03:42:46.690Z] 4583459ba037: Pulling fs layer [2022-10-24T03:42:46.690Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T03:42:46.690Z] 53926ce57604: Pulling fs layer [2022-10-24T03:42:46.690Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T03:42:46.690Z] 30f14e443154: Pulling fs layer [2022-10-24T03:42:46.690Z] 801331c1e519: Pulling fs layer [2022-10-24T03:42:46.690Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T03:42:46.690Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T03:42:46.690Z] 53926ce57604: Waiting [2022-10-24T03:42:46.690Z] 21b2b0c7a3f4: Waiting [2022-10-24T03:42:46.690Z] 30f14e443154: Waiting [2022-10-24T03:42:46.690Z] 99cc6dd402b0: Waiting [2022-10-24T03:42:46.690Z] 801331c1e519: Waiting [2022-10-24T03:42:46.690Z] 7d9ed39f4882: Waiting [2022-10-24T03:42:46.951Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T03:42:46.951Z] 4583459ba037: Download complete [2022-10-24T03:42:46.951Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-24T03:42:46.951Z] 21b2b0c7a3f4: Download complete [2022-10-24T03:42:46.951Z] 30f14e443154: Verifying Checksum [2022-10-24T03:42:46.951Z] 30f14e443154: Download complete [2022-10-24T03:42:46.951Z] 213ec9aee27d: Download complete [2022-10-24T03:42:46.951Z] 801331c1e519: Verifying Checksum [2022-10-24T03:42:46.951Z] 801331c1e519: Download complete [2022-10-24T03:42:46.951Z] 213ec9aee27d: Pull complete [2022-10-24T03:42:47.222Z] 4583459ba037: Pull complete [2022-10-24T03:42:47.222Z] 93c1e223e6f2: Pull complete [2022-10-24T03:42:47.486Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T03:42:47.486Z] 7d9ed39f4882: Download complete [2022-10-24T03:42:47.486Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T03:42:47.486Z] 99cc6dd402b0: Download complete [2022-10-24T03:42:47.745Z] 53926ce57604: Verifying Checksum [2022-10-24T03:42:47.745Z] 53926ce57604: Download complete [2022-10-24T03:42:51.930Z] 53926ce57604: Pull complete [2022-10-24T03:42:51.930Z] 21b2b0c7a3f4: Pull complete [2022-10-24T03:42:51.930Z] 30f14e443154: Pull complete [2022-10-24T03:42:51.930Z] 801331c1e519: Pull complete [2022-10-24T03:42:53.832Z] 99cc6dd402b0: Pull complete [2022-10-24T03:42:55.235Z] 7d9ed39f4882: Pull complete [2022-10-24T03:42:55.235Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T03:42:55.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T03:42:55.236Z] ---> 1dedd983c030 [2022-10-24T03:42:55.236Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-24T03:42:59.643Z] Still waiting to schedule task [2022-10-24T03:42:59.643Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9062’ [2022-10-24T03:43:00.516Z] ---> Running in 6e48c8d525e8 [2022-10-24T03:43:00.516Z] Removing intermediate container 6e48c8d525e8 [2022-10-24T03:43:00.516Z] ---> 2f81841d1041 [2022-10-24T03:43:00.516Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T03:43:00.775Z] ---> Running in 09a12eeb68a5 [2022-10-24T03:43:00.775Z] Removing intermediate container 09a12eeb68a5 [2022-10-24T03:43:00.775Z] ---> d6cbff57a31b [2022-10-24T03:43:00.775Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T03:43:00.775Z] ---> Running in b763506c4698 [2022-10-24T03:43:01.033Z] Removing intermediate container b763506c4698 [2022-10-24T03:43:01.033Z] ---> 561dda440f54 [2022-10-24T03:43:01.033Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T03:43:01.033Z] ---> Running in 3d1f7ebadcf9 [2022-10-24T03:43:01.033Z] Removing intermediate container 3d1f7ebadcf9 [2022-10-24T03:43:01.033Z] ---> 9558a97a397b [2022-10-24T03:43:01.033Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-24T03:43:01.033Z] ---> Running in d24cf3cd2679 [2022-10-24T03:43:01.033Z] Removing intermediate container d24cf3cd2679 [2022-10-24T03:43:01.033Z] ---> 8b53432aca66 [2022-10-24T03:43:01.033Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T03:43:01.033Z] ---> Running in 58efa87d0fcb [2022-10-24T03:43:01.600Z] Removing intermediate container 58efa87d0fcb [2022-10-24T03:43:01.600Z] ---> 549b0b156e60 [2022-10-24T03:43:01.600Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T03:43:01.600Z] ---> Running in 45a9b525ce5a [2022-10-24T03:43:02.166Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T03:43:03.100Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T03:43:03.362Z] OK: 211 MiB in 51 packages [2022-10-24T03:43:03.929Z] Removing intermediate container 45a9b525ce5a [2022-10-24T03:43:03.929Z] ---> a1c88c30d804 [2022-10-24T03:43:03.929Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-24T03:43:03.929Z] ---> Running in bb8fa98fc303 [2022-10-24T03:43:04.188Z] Removing intermediate container bb8fa98fc303 [2022-10-24T03:43:04.188Z] ---> 6b0ce4beb37c [2022-10-24T03:43:04.188Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-24T03:43:04.453Z] ---> a1b750adf2aa [2022-10-24T03:43:04.453Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T03:43:04.727Z] ---> Running in b673fbe820f1 [2022-10-24T03:43:31.643Z] Removing intermediate container b673fbe820f1 [2022-10-24T03:43:31.643Z] ---> 63311251a7fe [2022-10-24T03:43:31.643Z] Step 13/14 : COPY . . [2022-10-24T03:43:31.902Z] ---> a1c8c5747b99 [2022-10-24T03:43:31.903Z] Step 14/14 : RUN ${MAKE} [2022-10-24T03:43:31.903Z] ---> Running in aef61d44c54a [2022-10-24T03:43:32.160Z] noop [2022-10-24T03:43:32.419Z] Removing intermediate container aef61d44c54a [2022-10-24T03:43:32.419Z] ---> 2cc7c02d5d78 [2022-10-24T03:43:32.419Z] Successfully built 2cc7c02d5d78 [2022-10-24T03:43:32.419Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:43:32.849Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T03:43:32.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:43:32.986Z] prd-ubuntu20.04-docker-8c-8g-9063 does not seem to be running inside a container [2022-10-24T03:43:33.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@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:33.358Z] $ docker top f7caafa86cba7d9dd3ff63e7ed30438608c21752531b0c57c4ac48303447a7a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:43:33.742Z] + go version [2022-10-24T03:43:33.742Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T03:43:33.772Z] $ docker stop --time=1 f7caafa86cba7d9dd3ff63e7ed30438608c21752531b0c57c4ac48303447a7a6 [2022-10-24T03:43:35.039Z] $ docker rm -f f7caafa86cba7d9dd3ff63e7ed30438608c21752531b0c57c4ac48303447a7a6 [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:35.722Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T03:43:35.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:43:35.870Z] prd-ubuntu20.04-docker-8c-8g-9063 does not seem to be running inside a container [2022-10-24T03:43:35.906Z] $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@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.285Z] $ docker top d3aed8b9c35613d46b35e8483a8d03452f1f322829540b0f11eb4a6805f64c42 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:43:36.668Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] fileExists [Pipeline] sh [2022-10-24T03:43:37.032Z] + make test [2022-10-24T03:43:37.032Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T03:43:37.290Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-24T03:43:49.653Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-24T03:43:49.911Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.036s coverage: 28.2% of statements [2022-10-24T03:43:49.911Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-24T03:43:49.911Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.518s coverage: 86.5% of statements [2022-10-24T03:43:58.023Z] 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.023Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T03:44:00.556Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T03:44:00.556Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T03:44:00.556Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T03:44:00.597Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T03:44:00.624Z] $ docker stop --time=1 d3aed8b9c35613d46b35e8483a8d03452f1f322829540b0f11eb4a6805f64c42 [2022-10-24T03:44:04.177Z] $ docker rm -f d3aed8b9c35613d46b35e8483a8d03452f1f322829540b0f11eb4a6805f64c42 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T03:44:04.736Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T03:44:04.810Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T03:44:05.391Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T03:44:05.703Z] + ls -al . [2022-10-24T03:44:05.704Z] total 236 [2022-10-24T03:44:05.704Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 03:43 . [2022-10-24T03:44:05.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:42 .. [2022-10-24T03:44:05.704Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:43 .git [2022-10-24T03:44:05.704Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:42 .github [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 24 03:42 .gitignore [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 03:42 .golangci.yml [2022-10-24T03:44:05.704Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:42 .semver [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 24 03:42 Attribution.txt [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 24 03:42 CHANGELOG.md [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 24 03:42 Dockerfile [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:42 GOVERNANCE.md [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 24 03:42 Jenkinsfile [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 03:42 LICENSE [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 24 03:42 Makefile [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 03:42 OWNERS.md [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 24 03:42 README.md [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 03:42 VERSION [2022-10-24T03:44:05.704Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:42 bin [2022-10-24T03:44:05.704Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:42 cmd [2022-10-24T03:44:05.704Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 24 03:43 coverage.out [2022-10-24T03:44:05.704Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 03:42 doc [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 24 03:42 go.mod [2022-10-24T03:44:05.704Z] -rw-rw-r-- 1 jenkins jenkins 39868 Oct 24 03:42 go.sum [2022-10-24T03:44:05.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:42 internal [2022-10-24T03:44:05.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:42 snap [2022-10-24T03:44:05.704Z] -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.100Z] + 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=d29b63f7efcf0ccbfe51df73156e3d4f2c064810 --label arch=amd64 --label version=0.0.0 . [2022-10-24T03:44:06.100Z] Sending build context to Docker daemon 21.47MB [2022-10-24T03:44:06.100Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T03:44:06.100Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-24T03:44:06.100Z] ---> 2cc7c02d5d78 [2022-10-24T03:44:06.100Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-24T03:44:06.358Z] ---> Running in d720622b7722 [2022-10-24T03:44:06.617Z] Removing intermediate container d720622b7722 [2022-10-24T03:44:06.617Z] ---> aa50f5571d56 [2022-10-24T03:44:06.617Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T03:44:06.617Z] ---> Running in 6c4ea959eb5c [2022-10-24T03:44:06.617Z] Removing intermediate container 6c4ea959eb5c [2022-10-24T03:44:06.617Z] ---> c2192e0adb9d [2022-10-24T03:44:06.617Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T03:44:06.617Z] ---> Running in cd767489134f [2022-10-24T03:44:06.874Z] Removing intermediate container cd767489134f [2022-10-24T03:44:06.874Z] ---> 4cf4a4679b41 [2022-10-24T03:44:06.874Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T03:44:06.874Z] ---> Running in c886fcdcbb02 [2022-10-24T03:44:07.135Z] Removing intermediate container c886fcdcbb02 [2022-10-24T03:44:07.135Z] ---> c5190f146b2f [2022-10-24T03:44:07.135Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-24T03:44:07.135Z] ---> Running in dc101a4c1392 [2022-10-24T03:44:07.135Z] Removing intermediate container dc101a4c1392 [2022-10-24T03:44:07.135Z] ---> cc147504d2de [2022-10-24T03:44:07.135Z] 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.135Z] ---> Running in de24f164ab0d [2022-10-24T03:44:07.704Z] Removing intermediate container de24f164ab0d [2022-10-24T03:44:07.704Z] ---> 9fb7e7639c1f [2022-10-24T03:44:07.704Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T03:44:07.704Z] ---> Running in 8dcf7eb6e628 [2022-10-24T03:44:07.963Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T03:44:08.902Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T03:44:09.162Z] OK: 211 MiB in 51 packages [2022-10-24T03:44:09.420Z] Removing intermediate container 8dcf7eb6e628 [2022-10-24T03:44:09.420Z] ---> 582812ec2c76 [2022-10-24T03:44:09.420Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-24T03:44:09.420Z] ---> Running in a9336dbc0af4 [2022-10-24T03:44:09.678Z] Removing intermediate container a9336dbc0af4 [2022-10-24T03:44:09.678Z] ---> 702708d9117e [2022-10-24T03:44:09.678Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-24T03:44:09.678Z] ---> f081d92db463 [2022-10-24T03:44:09.678Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T03:44:09.678Z] ---> Running in d950adbd566b [2022-10-24T03:44:10.244Z] Removing intermediate container d950adbd566b [2022-10-24T03:44:10.244Z] ---> 45b04b358b9d [2022-10-24T03:44:10.244Z] Step 13/27 : COPY . . [2022-10-24T03:44:11.233Z] ---> 75175521b30d [2022-10-24T03:44:11.233Z] Step 14/27 : RUN ${MAKE} [2022-10-24T03:44:11.493Z] ---> Running in 9630a1b2e66b [2022-10-24T03:44:12.432Z] 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:39.004Z] Removing intermediate container 9630a1b2e66b [2022-10-24T03:44:39.004Z] ---> 31d925ed5af9 [2022-10-24T03:44:39.004Z] Step 15/27 : FROM alpine:3.16 [2022-10-24T03:44:39.004Z] 3.16: Pulling from library/alpine [2022-10-24T03:44:39.004Z] 213ec9aee27d: Already exists [2022-10-24T03:44:39.004Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T03:44:39.004Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T03:44:39.004Z] ---> 9c6f07244728 [2022-10-24T03:44:39.004Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-24T03:44:39.004Z] ---> Running in 5551aefd265a [2022-10-24T03:44:39.004Z] Removing intermediate container 5551aefd265a [2022-10-24T03:44:39.004Z] ---> 8472086d6ceb [2022-10-24T03:44:39.004Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T03:44:39.004Z] ---> Running in 5bf9aeb6a2eb [2022-10-24T03:44:39.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T03:44:39.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T03:44:39.004Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T03:44:39.004Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T03:44:39.004Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T03:44:39.004Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T03:44:39.004Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T03:44:39.004Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T03:44:39.004Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T03:44:39.004Z] OK: 8 MiB in 20 packages [2022-10-24T03:44:39.004Z] Removing intermediate container 5bf9aeb6a2eb [2022-10-24T03:44:39.004Z] ---> f37f94b4d72d [2022-10-24T03:44:39.004Z] Step 18/27 : WORKDIR / [2022-10-24T03:44:39.004Z] ---> Running in 4cf6cd9283f4 [2022-10-24T03:44:39.004Z] Removing intermediate container 4cf6cd9283f4 [2022-10-24T03:44:39.004Z] ---> 8a41630d36bb [2022-10-24T03:44:39.004Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-24T03:44:40.380Z] ---> 33aca435cf6d [2022-10-24T03:44:40.380Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-24T03:44:40.380Z] ---> d5b3608fbe7e [2022-10-24T03:44:40.380Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-24T03:44:40.380Z] ---> 7d62f45d9033 [2022-10-24T03:44:40.380Z] Step 22/27 : EXPOSE 59984 [2022-10-24T03:44:40.380Z] ---> Running in bc51f9a2519f [2022-10-24T03:44:40.380Z] Removing intermediate container bc51f9a2519f [2022-10-24T03:44:40.380Z] ---> bc34e621f922 [2022-10-24T03:44:40.380Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-24T03:44:40.380Z] ---> Running in eddde740dfaa [2022-10-24T03:44:40.643Z] Removing intermediate container eddde740dfaa [2022-10-24T03:44:40.643Z] ---> e4d232ba034d [2022-10-24T03:44:40.643Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T03:44:40.643Z] ---> Running in 86631e64a373 [2022-10-24T03:44:40.643Z] Removing intermediate container 86631e64a373 [2022-10-24T03:44:40.643Z] ---> 030a3610ce0e [2022-10-24T03:44:40.643Z] Step 25/27 : LABEL arch=amd64 [2022-10-24T03:44:40.643Z] ---> Running in 35f86b30be42 [2022-10-24T03:44:40.643Z] Removing intermediate container 35f86b30be42 [2022-10-24T03:44:40.643Z] ---> 0586a7ee25a3 [2022-10-24T03:44:40.643Z] Step 26/27 : LABEL git_sha=d29b63f7efcf0ccbfe51df73156e3d4f2c064810 [2022-10-24T03:44:40.900Z] ---> Running in 098a3ac586d4 [2022-10-24T03:44:40.900Z] Removing intermediate container 098a3ac586d4 [2022-10-24T03:44:40.900Z] ---> 21e8e17b261f [2022-10-24T03:44:40.900Z] Step 27/27 : LABEL version=0.0.0 [2022-10-24T03:44:40.900Z] ---> Running in d996216100b9 [2022-10-24T03:44:40.900Z] Removing intermediate container d996216100b9 [2022-10-24T03:44:40.900Z] ---> 77557d0072a1 [2022-10-24T03:44:40.900Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T03:44:40.900Z] Successfully built 77557d0072a1 [2022-10-24T03:44:40.900Z] 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.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T03:44:41.731Z] [2022-10-24T03:44:41.731Z] 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.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T03:44:42.117Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T03:44:42.117Z] 5eb5b503b376: Pulling fs layer [2022-10-24T03:44:42.117Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T03:44:42.117Z] ec43610c2a17: Pulling fs layer [2022-10-24T03:44:42.117Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T03:44:42.117Z] 33b1e0a273af: Pulling fs layer [2022-10-24T03:44:42.117Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T03:44:42.117Z] 2f39f015ded8: Pulling fs layer [2022-10-24T03:44:42.117Z] 33b1e0a273af: Waiting [2022-10-24T03:44:42.117Z] 5d3b04190fa2: Waiting [2022-10-24T03:44:42.117Z] 3a2ae6a8a46f: Waiting [2022-10-24T03:44:42.117Z] 5c69ac0246d0: Verifying Checksum [2022-10-24T03:44:42.117Z] 5c69ac0246d0: Download complete [2022-10-24T03:44:42.117Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-24T03:44:42.117Z] 3a2ae6a8a46f: Download complete [2022-10-24T03:44:42.379Z] 33b1e0a273af: Verifying Checksum [2022-10-24T03:44:42.379Z] 33b1e0a273af: Download complete [2022-10-24T03:44:42.379Z] 5d3b04190fa2: Verifying Checksum [2022-10-24T03:44:42.379Z] 5d3b04190fa2: Download complete [2022-10-24T03:44:42.379Z] ec43610c2a17: Download complete [2022-10-24T03:44:42.379Z] 5eb5b503b376: Verifying Checksum [2022-10-24T03:44:42.379Z] 5eb5b503b376: Download complete [2022-10-24T03:44:43.345Z] 2f39f015ded8: Download complete [2022-10-24T03:44:43.933Z] 5eb5b503b376: Pull complete [2022-10-24T03:44:43.933Z] 5c69ac0246d0: Pull complete [2022-10-24T03:44:44.191Z] ec43610c2a17: Pull complete [2022-10-24T03:44:44.450Z] 3a2ae6a8a46f: Pull complete [2022-10-24T03:44:44.450Z] 33b1e0a273af: Pull complete [2022-10-24T03:44:44.709Z] 5d3b04190fa2: Pull complete [2022-10-24T03:44:48.892Z] 2f39f015ded8: Pull complete [2022-10-24T03:44:48.892Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T03:44:48.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T03:44:48.892Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:44:49.263Z] prd-ubuntu20.04-docker-8c-8g-9063 does not seem to be running inside a container [2022-10-24T03:44:49.291Z] $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@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.396Z] $ docker top 63cfddb17f749b69c108dc9aedf003bd2258f6002ad70238cfe7d3501ac4d24b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:44:53.831Z] ---> job-cost.sh [2022-10-24T03:44:53.831Z] lf-activate-venv: SKIPPING [2022-10-24T03:44:53.831Z] INFO: No Stack... [2022-10-24T03:44:54.092Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T03:44:54.351Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T03:44:54.677Z] + cat /w/workspace/undry_device-onvif-camera_PR-184/archives/cost.csv [2022-10-24T03:44:54.677Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T03:44:54.717Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-1-stack-cost] [2022-10-24T03:44:54.722Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-1-stack-cost] did not exist. Created. [2022-10-24T03:44:54.722Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T03:44:55.112Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T03:44:55.164Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T03:44:55.191Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T03:44:55.267Z] $ docker stop --time=1 63cfddb17f749b69c108dc9aedf003bd2258f6002ad70238cfe7d3501ac4d24b [2022-10-24T03:44:56.408Z] $ docker rm -f 63cfddb17f749b69c108dc9aedf003bd2258f6002ad70238cfe7d3501ac4d24b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T03:50:53.597Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9137 in /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] { [Pipeline] ws [2022-10-24T03:50:53.638Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-24T03:50:53.721Z] The recommended git tool is: git [2022-10-24T03:51:00.477Z] using credential edgex-jenkins-ssh [2022-10-24T03:51:00.497Z] Cloning the remote Git repository [2022-10-24T03:51:00.579Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-24T03:51:00.677Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-10-24T03:51:00.858Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-24T03:51:00.859Z] > git --version # timeout=10 [2022-10-24T03:51:00.881Z] > git --version # 'git version 2.25.1' [2022-10-24T03:51:00.884Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T03:51:00.949Z] Verifying host key using known hosts file [2022-10-24T03:51:01.200Z] 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:51:01.219Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T03:51:02.647Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-24T03:51:02.668Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T03:51:03.701Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-24T03:51:03.748Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-24T03:51:03.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T03:51:03.755Z] Verifying host key using known hosts file [2022-10-24T03:51:03.762Z] 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:51:03.772Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T03:51:04.399Z] Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit d29b63f7efcf0ccbfe51df73156e3d4f2c064810 [2022-10-24T03:51:04.840Z] Merge succeeded, producing d29b63f7efcf0ccbfe51df73156e3d4f2c064810 [2022-10-24T03:51:04.841Z] Checking out Revision d29b63f7efcf0ccbfe51df73156e3d4f2c064810 (PR-184) [2022-10-24T03:51:04.424Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T03:51:04.453Z] > git checkout -f d29b63f7efcf0ccbfe51df73156e3d4f2c064810 # timeout=10 [2022-10-24T03:51:04.708Z] > git remote # timeout=10 [2022-10-24T03:51:04.729Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T03:51:04.760Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T03:51:04.768Z] Verifying host key using known hosts file [2022-10-24T03:51:04.774Z] 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:51:04.789Z] > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 [2022-10-24T03:51:04.822Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T03:51:04.852Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T03:51:04.871Z] > git checkout -f d29b63f7efcf0ccbfe51df73156e3d4f2c064810 # timeout=10 [2022-10-24T03:51:05.594Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" [2022-10-24T03:51:05.651Z] > git --version # timeout=10 [2022-10-24T03:51:05.662Z] > git --version # 'git version 2.25.1' [2022-10-24T03:51:05.689Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T03:51:06.793Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T03:51:06.793Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T03:51:06.793Z] Dload Upload Total Spent Left Speed [2022-10-24T03:51:06.793Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh [2022-10-24T03:51:07.406Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T03:51:07.768Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T03:51:07.768Z] + sudo tee /etc/docker/daemon.new [2022-10-24T03:51:07.768Z] { [2022-10-24T03:51:07.768Z] "registry-mirrors": [ [2022-10-24T03:51:07.768Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T03:51:07.768Z] ], [2022-10-24T03:51:07.768Z] "bip": "10.250.0.254/24", [2022-10-24T03:51:07.768Z] "hosts": [ [2022-10-24T03:51:07.768Z] "tcp://0.0.0.0:5555", [2022-10-24T03:51:07.768Z] "unix:///var/run/docker.sock" [2022-10-24T03:51:07.768Z] ], [2022-10-24T03:51:07.768Z] "mtu": 1458, [2022-10-24T03:51:07.768Z] "selinux-enabled": true, [2022-10-24T03:51:07.768Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T03:51:07.768Z] } [Pipeline] sh [2022-10-24T03:51:08.114Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T03:51:08.458Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T03:51:26.795Z] provisioning config files... [2022-10-24T03:51:26.829Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config14917398614066327468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:51:27.226Z] ---> docker-login.sh [2022-10-24T03:51:27.226Z] nexus3.edgexfoundry.org:10001 [2022-10-24T03:51:27.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:51:27.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:51:27.818Z] Configure a credential helper to remove this warning. See [2022-10-24T03:51:27.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:51:27.818Z] [2022-10-24T03:51:27.818Z] Login Succeeded [2022-10-24T03:51:27.818Z] nexus3.edgexfoundry.org:10002 [2022-10-24T03:51:28.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:51:28.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:51:28.363Z] Configure a credential helper to remove this warning. See [2022-10-24T03:51:28.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:51:28.363Z] [2022-10-24T03:51:28.363Z] Login Succeeded [2022-10-24T03:51:28.363Z] nexus3.edgexfoundry.org:10003 [2022-10-24T03:51:28.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:51:28.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:51:28.634Z] Configure a credential helper to remove this warning. See [2022-10-24T03:51:28.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:51:28.634Z] [2022-10-24T03:51:28.634Z] Login Succeeded [2022-10-24T03:51:28.634Z] nexus3.edgexfoundry.org:10004 [2022-10-24T03:51:28.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:51:29.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:51:29.177Z] Configure a credential helper to remove this warning. See [2022-10-24T03:51:29.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:51:29.177Z] [2022-10-24T03:51:29.177Z] Login Succeeded [2022-10-24T03:51:29.177Z] docker.io [2022-10-24T03:51:29.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T03:51:29.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T03:51:29.718Z] Configure a credential helper to remove this warning. See [2022-10-24T03:51:29.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T03:51:29.718Z] [2022-10-24T03:51:29.718Z] Login Succeeded [2022-10-24T03:51:29.718Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T03:51:29.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T03:51:30.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T03:51:30.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T03:51:30.131Z] ========================================================= [2022-10-24T03:51:30.131Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T03:51:30.131Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:51:30.629Z] + 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:51:31.225Z] Sending build context to Docker daemon 14.75MB [2022-10-24T03:51:31.225Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T03:51:31.225Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-24T03:51:31.225Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T03:51:31.225Z] 9b18e9b68314: Pulling fs layer [2022-10-24T03:51:31.225Z] d32db5db7311: Pulling fs layer [2022-10-24T03:51:31.225Z] d0c4b47475fc: Pulling fs layer [2022-10-24T03:51:31.225Z] 5831b945b038: Pulling fs layer [2022-10-24T03:51:31.225Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T03:51:31.225Z] e10730c5d714: Pulling fs layer [2022-10-24T03:51:31.225Z] 5dd5c2283517: Pulling fs layer [2022-10-24T03:51:31.225Z] d5ac0230b979: Pulling fs layer [2022-10-24T03:51:31.225Z] e10730c5d714: Waiting [2022-10-24T03:51:31.225Z] 5dd5c2283517: Waiting [2022-10-24T03:51:31.225Z] d5ac0230b979: Waiting [2022-10-24T03:51:31.225Z] 5831b945b038: Waiting [2022-10-24T03:51:31.225Z] 86bbec2aaacd: Waiting [2022-10-24T03:51:31.513Z] d0c4b47475fc: Verifying Checksum [2022-10-24T03:51:31.513Z] d0c4b47475fc: Download complete [2022-10-24T03:51:31.513Z] d32db5db7311: Verifying Checksum [2022-10-24T03:51:31.513Z] d32db5db7311: Download complete [2022-10-24T03:51:31.513Z] 86bbec2aaacd: Verifying Checksum [2022-10-24T03:51:31.513Z] 86bbec2aaacd: Download complete [2022-10-24T03:51:31.513Z] e10730c5d714: Verifying Checksum [2022-10-24T03:51:31.513Z] e10730c5d714: Download complete [2022-10-24T03:51:31.513Z] 9b18e9b68314: Verifying Checksum [2022-10-24T03:51:31.513Z] 9b18e9b68314: Download complete [2022-10-24T03:51:32.506Z] 9b18e9b68314: Pull complete [2022-10-24T03:51:32.789Z] d5ac0230b979: Verifying Checksum [2022-10-24T03:51:32.789Z] d5ac0230b979: Download complete [2022-10-24T03:51:32.789Z] d32db5db7311: Pull complete [2022-10-24T03:51:33.390Z] d0c4b47475fc: Pull complete [2022-10-24T03:51:34.216Z] 5dd5c2283517: Verifying Checksum [2022-10-24T03:51:34.816Z] 5831b945b038: Verifying Checksum [2022-10-24T03:51:34.816Z] 5831b945b038: Download complete [2022-10-24T03:51:47.359Z] 5831b945b038: Pull complete [2022-10-24T03:51:47.359Z] 86bbec2aaacd: Pull complete [2022-10-24T03:51:47.359Z] e10730c5d714: Pull complete [2022-10-24T03:51:52.741Z] 5dd5c2283517: Pull complete [2022-10-24T03:51:54.707Z] d5ac0230b979: Pull complete [2022-10-24T03:51:54.707Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T03:51:54.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T03:51:54.707Z] ---> 59b3b1a385d4 [2022-10-24T03:51:54.707Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-24T03:51:57.301Z] ---> Running in 0d0c6531486b [2022-10-24T03:51:57.301Z] Removing intermediate container 0d0c6531486b [2022-10-24T03:51:57.301Z] ---> 36bbcf2f5383 [2022-10-24T03:51:57.301Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T03:51:57.569Z] ---> Running in e197e0452ed2 [2022-10-24T03:51:57.841Z] Removing intermediate container e197e0452ed2 [2022-10-24T03:51:57.841Z] ---> b1763993a20a [2022-10-24T03:51:57.841Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T03:51:57.841Z] ---> Running in e87d693bd9ec [2022-10-24T03:51:58.110Z] Removing intermediate container e87d693bd9ec [2022-10-24T03:51:58.110Z] ---> 10c7c9f01bb6 [2022-10-24T03:51:58.110Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T03:51:58.384Z] ---> Running in 03e83fcd8380 [2022-10-24T03:51:58.656Z] Removing intermediate container 03e83fcd8380 [2022-10-24T03:51:58.656Z] ---> 18f2abd1cc8d [2022-10-24T03:51:58.656Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-24T03:51:58.656Z] ---> Running in 29245819ab11 [2022-10-24T03:51:59.246Z] Removing intermediate container 29245819ab11 [2022-10-24T03:51:59.246Z] ---> 009735cd13bb [2022-10-24T03:51:59.246Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T03:51:59.246Z] ---> Running in c601bee9ccb7 [2022-10-24T03:52:01.847Z] Removing intermediate container c601bee9ccb7 [2022-10-24T03:52:01.847Z] ---> b196cceab54d [2022-10-24T03:52:01.847Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T03:52:01.847Z] ---> Running in 3136986d6c0e [2022-10-24T03:52:02.440Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T03:52:03.409Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T03:52:04.826Z] OK: 221 MiB in 51 packages [2022-10-24T03:52:05.793Z] Removing intermediate container 3136986d6c0e [2022-10-24T03:52:05.793Z] ---> fcec19b3c415 [2022-10-24T03:52:05.793Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-24T03:52:05.793Z] ---> Running in f2e1a2c07f19 [2022-10-24T03:52:06.060Z] Removing intermediate container f2e1a2c07f19 [2022-10-24T03:52:06.060Z] ---> 35d967a484e7 [2022-10-24T03:52:06.060Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-24T03:52:06.646Z] ---> 471511597b50 [2022-10-24T03:52:06.646Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T03:52:06.646Z] ---> Running in 295d7a79a6d5 [2022-10-24T03:53:03.103Z] Removing intermediate container 295d7a79a6d5 [2022-10-24T03:53:03.103Z] ---> aa2f60c67bd7 [2022-10-24T03:53:03.103Z] Step 13/14 : COPY . . [2022-10-24T03:53:03.103Z] ---> 35ac4c082704 [2022-10-24T03:53:03.103Z] Step 14/14 : RUN ${MAKE} [2022-10-24T03:53:03.103Z] ---> Running in 174b8413bf15 [2022-10-24T03:53:03.103Z] noop [2022-10-24T03:53:03.103Z] Removing intermediate container 174b8413bf15 [2022-10-24T03:53:03.103Z] ---> c3d113753820 [2022-10-24T03:53:03.103Z] Successfully built c3d113753820 [2022-10-24T03:53:03.103Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:53:03.577Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T03:53:03.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:53:03.842Z] prd-ubuntu20.04-docker-arm64-4c-16g-9137 does not seem to be running inside a container [2022-10-24T03:53:03.913Z] $ 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:53:05.103Z] $ docker top 14caa130f9674693884946b7b5e1ba46bb64ec1c7e03d82d0f51e6c9dab7a84a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:53:05.989Z] + go version [2022-10-24T03:53:05.989Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T03:53:06.022Z] $ docker stop --time=1 14caa130f9674693884946b7b5e1ba46bb64ec1c7e03d82d0f51e6c9dab7a84a [2022-10-24T03:53:07.658Z] $ docker rm -f 14caa130f9674693884946b7b5e1ba46bb64ec1c7e03d82d0f51e6c9dab7a84a [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:53:08.513Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T03:53:08.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:53:08.778Z] prd-ubuntu20.04-docker-arm64-4c-16g-9137 does not seem to be running inside a container [2022-10-24T03:53:08.849Z] $ 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:53:10.006Z] $ docker top 6265a45f7822e4c9deb7e74f3e1d295f6f86bbe976c6c04b877fb201523b7aca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:53:10.918Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-24T03:53:11.630Z] + make test [2022-10-24T03:53:11.630Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T03:53:13.597Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-24T03:55:05.296Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-24T03:55:05.296Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.189s coverage: 28.2% of statements [2022-10-24T03:55:05.296Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-24T03:55:20.318Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.499s coverage: 86.5% of statements [2022-10-24T03:55:20.318Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T03:55:20.318Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T03:55:59.249Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T03:55:59.249Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T03:55:59.249Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T03:55:59.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T03:55:59.311Z] $ docker stop --time=1 6265a45f7822e4c9deb7e74f3e1d295f6f86bbe976c6c04b877fb201523b7aca [2022-10-24T03:56:01.418Z] $ docker rm -f 6265a45f7822e4c9deb7e74f3e1d295f6f86bbe976c6c04b877fb201523b7aca [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T03:56:02.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T03:56:02.677Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T03:56:03.333Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T03:56:03.945Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T03:56:04.288Z] + ls -al . [2022-10-24T03:56:04.288Z] total 232 [2022-10-24T03:56:04.288Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 03:53 . [2022-10-24T03:56:04.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:51 .. [2022-10-24T03:56:04.288Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:51 .git [2022-10-24T03:56:04.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:51 .github [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 24 03:51 .gitignore [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 03:51 .golangci.yml [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 24 03:51 Attribution.txt [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 24 03:51 CHANGELOG.md [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 24 03:51 Dockerfile [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:51 GOVERNANCE.md [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 24 03:51 Jenkinsfile [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 03:51 LICENSE [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 24 03:51 Makefile [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 03:51 OWNERS.md [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 24 03:51 README.md [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 03:42 VERSION [2022-10-24T03:56:04.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:51 bin [2022-10-24T03:56:04.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:51 cmd [2022-10-24T03:56:04.288Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 24 03:55 coverage.out [2022-10-24T03:56:04.288Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 03:51 doc [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 24 03:51 go.mod [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 39868 Oct 24 03:51 go.sum [2022-10-24T03:56:04.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:51 internal [2022-10-24T03:56:04.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:51 snap [2022-10-24T03:56:04.288Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 03:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:56:04.733Z] + 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=d29b63f7efcf0ccbfe51df73156e3d4f2c064810 --label arch=arm64 --label version=0.0.0 . [2022-10-24T03:56:06.137Z] Sending build context to Docker daemon 14.83MB [2022-10-24T03:56:06.137Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T03:56:06.137Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-24T03:56:06.137Z] ---> c3d113753820 [2022-10-24T03:56:06.137Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-24T03:56:06.137Z] ---> Running in dd6df652bcbc [2022-10-24T03:56:06.737Z] Removing intermediate container dd6df652bcbc [2022-10-24T03:56:06.737Z] ---> fe5d84541355 [2022-10-24T03:56:06.737Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T03:56:06.737Z] ---> Running in 742b7c4ed286 [2022-10-24T03:56:07.342Z] Removing intermediate container 742b7c4ed286 [2022-10-24T03:56:07.342Z] ---> 67d77fcd9dd9 [2022-10-24T03:56:07.342Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T03:56:07.342Z] ---> Running in 56abf43a6409 [2022-10-24T03:56:07.608Z] Removing intermediate container 56abf43a6409 [2022-10-24T03:56:07.608Z] ---> 6845532717ba [2022-10-24T03:56:07.608Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T03:56:07.878Z] ---> Running in e050f4f90330 [2022-10-24T03:56:08.146Z] Removing intermediate container e050f4f90330 [2022-10-24T03:56:08.146Z] ---> a9c424085e6d [2022-10-24T03:56:08.146Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-24T03:56:08.146Z] ---> Running in 2bcd91e303e1 [2022-10-24T03:56:08.730Z] Removing intermediate container 2bcd91e303e1 [2022-10-24T03:56:08.730Z] ---> f595d5932c47 [2022-10-24T03:56:08.730Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T03:56:08.730Z] ---> Running in 3ef96d85fbd0 [2022-10-24T03:56:13.011Z] Removing intermediate container 3ef96d85fbd0 [2022-10-24T03:56:13.011Z] ---> 36d7a050e8b5 [2022-10-24T03:56:13.011Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T03:56:13.011Z] ---> Running in e9e315eecc28 [2022-10-24T03:56:14.971Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T03:56:15.556Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T03:56:16.968Z] OK: 221 MiB in 51 packages [2022-10-24T03:56:17.934Z] Removing intermediate container e9e315eecc28 [2022-10-24T03:56:17.934Z] ---> 6d7f8b9bdcdd [2022-10-24T03:56:17.934Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-24T03:56:17.934Z] ---> Running in f44181129006 [2022-10-24T03:56:18.205Z] Removing intermediate container f44181129006 [2022-10-24T03:56:18.205Z] ---> 8a5ad5629bf4 [2022-10-24T03:56:18.205Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-24T03:56:18.792Z] ---> 9eaf59f2341a [2022-10-24T03:56:18.792Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T03:56:18.792Z] ---> Running in 10953124edf2 [2022-10-24T03:56:20.739Z] Removing intermediate container 10953124edf2 [2022-10-24T03:56:20.739Z] ---> 5e58584be082 [2022-10-24T03:56:20.739Z] Step 13/27 : COPY . . [2022-10-24T03:56:22.690Z] ---> ddbedca93b15 [2022-10-24T03:56:22.690Z] Step 14/27 : RUN ${MAKE} [2022-10-24T03:56:22.690Z] ---> Running in 7562c7605e3f [2022-10-24T03:56:23.664Z] 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:59:00.398Z] Removing intermediate container 7562c7605e3f [2022-10-24T03:59:00.398Z] ---> e6e183c4c16b [2022-10-24T03:59:00.398Z] Step 15/27 : FROM alpine:3.16 [2022-10-24T03:59:00.398Z] 3.16: Pulling from library/alpine [2022-10-24T03:59:00.398Z] 9b18e9b68314: Already exists [2022-10-24T03:59:00.398Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T03:59:00.398Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T03:59:00.398Z] ---> a6215f271958 [2022-10-24T03:59:00.398Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-24T03:59:00.398Z] ---> Running in 9abf656b3e53 [2022-10-24T03:59:00.398Z] Removing intermediate container 9abf656b3e53 [2022-10-24T03:59:00.398Z] ---> fc5ea2bf38f9 [2022-10-24T03:59:00.398Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T03:59:00.398Z] ---> Running in a4fa66343d4c [2022-10-24T03:59:00.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T03:59:00.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T03:59:00.398Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T03:59:00.398Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T03:59:00.398Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T03:59:00.398Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T03:59:00.398Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T03:59:00.398Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T03:59:00.398Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T03:59:00.398Z] OK: 8 MiB in 20 packages [2022-10-24T03:59:00.398Z] Removing intermediate container a4fa66343d4c [2022-10-24T03:59:00.398Z] ---> c65f1f421b38 [2022-10-24T03:59:00.398Z] Step 18/27 : WORKDIR / [2022-10-24T03:59:00.398Z] ---> Running in 7bc3995a3ea5 [2022-10-24T03:59:00.398Z] Removing intermediate container 7bc3995a3ea5 [2022-10-24T03:59:00.398Z] ---> c17f24942573 [2022-10-24T03:59:00.398Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-24T03:59:00.398Z] ---> bf0ee5eb42eb [2022-10-24T03:59:00.398Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-24T03:59:00.398Z] ---> 955472aae448 [2022-10-24T03:59:00.398Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-24T03:59:00.398Z] ---> 9c5bb9abf92b [2022-10-24T03:59:00.398Z] Step 22/27 : EXPOSE 59984 [2022-10-24T03:59:00.398Z] ---> Running in ce1e1a7762f6 [2022-10-24T03:59:00.398Z] Removing intermediate container ce1e1a7762f6 [2022-10-24T03:59:00.398Z] ---> 3cfd2da2f2b1 [2022-10-24T03:59:00.398Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-24T03:59:00.398Z] ---> Running in cf66fba1ea0e [2022-10-24T03:59:00.398Z] Removing intermediate container cf66fba1ea0e [2022-10-24T03:59:00.398Z] ---> 400f3b5496ed [2022-10-24T03:59:00.398Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T03:59:00.398Z] ---> Running in d18c451375dc [2022-10-24T03:59:00.668Z] Removing intermediate container d18c451375dc [2022-10-24T03:59:00.668Z] ---> 7e2947a7633f [2022-10-24T03:59:00.668Z] Step 25/27 : LABEL arch=arm64 [2022-10-24T03:59:00.668Z] ---> Running in 87034c2094de [2022-10-24T03:59:00.935Z] Removing intermediate container 87034c2094de [2022-10-24T03:59:00.935Z] ---> 774acb2d0223 [2022-10-24T03:59:00.935Z] Step 26/27 : LABEL git_sha=d29b63f7efcf0ccbfe51df73156e3d4f2c064810 [2022-10-24T03:59:01.302Z] ---> Running in 15627ff869f3 [2022-10-24T03:59:01.302Z] Removing intermediate container 15627ff869f3 [2022-10-24T03:59:01.302Z] ---> a8bbeb9894bc [2022-10-24T03:59:01.302Z] Step 27/27 : LABEL version=0.0.0 [2022-10-24T03:59:01.579Z] ---> Running in 85c5afc2cfd5 [2022-10-24T03:59:01.849Z] Removing intermediate container 85c5afc2cfd5 [2022-10-24T03:59:01.849Z] ---> 8a3374c74cfc [2022-10-24T03:59:01.849Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T03:59:01.849Z] Successfully built 8a3374c74cfc [2022-10-24T03:59:01.849Z] 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:59:02.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T03:59:02.692Z] [2022-10-24T03:59:02.692Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:59:03.110Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T03:59:03.110Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T03:59:03.110Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T03:59:03.110Z] 04944245beec: Pulling fs layer [2022-10-24T03:59:03.110Z] 699f458cf7ca: Pulling fs layer [2022-10-24T03:59:03.110Z] 765212b225bb: Pulling fs layer [2022-10-24T03:59:03.110Z] f23df028b6ca: Pulling fs layer [2022-10-24T03:59:03.110Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T03:59:03.110Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T03:59:03.110Z] f23df028b6ca: Waiting [2022-10-24T03:59:03.110Z] d65c8cfc05b1: Waiting [2022-10-24T03:59:03.110Z] 2437ff75d9bd: Waiting [2022-10-24T03:59:03.110Z] 765212b225bb: Waiting [2022-10-24T03:59:03.406Z] 04944245beec: Verifying Checksum [2022-10-24T03:59:03.406Z] 04944245beec: Download complete [2022-10-24T03:59:03.406Z] 765212b225bb: Verifying Checksum [2022-10-24T03:59:03.406Z] 765212b225bb: Download complete [2022-10-24T03:59:03.406Z] f23df028b6ca: Verifying Checksum [2022-10-24T03:59:03.406Z] f23df028b6ca: Download complete [2022-10-24T03:59:03.406Z] d65c8cfc05b1: Download complete [2022-10-24T03:59:03.406Z] 699f458cf7ca: Verifying Checksum [2022-10-24T03:59:03.406Z] 699f458cf7ca: Download complete [2022-10-24T03:59:04.008Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T03:59:04.008Z] 8998bd30e6a1: Download complete [2022-10-24T03:59:05.946Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T03:59:05.946Z] 2437ff75d9bd: Download complete [2022-10-24T03:59:07.901Z] 8998bd30e6a1: Pull complete [2022-10-24T03:59:08.166Z] 04944245beec: Pull complete [2022-10-24T03:59:09.571Z] 699f458cf7ca: Pull complete [2022-10-24T03:59:09.571Z] 765212b225bb: Pull complete [2022-10-24T03:59:10.528Z] f23df028b6ca: Pull complete [2022-10-24T03:59:10.528Z] d65c8cfc05b1: Pull complete [2022-10-24T03:59:25.522Z] 2437ff75d9bd: Pull complete [2022-10-24T03:59:25.522Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T03:59:25.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T03:59:25.522Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:59:25.839Z] prd-ubuntu20.04-docker-arm64-4c-16g-9137 does not seem to be running inside a container [2022-10-24T03:59:25.884Z] $ 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:59:28.541Z] $ docker top 16d5a934b5ded97983650daf158ee20bfa77813bab2abf5e9cc6c46a7b1b4006 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:59:29.476Z] ---> job-cost.sh [2022-10-24T03:59:29.476Z] lf-activate-venv: SKIPPING [2022-10-24T03:59:29.476Z] INFO: No Stack... [2022-10-24T03:59:29.744Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T03:59:30.705Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T03:59:31.051Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-10-24T03:59:31.051Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T03:59:31.410Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-1-stack-cost] [2022-10-24T03:59:31.415Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-1-stack-cost] did not exist. Created. [2022-10-24T03:59:31.416Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T03:59:32.164Z] /w/workspace/device-onvif-camera/1@tmp/durable-9202a71b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T03:59:32.844Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T03:59:32.879Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T03:59:32.947Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T03:59:32.964Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T03:59:33.029Z] $ docker stop --time=1 16d5a934b5ded97983650daf158ee20bfa77813bab2abf5e9cc6c46a7b1b4006 [2022-10-24T03:59:34.632Z] $ docker rm -f 16d5a934b5ded97983650daf158ee20bfa77813bab2abf5e9cc6c46a7b1b4006 [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:59:35.646Z] provisioning config files... [2022-10-24T03:59:35.655Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config16365778253611737836tmp [Pipeline] { [Pipeline] sh [2022-10-24T03:59:35.994Z] + set +x [2022-10-24T03:59:35.994Z] + curl -s https://codecov.io/bash [2022-10-24T03:59:35.994Z] + bash -s -- [2022-10-24T03:59:35.994Z] [2022-10-24T03:59:35.994Z] _____ _ [2022-10-24T03:59:35.994Z] / ____| | | [2022-10-24T03:59:35.994Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T03:59:35.994Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T03:59:35.994Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T03:59:35.994Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T03:59:35.994Z] Bash-1.0.6 [2022-10-24T03:59:35.994Z] [2022-10-24T03:59:35.994Z] [2022-10-24T03:59:35.994Z] ==> git version 2.25.1 found [2022-10-24T03:59:35.994Z] ==> 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:59:35.994Z] Release-Date: 2020-01-08 [2022-10-24T03:59:35.994Z] 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:59:35.994Z] 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:59:35.994Z] ==> Jenkins CI detected. [2022-10-24T03:59:35.994Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-184 [2022-10-24T03:59:35.994Z] project root: . [2022-10-24T03:59:35.994Z] --> token set from env [2022-10-24T03:59:35.994Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T03:59:35.994Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T03:59:35.994Z] ==> Python coveragepy not found [2022-10-24T03:59:35.994Z] ==> Searching for coverage reports in: [2022-10-24T03:59:35.994Z] + . [2022-10-24T03:59:35.994Z] -> Found 1 reports [2022-10-24T03:59:35.994Z] ==> Detecting git/mercurial file structure [2022-10-24T03:59:35.994Z] ==> Reading reports [2022-10-24T03:59:35.994Z] + ./coverage.out bytes=78636 [2022-10-24T03:59:35.994Z] ==> Appending adjustments [2022-10-24T03:59:35.994Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T03:59:36.253Z] + Found adjustments [2022-10-24T03:59:36.253Z] ==> Gzipping contents [2022-10-24T03:59:36.253Z] 12K /tmp/codecov.FEBpAe.gz [2022-10-24T03:59:36.253Z] ==> Uploading reports [2022-10-24T03:59:36.253Z] url: https://codecov.io [2022-10-24T03:59:36.253Z] query: branch=PR-184&commit=d29b63f7efcf0ccbfe51df73156e3d4f2c064810&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-10-24T03:59:36.253Z] -> Pinging Codecov [2022-10-24T03:59:36.253Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-184&commit=d29b63f7efcf0ccbfe51df73156e3d4f2c064810&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-10-24T03:59:36.821Z] -> Uploading to [2022-10-24T03:59:36.821Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/F29A59C45E3A92E06B3E522C9905F8EF/d29b63f7efcf0ccbfe51df73156e3d4f2c064810/40cc9566-2d2f-4ff1-a0bc-addeaa714094.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T035936Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eab0ce465a0bf2b84cb4109f5dbcde1c7564be5a1f6f9760cf9d2f4e88f8e98f [2022-10-24T03:59:36.821Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T03:59:36.821Z] Dload Upload Total Spent Left Speed [2022-10-24T03:59:36.821Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10754 0 0 100 10754 0 48660 --:--:-- --:--:-- --:--:-- 48660 [2022-10-24T03:59:37.080Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d29b63f7efcf0ccbfe51df73156e3d4f2c064810 [Pipeline] } [2022-10-24T03:59:37.108Z] 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:59:38.776Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-184/archives ] [2022-10-24T03:59:38.776Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-10-24T03:59:38.776Z] total 16 [2022-10-24T03:59:38.776Z] drwxr-xr-x 3 root root 4096 Oct 24 03:44 . [2022-10-24T03:59:38.776Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:44 .. [2022-10-24T03:59:38.776Z] drwxr-xr-x 2 root root 4096 Oct 24 03:44 cost [2022-10-24T03:59:38.776Z] -rw-r--r-- 1 root root 91 Oct 24 03:44 cost.csv [2022-10-24T03:59:38.776Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-10-24T03:59:38.776Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-10-24T03:59:38.776Z] total 16 [2022-10-24T03:59:38.776Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:44 . [2022-10-24T03:59:38.776Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:44 .. [2022-10-24T03:59:38.776Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 03:44 cost [2022-10-24T03:59:38.776Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 24 03:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:59:39.105Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:59:40.006Z] ---> package-listing.sh [2022-10-24T03:59:40.006Z] ++ facter osfamily [2022-10-24T03:59:40.006Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T03:59:40.264Z] + OS_FAMILY=debian [2022-10-24T03:59:40.264Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-184 [2022-10-24T03:59:40.264Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T03:59:40.264Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T03:59:40.264Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T03:59:40.264Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T03:59:40.264Z] + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' [2022-10-24T03:59:40.264Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T03:59:40.264Z] + case "${OS_FAMILY}" in [2022-10-24T03:59:40.264Z] + dpkg -l [2022-10-24T03:59:40.264Z] + grep '^ii' [2022-10-24T03:59:40.264Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T03:59:40.264Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T03:59:40.264Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T03:59:40.264Z] + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' [2022-10-24T03:59:40.264Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-184/archives/ [2022-10-24T03:59:40.264Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-184/archives/ [Pipeline] echo [2022-10-24T03:59:40.297Z] 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-184/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:59:40.586Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T03:59:41.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T03:59:41.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T03:59:41.366Z] prd-ubuntu20.04-docker-8c-8g-9063 does not seem to be running inside a container [2022-10-24T03:59:41.402Z] $ 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-184/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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@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:59:41.714Z] $ docker top 364a6aac4635bc394bbc4a9ab015b3db4229af263d08877e592be03228777db4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T03:59:42.085Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T03:59:42.395Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T03:59:42.704Z] + ls /var/log/sa-host [2022-10-24T03:59:42.704Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T03:59:42.838Z] provisioning config files... [2022-10-24T03:59:42.846Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config7677687874774447092tmp [Pipeline] { [Pipeline] echo [2022-10-24T03:59:42.899Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:59:43.210Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T03:59:43.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:59:43.634Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T03:59:43.666Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:59:43.975Z] ---> sudo-logs.sh [2022-10-24T03:59:43.975Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T03:59:44.051Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:59:44.359Z] ---> job-cost.sh [2022-10-24T03:59:44.359Z] lf-activate-venv: SKIPPING [2022-10-24T03:59:44.359Z] DEBUG: total: 0.2199999988079071 [2022-10-24T03:59:44.359Z] INFO: Retrieving Stack Cost... [2022-10-24T03:59:44.926Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T03:59:45.185Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T03:59:45.219Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T03:59:45.525Z] ---> logs-deploy.sh [2022-10-24T03:59:45.525Z] lf-activate-venv: SKIPPING [2022-10-24T03:59:45.525Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-184/1 [2022-10-24T03:59:45.525Z] INFO: archiving workspace using pattern(s): [2022-10-24T03:59:46.461Z] Archives upload complete. [2022-10-24T03:59:46.461Z] INFO: archiving logs to Nexus