Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 71129961745e0bb1bfe8892fb7be228e75bde2f3+8e26798799e0d9344b61f434dca15061827fa01a (3d303a9fbb1f2b9dcdc6f7825d550d678321d782) 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-ssh8299218044019550528.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11024992593223035681.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4417308660779203503.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh6468699829501376829.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8530183892236813652.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 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-117490’ Running on prd-ubuntu20.04-docker-8c-8g-117497 in /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-184 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8e26798799e0d9344b61f434dca15061827fa01a into PR head commit 71129961745e0bb1bfe8892fb7be228e75bde2f3 Merge succeeded, producing 27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5 Checking out Revision 27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5 (PR-184) > git config core.sparsecheckout # timeout=10 > git checkout -f 71129961745e0bb1bfe8892fb7be228e75bde2f3 # 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 8e26798799e0d9344b61f434dca15061827fa01a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5 # timeout=10 Commit message: "Merge commit '8e26798799e0d9344b61f434dca15061827fa01a' into HEAD" > git rev-list --no-walk 71129961745e0bb1bfe8892fb7be228e75bde2f3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-28T02:11:23.563Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-28T02:11:23.621Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-28T02:11:23.634Z] ========================================================= [2022-10-28T02:11:23.634Z] EdgeX Global Pipelines Version Info [2022-10-28T02:11:23.634Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:11:24.779Z] ------------------- [2022-10-28T02:11:24.779Z] stable info: [2022-10-28T02:11:24.779Z] ------------------- [2022-10-28T02:11:24.779Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-28T02:11:24.779Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-28T02:11:24.779Z] Message: update stable to v1.0.243 [2022-10-28T02:11:25.038Z] ------------------- [2022-10-28T02:11:25.038Z] experimental info: [2022-10-28T02:11:25.038Z] ------------------- [2022-10-28T02:11:25.038Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-28T02:11:25.038Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-28T02:11:25.038Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-28T02:11:25.194Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-28T02:11:25.206Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-28T02:11:25.220Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-28T02:11:25.229Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-28T02:11:25.241Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-28T02:11:25.254Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-28T02:11:25.265Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-28T02:11:25.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-28T02:11:25.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-28T02:11:25.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-28T02:11:25.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-28T02:11:25.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-28T02:11:25.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-28T02:11:25.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-28T02:11:25.360Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-28T02:11:25.369Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-28T02:11:25.376Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-28T02:11:25.384Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-28T02:11:25.393Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-28T02:11:25.401Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-28T02:11:25.409Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-28T02:11:25.417Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-28T02:11:25.425Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-28T02:11:25.434Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-28T02:11:25.442Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-28T02:11:25.451Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-28T02:11:25.459Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-28T02:11:25.470Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo [2022-10-28T02:11:25.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo [2022-10-28T02:11:25.491Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo [2022-10-28T02:11:25.506Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5 [Pipeline] echo [2022-10-28T02:11:25.517Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 27d6b4c [Pipeline] echo [2022-10-28T02:11:25.528Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-28T02:11:25.569Z] provisioning config files... [2022-10-28T02:11:25.582Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config14048381482309427409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:11:25.882Z] ---> docker-login.sh [2022-10-28T02:11:25.882Z] nexus3.edgexfoundry.org:10001 [2022-10-28T02:11:26.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:27.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:27.082Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:27.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:27.082Z] [2022-10-28T02:11:27.082Z] Login Succeeded [2022-10-28T02:11:27.082Z] nexus3.edgexfoundry.org:10002 [2022-10-28T02:11:27.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:27.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:27.082Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:27.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:27.082Z] [2022-10-28T02:11:27.082Z] Login Succeeded [2022-10-28T02:11:27.082Z] nexus3.edgexfoundry.org:10003 [2022-10-28T02:11:27.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:27.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:27.082Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:27.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:27.082Z] [2022-10-28T02:11:27.082Z] Login Succeeded [2022-10-28T02:11:27.082Z] nexus3.edgexfoundry.org:10004 [2022-10-28T02:11:27.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:27.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:27.343Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:27.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:27.343Z] [2022-10-28T02:11:27.343Z] Login Succeeded [2022-10-28T02:11:27.343Z] docker.io [2022-10-28T02:11:27.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:27.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:27.602Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:27.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:27.602Z] [2022-10-28T02:11:27.602Z] Login Succeeded [2022-10-28T02:11:27.602Z] ---> docker-login.sh ends [Pipeline] } [2022-10-28T02:11:27.609Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-28T02:11:27.947Z] + git rev-list -1 --merges 27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5~1..27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5 [Pipeline] echo [2022-10-28T02:11:27.977Z] -----------> git rev-list -1 --merges 27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5~1..27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5 27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5 [2022-10-28T02:11:27.977Z] 27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5 [false] [Pipeline] sh [2022-10-28T02:11:28.261Z] + git log --format=format:%s -1 27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5 [Pipeline] echo [2022-10-28T02:11:28.275Z] ========================================================= [2022-10-28T02:11:28.275Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-28T02:11:28.275Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-28T02:11:28.609Z] + git log --format=format:%s -1 27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5 [Pipeline] echo [2022-10-28T02:11:28.619Z] [semverPrep] GIT_COMMIT: 27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5, Commit Message: Merge commit '8e26798799e0d9344b61f434dca15061827fa01a' into HEAD [Pipeline] echo [2022-10-28T02:11:28.629Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-28T02:11:28.971Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-28T02:11:28.972Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-28T02:11:28.972Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-28T02:11:28.972Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-28T02:11:28.972Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-28T02:11:28.972Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-28T02:11:28.972Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:11:29.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-28T02:11:29.321Z] [2022-10-28T02:11:29.321Z] 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-28T02:11:29.618Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-28T02:11:29.618Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-28T02:11:29.618Z] b85a868b505f: Pulling fs layer [2022-10-28T02:11:29.618Z] e2be974225ed: Pulling fs layer [2022-10-28T02:11:29.618Z] 339a4e72a1f5: Pulling fs layer [2022-10-28T02:11:29.618Z] 988bab9f4d93: Pulling fs layer [2022-10-28T02:11:29.618Z] 1469e6f7b9e6: Pulling fs layer [2022-10-28T02:11:29.618Z] eaf3925da568: Pulling fs layer [2022-10-28T02:11:29.618Z] bab4dde63d76: Pulling fs layer [2022-10-28T02:11:29.618Z] bde34c3a00c8: Pulling fs layer [2022-10-28T02:11:29.618Z] b352a97aabf1: Pulling fs layer [2022-10-28T02:11:29.618Z] 4872d77fe225: Pulling fs layer [2022-10-28T02:11:29.618Z] 5851b861e8e6: Pulling fs layer [2022-10-28T02:11:29.618Z] bab4dde63d76: Waiting [2022-10-28T02:11:29.618Z] 1469e6f7b9e6: Waiting [2022-10-28T02:11:29.618Z] eaf3925da568: Waiting [2022-10-28T02:11:29.618Z] bde34c3a00c8: Waiting [2022-10-28T02:11:29.618Z] b352a97aabf1: Waiting [2022-10-28T02:11:29.618Z] 4872d77fe225: Waiting [2022-10-28T02:11:29.618Z] 5851b861e8e6: Waiting [2022-10-28T02:11:29.618Z] 988bab9f4d93: Waiting [2022-10-28T02:11:29.618Z] e2be974225ed: Verifying Checksum [2022-10-28T02:11:29.618Z] e2be974225ed: Download complete [2022-10-28T02:11:29.618Z] 988bab9f4d93: Download complete [2022-10-28T02:11:29.879Z] 1469e6f7b9e6: Verifying Checksum [2022-10-28T02:11:29.879Z] 1469e6f7b9e6: Download complete [2022-10-28T02:11:29.879Z] eaf3925da568: Verifying Checksum [2022-10-28T02:11:29.879Z] eaf3925da568: Download complete [2022-10-28T02:11:29.879Z] 339a4e72a1f5: Verifying Checksum [2022-10-28T02:11:29.879Z] 339a4e72a1f5: Download complete [2022-10-28T02:11:29.879Z] bde34c3a00c8: Verifying Checksum [2022-10-28T02:11:29.879Z] bde34c3a00c8: Download complete [2022-10-28T02:11:29.879Z] b352a97aabf1: Download complete [2022-10-28T02:11:29.879Z] 4872d77fe225: Download complete [2022-10-28T02:11:29.879Z] 5851b861e8e6: Verifying Checksum [2022-10-28T02:11:29.879Z] 5851b861e8e6: Download complete [2022-10-28T02:11:29.879Z] b85a868b505f: Verifying Checksum [2022-10-28T02:11:29.879Z] b85a868b505f: Download complete [2022-10-28T02:11:30.137Z] bab4dde63d76: Verifying Checksum [2022-10-28T02:11:30.137Z] bab4dde63d76: Download complete [2022-10-28T02:11:31.512Z] b85a868b505f: Pull complete [2022-10-28T02:11:31.770Z] e2be974225ed: Pull complete [2022-10-28T02:11:32.705Z] 339a4e72a1f5: Pull complete [2022-10-28T02:11:32.705Z] 988bab9f4d93: Pull complete [2022-10-28T02:11:33.273Z] 1469e6f7b9e6: Pull complete [2022-10-28T02:11:33.843Z] eaf3925da568: Pull complete [2022-10-28T02:11:35.219Z] bab4dde63d76: Pull complete [2022-10-28T02:11:35.480Z] bde34c3a00c8: Pull complete [2022-10-28T02:11:35.480Z] b352a97aabf1: Pull complete [2022-10-28T02:11:35.740Z] 4872d77fe225: Pull complete [2022-10-28T02:11:35.740Z] 5851b861e8e6: Pull complete [2022-10-28T02:11:35.740Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-28T02:11:35.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-28T02:11:35.740Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:11:35.818Z] prd-ubuntu20.04-docker-8c-8g-117497 does not seem to be running inside a container [2022-10-28T02:11:35.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-28T02:11:40.051Z] $ docker top 29ae9acb689ef9c983084f338ab28166673700df86d0cff176a2d093cd2631ca -eo pid,comm [2022-10-28T02:11:40.106Z] 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-28T02:11:40.106Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-28T02:11:40.141Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-28T02:11:40.141Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-28T02:11:40.251Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-28T02:11:40.255Z] $ docker exec 29ae9acb689ef9c983084f338ab28166673700df86d0cff176a2d093cd2631ca ssh-agent [2022-10-28T02:11:40.373Z] SSH_AUTH_SOCK=/tmp/ssh-j4sPL5ANA3bx/agent.31 [2022-10-28T02:11:40.373Z] SSH_AGENT_PID=37 [2022-10-28T02:11:40.378Z] Running ssh-add (command line suppressed) [2022-10-28T02:11:40.481Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_4223445759611901561.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_4223445759611901561.key) [2022-10-28T02:11:40.495Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-28T02:11:40.780Z] + git tag --points-at HEAD [Pipeline] } [2022-10-28T02:11:40.797Z] $ docker exec --env ******** --env ******** 29ae9acb689ef9c983084f338ab28166673700df86d0cff176a2d093cd2631ca ssh-agent -k [2022-10-28T02:11:40.892Z] unset SSH_AUTH_SOCK; [2022-10-28T02:11:40.893Z] unset SSH_AGENT_PID; [2022-10-28T02:11:40.893Z] echo Agent pid 37 killed; [2022-10-28T02:11:40.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-28T02:11:40.924Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-28T02:11:40.924Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-28T02:11:41.028Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-28T02:11:41.032Z] $ docker exec 29ae9acb689ef9c983084f338ab28166673700df86d0cff176a2d093cd2631ca ssh-agent [2022-10-28T02:11:41.154Z] SSH_AUTH_SOCK=/tmp/ssh-aMoNaKVa33nB/agent.69 [2022-10-28T02:11:41.154Z] SSH_AGENT_PID=76 [2022-10-28T02:11:41.159Z] Running ssh-add (command line suppressed) [2022-10-28T02:11:41.252Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_3232010559775331332.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_3232010559775331332.key) [2022-10-28T02:11:41.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-28T02:11:41.546Z] + git semver init [2022-10-28T02:11:41.805Z] 2022-10-28 02:11:41,723 [run_init] DEBUG init version:0.0.0 force:False [2022-10-28T02:11:41.805Z] 2022-10-28 02:11:41,724 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-184/.semver [2022-10-28T02:11:41.805Z] 2022-10-28 02:11:41,724 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-184/.semver [2022-10-28T02:11:41.805Z] 2022-10-28 02:11:41,724 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-184/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-184, universal_newlines=False, shell=None, istream=None) [2022-10-28T02:11:43.186Z] 2022-10-28 02:11:42,823 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-184/.git/info/exclude [2022-10-28T02:11:43.186Z] 2022-10-28 02:11:42,823 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 with force:False [2022-10-28T02:11:43.186Z] 2022-10-28 02:11:42,823 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 [2022-10-28T02:11:43.186Z] 2022-10-28 02:11:42,827 [execute] INFO git cat-file --batch-check [2022-10-28T02:11:43.186Z] 2022-10-28 02:11:42,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-10-28T02:11:43.186Z] 2022-10-28 02:11:42,833 [execute] INFO git cat-file --batch [2022-10-28T02:11:43.186Z] 2022-10-28 02:11:42,834 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-10-28T02:11:43.186Z] 2022-10-28 02:11:42,840 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 [2022-10-28T02:11:43.186Z] 0.0.0 [Pipeline] } [2022-10-28T02:11:43.196Z] $ docker exec --env ******** --env ******** 29ae9acb689ef9c983084f338ab28166673700df86d0cff176a2d093cd2631ca ssh-agent -k [2022-10-28T02:11:43.294Z] unset SSH_AUTH_SOCK; [2022-10-28T02:11:43.295Z] unset SSH_AGENT_PID; [2022-10-28T02:11:43.295Z] echo Agent pid 76 killed; [2022-10-28T02:11:43.302Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-28T02:11:43.602Z] + git semver [Pipeline] } [2022-10-28T02:11:43.879Z] $ docker stop --time=1 29ae9acb689ef9c983084f338ab28166673700df86d0cff176a2d093cd2631ca [2022-10-28T02:11:45.248Z] $ docker rm -f 29ae9acb689ef9c983084f338ab28166673700df86d0cff176a2d093cd2631ca [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-28T02:11:45.583Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-28T02:11:45.769Z] Stashed 1 file(s) [Pipeline] echo [2022-10-28T02:11:45.771Z] [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-28T02:11:45.869Z] provisioning config files... [2022-10-28T02:11:45.876Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config11987772974554182241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:11:46.169Z] ---> docker-login.sh [2022-10-28T02:11:46.169Z] nexus3.edgexfoundry.org:10001 [2022-10-28T02:11:46.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:46.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:46.169Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:46.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:46.169Z] [2022-10-28T02:11:46.169Z] Login Succeeded [2022-10-28T02:11:46.169Z] nexus3.edgexfoundry.org:10002 [2022-10-28T02:11:46.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:46.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:46.169Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:46.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:46.169Z] [2022-10-28T02:11:46.169Z] Login Succeeded [2022-10-28T02:11:46.169Z] nexus3.edgexfoundry.org:10003 [2022-10-28T02:11:46.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:46.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:46.429Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:46.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:46.429Z] [2022-10-28T02:11:46.429Z] Login Succeeded [2022-10-28T02:11:46.429Z] nexus3.edgexfoundry.org:10004 [2022-10-28T02:11:46.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:46.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:46.429Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:46.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:46.429Z] [2022-10-28T02:11:46.429Z] Login Succeeded [2022-10-28T02:11:46.429Z] docker.io [2022-10-28T02:11:46.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:46.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:46.946Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:46.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:46.946Z] [2022-10-28T02:11:46.946Z] Login Succeeded [2022-10-28T02:11:46.946Z] ---> docker-login.sh ends [Pipeline] } [2022-10-28T02:11:46.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-28T02:11:47.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-28T02:11:47.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-28T02:11:47.030Z] ========================================================= [2022-10-28T02:11:47.030Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-28T02:11:47.030Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:11:47.333Z] + 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-28T02:11:47.333Z] Sending build context to Docker daemon 27.49MB [2022-10-28T02:11:47.333Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-28T02:11:47.333Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-28T02:11:47.596Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-28T02:11:47.596Z] 213ec9aee27d: Pulling fs layer [2022-10-28T02:11:47.596Z] 4583459ba037: Pulling fs layer [2022-10-28T02:11:47.596Z] 93c1e223e6f2: Pulling fs layer [2022-10-28T02:11:47.596Z] 53926ce57604: Pulling fs layer [2022-10-28T02:11:47.596Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-28T02:11:47.596Z] 30f14e443154: Pulling fs layer [2022-10-28T02:11:47.596Z] 801331c1e519: Pulling fs layer [2022-10-28T02:11:47.596Z] 99cc6dd402b0: Pulling fs layer [2022-10-28T02:11:47.596Z] 7d9ed39f4882: Pulling fs layer [2022-10-28T02:11:47.596Z] 53926ce57604: Waiting [2022-10-28T02:11:47.596Z] 99cc6dd402b0: Waiting [2022-10-28T02:11:47.596Z] 7d9ed39f4882: Waiting [2022-10-28T02:11:47.596Z] 21b2b0c7a3f4: Waiting [2022-10-28T02:11:47.596Z] 30f14e443154: Waiting [2022-10-28T02:11:47.596Z] 801331c1e519: Waiting [2022-10-28T02:11:47.596Z] 93c1e223e6f2: Verifying Checksum [2022-10-28T02:11:47.596Z] 93c1e223e6f2: Download complete [2022-10-28T02:11:47.596Z] 4583459ba037: Verifying Checksum [2022-10-28T02:11:47.596Z] 4583459ba037: Download complete [2022-10-28T02:11:47.596Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-28T02:11:47.596Z] 21b2b0c7a3f4: Download complete [2022-10-28T02:11:47.596Z] 30f14e443154: Download complete [2022-10-28T02:11:47.596Z] 213ec9aee27d: Download complete [2022-10-28T02:11:47.596Z] 801331c1e519: Verifying Checksum [2022-10-28T02:11:47.596Z] 801331c1e519: Download complete [2022-10-28T02:11:47.596Z] 213ec9aee27d: Pull complete [2022-10-28T02:11:47.855Z] 4583459ba037: Pull complete [2022-10-28T02:11:48.121Z] 93c1e223e6f2: Pull complete [2022-10-28T02:11:48.121Z] 99cc6dd402b0: Verifying Checksum [2022-10-28T02:11:48.121Z] 99cc6dd402b0: Download complete [2022-10-28T02:11:48.380Z] 7d9ed39f4882: Verifying Checksum [2022-10-28T02:11:48.380Z] 7d9ed39f4882: Download complete [2022-10-28T02:11:48.638Z] 53926ce57604: Download complete [2022-10-28T02:11:52.829Z] 53926ce57604: Pull complete [2022-10-28T02:11:52.829Z] 21b2b0c7a3f4: Pull complete [2022-10-28T02:11:52.829Z] 30f14e443154: Pull complete [2022-10-28T02:11:52.829Z] 801331c1e519: Pull complete [2022-10-28T02:11:54.282Z] 99cc6dd402b0: Pull complete [2022-10-28T02:11:55.235Z] 7d9ed39f4882: Pull complete [2022-10-28T02:11:55.235Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-28T02:11:55.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-28T02:11:55.235Z] ---> 1dedd983c030 [2022-10-28T02:11:55.235Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-28T02:12:00.838Z] Still waiting to schedule task [2022-10-28T02:12:00.838Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117494’ [2022-10-28T02:12:01.807Z] ---> Running in f0828f623d6c [2022-10-28T02:12:01.807Z] Removing intermediate container f0828f623d6c [2022-10-28T02:12:01.807Z] ---> da5839e3f22a [2022-10-28T02:12:01.807Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-28T02:12:01.807Z] ---> Running in a3c77c2018c4 [2022-10-28T02:12:02.066Z] Removing intermediate container a3c77c2018c4 [2022-10-28T02:12:02.066Z] ---> 995857290386 [2022-10-28T02:12:02.066Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-28T02:12:02.066Z] ---> Running in 1d10ce2066b3 [2022-10-28T02:12:02.326Z] Removing intermediate container 1d10ce2066b3 [2022-10-28T02:12:02.326Z] ---> 78e0e79ef5dc [2022-10-28T02:12:02.326Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-28T02:12:02.326Z] ---> Running in f1388244e03d [2022-10-28T02:12:02.326Z] Removing intermediate container f1388244e03d [2022-10-28T02:12:02.326Z] ---> 0962ddf249cc [2022-10-28T02:12:02.326Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-28T02:12:02.326Z] ---> Running in 8e45813baa1e [2022-10-28T02:12:02.326Z] Removing intermediate container 8e45813baa1e [2022-10-28T02:12:02.326Z] ---> 5dacb054cfb5 [2022-10-28T02:12:02.326Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-28T02:12:02.584Z] ---> Running in fde9589b4544 [2022-10-28T02:12:02.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-28T02:12:02.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-28T02:12:03.100Z] OK: 211 MiB in 51 packages [2022-10-28T02:12:03.360Z] Removing intermediate container fde9589b4544 [2022-10-28T02:12:03.360Z] ---> 6e7b33ea1d39 [2022-10-28T02:12:03.360Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-28T02:12:03.360Z] ---> Running in bd54a99b7b60 [2022-10-28T02:12:03.619Z] Removing intermediate container bd54a99b7b60 [2022-10-28T02:12:03.619Z] ---> e920d2936c94 [2022-10-28T02:12:03.619Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-28T02:12:03.619Z] ---> 4774a5aef671 [2022-10-28T02:12:03.619Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-28T02:12:03.619Z] ---> Running in cb6fee5733f5 [2022-10-28T02:12:30.176Z] Removing intermediate container cb6fee5733f5 [2022-10-28T02:12:30.176Z] ---> 1418a9b7f0fe [2022-10-28T02:12:30.176Z] Step 12/13 : COPY . . [2022-10-28T02:12:31.120Z] ---> 1c70482a8ab0 [2022-10-28T02:12:31.120Z] Step 13/13 : RUN ${MAKE} [2022-10-28T02:12:31.378Z] ---> Running in 0049b5fecdbb [2022-10-28T02:12:31.943Z] noop [2022-10-28T02:12:32.200Z] Removing intermediate container 0049b5fecdbb [2022-10-28T02:12:32.200Z] ---> 96e0438e1165 [2022-10-28T02:12:32.200Z] Successfully built 96e0438e1165 [2022-10-28T02:12:32.200Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:12:32.509Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-28T02:12:32.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:12:32.565Z] prd-ubuntu20.04-docker-8c-8g-117497 does not seem to be running inside a container [2022-10-28T02:12:32.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-28T02:12:33.228Z] $ docker top fbb789a1918503883b7aebbc8cf03aed4f0fd89654df484100ff290cb5ce8290 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-28T02:12:33.564Z] + go version [2022-10-28T02:12:33.564Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-28T02:12:33.575Z] $ docker stop --time=1 fbb789a1918503883b7aebbc8cf03aed4f0fd89654df484100ff290cb5ce8290 [2022-10-28T02:12:35.026Z] $ docker rm -f fbb789a1918503883b7aebbc8cf03aed4f0fd89654df484100ff290cb5ce8290 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:12:35.416Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-28T02:12:35.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:12:35.472Z] prd-ubuntu20.04-docker-8c-8g-117497 does not seem to be running inside a container [2022-10-28T02:12:35.500Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-28T02:12:35.831Z] $ docker top aa28a1d1a6e6f16129fafcfa7ca6bf71e4d5e92316c3e67223cd4adb63b1f4d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-28T02:12:36.161Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] fileExists [Pipeline] sh [2022-10-28T02:12:36.446Z] + make test [2022-10-28T02:12:36.446Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-28T02:12:36.703Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-28T02:12:46.658Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-28T02:12:50.843Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 29.3% of statements [2022-10-28T02:12:50.843Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-28T02:12:50.843Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.303s coverage: 86.5% of statements [2022-10-28T02:12:57.399Z] 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-28T02:12:57.658Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-28T02:13:00.937Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-28T02:13:00.937Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-28T02:13:00.937Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-28T02:13:00.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-28T02:13:00.957Z] $ docker stop --time=1 aa28a1d1a6e6f16129fafcfa7ca6bf71e4d5e92316c3e67223cd4adb63b1f4d3 [2022-10-28T02:13:16.186Z] $ docker rm -f aa28a1d1a6e6f16129fafcfa7ca6bf71e4d5e92316c3e67223cd4adb63b1f4d3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-28T02:13:17.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-28T02:13:17.173Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-28T02:13:17.580Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-28T02:13:17.865Z] + ls -al . [2022-10-28T02:13:17.865Z] total 244 [2022-10-28T02:13:17.865Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 02:12 . [2022-10-28T02:13:17.865Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:11 .. [2022-10-28T02:13:17.865Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 02:12 .git [2022-10-28T02:13:17.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:11 .github [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 28 02:11 .gitignore [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 28 02:11 .golangci.yml [2022-10-28T02:13:17.865Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 28 02:11 .semver [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 28 02:11 Attribution.txt [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 28 02:11 CHANGELOG.md [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 28 02:11 Dockerfile [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 02:11 GOVERNANCE.md [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 28 02:11 Jenkinsfile [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 28 02:11 LICENSE [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 28 02:11 Makefile [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 28 02:11 OWNERS.md [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 28 02:11 README.md [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 02:11 VERSION [2022-10-28T02:13:17.865Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 02:11 bin [2022-10-28T02:13:17.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:11 cmd [2022-10-28T02:13:17.865Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 28 02:12 coverage.out [2022-10-28T02:13:17.865Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 28 02:11 doc [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 28 02:11 go.mod [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 46380 Oct 28 02:11 go.sum [2022-10-28T02:13:17.865Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:11 internal [2022-10-28T02:13:17.865Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:11 snap [2022-10-28T02:13:17.865Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 28 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:13:18.169Z] + 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=27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5 --label arch=amd64 --label version=0.0.0 . [2022-10-28T02:13:18.170Z] Sending build context to Docker daemon 27.57MB [2022-10-28T02:13:18.170Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-28T02:13:18.170Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-28T02:13:18.170Z] ---> 96e0438e1165 [2022-10-28T02:13:18.170Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-28T02:13:22.366Z] ---> Running in 6343829eccf4 [2022-10-28T02:13:24.270Z] Removing intermediate container 6343829eccf4 [2022-10-28T02:13:24.270Z] ---> 5e2f6da658f9 [2022-10-28T02:13:24.270Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-28T02:13:26.201Z] ---> Running in 0cb2934aa236 [2022-10-28T02:13:29.494Z] Removing intermediate container 0cb2934aa236 [2022-10-28T02:13:29.494Z] ---> 52b8c3fddd87 [2022-10-28T02:13:29.494Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-28T02:13:31.399Z] ---> Running in 8f3fc48543c9 [2022-10-28T02:13:33.933Z] Removing intermediate container 8f3fc48543c9 [2022-10-28T02:13:33.933Z] ---> f76bde4e4597 [2022-10-28T02:13:33.933Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-28T02:13:35.892Z] ---> Running in bc680ebfa253 [2022-10-28T02:13:37.794Z] Removing intermediate container bc680ebfa253 [2022-10-28T02:13:37.794Z] ---> 9de3fe9cec2f [2022-10-28T02:13:37.794Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-28T02:13:39.699Z] ---> Running in ea4c4056f0a6 [2022-10-28T02:13:42.260Z] Removing intermediate container ea4c4056f0a6 [2022-10-28T02:13:42.260Z] ---> 0b71be56e3e3 [2022-10-28T02:13:42.260Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-28T02:13:44.161Z] ---> Running in 67e4e16debf5 [2022-10-28T02:13:46.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-28T02:13:46.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-28T02:13:46.690Z] OK: 211 MiB in 51 packages [2022-10-28T02:13:50.876Z] Removing intermediate container 67e4e16debf5 [2022-10-28T02:13:50.876Z] ---> dec7d6783167 [2022-10-28T02:13:50.876Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-28T02:13:52.253Z] ---> Running in d0f150143cb0 [2022-10-28T02:13:54.786Z] Removing intermediate container d0f150143cb0 [2022-10-28T02:13:54.786Z] ---> cfe6641afaeb [2022-10-28T02:13:54.786Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-28T02:13:56.162Z] ---> 9ea7956b8cdf [2022-10-28T02:13:56.162Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-28T02:13:58.070Z] ---> Running in 2f8500ae008a [2022-10-28T02:14:06.201Z] Removing intermediate container 2f8500ae008a [2022-10-28T02:14:06.201Z] ---> aef5a7a229a3 [2022-10-28T02:14:06.201Z] Step 12/26 : COPY . . [2022-10-28T02:14:08.981Z] ---> a1345ad5bb49 [2022-10-28T02:14:08.981Z] Step 13/26 : RUN ${MAKE} [2022-10-28T02:14:10.432Z] ---> Running in 9b678baa7215 [2022-10-28T02:14:13.787Z] 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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-28T02:14:39.261Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117500 in /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] { [Pipeline] ws [2022-10-28T02:14:39.271Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-10-28T02:14:39.305Z] The recommended git tool is: git [2022-10-28T02:14:44.831Z] using credential edgex-jenkins-ssh [2022-10-28T02:14:44.850Z] Cloning the remote Git repository [2022-10-28T02:14:44.908Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-28T02:14:44.982Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-10-28T02:14:45.143Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-28T02:14:45.144Z] > git --version # timeout=10 [2022-10-28T02:14:45.167Z] > git --version # 'git version 2.25.1' [2022-10-28T02:14:45.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-28T02:14:45.235Z] Verifying host key using known hosts file [2022-10-28T02:14:45.469Z] 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-28T02:14:45.482Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-28T02:14:47.401Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-28T02:14:47.432Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-28T02:14:49.140Z] Merging remotes/origin/main commit 8e26798799e0d9344b61f434dca15061827fa01a into PR head commit 71129961745e0bb1bfe8892fb7be228e75bde2f3 [2022-10-28T02:14:48.496Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-28T02:14:48.545Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-28T02:14:48.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-28T02:14:48.552Z] Verifying host key using known hosts file [2022-10-28T02:14:48.560Z] 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-28T02:14:48.572Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-28T02:14:49.161Z] > git config core.sparsecheckout # timeout=10 [2022-10-28T02:14:49.178Z] > git checkout -f 71129961745e0bb1bfe8892fb7be228e75bde2f3 # timeout=10 [2022-10-28T02:14:50.091Z] Merge succeeded, producing 268fffb61e42d464023f13360f4c599b9100b6f1 [2022-10-28T02:14:50.091Z] Checking out Revision 268fffb61e42d464023f13360f4c599b9100b6f1 (PR-184) [2022-10-28T02:14:49.507Z] > git remote # timeout=10 [2022-10-28T02:14:49.525Z] > git config --get remote.origin.url # timeout=10 [2022-10-28T02:14:49.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-28T02:14:49.556Z] Verifying host key using known hosts file [2022-10-28T02:14:49.560Z] 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-28T02:14:49.569Z] > git merge 8e26798799e0d9344b61f434dca15061827fa01a # timeout=10 [2022-10-28T02:14:50.072Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-28T02:14:50.100Z] > git config core.sparsecheckout # timeout=10 [2022-10-28T02:14:50.113Z] > git checkout -f 268fffb61e42d464023f13360f4c599b9100b6f1 # timeout=10 [2022-10-28T02:14:53.600Z] Commit message: "Merge commit '8e26798799e0d9344b61f434dca15061827fa01a' into HEAD" [2022-10-28T02:14:53.610Z] > git rev-list --no-walk 71129961745e0bb1bfe8892fb7be228e75bde2f3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-28T02:14:54.551Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-28T02:14:54.551Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-28T02:14:54.551Z] Dload Upload Total Spent Left Speed [2022-10-28T02:14:54.551Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2022-10-28T02:14:55.396Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-28T02:14:55.739Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-28T02:14:55.739Z] + sudo tee /etc/docker/daemon.new [2022-10-28T02:14:55.739Z] { [2022-10-28T02:14:55.739Z] "registry-mirrors": [ [2022-10-28T02:14:55.739Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-28T02:14:55.739Z] ], [2022-10-28T02:14:55.739Z] "bip": "10.250.0.254/24", [2022-10-28T02:14:55.739Z] "hosts": [ [2022-10-28T02:14:55.739Z] "tcp://0.0.0.0:5555", [2022-10-28T02:14:55.739Z] "unix:///var/run/docker.sock" [2022-10-28T02:14:55.739Z] ], [2022-10-28T02:14:55.739Z] "mtu": 1458, [2022-10-28T02:14:55.739Z] "selinux-enabled": true, [2022-10-28T02:14:55.739Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-28T02:14:55.739Z] } [Pipeline] sh [2022-10-28T02:14:56.071Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-28T02:14:56.409Z] + sudo service docker restart [2022-10-28T02:15:00.519Z] Removing intermediate container 9b678baa7215 [2022-10-28T02:15:00.519Z] ---> 7afb4b42cc38 [2022-10-28T02:15:00.519Z] Step 14/26 : FROM alpine:3.16 [2022-10-28T02:15:00.519Z] 3.16: Pulling from library/alpine [2022-10-28T02:15:00.519Z] 213ec9aee27d: Already exists [2022-10-28T02:15:00.519Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-28T02:15:00.519Z] Status: Downloaded newer image for alpine:3.16 [2022-10-28T02:15:00.519Z] ---> 9c6f07244728 [2022-10-28T02:15:00.519Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-28T02:15:00.519Z] ---> Running in 9aa5473246f3 [2022-10-28T02:15:01.455Z] Removing intermediate container 9aa5473246f3 [2022-10-28T02:15:01.455Z] ---> 9543335422fe [2022-10-28T02:15:01.455Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-28T02:15:02.842Z] ---> Running in 09de4339231d [2022-10-28T02:15:04.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-28T02:15:04.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-28T02:15:04.745Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-28T02:15:04.745Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-28T02:15:04.745Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-28T02:15:04.745Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-28T02:15:04.745Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-28T02:15:04.745Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-28T02:15:04.745Z] Executing busybox-1.35.0-r17.trigger [2022-10-28T02:15:04.745Z] OK: 8 MiB in 20 packages [2022-10-28T02:15:07.274Z] Removing intermediate container 09de4339231d [2022-10-28T02:15:07.274Z] ---> d0e80766d3f7 [2022-10-28T02:15:07.274Z] Step 17/26 : WORKDIR / [2022-10-28T02:15:09.173Z] ---> Running in f7c50e069d7f [2022-10-28T02:15:10.571Z] Removing intermediate container f7c50e069d7f [2022-10-28T02:15:10.571Z] ---> b8554216d8f2 [2022-10-28T02:15:10.571Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-28T02:15:13.108Z] ---> 1b0a83ea33b2 [2022-10-28T02:15:13.108Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-28T02:15:13.108Z] ---> 59090883fd2f [2022-10-28T02:15:13.108Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-28T02:15:13.108Z] ---> 8f5f60b74f87 [2022-10-28T02:15:13.108Z] Step 21/26 : EXPOSE 59984 [2022-10-28T02:15:13.369Z] ---> Running in d74bdf6f6d8d [2022-10-28T02:15:13.369Z] Removing intermediate container d74bdf6f6d8d [2022-10-28T02:15:13.369Z] ---> 8052667a8610 [2022-10-28T02:15:13.369Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-28T02:15:13.369Z] ---> Running in 0c7b203f11c3 [2022-10-28T02:15:13.369Z] Removing intermediate container 0c7b203f11c3 [2022-10-28T02:15:13.369Z] ---> 8223bda4e830 [2022-10-28T02:15:13.369Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-28T02:15:13.369Z] ---> Running in f25d52a63b1f [2022-10-28T02:15:13.628Z] Removing intermediate container f25d52a63b1f [2022-10-28T02:15:13.628Z] ---> 05ea773fb1f4 [2022-10-28T02:15:13.628Z] Step 24/26 : LABEL arch=amd64 [2022-10-28T02:15:13.628Z] ---> Running in ea18a00c66ea [2022-10-28T02:15:13.628Z] Removing intermediate container ea18a00c66ea [2022-10-28T02:15:13.628Z] ---> 10cfebff16e8 [2022-10-28T02:15:13.628Z] Step 25/26 : LABEL git_sha=27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5 [2022-10-28T02:15:13.628Z] ---> Running in 69c915693c58 [2022-10-28T02:15:13.888Z] Removing intermediate container 69c915693c58 [2022-10-28T02:15:13.888Z] ---> bb723ebd57be [2022-10-28T02:15:13.888Z] Step 26/26 : LABEL version=0.0.0 [2022-10-28T02:15:13.888Z] ---> Running in 502d96109859 [2022-10-28T02:15:13.888Z] Removing intermediate container 502d96109859 [2022-10-28T02:15:13.888Z] ---> 8c156fe2b40a [2022-10-28T02:15:13.888Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-28T02:15:13.888Z] Successfully built 8c156fe2b40a [2022-10-28T02:15:13.888Z] 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-28T02:15:14.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-28T02:15:14.328Z] [2022-10-28T02:15:14.328Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:15:14.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-28T02:15:14.625Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-28T02:15:14.625Z] 5eb5b503b376: Pulling fs layer [2022-10-28T02:15:14.625Z] 5c69ac0246d0: Pulling fs layer [2022-10-28T02:15:14.625Z] ec43610c2a17: Pulling fs layer [2022-10-28T02:15:14.625Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-28T02:15:14.625Z] 33b1e0a273af: Pulling fs layer [2022-10-28T02:15:14.625Z] 5d3b04190fa2: Pulling fs layer [2022-10-28T02:15:14.625Z] 2f39f015ded8: Pulling fs layer [2022-10-28T02:15:14.625Z] 5d3b04190fa2: Waiting [2022-10-28T02:15:14.625Z] 2f39f015ded8: Waiting [2022-10-28T02:15:14.625Z] 3a2ae6a8a46f: Waiting [2022-10-28T02:15:14.625Z] 5c69ac0246d0: Verifying Checksum [2022-10-28T02:15:14.625Z] 5c69ac0246d0: Download complete [2022-10-28T02:15:14.625Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-28T02:15:14.625Z] 3a2ae6a8a46f: Download complete [2022-10-28T02:15:14.625Z] 33b1e0a273af: Verifying Checksum [2022-10-28T02:15:14.625Z] 33b1e0a273af: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-28T02:15:14.702Z] provisioning config files... [2022-10-28T02:15:14.726Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config2676834158476858991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:15:14.887Z] 5d3b04190fa2: Verifying Checksum [2022-10-28T02:15:14.887Z] 5d3b04190fa2: Download complete [2022-10-28T02:15:14.887Z] ec43610c2a17: Download complete [2022-10-28T02:15:14.887Z] 5eb5b503b376: Verifying Checksum [2022-10-28T02:15:14.887Z] 5eb5b503b376: Download complete [2022-10-28T02:15:15.071Z] ---> docker-login.sh [2022-10-28T02:15:15.071Z] nexus3.edgexfoundry.org:10001 [2022-10-28T02:15:15.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:15:15.456Z] 2f39f015ded8: Download complete [2022-10-28T02:15:15.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:15:15.608Z] Configure a credential helper to remove this warning. See [2022-10-28T02:15:15.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:15:15.608Z] [2022-10-28T02:15:15.608Z] Login Succeeded [2022-10-28T02:15:15.608Z] nexus3.edgexfoundry.org:10002 [2022-10-28T02:15:15.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:15:15.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:15:15.876Z] Configure a credential helper to remove this warning. See [2022-10-28T02:15:15.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:15:15.876Z] [2022-10-28T02:15:15.876Z] Login Succeeded [2022-10-28T02:15:16.020Z] 5eb5b503b376: Pull complete [2022-10-28T02:15:16.143Z] nexus3.edgexfoundry.org:10003 [2022-10-28T02:15:16.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:15:16.277Z] 5c69ac0246d0: Pull complete [2022-10-28T02:15:16.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:15:16.411Z] Configure a credential helper to remove this warning. See [2022-10-28T02:15:16.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:15:16.411Z] [2022-10-28T02:15:16.411Z] Login Succeeded [2022-10-28T02:15:16.411Z] nexus3.edgexfoundry.org:10004 [2022-10-28T02:15:16.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:15:16.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:15:16.679Z] Configure a credential helper to remove this warning. See [2022-10-28T02:15:16.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:15:16.679Z] [2022-10-28T02:15:16.679Z] Login Succeeded [2022-10-28T02:15:16.679Z] docker.io [2022-10-28T02:15:16.843Z] ec43610c2a17: Pull complete [2022-10-28T02:15:16.843Z] 3a2ae6a8a46f: Pull complete [2022-10-28T02:15:16.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:15:17.101Z] 33b1e0a273af: Pull complete [2022-10-28T02:15:17.101Z] 5d3b04190fa2: Pull complete [2022-10-28T02:15:17.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:15:17.216Z] Configure a credential helper to remove this warning. See [2022-10-28T02:15:17.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:15:17.216Z] [2022-10-28T02:15:17.216Z] Login Succeeded [2022-10-28T02:15:17.216Z] ---> docker-login.sh ends [Pipeline] } [2022-10-28T02:15:17.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-28T02:15:17.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-28T02:15:17.397Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-28T02:15:17.404Z] ========================================================= [2022-10-28T02:15:17.404Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-28T02:15:17.404Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:15:17.739Z] + 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-28T02:15:18.322Z] Sending build context to Docker daemon 20.43MB [2022-10-28T02:15:18.322Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-28T02:15:18.322Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-28T02:15:18.322Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-28T02:15:18.322Z] 9b18e9b68314: Pulling fs layer [2022-10-28T02:15:18.322Z] d32db5db7311: Pulling fs layer [2022-10-28T02:15:18.322Z] d0c4b47475fc: Pulling fs layer [2022-10-28T02:15:18.322Z] 5831b945b038: Pulling fs layer [2022-10-28T02:15:18.322Z] 86bbec2aaacd: Pulling fs layer [2022-10-28T02:15:18.322Z] e10730c5d714: Pulling fs layer [2022-10-28T02:15:18.322Z] 5dd5c2283517: Pulling fs layer [2022-10-28T02:15:18.322Z] d5ac0230b979: Pulling fs layer [2022-10-28T02:15:18.322Z] e10730c5d714: Waiting [2022-10-28T02:15:18.322Z] 5dd5c2283517: Waiting [2022-10-28T02:15:18.322Z] 5831b945b038: Waiting [2022-10-28T02:15:18.322Z] d5ac0230b979: Waiting [2022-10-28T02:15:18.322Z] 86bbec2aaacd: Waiting [2022-10-28T02:15:18.589Z] d0c4b47475fc: Verifying Checksum [2022-10-28T02:15:18.589Z] d0c4b47475fc: Download complete [2022-10-28T02:15:18.589Z] d32db5db7311: Verifying Checksum [2022-10-28T02:15:18.589Z] d32db5db7311: Download complete [2022-10-28T02:15:18.589Z] 86bbec2aaacd: Download complete [2022-10-28T02:15:18.589Z] e10730c5d714: Verifying Checksum [2022-10-28T02:15:18.589Z] e10730c5d714: Download complete [2022-10-28T02:15:18.589Z] 9b18e9b68314: Verifying Checksum [2022-10-28T02:15:19.178Z] 9b18e9b68314: Pull complete [2022-10-28T02:15:19.766Z] d32db5db7311: Pull complete [2022-10-28T02:15:20.035Z] d0c4b47475fc: Pull complete [2022-10-28T02:15:20.035Z] d5ac0230b979: Verifying Checksum [2022-10-28T02:15:20.035Z] d5ac0230b979: Download complete [2022-10-28T02:15:21.007Z] 5dd5c2283517: Verifying Checksum [2022-10-28T02:15:21.007Z] 5dd5c2283517: Download complete [2022-10-28T02:15:21.281Z] 2f39f015ded8: Pull complete [2022-10-28T02:15:21.281Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-28T02:15:21.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-28T02:15:21.281Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:15:21.359Z] prd-ubuntu20.04-docker-8c-8g-117497 does not seem to be running inside a container [2022-10-28T02:15:21.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-28T02:15:21.594Z] 5831b945b038: Download complete [2022-10-28T02:15:26.358Z] $ docker top 87eba2677ce275d7f70325f6573665563a5dc04cc6e3645fdc3bf1bd57b87eb9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:15:26.738Z] ---> job-cost.sh [2022-10-28T02:15:26.738Z] lf-activate-venv: SKIPPING [2022-10-28T02:15:26.738Z] INFO: No Stack... [2022-10-28T02:15:26.998Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-28T02:15:27.256Z] INFO: Archiving Costs [Pipeline] sh [2022-10-28T02:15:27.546Z] + cat /w/workspace/undry_device-onvif-camera_PR-184/archives/cost.csv [2022-10-28T02:15:27.547Z] + cut -d, -f6 [Pipeline] lock [2022-10-28T02:15:27.561Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-6-stack-cost] [2022-10-28T02:15:27.568Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-6-stack-cost] did not exist. Created. [2022-10-28T02:15:27.568Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-28T02:15:27.875Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-28T02:15:27.904Z] Stashed 1 file(s) [Pipeline] } [2022-10-28T02:15:27.912Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-28T02:15:27.933Z] $ docker stop --time=1 87eba2677ce275d7f70325f6573665563a5dc04cc6e3645fdc3bf1bd57b87eb9 [2022-10-28T02:15:29.091Z] $ docker rm -f 87eba2677ce275d7f70325f6573665563a5dc04cc6e3645fdc3bf1bd57b87eb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-28T02:15:33.948Z] 5831b945b038: Pull complete [2022-10-28T02:15:33.948Z] 86bbec2aaacd: Pull complete [2022-10-28T02:15:33.948Z] e10730c5d714: Pull complete [2022-10-28T02:15:38.237Z] 5dd5c2283517: Pull complete [2022-10-28T02:15:39.661Z] d5ac0230b979: Pull complete [2022-10-28T02:15:39.661Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-28T02:15:39.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-28T02:15:39.661Z] ---> 59b3b1a385d4 [2022-10-28T02:15:39.661Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-28T02:15:41.625Z] ---> Running in c770100f8aed [2022-10-28T02:15:41.896Z] Removing intermediate container c770100f8aed [2022-10-28T02:15:41.896Z] ---> 4b52f2869872 [2022-10-28T02:15:41.896Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-28T02:15:42.164Z] ---> Running in 706d2d46a450 [2022-10-28T02:15:42.435Z] Removing intermediate container 706d2d46a450 [2022-10-28T02:15:42.435Z] ---> 30ff05ee1792 [2022-10-28T02:15:42.435Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-28T02:15:42.435Z] ---> Running in dcc8ad0c4ad6 [2022-10-28T02:15:42.704Z] Removing intermediate container dcc8ad0c4ad6 [2022-10-28T02:15:42.704Z] ---> 6ac1a8107989 [2022-10-28T02:15:42.704Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-28T02:15:42.973Z] ---> Running in 0ecf1c03224a [2022-10-28T02:15:43.243Z] Removing intermediate container 0ecf1c03224a [2022-10-28T02:15:43.243Z] ---> 42a2d910c1b3 [2022-10-28T02:15:43.243Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-28T02:15:43.243Z] ---> Running in 41688cf106eb [2022-10-28T02:15:43.524Z] Removing intermediate container 41688cf106eb [2022-10-28T02:15:43.524Z] ---> 0e7675a6ea79 [2022-10-28T02:15:43.524Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-28T02:15:43.791Z] ---> Running in 5d3266197cbd [2022-10-28T02:15:44.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-28T02:15:45.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-28T02:15:45.982Z] OK: 221 MiB in 51 packages [2022-10-28T02:15:46.945Z] Removing intermediate container 5d3266197cbd [2022-10-28T02:15:46.945Z] ---> 2e689c3b1b9c [2022-10-28T02:15:46.945Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-28T02:15:46.945Z] ---> Running in 6f848a4f966b [2022-10-28T02:15:47.214Z] Removing intermediate container 6f848a4f966b [2022-10-28T02:15:47.214Z] ---> cc717a04dda1 [2022-10-28T02:15:47.214Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-28T02:15:47.801Z] ---> 807e1320866c [2022-10-28T02:15:47.801Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-28T02:15:48.071Z] ---> Running in 01489790e467 [2022-10-28T02:16:44.523Z] Removing intermediate container 01489790e467 [2022-10-28T02:16:44.523Z] ---> ddf4a1b4a606 [2022-10-28T02:16:44.523Z] Step 12/13 : COPY . . [2022-10-28T02:16:45.945Z] ---> eab86fc3ec35 [2022-10-28T02:16:45.945Z] Step 13/13 : RUN ${MAKE} [2022-10-28T02:16:45.945Z] ---> Running in 6ff4845ec3ad [2022-10-28T02:16:47.374Z] noop [2022-10-28T02:16:47.965Z] Removing intermediate container 6ff4845ec3ad [2022-10-28T02:16:47.965Z] ---> 9f4e6a7cf2b3 [2022-10-28T02:16:47.965Z] Successfully built 9f4e6a7cf2b3 [2022-10-28T02:16:47.965Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:16:48.321Z] + docker inspect -f . ci-base-image-arm64 [2022-10-28T02:16:48.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:16:48.522Z] prd-ubuntu20.04-docker-arm64-4c-16g-117500 does not seem to be running inside a container [2022-10-28T02:16:48.594Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-28T02:16:49.904Z] $ docker top 8166ae2cfa693ae77fdd484f2f94a04c151fdc1bbc2a97bb7c76afe03221b702 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-28T02:16:50.761Z] + go version [2022-10-28T02:16:50.761Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-28T02:16:50.784Z] $ docker stop --time=1 8166ae2cfa693ae77fdd484f2f94a04c151fdc1bbc2a97bb7c76afe03221b702 [2022-10-28T02:16:52.444Z] $ docker rm -f 8166ae2cfa693ae77fdd484f2f94a04c151fdc1bbc2a97bb7c76afe03221b702 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:16:53.000Z] + docker inspect -f . ci-base-image-arm64 [2022-10-28T02:16:53.001Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:16:53.185Z] prd-ubuntu20.04-docker-arm64-4c-16g-117500 does not seem to be running inside a container [2022-10-28T02:16:53.255Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-28T02:16:54.474Z] $ docker top 35c2fe9303b2da2cf199461a792a7b7aee47930e2443bb0f758cb7e72776f99b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-28T02:16:55.328Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh [2022-10-28T02:16:55.987Z] + make test [2022-10-28T02:16:55.987Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-28T02:16:57.947Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-28T02:18:49.656Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-28T02:18:55.019Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.308s coverage: 29.3% of statements [2022-10-28T02:18:55.019Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-28T02:19:13.271Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.575s coverage: 86.5% of statements [2022-10-28T02:19:13.271Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-28T02:19:13.271Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-28T02:19:52.222Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-28T02:19:52.222Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-28T02:19:52.222Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-28T02:19:52.240Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-28T02:19:52.253Z] $ docker stop --time=1 35c2fe9303b2da2cf199461a792a7b7aee47930e2443bb0f758cb7e72776f99b [2022-10-28T02:19:54.095Z] $ docker rm -f 35c2fe9303b2da2cf199461a792a7b7aee47930e2443bb0f758cb7e72776f99b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-28T02:19:55.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-28T02:19:55.342Z] Warning: overwriting stash ‘coverage-report’ [2022-10-28T02:19:56.109Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-28T02:19:56.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-28T02:19:56.866Z] + ls -al . [2022-10-28T02:19:56.866Z] total 240 [2022-10-28T02:19:56.866Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 28 02:16 . [2022-10-28T02:19:56.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:14 .. [2022-10-28T02:19:56.866Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 02:14 .git [2022-10-28T02:19:56.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:14 .github [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 28 02:14 .gitignore [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 28 02:14 .golangci.yml [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 28 02:14 Attribution.txt [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 28 02:14 CHANGELOG.md [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 28 02:14 Dockerfile [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 02:14 GOVERNANCE.md [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 28 02:14 Jenkinsfile [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 28 02:14 LICENSE [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 28 02:14 Makefile [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 28 02:14 OWNERS.md [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 28 02:14 README.md [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 02:11 VERSION [2022-10-28T02:19:56.866Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 02:14 bin [2022-10-28T02:19:56.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:14 cmd [2022-10-28T02:19:56.866Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 28 02:19 coverage.out [2022-10-28T02:19:56.866Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 28 02:14 doc [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 28 02:14 go.mod [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 46380 Oct 28 02:14 go.sum [2022-10-28T02:19:56.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:14 internal [2022-10-28T02:19:56.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:14 snap [2022-10-28T02:19:56.866Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 28 02:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:19:57.228Z] + 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=268fffb61e42d464023f13360f4c599b9100b6f1 --label arch=arm64 --label version=0.0.0 . [2022-10-28T02:19:59.185Z] Sending build context to Docker daemon 20.51MB [2022-10-28T02:19:59.185Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-28T02:19:59.185Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-28T02:19:59.185Z] ---> 9f4e6a7cf2b3 [2022-10-28T02:19:59.185Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-28T02:19:59.185Z] ---> Running in df0e3879391c [2022-10-28T02:20:01.152Z] Removing intermediate container df0e3879391c [2022-10-28T02:20:01.152Z] ---> 34ba0deb420b [2022-10-28T02:20:01.152Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-28T02:20:01.152Z] ---> Running in 3e03839101cc [2022-10-28T02:20:01.152Z] Removing intermediate container 3e03839101cc [2022-10-28T02:20:01.152Z] ---> 2d097259eb23 [2022-10-28T02:20:01.152Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-28T02:20:01.429Z] ---> Running in d4d104c1de81 [2022-10-28T02:20:01.705Z] Removing intermediate container d4d104c1de81 [2022-10-28T02:20:01.705Z] ---> 47dba5a8cc47 [2022-10-28T02:20:01.705Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-28T02:20:01.705Z] ---> Running in a0a4289f8dbe [2022-10-28T02:20:02.313Z] Removing intermediate container a0a4289f8dbe [2022-10-28T02:20:02.313Z] ---> d1e18ccfca2b [2022-10-28T02:20:02.313Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-28T02:20:02.313Z] ---> Running in 6444414b86c9 [2022-10-28T02:20:02.587Z] Removing intermediate container 6444414b86c9 [2022-10-28T02:20:02.587Z] ---> 8c1d3b4302ab [2022-10-28T02:20:02.587Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-28T02:20:02.858Z] ---> Running in fdbe781c7391 [2022-10-28T02:20:04.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-28T02:20:04.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-28T02:20:05.712Z] OK: 221 MiB in 51 packages [2022-10-28T02:20:06.826Z] Removing intermediate container fdbe781c7391 [2022-10-28T02:20:06.826Z] ---> 35084248f9ef [2022-10-28T02:20:06.826Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-28T02:20:06.826Z] ---> Running in 7a42e1a46954 [2022-10-28T02:20:07.100Z] Removing intermediate container 7a42e1a46954 [2022-10-28T02:20:07.100Z] ---> c1e08371c8e8 [2022-10-28T02:20:07.100Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-28T02:20:07.712Z] ---> 340022fab5e0 [2022-10-28T02:20:07.712Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-28T02:20:07.712Z] ---> Running in 0d6891b347be [2022-10-28T02:20:10.373Z] Removing intermediate container 0d6891b347be [2022-10-28T02:20:10.373Z] ---> 1fe63ecd4242 [2022-10-28T02:20:10.373Z] Step 12/26 : COPY . . [2022-10-28T02:20:11.786Z] ---> 5027edfabd19 [2022-10-28T02:20:11.786Z] Step 13/26 : RUN ${MAKE} [2022-10-28T02:20:12.058Z] ---> Running in a2e3e030be50 [2022-10-28T02:20:13.025Z] 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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-28T02:23:04.795Z] Removing intermediate container a2e3e030be50 [2022-10-28T02:23:04.795Z] ---> 456053813626 [2022-10-28T02:23:04.795Z] Step 14/26 : FROM alpine:3.16 [2022-10-28T02:23:04.795Z] 3.16: Pulling from library/alpine [2022-10-28T02:23:04.795Z] 9b18e9b68314: Already exists [2022-10-28T02:23:04.795Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-28T02:23:04.795Z] Status: Downloaded newer image for alpine:3.16 [2022-10-28T02:23:04.795Z] ---> a6215f271958 [2022-10-28T02:23:04.795Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-28T02:23:04.795Z] ---> Running in cd292b226531 [2022-10-28T02:23:04.795Z] Removing intermediate container cd292b226531 [2022-10-28T02:23:04.795Z] ---> ce9d7af2f7c1 [2022-10-28T02:23:04.795Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-28T02:23:04.795Z] ---> Running in 5e13d22723ae [2022-10-28T02:23:04.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-28T02:23:04.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-28T02:23:04.795Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-28T02:23:04.795Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-28T02:23:04.795Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-28T02:23:04.795Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-28T02:23:04.795Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-28T02:23:04.795Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-28T02:23:04.795Z] Executing busybox-1.35.0-r17.trigger [2022-10-28T02:23:04.795Z] OK: 8 MiB in 20 packages [2022-10-28T02:23:04.795Z] Removing intermediate container 5e13d22723ae [2022-10-28T02:23:04.795Z] ---> 0310cf30378b [2022-10-28T02:23:04.795Z] Step 17/26 : WORKDIR / [2022-10-28T02:23:04.795Z] ---> Running in 730502ca4774 [2022-10-28T02:23:04.795Z] Removing intermediate container 730502ca4774 [2022-10-28T02:23:04.795Z] ---> 8f39df0e0d46 [2022-10-28T02:23:04.795Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-28T02:23:04.795Z] ---> 9e877311db7c [2022-10-28T02:23:04.795Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-28T02:23:04.795Z] ---> 99c159986c71 [2022-10-28T02:23:04.795Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-28T02:23:04.795Z] ---> b622a9f5bbcb [2022-10-28T02:23:04.795Z] Step 21/26 : EXPOSE 59984 [2022-10-28T02:23:04.795Z] ---> Running in 8fc478d87e8b [2022-10-28T02:23:04.795Z] Removing intermediate container 8fc478d87e8b [2022-10-28T02:23:04.795Z] ---> a177f43db15b [2022-10-28T02:23:04.795Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-28T02:23:04.795Z] ---> Running in 0e0374c6fd89 [2022-10-28T02:23:04.795Z] Removing intermediate container 0e0374c6fd89 [2022-10-28T02:23:04.795Z] ---> 9255eb06c420 [2022-10-28T02:23:04.795Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-28T02:23:04.795Z] ---> Running in 5602eef38b23 [2022-10-28T02:23:04.795Z] Removing intermediate container 5602eef38b23 [2022-10-28T02:23:04.795Z] ---> 8ab3ca5a04ae [2022-10-28T02:23:04.795Z] Step 24/26 : LABEL arch=arm64 [2022-10-28T02:23:04.795Z] ---> Running in aed9968fc799 [2022-10-28T02:23:04.795Z] Removing intermediate container aed9968fc799 [2022-10-28T02:23:04.795Z] ---> 3425a57c793f [2022-10-28T02:23:04.795Z] Step 25/26 : LABEL git_sha=268fffb61e42d464023f13360f4c599b9100b6f1 [2022-10-28T02:23:04.795Z] ---> Running in c62301360344 [2022-10-28T02:23:04.795Z] Removing intermediate container c62301360344 [2022-10-28T02:23:04.795Z] ---> 9bb9808066b0 [2022-10-28T02:23:04.795Z] Step 26/26 : LABEL version=0.0.0 [2022-10-28T02:23:04.795Z] ---> Running in f2c40ad42068 [2022-10-28T02:23:04.795Z] Removing intermediate container f2c40ad42068 [2022-10-28T02:23:04.795Z] ---> 8cd9945f5721 [2022-10-28T02:23:04.795Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-28T02:23:04.795Z] Successfully built 8cd9945f5721 [2022-10-28T02:23:04.795Z] 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-28T02:23:05.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-28T02:23:05.228Z] [2022-10-28T02:23:05.228Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:23:05.551Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-28T02:23:05.551Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-28T02:23:05.551Z] 8998bd30e6a1: Pulling fs layer [2022-10-28T02:23:05.551Z] 04944245beec: Pulling fs layer [2022-10-28T02:23:05.551Z] 699f458cf7ca: Pulling fs layer [2022-10-28T02:23:05.551Z] 765212b225bb: Pulling fs layer [2022-10-28T02:23:05.551Z] f23df028b6ca: Pulling fs layer [2022-10-28T02:23:05.551Z] d65c8cfc05b1: Pulling fs layer [2022-10-28T02:23:05.551Z] 2437ff75d9bd: Pulling fs layer [2022-10-28T02:23:05.551Z] f23df028b6ca: Waiting [2022-10-28T02:23:05.551Z] 765212b225bb: Waiting [2022-10-28T02:23:05.551Z] d65c8cfc05b1: Waiting [2022-10-28T02:23:05.551Z] 2437ff75d9bd: Waiting [2022-10-28T02:23:05.821Z] 04944245beec: Verifying Checksum [2022-10-28T02:23:05.821Z] 04944245beec: Download complete [2022-10-28T02:23:05.821Z] 765212b225bb: Verifying Checksum [2022-10-28T02:23:05.821Z] 765212b225bb: Download complete [2022-10-28T02:23:05.821Z] f23df028b6ca: Verifying Checksum [2022-10-28T02:23:05.821Z] f23df028b6ca: Download complete [2022-10-28T02:23:05.821Z] d65c8cfc05b1: Verifying Checksum [2022-10-28T02:23:05.821Z] d65c8cfc05b1: Download complete [2022-10-28T02:23:05.821Z] 699f458cf7ca: Verifying Checksum [2022-10-28T02:23:05.821Z] 699f458cf7ca: Download complete [2022-10-28T02:23:06.420Z] 8998bd30e6a1: Verifying Checksum [2022-10-28T02:23:06.420Z] 8998bd30e6a1: Download complete [2022-10-28T02:23:08.362Z] 2437ff75d9bd: Verifying Checksum [2022-10-28T02:23:08.362Z] 2437ff75d9bd: Download complete [2022-10-28T02:23:10.304Z] 8998bd30e6a1: Pull complete [2022-10-28T02:23:10.304Z] 04944245beec: Pull complete [2022-10-28T02:23:11.709Z] 699f458cf7ca: Pull complete [2022-10-28T02:23:11.709Z] 765212b225bb: Pull complete [2022-10-28T02:23:12.668Z] f23df028b6ca: Pull complete [2022-10-28T02:23:12.668Z] d65c8cfc05b1: Pull complete [2022-10-28T02:23:24.976Z] 2437ff75d9bd: Pull complete [2022-10-28T02:23:25.250Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-28T02:23:25.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-28T02:23:25.250Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:23:25.437Z] prd-ubuntu20.04-docker-arm64-4c-16g-117500 does not seem to be running inside a container [2022-10-28T02:23:25.502Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-28T02:23:28.222Z] $ docker top 7b3a7dce82e2292b3c44c965f42b5eff06740ee9198e1907d1461ec5c7c16822 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:29.032Z] ---> job-cost.sh [2022-10-28T02:23:29.032Z] lf-activate-venv: SKIPPING [2022-10-28T02:23:29.032Z] INFO: No Stack... [2022-10-28T02:23:29.299Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-28T02:23:30.255Z] INFO: Archiving Costs [Pipeline] sh [2022-10-28T02:23:30.576Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [2022-10-28T02:23:30.576Z] + cut -d, -f6 [Pipeline] lock [2022-10-28T02:23:30.649Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-6-stack-cost] [2022-10-28T02:23:30.659Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-6-stack-cost] did not exist. Created. [2022-10-28T02:23:30.659Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-28T02:23:30.996Z] /w/workspace/device-onvif-camera/6@tmp/durable-f46c71d3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-28T02:23:31.329Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-28T02:23:31.343Z] Warning: overwriting stash ‘stack-cost’ [2022-10-28T02:23:31.411Z] Stashed 1 file(s) [Pipeline] } [2022-10-28T02:23:31.417Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-28T02:23:31.442Z] $ docker stop --time=1 7b3a7dce82e2292b3c44c965f42b5eff06740ee9198e1907d1461ec5c7c16822 [2022-10-28T02:23:32.902Z] $ docker rm -f 7b3a7dce82e2292b3c44c965f42b5eff06740ee9198e1907d1461ec5c7c16822 [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-28T02:23:33.288Z] provisioning config files... [2022-10-28T02:23:33.297Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config7587218032538943085tmp [Pipeline] { [Pipeline] sh [2022-10-28T02:23:33.588Z] + set +x [2022-10-28T02:23:33.588Z] + curl -s https://codecov.io/bash [2022-10-28T02:23:33.588Z] + bash -s -- [2022-10-28T02:23:33.588Z] [2022-10-28T02:23:33.588Z] _____ _ [2022-10-28T02:23:33.588Z] / ____| | | [2022-10-28T02:23:33.588Z] | | ___ __| | ___ ___ _____ __ [2022-10-28T02:23:33.588Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-28T02:23:33.588Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-28T02:23:33.588Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-28T02:23:33.588Z] Bash-1.0.6 [2022-10-28T02:23:33.588Z] [2022-10-28T02:23:33.588Z] [2022-10-28T02:23:33.588Z] ==> git version 2.25.1 found [2022-10-28T02:23:33.588Z] ==> 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-28T02:23:33.588Z] Release-Date: 2020-01-08 [2022-10-28T02:23:33.588Z] 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-28T02:23:33.588Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-28T02:23:33.588Z] ==> Jenkins CI detected. [2022-10-28T02:23:33.588Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-184 [2022-10-28T02:23:33.588Z] project root: . [2022-10-28T02:23:33.588Z] --> token set from env [2022-10-28T02:23:33.588Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-28T02:23:33.588Z] ==> Running gcov in . (disable via -X gcov) [2022-10-28T02:23:33.588Z] ==> Python coveragepy not found [2022-10-28T02:23:33.588Z] ==> Searching for coverage reports in: [2022-10-28T02:23:33.588Z] + . [2022-10-28T02:23:33.588Z] -> Found 1 reports [2022-10-28T02:23:33.588Z] ==> Detecting git/mercurial file structure [2022-10-28T02:23:33.588Z] ==> Reading reports [2022-10-28T02:23:33.848Z] + ./coverage.out bytes=79184 [2022-10-28T02:23:33.848Z] ==> Appending adjustments [2022-10-28T02:23:33.848Z] https://docs.codecov.io/docs/fixing-reports [2022-10-28T02:23:33.848Z] + Found adjustments [2022-10-28T02:23:33.848Z] ==> Gzipping contents [2022-10-28T02:23:33.848Z] 12K /tmp/codecov.BZ24Ve.gz [2022-10-28T02:23:33.848Z] ==> Uploading reports [2022-10-28T02:23:33.848Z] url: https://codecov.io [2022-10-28T02:23:33.848Z] query: branch=PR-184&commit=27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-10-28T02:23:33.848Z] -> Pinging Codecov [2022-10-28T02:23:33.848Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-184&commit=27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-10-28T02:23:34.107Z] -> Uploading to [2022-10-28T02:23:34.107Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-28/F29A59C45E3A92E06B3E522C9905F8EF/27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5/389a134c-8510-4cac-8002-0afb9ab0b135.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221028%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221028T022334Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d630daba4e21572173512666f0395ff7e8a247bf5db47f6952240f5ab022f9a6 [2022-10-28T02:23:34.107Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-28T02:23:34.107Z] Dload Upload Total Spent Left Speed [2022-10-28T02:23:34.368Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10850 0 0 100 10850 0 48654 --:--:-- --:--:-- --:--:-- 48654 [2022-10-28T02:23:34.368Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/27d6b4c1e28073ebb2c8b4272dbcfe918000b5c5 [Pipeline] } [2022-10-28T02:23:34.376Z] 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-28T02:23:35.070Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-184/archives ] [2022-10-28T02:23:35.070Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-10-28T02:23:35.070Z] total 16 [2022-10-28T02:23:35.070Z] drwxr-xr-x 3 root root 4096 Oct 28 02:15 . [2022-10-28T02:23:35.070Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 28 02:15 .. [2022-10-28T02:23:35.070Z] drwxr-xr-x 2 root root 4096 Oct 28 02:15 cost [2022-10-28T02:23:35.070Z] -rw-r--r-- 1 root root 91 Oct 28 02:15 cost.csv [2022-10-28T02:23:35.070Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-10-28T02:23:35.070Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-10-28T02:23:35.070Z] total 16 [2022-10-28T02:23:35.070Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 28 02:15 . [2022-10-28T02:23:35.070Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 28 02:15 .. [2022-10-28T02:23:35.070Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 28 02:15 cost [2022-10-28T02:23:35.070Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 28 02:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:35.365Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:36.227Z] ---> package-listing.sh [2022-10-28T02:23:36.227Z] ++ facter osfamily [2022-10-28T02:23:36.227Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-28T02:23:36.487Z] + OS_FAMILY=debian [2022-10-28T02:23:36.487Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-184 [2022-10-28T02:23:36.487Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-28T02:23:36.487Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-28T02:23:36.487Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-28T02:23:36.487Z] + PACKAGES=/tmp/packages_start.txt [2022-10-28T02:23:36.487Z] + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' [2022-10-28T02:23:36.487Z] + PACKAGES=/tmp/packages_end.txt [2022-10-28T02:23:36.487Z] + case "${OS_FAMILY}" in [2022-10-28T02:23:36.487Z] + dpkg -l [2022-10-28T02:23:36.487Z] + grep '^ii' [2022-10-28T02:23:36.487Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-28T02:23:36.487Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-28T02:23:36.487Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-28T02:23:36.487Z] + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' [2022-10-28T02:23:36.487Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-184/archives/ [2022-10-28T02:23:36.487Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-184/archives/ [Pipeline] echo [2022-10-28T02:23:36.499Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-28T02:23:36.780Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:23:37.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-28T02:23:37.351Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:23:37.410Z] prd-ubuntu20.04-docker-8c-8g-117497 does not seem to be running inside a container [2022-10-28T02:23:37.442Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-28T02:23:37.652Z] $ docker top 2c1fba33903d95d4b254486c03c48287a782d5afe0acc45f7bff731f5fbd3991 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-28T02:23:38.005Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-28T02:23:38.293Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-28T02:23:38.582Z] + ls /var/log/sa-host [2022-10-28T02:23:38.582Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-28T02:23:38.644Z] provisioning config files... [2022-10-28T02:23:38.651Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config2547488491777423664tmp [Pipeline] { [Pipeline] echo [2022-10-28T02:23:38.663Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:38.947Z] ---> create-netrc.sh [Pipeline] } [2022-10-28T02:23:38.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:39.280Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-28T02:23:39.289Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:39.572Z] ---> sudo-logs.sh [2022-10-28T02:23:39.573Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-28T02:23:39.602Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:39.891Z] ---> job-cost.sh [2022-10-28T02:23:39.891Z] lf-activate-venv: SKIPPING [2022-10-28T02:23:39.891Z] DEBUG: total: 0.2199999988079071 [2022-10-28T02:23:39.891Z] INFO: Retrieving Stack Cost... [2022-10-28T02:23:40.457Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-28T02:23:40.716Z] INFO: Archiving Costs [Pipeline] echo [2022-10-28T02:23:40.728Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:41.009Z] ---> logs-deploy.sh [2022-10-28T02:23:41.009Z] lf-activate-venv: SKIPPING [2022-10-28T02:23:41.009Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-184/6 [2022-10-28T02:23:41.009Z] INFO: archiving workspace using pattern(s): [2022-10-28T02:23:41.945Z] Archives upload complete. [2022-10-28T02:23:41.945Z] INFO: archiving logs to Nexus