Pull request #174 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than 482e55864ca8f334c8fa0bb601f752722a1407a0 Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh10334312116393807154.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6239961475608973671.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-174/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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13984150463409226557.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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7985921890691097926.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17453328682286653207.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-174/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-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15638431468979685411.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7357 in /w/workspace/undry_device-onvif-camera_PR-174 [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-174 # 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/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 482e55864ca8f334c8fa0bb601f752722a1407a0 Merge succeeded, producing 482e55864ca8f334c8fa0bb601f752722a1407a0 Checking out Revision 482e55864ca8f334c8fa0bb601f752722a1407a0 (PR-174) Commit message: "feat: added more onvif descriptions" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-07T21:30:18.948Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-07T21:30:19.110Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 482e55864ca8f334c8fa0bb601f752722a1407a0 # 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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 482e55864ca8f334c8fa0bb601f752722a1407a0 # timeout=10 [Pipeline] echo [2022-10-07T21:30:19.197Z] ========================================================= [2022-10-07T21:30:19.197Z] EdgeX Global Pipelines Version Info [2022-10-07T21:30:19.197Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-07T21:30:19.924Z] ------------------- [2022-10-07T21:30:19.924Z] stable info: [2022-10-07T21:30:19.924Z] ------------------- [2022-10-07T21:30:19.924Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-07T21:30:19.924Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T21:30:19.924Z] Message: update stable to v1.0.239 [2022-10-07T21:30:20.494Z] ------------------- [2022-10-07T21:30:20.494Z] experimental info: [2022-10-07T21:30:20.494Z] ------------------- [2022-10-07T21:30:20.494Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-07T21:30:20.494Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T21:30:20.494Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-07T21:30:20.764Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-07T21:30:20.806Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-07T21:30:20.840Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-07T21:30:20.875Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-07T21:30:20.911Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-07T21:30:20.949Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-07T21:30:20.982Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-07T21:30:21.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-07T21:30:21.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-07T21:30:21.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-07T21:30:21.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-07T21:30:21.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-07T21:30:21.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-07T21:30:21.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-07T21:30:21.266Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T21:30:21.307Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T21:30:21.344Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T21:30:21.378Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T21:30:21.412Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-07T21:30:21.448Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-07T21:30:21.483Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-07T21:30:21.526Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-07T21:30:21.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-07T21:30:21.610Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-07T21:30:21.648Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-07T21:30:21.685Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-07T21:30:21.724Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-07T21:30:21.765Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo [2022-10-07T21:30:21.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo [2022-10-07T21:30:21.840Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo [2022-10-07T21:30:21.879Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 482e55864ca8f334c8fa0bb601f752722a1407a0 [Pipeline] echo [2022-10-07T21:30:21.920Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 482e558 [Pipeline] echo [2022-10-07T21:30:21.961Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T21:30:22.070Z] provisioning config files... [2022-10-07T21:30:22.085Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config16161369425012476844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T21:30:22.429Z] ---> docker-login.sh [2022-10-07T21:30:22.430Z] nexus3.edgexfoundry.org:10001 [2022-10-07T21:30:22.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:30:22.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:30:22.951Z] Configure a credential helper to remove this warning. See [2022-10-07T21:30:22.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:30:22.951Z] [2022-10-07T21:30:22.951Z] Login Succeeded [2022-10-07T21:30:22.951Z] nexus3.edgexfoundry.org:10002 [2022-10-07T21:30:22.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:30:22.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:30:22.951Z] Configure a credential helper to remove this warning. See [2022-10-07T21:30:22.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:30:22.951Z] [2022-10-07T21:30:22.951Z] Login Succeeded [2022-10-07T21:30:22.951Z] nexus3.edgexfoundry.org:10003 [2022-10-07T21:30:22.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:30:22.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:30:22.951Z] Configure a credential helper to remove this warning. See [2022-10-07T21:30:22.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:30:22.951Z] [2022-10-07T21:30:22.951Z] Login Succeeded [2022-10-07T21:30:22.951Z] nexus3.edgexfoundry.org:10004 [2022-10-07T21:30:23.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:30:23.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:30:23.212Z] Configure a credential helper to remove this warning. See [2022-10-07T21:30:23.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:30:23.212Z] [2022-10-07T21:30:23.212Z] Login Succeeded [2022-10-07T21:30:23.212Z] docker.io [2022-10-07T21:30:23.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:30:23.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:30:23.472Z] Configure a credential helper to remove this warning. See [2022-10-07T21:30:23.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:30:23.472Z] [2022-10-07T21:30:23.472Z] Login Succeeded [2022-10-07T21:30:23.472Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T21:30:23.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-07T21:30:24.133Z] + git rev-list -1 --merges 482e55864ca8f334c8fa0bb601f752722a1407a0~1..482e55864ca8f334c8fa0bb601f752722a1407a0 [Pipeline] echo [2022-10-07T21:30:24.174Z] -----------> git rev-list -1 --merges 482e55864ca8f334c8fa0bb601f752722a1407a0~1..482e55864ca8f334c8fa0bb601f752722a1407a0 482e55864ca8f334c8fa0bb601f752722a1407a0 [false] [Pipeline] sh [2022-10-07T21:30:24.482Z] + git log --format=format:%s -1 482e55864ca8f334c8fa0bb601f752722a1407a0 [Pipeline] echo [2022-10-07T21:30:24.518Z] ========================================================= [2022-10-07T21:30:24.518Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-07T21:30:24.518Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T21:30:24.944Z] + git log --format=format:%s -1 482e55864ca8f334c8fa0bb601f752722a1407a0 [Pipeline] echo [2022-10-07T21:30:24.980Z] [semverPrep] GIT_COMMIT: 482e55864ca8f334c8fa0bb601f752722a1407a0, Commit Message: feat: added more onvif descriptions [Pipeline] echo [2022-10-07T21:30:25.007Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-07T21:30:25.394Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-07T21:30:25.394Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-07T21:30:25.394Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-07T21:30:25.394Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-07T21:30:25.394Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-07T21:30:25.394Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-07T21:30:25.394Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T21:30:25.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T21:30:25.888Z] [2022-10-07T21:30:25.888Z] 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-07T21:30:26.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T21:30:26.265Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-07T21:30:26.265Z] b85a868b505f: Pulling fs layer [2022-10-07T21:30:26.265Z] e2be974225ed: Pulling fs layer [2022-10-07T21:30:26.265Z] 339a4e72a1f5: Pulling fs layer [2022-10-07T21:30:26.265Z] 988bab9f4d93: Pulling fs layer [2022-10-07T21:30:26.265Z] 1469e6f7b9e6: Pulling fs layer [2022-10-07T21:30:26.265Z] eaf3925da568: Pulling fs layer [2022-10-07T21:30:26.265Z] bab4dde63d76: Pulling fs layer [2022-10-07T21:30:26.265Z] bde34c3a00c8: Pulling fs layer [2022-10-07T21:30:26.265Z] b352a97aabf1: Pulling fs layer [2022-10-07T21:30:26.265Z] 4872d77fe225: Pulling fs layer [2022-10-07T21:30:26.265Z] 5851b861e8e6: Pulling fs layer [2022-10-07T21:30:26.265Z] 988bab9f4d93: Waiting [2022-10-07T21:30:26.265Z] b352a97aabf1: Waiting [2022-10-07T21:30:26.265Z] 1469e6f7b9e6: Waiting [2022-10-07T21:30:26.265Z] 4872d77fe225: Waiting [2022-10-07T21:30:26.265Z] 5851b861e8e6: Waiting [2022-10-07T21:30:26.265Z] eaf3925da568: Waiting [2022-10-07T21:30:26.265Z] bab4dde63d76: Waiting [2022-10-07T21:30:26.265Z] bde34c3a00c8: Waiting [2022-10-07T21:30:26.265Z] e2be974225ed: Verifying Checksum [2022-10-07T21:30:26.265Z] e2be974225ed: Download complete [2022-10-07T21:30:26.265Z] 988bab9f4d93: Verifying Checksum [2022-10-07T21:30:26.265Z] 988bab9f4d93: Download complete [2022-10-07T21:30:26.524Z] 1469e6f7b9e6: Verifying Checksum [2022-10-07T21:30:26.524Z] 1469e6f7b9e6: Download complete [2022-10-07T21:30:26.524Z] eaf3925da568: Verifying Checksum [2022-10-07T21:30:26.524Z] eaf3925da568: Download complete [2022-10-07T21:30:26.524Z] 339a4e72a1f5: Verifying Checksum [2022-10-07T21:30:26.524Z] 339a4e72a1f5: Download complete [2022-10-07T21:30:26.524Z] bde34c3a00c8: Verifying Checksum [2022-10-07T21:30:26.524Z] bde34c3a00c8: Download complete [2022-10-07T21:30:26.524Z] b352a97aabf1: Verifying Checksum [2022-10-07T21:30:26.524Z] b352a97aabf1: Download complete [2022-10-07T21:30:26.524Z] 4872d77fe225: Verifying Checksum [2022-10-07T21:30:26.524Z] 4872d77fe225: Download complete [2022-10-07T21:30:26.524Z] 5851b861e8e6: Download complete [2022-10-07T21:30:26.524Z] b85a868b505f: Verifying Checksum [2022-10-07T21:30:26.524Z] b85a868b505f: Download complete [2022-10-07T21:30:26.783Z] bab4dde63d76: Verifying Checksum [2022-10-07T21:30:26.783Z] bab4dde63d76: Download complete [2022-10-07T21:30:27.721Z] b85a868b505f: Pull complete [2022-10-07T21:30:27.979Z] e2be974225ed: Pull complete [2022-10-07T21:30:28.239Z] 339a4e72a1f5: Pull complete [2022-10-07T21:30:28.239Z] 988bab9f4d93: Pull complete [2022-10-07T21:30:28.499Z] 1469e6f7b9e6: Pull complete [2022-10-07T21:30:28.757Z] eaf3925da568: Pull complete [2022-10-07T21:30:30.130Z] bab4dde63d76: Pull complete [2022-10-07T21:30:30.130Z] bde34c3a00c8: Pull complete [2022-10-07T21:30:30.390Z] b352a97aabf1: Pull complete [2022-10-07T21:30:30.390Z] 4872d77fe225: Pull complete [2022-10-07T21:30:30.649Z] 5851b861e8e6: Pull complete [2022-10-07T21:30:30.649Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-07T21:30:30.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T21:30:30.649Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T21:30:30.871Z] prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container [2022-10-07T21:30:30.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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-07T21:30:32.118Z] $ docker top 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b -eo pid,comm [2022-10-07T21:30:32.170Z] 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-07T21:30:32.170Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-07T21:30:32.303Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T21:30:32.303Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T21:30:32.406Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T21:30:32.407Z] $ docker exec 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b ssh-agent [2022-10-07T21:30:32.508Z] SSH_AUTH_SOCK=/tmp/ssh-1sGCgOjvxseJ/agent.32 [2022-10-07T21:30:32.508Z] SSH_AGENT_PID=38 [2022-10-07T21:30:32.514Z] Running ssh-add (command line suppressed) [2022-10-07T21:30:32.615Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_12864358382403308562.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_12864358382403308562.key) [2022-10-07T21:30:32.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T21:30:32.960Z] + git tag --points-at HEAD [Pipeline] } [2022-10-07T21:30:32.985Z] $ docker exec --env ******** --env ******** 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b ssh-agent -k [2022-10-07T21:30:33.071Z] unset SSH_AUTH_SOCK; [2022-10-07T21:30:33.071Z] unset SSH_AGENT_PID; [2022-10-07T21:30:33.071Z] echo Agent pid 38 killed; [2022-10-07T21:30:33.083Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-07T21:30:33.170Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T21:30:33.170Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T21:30:33.278Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T21:30:33.280Z] $ docker exec 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b ssh-agent [2022-10-07T21:30:33.388Z] SSH_AUTH_SOCK=/tmp/ssh-cDQhB9Y1eOao/agent.70 [2022-10-07T21:30:33.388Z] SSH_AGENT_PID=76 [2022-10-07T21:30:33.394Z] Running ssh-add (command line suppressed) [2022-10-07T21:30:33.505Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_12354364559893556946.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_12354364559893556946.key) [2022-10-07T21:30:33.517Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T21:30:33.853Z] + git semver init [2022-10-07T21:30:34.112Z] 2022-10-07 21:30:34,035 [run_init] DEBUG init version:0.0.0 force:False [2022-10-07T21:30:34.112Z] 2022-10-07 21:30:34,036 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-174/.semver [2022-10-07T21:30:34.112Z] 2022-10-07 21:30:34,037 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-174/.semver [2022-10-07T21:30:34.112Z] 2022-10-07 21:30:34,037 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-174/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-174, universal_newlines=False, shell=None, istream=None) [2022-10-07T21:30:35.051Z] 2022-10-07 21:30:34,985 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-174/.git/info/exclude [2022-10-07T21:30:35.051Z] 2022-10-07 21:30:34,985 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 with force:False [2022-10-07T21:30:35.051Z] 2022-10-07 21:30:34,985 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-07T21:30:35.051Z] 2022-10-07 21:30:34,988 [execute] INFO git cat-file --batch-check [2022-10-07T21:30:35.051Z] 2022-10-07 21:30:34,989 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T21:30:35.051Z] 2022-10-07 21:30:34,994 [execute] INFO git cat-file --batch [2022-10-07T21:30:35.051Z] 2022-10-07 21:30:34,994 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T21:30:35.051Z] 2022-10-07 21:30:34,998 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-07T21:30:35.051Z] 0.0.0 [Pipeline] } [2022-10-07T21:30:35.077Z] $ docker exec --env ******** --env ******** 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b ssh-agent -k [2022-10-07T21:30:35.172Z] unset SSH_AUTH_SOCK; [2022-10-07T21:30:35.174Z] unset SSH_AGENT_PID; [2022-10-07T21:30:35.175Z] echo Agent pid 76 killed; [2022-10-07T21:30:35.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-07T21:30:35.592Z] + git semver [Pipeline] } [2022-10-07T21:30:35.875Z] $ docker stop --time=1 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b [2022-10-07T21:30:37.187Z] $ docker rm -f 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T21:30:37.591Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-07T21:30:37.819Z] Stashed 1 file(s) [Pipeline] echo [2022-10-07T21:30:37.838Z] [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-07T21:30:38.411Z] provisioning config files... [2022-10-07T21:30:38.421Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config11786279116025225311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T21:30:38.764Z] ---> docker-login.sh [2022-10-07T21:30:38.764Z] nexus3.edgexfoundry.org:10001 [2022-10-07T21:30:38.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:30:38.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:30:38.764Z] Configure a credential helper to remove this warning. See [2022-10-07T21:30:38.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:30:38.764Z] [2022-10-07T21:30:38.764Z] Login Succeeded [2022-10-07T21:30:38.764Z] nexus3.edgexfoundry.org:10002 [2022-10-07T21:30:38.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:30:38.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:30:38.764Z] Configure a credential helper to remove this warning. See [2022-10-07T21:30:38.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:30:38.765Z] [2022-10-07T21:30:38.765Z] Login Succeeded [2022-10-07T21:30:38.765Z] nexus3.edgexfoundry.org:10003 [2022-10-07T21:30:39.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:30:39.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:30:39.023Z] Configure a credential helper to remove this warning. See [2022-10-07T21:30:39.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:30:39.023Z] [2022-10-07T21:30:39.023Z] Login Succeeded [2022-10-07T21:30:39.023Z] nexus3.edgexfoundry.org:10004 [2022-10-07T21:30:39.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:30:39.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:30:39.023Z] Configure a credential helper to remove this warning. See [2022-10-07T21:30:39.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:30:39.023Z] [2022-10-07T21:30:39.023Z] Login Succeeded [2022-10-07T21:30:39.023Z] docker.io [2022-10-07T21:30:39.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:30:39.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:30:39.590Z] Configure a credential helper to remove this warning. See [2022-10-07T21:30:39.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:30:39.590Z] [2022-10-07T21:30:39.590Z] Login Succeeded [2022-10-07T21:30:39.590Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T21:30:39.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T21:30:39.816Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T21:30:39.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T21:30:39.878Z] ========================================================= [2022-10-07T21:30:39.878Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-07T21:30:39.878Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T21:30:40.341Z] + 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-07T21:30:40.341Z] Sending build context to Docker daemon 21.16MB [2022-10-07T21:30:40.341Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T21:30:40.341Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-07T21:30:40.341Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-07T21:30:40.341Z] 2408cc74d12b: Pulling fs layer [2022-10-07T21:30:40.341Z] ea60b727a1ce: Pulling fs layer [2022-10-07T21:30:40.341Z] 30c4a7721957: Pulling fs layer [2022-10-07T21:30:40.341Z] 370296b7ddb6: Pulling fs layer [2022-10-07T21:30:40.341Z] 7c6cee850709: Pulling fs layer [2022-10-07T21:30:40.341Z] aa9baa53a306: Pulling fs layer [2022-10-07T21:30:40.341Z] 8b309c321861: Pulling fs layer [2022-10-07T21:30:40.341Z] 370296b7ddb6: Waiting [2022-10-07T21:30:40.341Z] d8d76fd02f46: Pulling fs layer [2022-10-07T21:30:40.341Z] 7c6cee850709: Waiting [2022-10-07T21:30:40.341Z] fa31f396de31: Pulling fs layer [2022-10-07T21:30:40.341Z] aa9baa53a306: Waiting [2022-10-07T21:30:40.341Z] 8b309c321861: Waiting [2022-10-07T21:30:40.341Z] d8d76fd02f46: Waiting [2022-10-07T21:30:40.341Z] fa31f396de31: Waiting [2022-10-07T21:30:40.604Z] 30c4a7721957: Verifying Checksum [2022-10-07T21:30:40.604Z] 30c4a7721957: Download complete [2022-10-07T21:30:40.604Z] ea60b727a1ce: Download complete [2022-10-07T21:30:40.604Z] 7c6cee850709: Download complete [2022-10-07T21:30:40.604Z] aa9baa53a306: Verifying Checksum [2022-10-07T21:30:40.604Z] aa9baa53a306: Download complete [2022-10-07T21:30:40.604Z] 2408cc74d12b: Verifying Checksum [2022-10-07T21:30:40.604Z] 2408cc74d12b: Download complete [2022-10-07T21:30:40.604Z] 8b309c321861: Download complete [2022-10-07T21:30:40.604Z] 2408cc74d12b: Pull complete [2022-10-07T21:30:40.880Z] ea60b727a1ce: Pull complete [2022-10-07T21:30:40.880Z] 30c4a7721957: Pull complete [2022-10-07T21:30:41.469Z] fa31f396de31: Verifying Checksum [2022-10-07T21:30:41.469Z] fa31f396de31: Download complete [2022-10-07T21:30:41.469Z] 370296b7ddb6: Verifying Checksum [2022-10-07T21:30:41.469Z] 370296b7ddb6: Download complete [2022-10-07T21:30:41.469Z] d8d76fd02f46: Verifying Checksum [2022-10-07T21:30:41.469Z] d8d76fd02f46: Download complete [2022-10-07T21:30:44.751Z] 370296b7ddb6: Pull complete [2022-10-07T21:30:44.751Z] 7c6cee850709: Pull complete [2022-10-07T21:30:44.751Z] aa9baa53a306: Pull complete [2022-10-07T21:30:45.009Z] 8b309c321861: Pull complete [2022-10-07T21:30:46.910Z] d8d76fd02f46: Pull complete [2022-10-07T21:30:47.476Z] fa31f396de31: Pull complete [2022-10-07T21:30:47.476Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-07T21:30:47.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-07T21:30:47.476Z] ---> cef68f9685f8 [2022-10-07T21:30:47.476Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-07T21:30:48.854Z] ---> Running in ade1cc77ad06 [2022-10-07T21:30:48.854Z] Removing intermediate container ade1cc77ad06 [2022-10-07T21:30:48.854Z] ---> aec7d4710ee5 [2022-10-07T21:30:48.854Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T21:30:49.134Z] ---> Running in c30c9317c97c [2022-10-07T21:30:49.134Z] Removing intermediate container c30c9317c97c [2022-10-07T21:30:49.134Z] ---> 2077e90872bb [2022-10-07T21:30:49.134Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T21:30:49.134Z] ---> Running in 0bbaa30be567 [2022-10-07T21:30:49.134Z] Removing intermediate container 0bbaa30be567 [2022-10-07T21:30:49.134Z] ---> 8f1bd6dbbc4a [2022-10-07T21:30:49.134Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T21:30:49.394Z] ---> Running in caa28a7c53c7 [2022-10-07T21:30:49.394Z] Removing intermediate container caa28a7c53c7 [2022-10-07T21:30:49.394Z] ---> 2b7dac266ec5 [2022-10-07T21:30:49.394Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-07T21:30:49.394Z] ---> Running in c10c235fa31d [2022-10-07T21:30:49.394Z] Removing intermediate container c10c235fa31d [2022-10-07T21:30:49.394Z] ---> 7e211cb2a2ba [2022-10-07T21:30:49.394Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T21:30:49.394Z] ---> Running in 1b2d976bf464 [2022-10-07T21:30:49.960Z] Removing intermediate container 1b2d976bf464 [2022-10-07T21:30:49.960Z] ---> 3dc709e750a6 [2022-10-07T21:30:49.960Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T21:30:49.960Z] ---> Running in 7b1d89422738 [2022-10-07T21:30:50.218Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T21:30:51.153Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T21:30:51.412Z] OK: 211 MiB in 51 packages [2022-10-07T21:30:51.982Z] Removing intermediate container 7b1d89422738 [2022-10-07T21:30:51.982Z] ---> 910295c84d79 [2022-10-07T21:30:51.982Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-07T21:30:51.982Z] ---> Running in 2ea64248be7c [2022-10-07T21:30:51.982Z] Removing intermediate container 2ea64248be7c [2022-10-07T21:30:51.982Z] ---> 245e00b19f14 [2022-10-07T21:30:51.982Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-07T21:30:52.241Z] ---> d62ed6068922 [2022-10-07T21:30:52.241Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T21:30:52.241Z] ---> Running in 53d2bc5ee2f0 [2022-10-07T21:30:53.245Z] Still waiting to schedule task [2022-10-07T21:30:53.245Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-07T21:31:14.191Z] Removing intermediate container 53d2bc5ee2f0 [2022-10-07T21:31:14.191Z] ---> 927775f5bd30 [2022-10-07T21:31:14.191Z] Step 13/14 : COPY . . [2022-10-07T21:31:14.191Z] ---> eb025aa1f701 [2022-10-07T21:31:14.191Z] Step 14/14 : RUN ${MAKE} [2022-10-07T21:31:14.191Z] ---> Running in 3b46afbb26e1 [2022-10-07T21:31:14.191Z] noop [2022-10-07T21:31:14.191Z] Removing intermediate container 3b46afbb26e1 [2022-10-07T21:31:14.191Z] ---> 44357622fceb [2022-10-07T21:31:14.191Z] Successfully built 44357622fceb [2022-10-07T21:31:14.191Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T21:31:14.625Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T21:31:14.625Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T21:31:14.763Z] prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container [2022-10-07T21:31:14.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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-07T21:31:15.143Z] $ docker top 20995d832e9eecb51ecc103b2ee0a22b09a2924b3a433e05f017f955d38de152 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T21:31:15.518Z] + go version [2022-10-07T21:31:15.518Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-07T21:31:15.550Z] $ docker stop --time=1 20995d832e9eecb51ecc103b2ee0a22b09a2924b3a433e05f017f955d38de152 [2022-10-07T21:31:16.816Z] $ docker rm -f 20995d832e9eecb51ecc103b2ee0a22b09a2924b3a433e05f017f955d38de152 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T21:31:17.516Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T21:31:17.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T21:31:17.662Z] prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container [2022-10-07T21:31:17.690Z] $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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-07T21:31:17.991Z] $ docker top f76c03aa8d102cb751259b098795a2ab1c6e15e0182b14c3e2a72a21a14ad5bd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T21:31:18.382Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] fileExists [Pipeline] sh [2022-10-07T21:31:18.738Z] + make test [2022-10-07T21:31:18.738Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-07T21:31:18.996Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-07T21:31:28.960Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-07T21:31:29.217Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements [2022-10-07T21:31:29.217Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-07T21:31:29.217Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.304s coverage: 86.5% of statements [2022-10-07T21:31:35.777Z] 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-07T21:31:35.777Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T21:31:39.053Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T21:31:39.053Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T21:31:39.053Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T21:31:39.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T21:31:39.121Z] $ docker stop --time=1 f76c03aa8d102cb751259b098795a2ab1c6e15e0182b14c3e2a72a21a14ad5bd [2022-10-07T21:31:41.115Z] $ docker rm -f f76c03aa8d102cb751259b098795a2ab1c6e15e0182b14c3e2a72a21a14ad5bd [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T21:31:41.608Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T21:31:41.678Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-07T21:31:42.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T21:31:42.613Z] + ls -al . [2022-10-07T21:31:42.613Z] total 236 [2022-10-07T21:31:42.613Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 21:31 . [2022-10-07T21:31:42.613Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 21:30 .. [2022-10-07T21:31:42.614Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 21:31 .git [2022-10-07T21:31:42.614Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 21:30 .github [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 7 21:30 .gitignore [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 21:30 .golangci.yml [2022-10-07T21:31:42.614Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 21:30 .semver [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 21:30 Attribution.txt [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 21:30 CHANGELOG.md [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 21:30 Dockerfile [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 21:30 GOVERNANCE.md [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 21:30 Jenkinsfile [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 21:30 LICENSE [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 21:30 Makefile [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 21:30 OWNERS.md [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 21:30 README.md [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 21:30 VERSION [2022-10-07T21:31:42.614Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 21:30 bin [2022-10-07T21:31:42.614Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 21:30 cmd [2022-10-07T21:31:42.614Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 7 21:31 coverage.out [2022-10-07T21:31:42.614Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 21:30 doc [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 21:30 go.mod [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 21:30 go.sum [2022-10-07T21:31:42.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 21:30 internal [2022-10-07T21:31:42.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 21:30 snap [2022-10-07T21:31:42.614Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 21:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T21:31:43.008Z] + 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=482e55864ca8f334c8fa0bb601f752722a1407a0 --label arch=amd64 --label version=0.0.0 . [2022-10-07T21:31:43.008Z] Sending build context to Docker daemon 21.24MB [2022-10-07T21:31:43.008Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T21:31:43.008Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-07T21:31:43.008Z] ---> 44357622fceb [2022-10-07T21:31:43.008Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-07T21:31:43.266Z] ---> Running in e2647c87fa82 [2022-10-07T21:31:43.266Z] Removing intermediate container e2647c87fa82 [2022-10-07T21:31:43.266Z] ---> e0e12c1d9af9 [2022-10-07T21:31:43.266Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T21:31:43.266Z] ---> Running in 91c7b5f39b75 [2022-10-07T21:31:43.266Z] Removing intermediate container 91c7b5f39b75 [2022-10-07T21:31:43.266Z] ---> 7e088b3dc91a [2022-10-07T21:31:43.266Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T21:31:43.526Z] ---> Running in 50afbd1bd4a2 [2022-10-07T21:31:43.526Z] Removing intermediate container 50afbd1bd4a2 [2022-10-07T21:31:43.526Z] ---> 45855c0e022a [2022-10-07T21:31:43.526Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T21:31:43.526Z] ---> Running in 4f610d1dde51 [2022-10-07T21:31:43.526Z] Removing intermediate container 4f610d1dde51 [2022-10-07T21:31:43.526Z] ---> 76302afceebf [2022-10-07T21:31:43.526Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-07T21:31:43.526Z] ---> Running in 15a5d8d4ae1d [2022-10-07T21:31:43.784Z] Removing intermediate container 15a5d8d4ae1d [2022-10-07T21:31:43.784Z] ---> 92946c089327 [2022-10-07T21:31:43.784Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T21:31:43.784Z] ---> Running in 7fe40b417486 [2022-10-07T21:31:44.409Z] Removing intermediate container 7fe40b417486 [2022-10-07T21:31:44.409Z] ---> 1b06c9b21086 [2022-10-07T21:31:44.409Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T21:31:44.409Z] ---> Running in 2be04822bd12 [2022-10-07T21:31:44.696Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T21:31:45.672Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T21:31:45.672Z] OK: 211 MiB in 51 packages [2022-10-07T21:31:46.240Z] Removing intermediate container 2be04822bd12 [2022-10-07T21:31:46.240Z] ---> 60f7fb7cc5b4 [2022-10-07T21:31:46.240Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-07T21:31:46.240Z] ---> Running in 74882749581b [2022-10-07T21:31:46.240Z] Removing intermediate container 74882749581b [2022-10-07T21:31:46.240Z] ---> bf9ee171741c [2022-10-07T21:31:46.240Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-07T21:31:46.240Z] ---> d5ca4b3ce018 [2022-10-07T21:31:46.240Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T21:31:46.240Z] ---> Running in 21c086396ac4 [2022-10-07T21:31:47.206Z] Removing intermediate container 21c086396ac4 [2022-10-07T21:31:47.206Z] ---> cc8c8c9def4b [2022-10-07T21:31:47.206Z] Step 13/27 : COPY . . [2022-10-07T21:31:47.878Z] ---> f4dc235cd0c9 [2022-10-07T21:31:47.878Z] Step 14/27 : RUN ${MAKE} [2022-10-07T21:31:47.878Z] ---> Running in ce53de48dabf [2022-10-07T21:31:48.136Z] 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-07T21:32:10.093Z] Removing intermediate container ce53de48dabf [2022-10-07T21:32:10.093Z] ---> 87e3b5f38a33 [2022-10-07T21:32:10.093Z] Step 15/27 : FROM alpine:3.16 [2022-10-07T21:32:10.094Z] 3.16: Pulling from library/alpine [2022-10-07T21:32:10.094Z] 213ec9aee27d: Pulling fs layer [2022-10-07T21:32:10.094Z] 213ec9aee27d: Verifying Checksum [2022-10-07T21:32:10.094Z] 213ec9aee27d: Pull complete [2022-10-07T21:32:10.094Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T21:32:10.094Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T21:32:10.094Z] ---> 9c6f07244728 [2022-10-07T21:32:10.094Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-07T21:32:10.094Z] ---> Running in 9a27a72df96b [2022-10-07T21:32:10.094Z] Removing intermediate container 9a27a72df96b [2022-10-07T21:32:10.094Z] ---> 44be84cd99ba [2022-10-07T21:32:10.094Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T21:32:10.094Z] ---> Running in 04d191a9b15c [2022-10-07T21:32:10.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T21:32:10.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T21:32:10.094Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T21:32:10.094Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T21:32:10.094Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T21:32:10.094Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T21:32:10.094Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T21:32:10.094Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T21:32:10.094Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T21:32:10.094Z] OK: 8 MiB in 20 packages [2022-10-07T21:32:10.352Z] Removing intermediate container 04d191a9b15c [2022-10-07T21:32:10.352Z] ---> 97a0a8709fd0 [2022-10-07T21:32:10.352Z] Step 18/27 : WORKDIR / [2022-10-07T21:32:10.352Z] ---> Running in 4db89434bbeb [2022-10-07T21:32:10.352Z] Removing intermediate container 4db89434bbeb [2022-10-07T21:32:10.352Z] ---> 049f0b313334 [2022-10-07T21:32:10.352Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-07T21:32:10.917Z] ---> 0a06d8ee5c64 [2022-10-07T21:32:10.917Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-07T21:32:11.176Z] ---> ec40f8641894 [2022-10-07T21:32:11.176Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-07T21:32:11.176Z] ---> ffe2699b6473 [2022-10-07T21:32:11.176Z] Step 22/27 : EXPOSE 59984 [2022-10-07T21:32:11.435Z] ---> Running in ad96921130ee [2022-10-07T21:32:11.435Z] Removing intermediate container ad96921130ee [2022-10-07T21:32:11.435Z] ---> 0db66834d677 [2022-10-07T21:32:11.435Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-07T21:32:11.435Z] ---> Running in 323df640a830 [2022-10-07T21:32:11.435Z] Removing intermediate container 323df640a830 [2022-10-07T21:32:11.435Z] ---> 7dad59334af6 [2022-10-07T21:32:11.435Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T21:32:11.435Z] ---> Running in 2919b7a93f58 [2022-10-07T21:32:11.694Z] Removing intermediate container 2919b7a93f58 [2022-10-07T21:32:11.694Z] ---> 3e18776518fd [2022-10-07T21:32:11.694Z] Step 25/27 : LABEL arch=amd64 [2022-10-07T21:32:11.694Z] ---> Running in fd86b2c1759b [2022-10-07T21:32:11.694Z] Removing intermediate container fd86b2c1759b [2022-10-07T21:32:11.694Z] ---> c9b2dd6e4581 [2022-10-07T21:32:11.694Z] Step 26/27 : LABEL git_sha=482e55864ca8f334c8fa0bb601f752722a1407a0 [2022-10-07T21:32:11.694Z] ---> Running in 116e1d248326 [2022-10-07T21:32:11.694Z] Removing intermediate container 116e1d248326 [2022-10-07T21:32:11.694Z] ---> b739775a2f18 [2022-10-07T21:32:11.694Z] Step 27/27 : LABEL version=0.0.0 [2022-10-07T21:32:11.694Z] ---> Running in 44b7fb7d3fdb [2022-10-07T21:32:11.954Z] Removing intermediate container 44b7fb7d3fdb [2022-10-07T21:32:11.954Z] ---> 730b8d6bea26 [2022-10-07T21:32:11.954Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T21:32:11.954Z] Successfully built 730b8d6bea26 [2022-10-07T21:32:11.954Z] 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-07T21:32:12.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T21:32:12.778Z] [2022-10-07T21:32:12.778Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T21:32:13.152Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T21:32:13.152Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-07T21:32:13.152Z] 5eb5b503b376: Pulling fs layer [2022-10-07T21:32:13.152Z] 5c69ac0246d0: Pulling fs layer [2022-10-07T21:32:13.152Z] ec43610c2a17: Pulling fs layer [2022-10-07T21:32:13.152Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-07T21:32:13.152Z] 33b1e0a273af: Pulling fs layer [2022-10-07T21:32:13.152Z] 5d3b04190fa2: Pulling fs layer [2022-10-07T21:32:13.152Z] 2f39f015ded8: Pulling fs layer [2022-10-07T21:32:13.152Z] 5d3b04190fa2: Waiting [2022-10-07T21:32:13.152Z] 3a2ae6a8a46f: Waiting [2022-10-07T21:32:13.152Z] 33b1e0a273af: Waiting [2022-10-07T21:32:13.152Z] 2f39f015ded8: Waiting [2022-10-07T21:32:13.152Z] 5c69ac0246d0: Download complete [2022-10-07T21:32:13.152Z] 3a2ae6a8a46f: Download complete [2022-10-07T21:32:13.152Z] 33b1e0a273af: Verifying Checksum [2022-10-07T21:32:13.152Z] 33b1e0a273af: Download complete [2022-10-07T21:32:13.152Z] 5d3b04190fa2: Verifying Checksum [2022-10-07T21:32:13.152Z] 5d3b04190fa2: Download complete [2022-10-07T21:32:13.419Z] ec43610c2a17: Verifying Checksum [2022-10-07T21:32:13.419Z] ec43610c2a17: Download complete [2022-10-07T21:32:13.419Z] 5eb5b503b376: Download complete [2022-10-07T21:32:13.988Z] 2f39f015ded8: Download complete [2022-10-07T21:32:14.555Z] 5eb5b503b376: Pull complete [2022-10-07T21:32:14.555Z] 5c69ac0246d0: Pull complete [2022-10-07T21:32:15.122Z] ec43610c2a17: Pull complete [2022-10-07T21:32:15.122Z] 3a2ae6a8a46f: Pull complete [2022-10-07T21:32:15.380Z] 33b1e0a273af: Pull complete [2022-10-07T21:32:15.380Z] 5d3b04190fa2: Pull complete [2022-10-07T21:32:19.565Z] 2f39f015ded8: Pull complete [2022-10-07T21:32:19.565Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-07T21:32:19.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T21:32:19.565Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T21:32:19.776Z] prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container [2022-10-07T21:32:19.806Z] $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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-07T21:32:22.089Z] $ docker top 388c36b33e169ad270beb81402071004b3e074618f1f25d58d7cca26a9e8f7d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T21:32:22.533Z] ---> job-cost.sh [2022-10-07T21:32:22.533Z] lf-activate-venv: SKIPPING [2022-10-07T21:32:22.533Z] INFO: No Stack... [2022-10-07T21:32:22.791Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T21:32:23.049Z] INFO: Archiving Costs [Pipeline] sh [2022-10-07T21:32:23.365Z] + cat /w/workspace/undry_device-onvif-camera_PR-174/archives/cost.csv [2022-10-07T21:32:23.365Z] + cut -d, -f6 [Pipeline] lock [2022-10-07T21:32:23.401Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] [2022-10-07T21:32:23.405Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] did not exist. Created. [2022-10-07T21:32:23.405Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-07T21:32:23.792Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-07T21:32:23.848Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T21:32:23.870Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T21:32:23.943Z] $ docker stop --time=1 388c36b33e169ad270beb81402071004b3e074618f1f25d58d7cca26a9e8f7d9 [2022-10-07T21:32:25.093Z] $ docker rm -f 388c36b33e169ad270beb81402071004b3e074618f1f25d58d7cca26a9e8f7d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-07T21:32:25.970Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7358 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] ws [2022-10-07T21:32:26.009Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-07T21:32:26.083Z] The recommended git tool is: git [2022-10-07T21:32:30.855Z] using credential edgex-jenkins-ssh [2022-10-07T21:32:30.876Z] Cloning the remote Git repository [2022-10-07T21:32:30.914Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T21:32:30.987Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-10-07T21:32:31.136Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T21:32:31.137Z] > git --version # timeout=10 [2022-10-07T21:32:31.156Z] > git --version # 'git version 2.25.1' [2022-10-07T21:32:31.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T21:32:31.205Z] Verifying host key using known hosts file [2022-10-07T21:32:31.382Z] 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-07T21:32:31.396Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T21:32:32.656Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-07T21:32:32.676Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T21:32:33.472Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-07T21:32:33.510Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T21:32:33.511Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T21:32:33.516Z] Verifying host key using known hosts file [2022-10-07T21:32:33.523Z] 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-07T21:32:33.539Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-07T21:32:35.684Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 482e55864ca8f334c8fa0bb601f752722a1407a0 [2022-10-07T21:32:36.048Z] Merge succeeded, producing 482e55864ca8f334c8fa0bb601f752722a1407a0 [2022-10-07T21:32:36.049Z] Checking out Revision 482e55864ca8f334c8fa0bb601f752722a1407a0 (PR-174) [2022-10-07T21:32:35.702Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T21:32:35.728Z] > git checkout -f 482e55864ca8f334c8fa0bb601f752722a1407a0 # timeout=10 [2022-10-07T21:32:35.943Z] > git remote # timeout=10 [2022-10-07T21:32:35.962Z] > git config --get remote.origin.url # timeout=10 [2022-10-07T21:32:35.985Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T21:32:35.990Z] Verifying host key using known hosts file [2022-10-07T21:32:35.994Z] 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-07T21:32:36.003Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-07T21:32:36.029Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-07T21:32:36.060Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T21:32:36.072Z] > git checkout -f 482e55864ca8f334c8fa0bb601f752722a1407a0 # timeout=10 [2022-10-07T21:32:36.666Z] Commit message: "feat: added more onvif descriptions" [2022-10-07T21:32:36.710Z] > git --version # timeout=10 [2022-10-07T21:32:36.720Z] > git --version # 'git version 2.25.1' [2022-10-07T21:32:36.737Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T21:32:37.883Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-07T21:32:37.883Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T21:32:37.883Z] Dload Upload Total Spent Left Speed [2022-10-07T21:32:37.883Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh [2022-10-07T21:32:38.487Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-07T21:32:38.830Z] + sudo tee /etc/docker/daemon.new [2022-10-07T21:32:38.830Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-07T21:32:38.830Z] { [2022-10-07T21:32:38.830Z] "registry-mirrors": [ [2022-10-07T21:32:38.830Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-07T21:32:38.830Z] ], [2022-10-07T21:32:38.830Z] "bip": "10.250.0.254/24", [2022-10-07T21:32:38.830Z] "hosts": [ [2022-10-07T21:32:38.830Z] "tcp://0.0.0.0:5555", [2022-10-07T21:32:38.830Z] "unix:///var/run/docker.sock" [2022-10-07T21:32:38.830Z] ], [2022-10-07T21:32:38.830Z] "mtu": 1458, [2022-10-07T21:32:38.830Z] "selinux-enabled": true, [2022-10-07T21:32:38.830Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-07T21:32:38.830Z] } [Pipeline] sh [2022-10-07T21:32:39.170Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-07T21:32:39.526Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T21:32:57.845Z] provisioning config files... [2022-10-07T21:32:57.870Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config4409653490249737480tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T21:32:58.258Z] ---> docker-login.sh [2022-10-07T21:32:58.258Z] nexus3.edgexfoundry.org:10001 [2022-10-07T21:32:58.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:32:58.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:32:58.804Z] Configure a credential helper to remove this warning. See [2022-10-07T21:32:58.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:32:58.804Z] [2022-10-07T21:32:58.804Z] Login Succeeded [2022-10-07T21:32:58.804Z] nexus3.edgexfoundry.org:10002 [2022-10-07T21:32:59.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:32:59.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:32:59.343Z] Configure a credential helper to remove this warning. See [2022-10-07T21:32:59.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:32:59.343Z] [2022-10-07T21:32:59.343Z] Login Succeeded [2022-10-07T21:32:59.343Z] nexus3.edgexfoundry.org:10003 [2022-10-07T21:32:59.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:32:59.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:32:59.613Z] Configure a credential helper to remove this warning. See [2022-10-07T21:32:59.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:32:59.613Z] [2022-10-07T21:32:59.613Z] Login Succeeded [2022-10-07T21:32:59.613Z] nexus3.edgexfoundry.org:10004 [2022-10-07T21:32:59.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:32:59.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:32:59.887Z] Configure a credential helper to remove this warning. See [2022-10-07T21:32:59.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:32:59.888Z] [2022-10-07T21:32:59.888Z] Login Succeeded [2022-10-07T21:32:59.888Z] docker.io [2022-10-07T21:33:00.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T21:33:00.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T21:33:00.744Z] Configure a credential helper to remove this warning. See [2022-10-07T21:33:00.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T21:33:00.744Z] [2022-10-07T21:33:00.744Z] Login Succeeded [2022-10-07T21:33:00.744Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T21:33:00.774Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T21:33:01.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T21:33:01.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T21:33:01.125Z] ========================================================= [2022-10-07T21:33:01.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-07T21:33:01.125Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T21:33:01.615Z] + 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-07T21:33:01.883Z] Sending build context to Docker daemon 14.58MB [2022-10-07T21:33:02.158Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T21:33:02.158Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-07T21:33:02.158Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-07T21:33:02.158Z] b3c136eddcbf: Pulling fs layer [2022-10-07T21:33:02.158Z] c0a3192eca97: Pulling fs layer [2022-10-07T21:33:02.158Z] a050256f5b6f: Pulling fs layer [2022-10-07T21:33:02.158Z] 656be50a0ddc: Pulling fs layer [2022-10-07T21:33:02.158Z] 2bbca73fdf42: Pulling fs layer [2022-10-07T21:33:02.158Z] f607e4fc86c3: Pulling fs layer [2022-10-07T21:33:02.158Z] 4d572c569a2c: Pulling fs layer [2022-10-07T21:33:02.158Z] fcf976331f73: Pulling fs layer [2022-10-07T21:33:02.158Z] 2bbca73fdf42: Waiting [2022-10-07T21:33:02.158Z] 656be50a0ddc: Waiting [2022-10-07T21:33:02.158Z] f607e4fc86c3: Waiting [2022-10-07T21:33:02.158Z] fcf976331f73: Waiting [2022-10-07T21:33:02.158Z] 4d572c569a2c: Waiting [2022-10-07T21:33:02.158Z] a050256f5b6f: Verifying Checksum [2022-10-07T21:33:02.158Z] a050256f5b6f: Download complete [2022-10-07T21:33:02.158Z] c0a3192eca97: Verifying Checksum [2022-10-07T21:33:02.158Z] c0a3192eca97: Download complete [2022-10-07T21:33:02.158Z] 2bbca73fdf42: Download complete [2022-10-07T21:33:02.429Z] f607e4fc86c3: Verifying Checksum [2022-10-07T21:33:02.429Z] f607e4fc86c3: Download complete [2022-10-07T21:33:02.429Z] b3c136eddcbf: Verifying Checksum [2022-10-07T21:33:02.429Z] b3c136eddcbf: Download complete [2022-10-07T21:33:03.408Z] b3c136eddcbf: Pull complete [2022-10-07T21:33:03.408Z] fcf976331f73: Verifying Checksum [2022-10-07T21:33:03.408Z] fcf976331f73: Download complete [2022-10-07T21:33:03.681Z] c0a3192eca97: Pull complete [2022-10-07T21:33:03.953Z] a050256f5b6f: Pull complete [2022-10-07T21:33:04.552Z] 4d572c569a2c: Verifying Checksum [2022-10-07T21:33:04.552Z] 4d572c569a2c: Download complete [2022-10-07T21:33:05.141Z] 656be50a0ddc: Verifying Checksum [2022-10-07T21:33:05.141Z] 656be50a0ddc: Download complete [2022-10-07T21:33:17.479Z] 656be50a0ddc: Pull complete [2022-10-07T21:33:17.479Z] 2bbca73fdf42: Pull complete [2022-10-07T21:33:17.479Z] f607e4fc86c3: Pull complete [2022-10-07T21:33:24.262Z] 4d572c569a2c: Pull complete [2022-10-07T21:33:25.682Z] fcf976331f73: Pull complete [2022-10-07T21:33:25.682Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-07T21:33:25.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-07T21:33:25.682Z] ---> 3970a7415f9e [2022-10-07T21:33:25.682Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-07T21:33:27.639Z] ---> Running in a70dbf0cc08e [2022-10-07T21:33:27.639Z] Removing intermediate container a70dbf0cc08e [2022-10-07T21:33:27.639Z] ---> 0d24d5971217 [2022-10-07T21:33:27.639Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T21:33:27.639Z] ---> Running in 5a3d59c94e04 [2022-10-07T21:33:28.041Z] Removing intermediate container 5a3d59c94e04 [2022-10-07T21:33:28.041Z] ---> 8b7e8ad74397 [2022-10-07T21:33:28.041Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T21:33:28.041Z] ---> Running in de613ad93e53 [2022-10-07T21:33:28.310Z] Removing intermediate container de613ad93e53 [2022-10-07T21:33:28.310Z] ---> 288390e8ebc2 [2022-10-07T21:33:28.310Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T21:33:28.310Z] ---> Running in a0ce35384621 [2022-10-07T21:33:28.583Z] Removing intermediate container a0ce35384621 [2022-10-07T21:33:28.583Z] ---> ce8896cf4232 [2022-10-07T21:33:28.583Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-07T21:33:28.849Z] ---> Running in 742a070d3a47 [2022-10-07T21:33:29.119Z] Removing intermediate container 742a070d3a47 [2022-10-07T21:33:29.119Z] ---> d2c9d06d1313 [2022-10-07T21:33:29.119Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T21:33:29.119Z] ---> Running in e0cc30424f28 [2022-10-07T21:33:31.069Z] Removing intermediate container e0cc30424f28 [2022-10-07T21:33:31.069Z] ---> eea0de85d03a [2022-10-07T21:33:31.069Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T21:33:31.069Z] ---> Running in 80b0b85884ab [2022-10-07T21:33:32.030Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T21:33:32.614Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T21:33:33.584Z] OK: 221 MiB in 51 packages [2022-10-07T21:33:34.547Z] Removing intermediate container 80b0b85884ab [2022-10-07T21:33:34.547Z] ---> 875b53059b32 [2022-10-07T21:33:34.547Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-07T21:33:34.547Z] ---> Running in eaabd292a774 [2022-10-07T21:33:34.815Z] Removing intermediate container eaabd292a774 [2022-10-07T21:33:34.815Z] ---> 08b6f96b77d6 [2022-10-07T21:33:34.815Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-07T21:33:35.398Z] ---> adeed99165df [2022-10-07T21:33:35.398Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T21:33:35.398Z] ---> Running in 2f0b16707d48 [2022-10-07T21:34:31.826Z] Removing intermediate container 2f0b16707d48 [2022-10-07T21:34:31.826Z] ---> cff1f898944f [2022-10-07T21:34:31.826Z] Step 13/14 : COPY . . [2022-10-07T21:34:31.826Z] ---> d2d59308759c [2022-10-07T21:34:31.826Z] Step 14/14 : RUN ${MAKE} [2022-10-07T21:34:31.826Z] ---> Running in b4ba004c9ade [2022-10-07T21:34:31.826Z] noop [2022-10-07T21:34:31.826Z] Removing intermediate container b4ba004c9ade [2022-10-07T21:34:31.826Z] ---> 0667682fa387 [2022-10-07T21:34:31.826Z] Successfully built 0667682fa387 [2022-10-07T21:34:31.826Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T21:34:32.303Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T21:34:32.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T21:34:32.550Z] prd-ubuntu20.04-docker-arm64-4c-16g-7358 does not seem to be running inside a container [2022-10-07T21:34:32.614Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-07T21:34:34.817Z] $ docker top 1bd5e44ef36bd0ff4f74780c8b9ae5d92f034d19682bab060594ec799bb58932 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T21:34:35.683Z] + go version [2022-10-07T21:34:35.683Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-07T21:34:35.722Z] $ docker stop --time=1 1bd5e44ef36bd0ff4f74780c8b9ae5d92f034d19682bab060594ec799bb58932 [2022-10-07T21:34:37.318Z] $ docker rm -f 1bd5e44ef36bd0ff4f74780c8b9ae5d92f034d19682bab060594ec799bb58932 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T21:34:38.140Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T21:34:38.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T21:34:38.392Z] prd-ubuntu20.04-docker-arm64-4c-16g-7358 does not seem to be running inside a container [2022-10-07T21:34:38.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-07T21:34:39.592Z] $ docker top f9240e7e38a49280daf1d91effdf45f59cfa949ae607021714574baf8a107765 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T21:34:40.149Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-07T21:34:40.791Z] + make test [2022-10-07T21:34:41.061Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-07T21:34:42.473Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-07T21:36:19.105Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-07T21:36:19.105Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.195s coverage: 28.2% of statements [2022-10-07T21:36:19.105Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-07T21:36:37.314Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.245s coverage: 86.5% of statements [2022-10-07T21:36:37.314Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-07T21:36:37.314Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T21:37:03.998Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T21:37:03.998Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T21:37:04.267Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T21:37:05.263Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T21:37:05.298Z] $ docker stop --time=1 f9240e7e38a49280daf1d91effdf45f59cfa949ae607021714574baf8a107765 [2022-10-07T21:37:07.160Z] $ docker rm -f f9240e7e38a49280daf1d91effdf45f59cfa949ae607021714574baf8a107765 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T21:37:08.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T21:37:08.235Z] Warning: overwriting stash ‘coverage-report’ [2022-10-07T21:37:08.721Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T21:37:09.304Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T21:37:09.640Z] + ls -al . [2022-10-07T21:37:09.640Z] total 232 [2022-10-07T21:37:09.640Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 21:34 . [2022-10-07T21:37:09.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 21:32 .. [2022-10-07T21:37:09.640Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 21:32 .git [2022-10-07T21:37:09.640Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 21:32 .github [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 7 21:32 .gitignore [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 21:32 .golangci.yml [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 21:32 Attribution.txt [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 21:32 CHANGELOG.md [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 21:32 Dockerfile [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 21:32 GOVERNANCE.md [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 21:32 Jenkinsfile [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 21:32 LICENSE [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 21:32 Makefile [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 21:32 OWNERS.md [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 21:32 README.md [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 21:30 VERSION [2022-10-07T21:37:09.640Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 21:32 bin [2022-10-07T21:37:09.640Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 21:32 cmd [2022-10-07T21:37:09.640Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 7 21:36 coverage.out [2022-10-07T21:37:09.640Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 21:32 doc [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 21:32 go.mod [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 21:32 go.sum [2022-10-07T21:37:09.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 21:32 internal [2022-10-07T21:37:09.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 21:32 snap [2022-10-07T21:37:09.640Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 21:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T21:37:10.054Z] + 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=482e55864ca8f334c8fa0bb601f752722a1407a0 --label arch=arm64 --label version=0.0.0 . [2022-10-07T21:37:10.640Z] Sending build context to Docker daemon 14.66MB [2022-10-07T21:37:10.640Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T21:37:10.640Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-07T21:37:10.640Z] ---> 0667682fa387 [2022-10-07T21:37:10.640Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-07T21:37:10.909Z] ---> Running in dab01e3c11e0 [2022-10-07T21:37:11.495Z] Removing intermediate container dab01e3c11e0 [2022-10-07T21:37:11.495Z] ---> db951f16e078 [2022-10-07T21:37:11.495Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T21:37:11.763Z] ---> Running in 52beafe2a25e [2022-10-07T21:37:12.030Z] Removing intermediate container 52beafe2a25e [2022-10-07T21:37:12.030Z] ---> 5639f57247af [2022-10-07T21:37:12.030Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T21:37:12.030Z] ---> Running in 7c7c38eae00b [2022-10-07T21:37:12.615Z] Removing intermediate container 7c7c38eae00b [2022-10-07T21:37:12.615Z] ---> ccc062a0d3f6 [2022-10-07T21:37:12.615Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T21:37:12.615Z] ---> Running in 4cfe1d6f1dfc [2022-10-07T21:37:12.882Z] Removing intermediate container 4cfe1d6f1dfc [2022-10-07T21:37:12.882Z] ---> fc119b99c4ec [2022-10-07T21:37:12.882Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-07T21:37:12.882Z] ---> Running in 84b440165755 [2022-10-07T21:37:13.149Z] Removing intermediate container 84b440165755 [2022-10-07T21:37:13.149Z] ---> 883d3d0b2d87 [2022-10-07T21:37:13.149Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T21:37:13.149Z] ---> Running in 2e6d55119fe1 [2022-10-07T21:37:15.101Z] Removing intermediate container 2e6d55119fe1 [2022-10-07T21:37:15.101Z] ---> 68d987e9a25e [2022-10-07T21:37:15.101Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T21:37:15.101Z] ---> Running in 51e055254b3f [2022-10-07T21:37:16.071Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T21:37:17.035Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T21:37:18.004Z] OK: 221 MiB in 51 packages [2022-10-07T21:37:19.417Z] Removing intermediate container 51e055254b3f [2022-10-07T21:37:19.417Z] ---> 44cc8d2309cd [2022-10-07T21:37:19.417Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-07T21:37:19.417Z] ---> Running in e12b776d4ee8 [2022-10-07T21:37:19.682Z] Removing intermediate container e12b776d4ee8 [2022-10-07T21:37:19.682Z] ---> bf712999bf5a [2022-10-07T21:37:19.682Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-07T21:37:20.270Z] ---> c70e11ab3256 [2022-10-07T21:37:20.270Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T21:37:20.270Z] ---> Running in de3284cb33a9 [2022-10-07T21:37:22.860Z] Removing intermediate container de3284cb33a9 [2022-10-07T21:37:22.860Z] ---> b576a810da9a [2022-10-07T21:37:22.860Z] Step 13/27 : COPY . . [2022-10-07T21:37:24.272Z] ---> 91eb406fefde [2022-10-07T21:37:24.272Z] Step 14/27 : RUN ${MAKE} [2022-10-07T21:37:24.272Z] ---> Running in 3a6f244d2451 [2022-10-07T21:37:25.244Z] 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-07T21:39:46.978Z] Removing intermediate container 3a6f244d2451 [2022-10-07T21:39:46.978Z] ---> aaa305b9a474 [2022-10-07T21:39:46.978Z] Step 15/27 : FROM alpine:3.16 [2022-10-07T21:39:46.978Z] 3.16: Pulling from library/alpine [2022-10-07T21:39:46.978Z] 9b18e9b68314: Pulling fs layer [2022-10-07T21:39:46.978Z] 9b18e9b68314: Verifying Checksum [2022-10-07T21:39:46.978Z] 9b18e9b68314: Download complete [2022-10-07T21:39:46.978Z] 9b18e9b68314: Pull complete [2022-10-07T21:39:46.978Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T21:39:46.978Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T21:39:46.978Z] ---> a6215f271958 [2022-10-07T21:39:46.978Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-07T21:39:46.978Z] ---> Running in 626e1a801adf [2022-10-07T21:39:46.978Z] Removing intermediate container 626e1a801adf [2022-10-07T21:39:46.978Z] ---> ffa8460174df [2022-10-07T21:39:46.978Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T21:39:46.978Z] ---> Running in 9e7160b9cce2 [2022-10-07T21:39:47.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T21:39:47.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T21:39:48.787Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T21:39:48.787Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T21:39:48.787Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T21:39:48.787Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T21:39:48.787Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T21:39:48.787Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T21:39:48.787Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T21:39:48.787Z] OK: 8 MiB in 20 packages [2022-10-07T21:39:49.755Z] Removing intermediate container 9e7160b9cce2 [2022-10-07T21:39:49.755Z] ---> b438ff880270 [2022-10-07T21:39:49.755Z] Step 18/27 : WORKDIR / [2022-10-07T21:39:49.755Z] ---> Running in 8c81d7a2840d [2022-10-07T21:39:50.045Z] Removing intermediate container 8c81d7a2840d [2022-10-07T21:39:50.045Z] ---> 7f4b8dae0729 [2022-10-07T21:39:50.045Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-07T21:39:51.452Z] ---> c56620597d7b [2022-10-07T21:39:51.452Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-07T21:39:52.036Z] ---> f6bc154d04a6 [2022-10-07T21:39:52.036Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-07T21:39:52.304Z] ---> 8e3b4490017a [2022-10-07T21:39:52.304Z] Step 22/27 : EXPOSE 59984 [2022-10-07T21:39:52.304Z] ---> Running in c6b155f5b408 [2022-10-07T21:39:52.571Z] Removing intermediate container c6b155f5b408 [2022-10-07T21:39:52.571Z] ---> 20443a4848e7 [2022-10-07T21:39:52.571Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-07T21:39:52.839Z] ---> Running in 38f053572730 [2022-10-07T21:39:53.106Z] Removing intermediate container 38f053572730 [2022-10-07T21:39:53.106Z] ---> 8460a84a88e2 [2022-10-07T21:39:53.106Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T21:39:53.106Z] ---> Running in 0cc14c0d538f [2022-10-07T21:39:53.373Z] Removing intermediate container 0cc14c0d538f [2022-10-07T21:39:53.373Z] ---> 5988f2485973 [2022-10-07T21:39:53.373Z] Step 25/27 : LABEL arch=arm64 [2022-10-07T21:39:53.373Z] ---> Running in f8f1d9005ceb [2022-10-07T21:39:53.640Z] Removing intermediate container f8f1d9005ceb [2022-10-07T21:39:53.640Z] ---> 8679f33724a4 [2022-10-07T21:39:53.640Z] Step 26/27 : LABEL git_sha=482e55864ca8f334c8fa0bb601f752722a1407a0 [2022-10-07T21:39:53.640Z] ---> Running in 6d14ab33a820 [2022-10-07T21:39:53.913Z] Removing intermediate container 6d14ab33a820 [2022-10-07T21:39:53.913Z] ---> 623e3098072e [2022-10-07T21:39:53.913Z] Step 27/27 : LABEL version=0.0.0 [2022-10-07T21:39:54.178Z] ---> Running in 242b093e99d3 [2022-10-07T21:39:54.444Z] Removing intermediate container 242b093e99d3 [2022-10-07T21:39:54.444Z] ---> f86a3464a2e4 [2022-10-07T21:39:54.444Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T21:39:54.444Z] Successfully built f86a3464a2e4 [2022-10-07T21:39:54.444Z] 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-07T21:39:55.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T21:39:55.300Z] [2022-10-07T21:39:55.300Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T21:39:55.721Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T21:39:55.721Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-07T21:39:55.721Z] 8998bd30e6a1: Pulling fs layer [2022-10-07T21:39:55.721Z] 04944245beec: Pulling fs layer [2022-10-07T21:39:55.721Z] 699f458cf7ca: Pulling fs layer [2022-10-07T21:39:55.721Z] 765212b225bb: Pulling fs layer [2022-10-07T21:39:55.721Z] f23df028b6ca: Pulling fs layer [2022-10-07T21:39:55.721Z] d65c8cfc05b1: Pulling fs layer [2022-10-07T21:39:55.721Z] 2437ff75d9bd: Pulling fs layer [2022-10-07T21:39:55.721Z] f23df028b6ca: Waiting [2022-10-07T21:39:55.721Z] d65c8cfc05b1: Waiting [2022-10-07T21:39:55.721Z] 765212b225bb: Waiting [2022-10-07T21:39:55.721Z] 2437ff75d9bd: Waiting [2022-10-07T21:39:56.012Z] 04944245beec: Verifying Checksum [2022-10-07T21:39:56.012Z] 04944245beec: Download complete [2022-10-07T21:39:56.012Z] 765212b225bb: Verifying Checksum [2022-10-07T21:39:56.012Z] 765212b225bb: Download complete [2022-10-07T21:39:56.012Z] f23df028b6ca: Verifying Checksum [2022-10-07T21:39:56.012Z] f23df028b6ca: Download complete [2022-10-07T21:39:56.012Z] d65c8cfc05b1: Verifying Checksum [2022-10-07T21:39:56.012Z] d65c8cfc05b1: Download complete [2022-10-07T21:39:56.012Z] 699f458cf7ca: Verifying Checksum [2022-10-07T21:39:56.012Z] 699f458cf7ca: Download complete [2022-10-07T21:39:56.626Z] 8998bd30e6a1: Verifying Checksum [2022-10-07T21:39:56.626Z] 8998bd30e6a1: Download complete [2022-10-07T21:39:59.239Z] 2437ff75d9bd: Verifying Checksum [2022-10-07T21:39:59.239Z] 2437ff75d9bd: Download complete [2022-10-07T21:40:00.648Z] 8998bd30e6a1: Pull complete [2022-10-07T21:40:00.914Z] 04944245beec: Pull complete [2022-10-07T21:40:02.351Z] 699f458cf7ca: Pull complete [2022-10-07T21:40:02.351Z] 765212b225bb: Pull complete [2022-10-07T21:40:02.932Z] f23df028b6ca: Pull complete [2022-10-07T21:40:03.196Z] d65c8cfc05b1: Pull complete [2022-10-07T21:40:18.179Z] 2437ff75d9bd: Pull complete [2022-10-07T21:40:18.179Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-07T21:40:18.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T21:40:18.179Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T21:40:18.506Z] prd-ubuntu20.04-docker-arm64-4c-16g-7358 does not seem to be running inside a container [2022-10-07T21:40:18.567Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-07T21:40:20.974Z] $ docker top 16f7d2ce39ebfecc1ad24cdb97a6815aea8fd2d158875f7f58e9a12c4d5cb5b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T21:40:21.536Z] ---> job-cost.sh [2022-10-07T21:40:21.802Z] lf-activate-venv: SKIPPING [2022-10-07T21:40:21.802Z] INFO: No Stack... [2022-10-07T21:40:22.066Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-07T21:40:23.022Z] INFO: Archiving Costs [Pipeline] sh [2022-10-07T21:40:23.370Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-10-07T21:40:23.371Z] + cut -d, -f6 [Pipeline] lock [2022-10-07T21:40:23.459Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] [2022-10-07T21:40:23.464Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] did not exist. Created. [2022-10-07T21:40:23.464Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-07T21:40:23.873Z] /w/workspace/device-onvif-camera/1@tmp/durable-331d4c7c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-07T21:40:24.218Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-07T21:40:24.251Z] Warning: overwriting stash ‘stack-cost’ [2022-10-07T21:40:24.303Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T21:40:24.318Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T21:40:24.397Z] $ docker stop --time=1 16f7d2ce39ebfecc1ad24cdb97a6815aea8fd2d158875f7f58e9a12c4d5cb5b0 [2022-10-07T21:40:25.848Z] $ docker rm -f 16f7d2ce39ebfecc1ad24cdb97a6815aea8fd2d158875f7f58e9a12c4d5cb5b0 [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-07T21:40:26.806Z] provisioning config files... [2022-10-07T21:40:26.814Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config4895928029817095524tmp [Pipeline] { [Pipeline] sh [2022-10-07T21:40:27.161Z] + set +x [2022-10-07T21:40:27.161Z] + curl -s https://codecov.io/bash [2022-10-07T21:40:27.161Z] + bash -s -- [2022-10-07T21:40:27.161Z] [2022-10-07T21:40:27.161Z] _____ _ [2022-10-07T21:40:27.161Z] / ____| | | [2022-10-07T21:40:27.161Z] | | ___ __| | ___ ___ _____ __ [2022-10-07T21:40:27.161Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-07T21:40:27.161Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-07T21:40:27.161Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-07T21:40:27.161Z] Bash-1.0.6 [2022-10-07T21:40:27.161Z] [2022-10-07T21:40:27.161Z] [2022-10-07T21:40:27.161Z] ==> git version 2.25.1 found [2022-10-07T21:40:27.161Z] ==> 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-07T21:40:27.161Z] Release-Date: 2020-01-08 [2022-10-07T21:40:27.161Z] 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-07T21:40:27.161Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-07T21:40:27.161Z] ==> Jenkins CI detected. [2022-10-07T21:40:27.161Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-174 [2022-10-07T21:40:27.161Z] project root: . [2022-10-07T21:40:27.161Z] --> token set from env [2022-10-07T21:40:27.161Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-07T21:40:27.161Z] ==> Running gcov in . (disable via -X gcov) [2022-10-07T21:40:27.161Z] ==> Python coveragepy not found [2022-10-07T21:40:27.161Z] ==> Searching for coverage reports in: [2022-10-07T21:40:27.161Z] + . [2022-10-07T21:40:27.161Z] -> Found 1 reports [2022-10-07T21:40:27.161Z] ==> Detecting git/mercurial file structure [2022-10-07T21:40:27.161Z] ==> Reading reports [2022-10-07T21:40:27.161Z] + ./coverage.out bytes=78461 [2022-10-07T21:40:27.161Z] ==> Appending adjustments [2022-10-07T21:40:27.161Z] https://docs.codecov.io/docs/fixing-reports [2022-10-07T21:40:27.421Z] + Found adjustments [2022-10-07T21:40:27.421Z] ==> Gzipping contents [2022-10-07T21:40:27.421Z] 12K /tmp/codecov.cr0O7T.gz [2022-10-07T21:40:27.421Z] ==> Uploading reports [2022-10-07T21:40:27.421Z] url: https://codecov.io [2022-10-07T21:40:27.421Z] query: branch=PR-174&commit=482e55864ca8f334c8fa0bb601f752722a1407a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-07T21:40:27.421Z] -> Pinging Codecov [2022-10-07T21:40:27.421Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-174&commit=482e55864ca8f334c8fa0bb601f752722a1407a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-07T21:40:27.679Z] -> Uploading to [2022-10-07T21:40:27.679Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-07/F29A59C45E3A92E06B3E522C9905F8EF/482e55864ca8f334c8fa0bb601f752722a1407a0/16a904d8-bef9-4234-9dad-25ec4833863c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T214027Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=501c5dcbab031c95c66f97f0e1fa1cb5b0f3627b28747eb30331fa8dd38d68a8 [2022-10-07T21:40:27.679Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T21:40:27.679Z] Dload Upload Total Spent Left Speed [2022-10-07T21:40:27.937Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10815 0 0 100 10815 0 47434 --:--:-- --:--:-- --:--:-- 47434 [2022-10-07T21:40:27.937Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/482e55864ca8f334c8fa0bb601f752722a1407a0 [Pipeline] } [2022-10-07T21:40:27.969Z] 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-07T21:40:29.751Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-174/archives ] [2022-10-07T21:40:29.751Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-07T21:40:29.751Z] total 16 [2022-10-07T21:40:29.751Z] drwxr-xr-x 3 root root 4096 Oct 7 21:32 . [2022-10-07T21:40:29.751Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 21:32 .. [2022-10-07T21:40:29.751Z] drwxr-xr-x 2 root root 4096 Oct 7 21:32 cost [2022-10-07T21:40:29.751Z] -rw-r--r-- 1 root root 91 Oct 7 21:32 cost.csv [2022-10-07T21:40:29.751Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-07T21:40:29.751Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-07T21:40:29.751Z] total 16 [2022-10-07T21:40:29.751Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 21:32 . [2022-10-07T21:40:29.751Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 21:32 .. [2022-10-07T21:40:29.751Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 21:32 cost [2022-10-07T21:40:29.751Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 7 21:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-07T21:40:30.075Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T21:40:30.960Z] ---> package-listing.sh [2022-10-07T21:40:30.960Z] ++ facter osfamily [2022-10-07T21:40:30.960Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-07T21:40:31.219Z] + OS_FAMILY=debian [2022-10-07T21:40:31.219Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-174 [2022-10-07T21:40:31.219Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-07T21:40:31.219Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-07T21:40:31.219Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-07T21:40:31.219Z] + PACKAGES=/tmp/packages_start.txt [2022-10-07T21:40:31.219Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-07T21:40:31.219Z] + PACKAGES=/tmp/packages_end.txt [2022-10-07T21:40:31.219Z] + case "${OS_FAMILY}" in [2022-10-07T21:40:31.219Z] + dpkg -l [2022-10-07T21:40:31.219Z] + grep '^ii' [2022-10-07T21:40:31.219Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-07T21:40:31.219Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-07T21:40:31.219Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-07T21:40:31.219Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-07T21:40:31.219Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-174/archives/ [2022-10-07T21:40:31.219Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-174/archives/ [Pipeline] echo [2022-10-07T21:40:31.253Z] 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-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-07T21:40:31.543Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T21:40:32.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T21:40:32.171Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T21:40:32.314Z] prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container [2022-10-07T21:40:32.351Z] $ 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-174/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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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-07T21:40:32.557Z] $ docker top 46b6dfc90eb43e9ce9bd21035ebc71b732c45388f3e57ea835512be0970d1f47 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T21:40:32.947Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-07T21:40:33.255Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-07T21:40:33.565Z] + ls /var/log/sa-host [2022-10-07T21:40:33.565Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T21:40:33.795Z] provisioning config files... [2022-10-07T21:40:33.804Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config9128161900069383442tmp [Pipeline] { [Pipeline] echo [2022-10-07T21:40:33.852Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T21:40:34.162Z] ---> create-netrc.sh [Pipeline] } [2022-10-07T21:40:34.192Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-07T21:40:34.596Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-07T21:40:34.630Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T21:40:34.947Z] ---> sudo-logs.sh [2022-10-07T21:40:34.947Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-07T21:40:35.032Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T21:40:35.347Z] ---> job-cost.sh [2022-10-07T21:40:35.348Z] lf-activate-venv: SKIPPING [2022-10-07T21:40:35.348Z] DEBUG: total: 0.2199999988079071 [2022-10-07T21:40:35.348Z] INFO: Retrieving Stack Cost... [2022-10-07T21:40:35.915Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T21:40:36.174Z] INFO: Archiving Costs [Pipeline] echo [2022-10-07T21:40:36.212Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T21:40:36.525Z] ---> logs-deploy.sh [2022-10-07T21:40:36.525Z] lf-activate-venv: SKIPPING [2022-10-07T21:40:36.525Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-174/1 [2022-10-07T21:40:36.525Z] INFO: archiving workspace using pattern(s): [2022-10-07T21:40:37.462Z] Archives upload complete. [2022-10-07T21:40:37.462Z] INFO: archiving logs to Nexus