Pull request #450 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cae794abc637df5c3cb1f2768a6fca0a9ad97910+126fa1752f0ab77254c2b21d51294f7e511c946d (346dcfadce8c24de07d8610794b8d7f1a3e98da7) 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-ssh13589887593638152424.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh16462506719036570163.key > 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 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-450/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-450/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15648068847702140953.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-450/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7879167890387091617.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13299474731194937464.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-450/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-450/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7498628684457241763.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 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/v3]] ========================================================= [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.21 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/v3 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 Running on prd-ubuntu20.04-docker-8c-8g-6836 in /w/workspace/undry_device-onvif-camera_PR-450 [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-450 # 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 > 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 Merging remotes/origin/main commit 126fa1752f0ab77254c2b21d51294f7e511c946d into PR head commit cae794abc637df5c3cb1f2768a6fca0a9ad97910 Merge succeeded, producing cae794abc637df5c3cb1f2768a6fca0a9ad97910 Checking out Revision cae794abc637df5c3cb1f2768a6fca0a9ad97910 (PR-450) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/450/head:refs/remotes/origin/PR-450 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cae794abc637df5c3cb1f2768a6fca0a9ad97910 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 126fa1752f0ab77254c2b21d51294f7e511c946d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cae794abc637df5c3cb1f2768a6fca0a9ad97910 # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-31T03:18:50.177Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-31T03:18:50.418Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-31T03:18:50.551Z] ========================================================= [2024-07-31T03:18:50.551Z] EdgeX Global Pipelines Version Info [2024-07-31T03:18:50.551Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-31T03:18:54.455Z] ------------------- [2024-07-31T03:18:54.455Z] stable info: [2024-07-31T03:18:54.455Z] ------------------- [2024-07-31T03:18:54.455Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-31T03:18:54.455Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-31T03:18:54.455Z] Message: update stable to v1.0.260 [2024-07-31T03:18:54.715Z] ------------------- [2024-07-31T03:18:54.715Z] experimental info: [2024-07-31T03:18:54.715Z] ------------------- [2024-07-31T03:18:54.715Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-31T03:18:54.715Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-31T03:18:54.715Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-31T03:18:54.956Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-07-31T03:18:55.020Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-07-31T03:18:55.087Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-31T03:18:55.157Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-31T03:18:55.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-31T03:18:55.282Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-31T03:18:55.346Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-31T03:18:55.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-31T03:18:55.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-31T03:18:55.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-31T03:18:55.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-31T03:18:55.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-07-31T03:18:55.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-31T03:18:55.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-31T03:18:55.878Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-31T03:18:55.944Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-31T03:18:56.008Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-31T03:18:56.071Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-31T03:18:56.144Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-31T03:18:56.209Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-31T03:18:56.280Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-31T03:18:56.344Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-07-31T03:18:56.414Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-31T03:18:56.475Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-31T03:18:56.531Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-31T03:18:56.587Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-31T03:18:56.646Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-31T03:18:56.713Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-450 [Pipeline] echo [2024-07-31T03:18:56.779Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-450 [Pipeline] echo [2024-07-31T03:18:56.839Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-450 [Pipeline] echo [2024-07-31T03:18:56.907Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cae794abc637df5c3cb1f2768a6fca0a9ad97910 [Pipeline] echo [2024-07-31T03:18:56.976Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cae794a [Pipeline] echo [2024-07-31T03:18:57.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T03:18:57.203Z] provisioning config files... [2024-07-31T03:18:57.224Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-450@tmp/config8610079225501741848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T03:18:57.656Z] ---> ****-login.sh [2024-07-31T03:18:57.656Z] nexus3.edgexfoundry.org:10001 [2024-07-31T03:18:57.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:18:57.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:18:57.921Z] Configure a credential helper to remove this warning. See [2024-07-31T03:18:57.921Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:18:57.921Z] [2024-07-31T03:18:57.921Z] Login Succeeded [2024-07-31T03:18:57.921Z] nexus3.edgexfoundry.org:10002 [2024-07-31T03:18:58.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:18:58.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:18:58.183Z] Configure a credential helper to remove this warning. See [2024-07-31T03:18:58.183Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:18:58.183Z] [2024-07-31T03:18:58.183Z] Login Succeeded [2024-07-31T03:18:58.183Z] nexus3.edgexfoundry.org:10003 [2024-07-31T03:18:58.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:18:58.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:18:58.183Z] Configure a credential helper to remove this warning. See [2024-07-31T03:18:58.183Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:18:58.183Z] [2024-07-31T03:18:58.183Z] Login Succeeded [2024-07-31T03:18:58.183Z] nexus3.edgexfoundry.org:10004 [2024-07-31T03:18:58.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:18:58.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:18:58.449Z] Configure a credential helper to remove this warning. See [2024-07-31T03:18:58.449Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:18:58.449Z] [2024-07-31T03:18:58.449Z] Login Succeeded [2024-07-31T03:18:58.449Z] ****.io [2024-07-31T03:18:58.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:18:58.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:18:58.710Z] Configure a credential helper to remove this warning. See [2024-07-31T03:18:58.710Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:18:58.710Z] [2024-07-31T03:18:58.710Z] Login Succeeded [2024-07-31T03:18:58.710Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T03:18:58.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-31T03:19:02.118Z] + git rev-list -1 --merges cae794abc637df5c3cb1f2768a6fca0a9ad97910~1..cae794abc637df5c3cb1f2768a6fca0a9ad97910 [Pipeline] echo [2024-07-31T03:19:02.171Z] -----------> git rev-list -1 --merges cae794abc637df5c3cb1f2768a6fca0a9ad97910~1..cae794abc637df5c3cb1f2768a6fca0a9ad97910 cae794abc637df5c3cb1f2768a6fca0a9ad97910 [false] [Pipeline] sh [2024-07-31T03:19:02.513Z] + git log --format=format:%s -1 cae794abc637df5c3cb1f2768a6fca0a9ad97910 [Pipeline] echo [2024-07-31T03:19:02.562Z] ========================================================= [2024-07-31T03:19:02.562Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-31T03:19:02.562Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T03:19:03.044Z] + git log --format=format:%s -1 cae794abc637df5c3cb1f2768a6fca0a9ad97910 [Pipeline] echo [2024-07-31T03:19:03.086Z] [semverPrep] GIT_COMMIT: cae794abc637df5c3cb1f2768a6fca0a9ad97910, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-31T03:19:03.130Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-31T03:19:03.566Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T03:19:03.566Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-31T03:19:03.566Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-31T03:19:03.566Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-31T03:19:03.566Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-31T03:19:03.566Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-31T03:19:03.566Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:19:04.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T03:19:04.150Z] [2024-07-31T03:19:04.150Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:19:04.580Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T03:19:04.580Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-31T03:19:04.580Z] b85a868b505f: Pulling fs layer [2024-07-31T03:19:04.580Z] e2be974225ed: Pulling fs layer [2024-07-31T03:19:04.580Z] 339a4e72a1f5: Pulling fs layer [2024-07-31T03:19:04.580Z] 988bab9f4d93: Pulling fs layer [2024-07-31T03:19:04.580Z] 1469e6f7b9e6: Pulling fs layer [2024-07-31T03:19:04.580Z] eaf3925da568: Pulling fs layer [2024-07-31T03:19:04.580Z] bab4dde63d76: Pulling fs layer [2024-07-31T03:19:04.580Z] bde34c3a00c8: Pulling fs layer [2024-07-31T03:19:04.580Z] b352a97aabf1: Pulling fs layer [2024-07-31T03:19:04.580Z] 4872d77fe225: Pulling fs layer [2024-07-31T03:19:04.580Z] 5851b861e8e6: Pulling fs layer [2024-07-31T03:19:04.580Z] eaf3925da568: Waiting [2024-07-31T03:19:04.580Z] 1469e6f7b9e6: Waiting [2024-07-31T03:19:04.580Z] bab4dde63d76: Waiting [2024-07-31T03:19:04.580Z] b352a97aabf1: Waiting [2024-07-31T03:19:04.580Z] 5851b861e8e6: Waiting [2024-07-31T03:19:04.580Z] bde34c3a00c8: Waiting [2024-07-31T03:19:04.580Z] e2be974225ed: Download complete [2024-07-31T03:19:04.580Z] 988bab9f4d93: Verifying Checksum [2024-07-31T03:19:04.580Z] 988bab9f4d93: Download complete [2024-07-31T03:19:04.843Z] 1469e6f7b9e6: Verifying Checksum [2024-07-31T03:19:04.843Z] 1469e6f7b9e6: Download complete [2024-07-31T03:19:04.843Z] eaf3925da568: Verifying Checksum [2024-07-31T03:19:04.843Z] eaf3925da568: Download complete [2024-07-31T03:19:04.843Z] 339a4e72a1f5: Verifying Checksum [2024-07-31T03:19:04.843Z] 339a4e72a1f5: Download complete [2024-07-31T03:19:04.843Z] bde34c3a00c8: Verifying Checksum [2024-07-31T03:19:04.843Z] bde34c3a00c8: Download complete [2024-07-31T03:19:04.843Z] b352a97aabf1: Download complete [2024-07-31T03:19:04.843Z] 4872d77fe225: Verifying Checksum [2024-07-31T03:19:04.843Z] 4872d77fe225: Download complete [2024-07-31T03:19:04.843Z] 5851b861e8e6: Download complete [2024-07-31T03:19:05.111Z] b85a868b505f: Verifying Checksum [2024-07-31T03:19:05.112Z] b85a868b505f: Download complete [2024-07-31T03:19:05.379Z] bab4dde63d76: Verifying Checksum [2024-07-31T03:19:05.379Z] bab4dde63d76: Download complete [2024-07-31T03:19:06.335Z] b85a868b505f: Pull complete [2024-07-31T03:19:06.335Z] e2be974225ed: Pull complete [2024-07-31T03:19:06.599Z] 339a4e72a1f5: Pull complete [2024-07-31T03:19:06.860Z] 988bab9f4d93: Pull complete [2024-07-31T03:19:07.123Z] 1469e6f7b9e6: Pull complete [2024-07-31T03:19:07.123Z] eaf3925da568: Pull complete [2024-07-31T03:19:08.516Z] bab4dde63d76: Pull complete [2024-07-31T03:19:08.776Z] bde34c3a00c8: Pull complete [2024-07-31T03:19:08.776Z] b352a97aabf1: Pull complete [2024-07-31T03:19:08.776Z] 4872d77fe225: Pull complete [2024-07-31T03:19:09.042Z] 5851b861e8e6: Pull complete [2024-07-31T03:19:09.042Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-31T03:19:09.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T03:19:09.042Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T03:19:09.383Z] prd-ubuntu20.04-docker-8c-8g-6836 does not seem to be running inside a container [2024-07-31T03:19:09.423Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-450 -v /w/workspace/undry_device-onvif-camera_PR-450:/w/workspace/undry_device-onvif-camera_PR-450:rw,z -v /w/workspace/undry_device-onvif-camera_PR-450@tmp:/w/workspace/undry_device-onvif-camera_PR-450@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-31T03:19:13.195Z] $ docker top e59f142034e26cb338b9cb305f922915637c5e8bcc6f3cba60a9cae1c062e21a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T03:19:13.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T03:19:13.445Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T03:19:13.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T03:19:13.543Z] $ docker exec e59f142034e26cb338b9cb305f922915637c5e8bcc6f3cba60a9cae1c062e21a ssh-agent [2024-07-31T03:19:13.649Z] SSH_AUTH_SOCK=/tmp/ssh-oBUQIjWzwzXa/agent.32 [2024-07-31T03:19:13.649Z] SSH_AGENT_PID=38 [2024-07-31T03:19:13.655Z] Running ssh-add (command line suppressed) [2024-07-31T03:19:13.738Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-450@tmp/private_key_18264762664137421421.key (/w/workspace/undry_device-onvif-camera_PR-450@tmp/private_key_18264762664137421421.key) [2024-07-31T03:19:13.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T03:19:15.383Z] + git tag --points-at HEAD [Pipeline] } [2024-07-31T03:19:15.409Z] $ docker exec --env ******** --env ******** e59f142034e26cb338b9cb305f922915637c5e8bcc6f3cba60a9cae1c062e21a ssh-agent -k [2024-07-31T03:19:15.505Z] unset SSH_AUTH_SOCK; [2024-07-31T03:19:15.505Z] unset SSH_AGENT_PID; [2024-07-31T03:19:15.505Z] echo Agent pid 38 killed; [2024-07-31T03:19:15.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-31T03:19:15.649Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T03:19:15.649Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T03:19:15.757Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T03:19:15.752Z] $ docker exec e59f142034e26cb338b9cb305f922915637c5e8bcc6f3cba60a9cae1c062e21a ssh-agent [2024-07-31T03:19:15.879Z] SSH_AUTH_SOCK=/tmp/ssh-6kckEqXDjSIh/agent.71 [2024-07-31T03:19:15.879Z] SSH_AGENT_PID=77 [2024-07-31T03:19:15.884Z] Running ssh-add (command line suppressed) [2024-07-31T03:19:15.979Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-450@tmp/private_key_11376643329480940334.key (/w/workspace/undry_device-onvif-camera_PR-450@tmp/private_key_11376643329480940334.key) [2024-07-31T03:19:16.014Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T03:19:16.375Z] + git semver init [2024-07-31T03:19:16.638Z] 2024-07-31 03:19:16,561 [run_init] DEBUG init version:0.0.0 force:False [2024-07-31T03:19:16.638Z] 2024-07-31 03:19:16,562 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-450/.semver [2024-07-31T03:19:16.638Z] 2024-07-31 03:19:16,563 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-450/.semver [2024-07-31T03:19:16.638Z] 2024-07-31 03:19:16,563 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-450/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-450, universal_newlines=False, shell=None, istream=None) [2024-07-31T03:19:18.561Z] 2024-07-31 03:19:18,285 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-450/.git/info/exclude [2024-07-31T03:19:18.561Z] 2024-07-31 03:19:18,285 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-450/.semver/PR-450 with force:False [2024-07-31T03:19:18.561Z] 2024-07-31 03:19:18,285 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-450/.semver/PR-450 [2024-07-31T03:19:18.561Z] 2024-07-31 03:19:18,289 [execute] INFO git cat-file --batch-check [2024-07-31T03:19:18.561Z] 2024-07-31 03:19:18,290 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-450/.semver, universal_newlines=False, shell=None, istream=) [2024-07-31T03:19:18.561Z] 2024-07-31 03:19:18,296 [execute] INFO git cat-file --batch [2024-07-31T03:19:18.561Z] 2024-07-31 03:19:18,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-450/.semver, universal_newlines=False, shell=None, istream=) [2024-07-31T03:19:18.561Z] 2024-07-31 03:19:18,302 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-450/.semver/PR-450 [2024-07-31T03:19:18.561Z] 0.0.0 [Pipeline] } [2024-07-31T03:19:18.582Z] $ docker exec --env ******** --env ******** e59f142034e26cb338b9cb305f922915637c5e8bcc6f3cba60a9cae1c062e21a ssh-agent -k [2024-07-31T03:19:18.685Z] unset SSH_AUTH_SOCK; [2024-07-31T03:19:18.686Z] unset SSH_AGENT_PID; [2024-07-31T03:19:18.686Z] echo Agent pid 77 killed; [2024-07-31T03:19:18.706Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T03:19:19.730Z] + git semver [Pipeline] } [2024-07-31T03:19:19.763Z] $ docker stop --time=1 e59f142034e26cb338b9cb305f922915637c5e8bcc6f3cba60a9cae1c062e21a [2024-07-31T03:19:21.248Z] $ docker rm -f --volumes e59f142034e26cb338b9cb305f922915637c5e8bcc6f3cba60a9cae1c062e21a [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T03:19:21.686Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-31T03:19:22.018Z] Stashed 1 file(s) [Pipeline] echo [2024-07-31T03:19:22.046Z] [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 [2024-07-31T03:19:22.913Z] provisioning config files... [2024-07-31T03:19:22.923Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-450@tmp/config11954819710737810839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T03:19:23.728Z] ---> ****-login.sh [2024-07-31T03:19:23.728Z] nexus3.edgexfoundry.org:10001 [2024-07-31T03:19:23.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:19:23.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:19:23.989Z] Configure a credential helper to remove this warning. See [2024-07-31T03:19:23.989Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:19:23.989Z] [2024-07-31T03:19:23.989Z] Login Succeeded [2024-07-31T03:19:23.989Z] nexus3.edgexfoundry.org:10002 [2024-07-31T03:19:23.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:19:23.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:19:23.989Z] Configure a credential helper to remove this warning. See [2024-07-31T03:19:23.989Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:19:23.989Z] [2024-07-31T03:19:23.989Z] Login Succeeded [2024-07-31T03:19:23.989Z] nexus3.edgexfoundry.org:10003 [2024-07-31T03:19:23.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:19:23.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:19:23.989Z] Configure a credential helper to remove this warning. See [2024-07-31T03:19:23.989Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:19:23.989Z] [2024-07-31T03:19:23.990Z] Login Succeeded [2024-07-31T03:19:23.990Z] nexus3.edgexfoundry.org:10004 [2024-07-31T03:19:24.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:19:24.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:19:24.350Z] Configure a credential helper to remove this warning. See [2024-07-31T03:19:24.350Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:19:24.350Z] [2024-07-31T03:19:24.350Z] Login Succeeded [2024-07-31T03:19:24.350Z] ****.io [2024-07-31T03:19:24.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:19:24.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:19:24.625Z] Configure a credential helper to remove this warning. See [2024-07-31T03:19:24.625Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:19:24.625Z] [2024-07-31T03:19:24.625Z] Login Succeeded [2024-07-31T03:19:24.625Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T03:19:24.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-31T03:19:24.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T03:19:24.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T03:19:25.000Z] ========================================================= [2024-07-31T03:19:25.000Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-31T03:19:25.000Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:19:25.549Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-31T03:19:25.549Z] Sending build context to Docker daemon 36.64MB [2024-07-31T03:19:25.549Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T03:19:25.549Z] Step 2/13 : FROM ${BASE} AS builder [2024-07-31T03:19:25.811Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-31T03:19:25.811Z] 619be1103602: Pulling fs layer [2024-07-31T03:19:25.811Z] 7862e08f4a3e: Pulling fs layer [2024-07-31T03:19:25.811Z] 5df492c9dc93: Pulling fs layer [2024-07-31T03:19:25.811Z] 7629e6793208: Pulling fs layer [2024-07-31T03:19:25.811Z] 4f4fb700ef54: Pulling fs layer [2024-07-31T03:19:25.811Z] fb5054dd5b73: Pulling fs layer [2024-07-31T03:19:25.811Z] eeca6798cff9: Pulling fs layer [2024-07-31T03:19:25.811Z] aa269ceb94a6: Pulling fs layer [2024-07-31T03:19:25.811Z] ada007ff1a6a: Pulling fs layer [2024-07-31T03:19:25.811Z] fb5054dd5b73: Waiting [2024-07-31T03:19:25.811Z] 7629e6793208: Waiting [2024-07-31T03:19:25.811Z] ada007ff1a6a: Waiting [2024-07-31T03:19:25.811Z] eeca6798cff9: Waiting [2024-07-31T03:19:25.811Z] 4f4fb700ef54: Waiting [2024-07-31T03:19:25.811Z] aa269ceb94a6: Waiting [2024-07-31T03:19:25.811Z] 7862e08f4a3e: Download complete [2024-07-31T03:19:25.811Z] 7629e6793208: Verifying Checksum [2024-07-31T03:19:25.811Z] 7629e6793208: Download complete [2024-07-31T03:19:25.811Z] 4f4fb700ef54: Download complete [2024-07-31T03:19:25.811Z] fb5054dd5b73: Verifying Checksum [2024-07-31T03:19:25.811Z] fb5054dd5b73: Download complete [2024-07-31T03:19:25.811Z] eeca6798cff9: Verifying Checksum [2024-07-31T03:19:25.811Z] eeca6798cff9: Download complete [2024-07-31T03:19:26.103Z] 619be1103602: Verifying Checksum [2024-07-31T03:19:26.103Z] 619be1103602: Download complete [2024-07-31T03:19:26.372Z] 619be1103602: Pull complete [2024-07-31T03:19:26.372Z] 7862e08f4a3e: Pull complete [2024-07-31T03:19:26.631Z] ada007ff1a6a: Verifying Checksum [2024-07-31T03:19:26.631Z] ada007ff1a6a: Download complete [2024-07-31T03:19:26.631Z] 5df492c9dc93: Verifying Checksum [2024-07-31T03:19:26.631Z] 5df492c9dc93: Download complete [2024-07-31T03:19:27.571Z] aa269ceb94a6: Verifying Checksum [2024-07-31T03:19:27.571Z] aa269ceb94a6: Download complete [2024-07-31T03:19:29.670Z] 5df492c9dc93: Pull complete [2024-07-31T03:19:29.670Z] 7629e6793208: Pull complete [2024-07-31T03:19:29.670Z] 4f4fb700ef54: Pull complete [2024-07-31T03:19:29.670Z] fb5054dd5b73: Pull complete [2024-07-31T03:19:29.935Z] eeca6798cff9: Pull complete [2024-07-31T03:19:32.518Z] aa269ceb94a6: Pull complete [2024-07-31T03:19:32.778Z] ada007ff1a6a: Pull complete [2024-07-31T03:19:32.778Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-31T03:19:32.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-31T03:19:32.778Z] ---> f489d0715acc [2024-07-31T03:19:32.778Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-07-31T03:19:37.684Z] Still waiting to schedule task [2024-07-31T03:19:37.685Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6832’ [2024-07-31T03:19:39.511Z] ---> Running in d251af735a91 [2024-07-31T03:19:39.511Z] Removing intermediate container d251af735a91 [2024-07-31T03:19:39.511Z] ---> 33e0691c4eab [2024-07-31T03:19:39.511Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T03:19:39.511Z] ---> Running in fdcca762faea [2024-07-31T03:19:39.511Z] Removing intermediate container fdcca762faea [2024-07-31T03:19:39.511Z] ---> ea6e6c020898 [2024-07-31T03:19:39.511Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-07-31T03:19:39.511Z] ---> Running in 7cef42da2ced [2024-07-31T03:19:39.511Z] Removing intermediate container 7cef42da2ced [2024-07-31T03:19:39.511Z] ---> 158b036b45c2 [2024-07-31T03:19:39.511Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T03:19:39.511Z] ---> Running in f10507fbd968 [2024-07-31T03:19:39.511Z] Removing intermediate container f10507fbd968 [2024-07-31T03:19:39.511Z] ---> 3fae7c04716a [2024-07-31T03:19:39.511Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-07-31T03:19:39.511Z] ---> Running in a01d04f774c4 [2024-07-31T03:19:39.511Z] Removing intermediate container a01d04f774c4 [2024-07-31T03:19:39.511Z] ---> 244733b7b937 [2024-07-31T03:19:39.511Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T03:19:39.511Z] ---> Running in 27dff1a467e3 [2024-07-31T03:19:39.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T03:19:39.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T03:19:40.038Z] OK: 264 MiB in 52 packages [2024-07-31T03:19:40.307Z] Removing intermediate container 27dff1a467e3 [2024-07-31T03:19:40.307Z] ---> 03a6e6ee95db [2024-07-31T03:19:40.307Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-07-31T03:19:40.307Z] ---> Running in 84d46d07c90d [2024-07-31T03:19:40.307Z] Removing intermediate container 84d46d07c90d [2024-07-31T03:19:40.307Z] ---> fb5d1db42cae [2024-07-31T03:19:40.307Z] Step 10/13 : COPY go.mod vendor* ./ [2024-07-31T03:19:40.575Z] ---> b416c9b4a737 [2024-07-31T03:19:40.575Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T03:19:40.575Z] ---> Running in 10632a947c22 [2024-07-31T03:20:50.339Z] Removing intermediate container 10632a947c22 [2024-07-31T03:20:50.339Z] ---> d90255382376 [2024-07-31T03:20:50.339Z] Step 12/13 : COPY . . [2024-07-31T03:20:50.339Z] ---> b9c34aa48e8d [2024-07-31T03:20:50.339Z] Step 13/13 : RUN ${MAKE} [2024-07-31T03:20:50.339Z] ---> Running in d96b5f7093b1 [2024-07-31T03:20:50.339Z] noop [2024-07-31T03:20:50.339Z] Removing intermediate container d96b5f7093b1 [2024-07-31T03:20:50.339Z] ---> ff51c8abcafd [2024-07-31T03:20:50.339Z] Successfully built ff51c8abcafd [2024-07-31T03:20:50.339Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:20:50.850Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-31T03:20:50.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T03:20:51.032Z] prd-ubuntu20.04-docker-8c-8g-6836 does not seem to be running inside a container [2024-07-31T03:20:51.062Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-450 -v /w/workspace/undry_device-onvif-camera_PR-450:/w/workspace/undry_device-onvif-camera_PR-450:rw,z -v /w/workspace/undry_device-onvif-camera_PR-450@tmp:/w/workspace/undry_device-onvif-camera_PR-450@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-31T03:20:51.408Z] $ docker top ae5edf0e6f6eea015112f59728880212a643fe31e53b906a6e387027f895fefc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T03:20:51.837Z] + go version [2024-07-31T03:20:51.837Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-31T03:20:51.865Z] $ docker stop --time=1 ae5edf0e6f6eea015112f59728880212a643fe31e53b906a6e387027f895fefc [2024-07-31T03:20:53.156Z] $ docker rm -f --volumes ae5edf0e6f6eea015112f59728880212a643fe31e53b906a6e387027f895fefc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:20:54.004Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-31T03:20:54.004Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T03:20:54.194Z] prd-ubuntu20.04-docker-8c-8g-6836 does not seem to be running inside a container [2024-07-31T03:20:54.231Z] $ 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-450 -v /w/workspace/undry_device-onvif-camera_PR-450:/w/workspace/undry_device-onvif-camera_PR-450:rw,z -v /w/workspace/undry_device-onvif-camera_PR-450@tmp:/w/workspace/undry_device-onvif-camera_PR-450@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-31T03:20:54.592Z] $ docker top ab0730110503094c0ff50de55851a0b2204b663398f4d160e1d0bb5fda09631c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T03:20:55.182Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-450 [Pipeline] fileExists [Pipeline] sh [2024-07-31T03:20:55.580Z] + make test [2024-07-31T03:20:55.580Z] go test ./... -coverprofile=coverage.out ./... [2024-07-31T03:20:57.760Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-07-31T03:21:16.269Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-07-31T03:21:16.269Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-07-31T03:21:16.269Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.4% of statements [2024-07-31T03:21:16.530Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.259s coverage: 86.5% of statements [2024-07-31T03:21:26.362Z] go vet ./... [2024-07-31T03:21:31.676Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-31T03:21:31.676Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-31T03:21:31.676Z] ./bin/test-attribution-txt.sh [2024-07-31T03:21:31.676Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-31T03:21:31.676Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-31T03:21:31.677Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-31T03:21:31.677Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-31T03:21:31.677Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-31T03:21:31.677Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-31T03:21:31.677Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-31T03:21:31.677Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-31T03:21:31.677Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-31T03:21:31.677Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-31T03:21:31.677Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-31T03:21:31.677Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-31T03:21:31.677Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-31T03:21:31.677Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-31T03:21:31.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-31T03:21:31.770Z] $ docker stop --time=1 ab0730110503094c0ff50de55851a0b2204b663398f4d160e1d0bb5fda09631c [2024-07-31T03:21:37.267Z] $ docker rm -f --volumes ab0730110503094c0ff50de55851a0b2204b663398f4d160e1d0bb5fda09631c [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T03:21:37.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-31T03:21:38.015Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-31T03:21:38.774Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-31T03:21:39.110Z] + ls -al . [2024-07-31T03:21:39.110Z] total 312 [2024-07-31T03:21:39.110Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 03:20 . [2024-07-31T03:21:39.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:18 .. [2024-07-31T03:21:39.110Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 03:21 .git [2024-07-31T03:21:39.110Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 03:18 .github [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 493 Jul 31 03:18 .gitignore [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 31 03:18 .golangci.yml [2024-07-31T03:21:39.110Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 03:19 .semver [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 11155 Jul 31 03:18 Attribution.txt [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 17665 Jul 31 03:18 CHANGELOG.md [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 1683 Jul 31 03:18 Dockerfile [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 03:18 GOVERNANCE.md [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 739 Jul 31 03:18 Jenkinsfile [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 31 03:18 LICENSE [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 2883 Jul 31 03:18 Makefile [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 31 03:18 OWNERS.md [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jul 31 03:18 README.md [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 03:19 VERSION [2024-07-31T03:21:39.110Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 03:18 bin [2024-07-31T03:21:39.110Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 03:18 cmd [2024-07-31T03:21:39.110Z] -rw-r--r-- 1 jenkins jenkins 78805 Jul 31 03:21 coverage.out [2024-07-31T03:21:39.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:18 doc [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 7331 Jul 31 03:18 go.mod [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 102413 Jul 31 03:18 go.sum [2024-07-31T03:21:39.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:18 internal [2024-07-31T03:21:39.110Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 31 03:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:21:39.564Z] + 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=cae794abc637df5c3cb1f2768a6fca0a9ad97910 --label arch=amd64 --label version=0.0.0 . [2024-07-31T03:21:39.564Z] Sending build context to Docker daemon 36.72MB [2024-07-31T03:21:39.564Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T03:21:39.564Z] Step 2/27 : FROM ${BASE} AS builder [2024-07-31T03:21:39.564Z] ---> ff51c8abcafd [2024-07-31T03:21:39.564Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-07-31T03:21:40.512Z] ---> Running in 996193e3a8b5 [2024-07-31T03:21:40.512Z] Removing intermediate container 996193e3a8b5 [2024-07-31T03:21:40.512Z] ---> 67fa374b8e45 [2024-07-31T03:21:40.512Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T03:21:40.512Z] ---> Running in 024ac467b297 [2024-07-31T03:21:40.512Z] Removing intermediate container 024ac467b297 [2024-07-31T03:21:40.512Z] ---> 7a74be4ab169 [2024-07-31T03:21:40.512Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-07-31T03:21:40.512Z] ---> Running in d467bd33ca7d [2024-07-31T03:21:40.775Z] Removing intermediate container d467bd33ca7d [2024-07-31T03:21:40.775Z] ---> adecbe7cee5f [2024-07-31T03:21:40.775Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T03:21:40.775Z] ---> Running in 066e1f3e6e1a [2024-07-31T03:21:40.775Z] Removing intermediate container 066e1f3e6e1a [2024-07-31T03:21:40.775Z] ---> cb536813e16b [2024-07-31T03:21:40.775Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-07-31T03:21:40.775Z] ---> Running in e5f1f6018c88 [2024-07-31T03:21:40.775Z] Removing intermediate container e5f1f6018c88 [2024-07-31T03:21:40.775Z] ---> 4bd8d6c7c272 [2024-07-31T03:21:40.775Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T03:21:40.775Z] ---> Running in f0f9b8eb2f5f [2024-07-31T03:21:41.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T03:21:41.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T03:21:41.620Z] OK: 264 MiB in 52 packages [2024-07-31T03:21:41.887Z] Removing intermediate container f0f9b8eb2f5f [2024-07-31T03:21:41.887Z] ---> 89ec7f593ef1 [2024-07-31T03:21:41.887Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-07-31T03:21:41.887Z] ---> Running in 77cf8222b0a0 [2024-07-31T03:21:42.150Z] Removing intermediate container 77cf8222b0a0 [2024-07-31T03:21:42.150Z] ---> 7c075ad024da [2024-07-31T03:21:42.150Z] Step 10/27 : COPY go.mod vendor* ./ [2024-07-31T03:21:42.150Z] ---> 8ac1a5cece68 [2024-07-31T03:21:42.150Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T03:21:42.150Z] ---> Running in 839e2e4b78ac [2024-07-31T03:21:43.100Z] Removing intermediate container 839e2e4b78ac [2024-07-31T03:21:43.100Z] ---> c94c97202436 [2024-07-31T03:21:43.100Z] Step 12/27 : COPY . . [2024-07-31T03:21:44.075Z] ---> e1417fa14fff [2024-07-31T03:21:44.075Z] Step 13/27 : RUN ${MAKE} [2024-07-31T03:21:44.075Z] ---> Running in ce3b5758cb66 [2024-07-31T03:21:44.337Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-07-31T03:22:25.244Z] Removing intermediate container ce3b5758cb66 [2024-07-31T03:22:25.244Z] ---> d846e50a137d [2024-07-31T03:22:25.244Z] Step 14/27 : FROM alpine:3.18 [2024-07-31T03:22:25.244Z] 3.18: Pulling from library/alpine [2024-07-31T03:22:25.244Z] 930bdd4d222e: Pulling fs layer [2024-07-31T03:22:25.244Z] 930bdd4d222e: Verifying Checksum [2024-07-31T03:22:25.244Z] 930bdd4d222e: Download complete [2024-07-31T03:22:25.244Z] 930bdd4d222e: Pull complete [2024-07-31T03:22:25.244Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-31T03:22:25.244Z] Status: Downloaded newer image for alpine:3.18 [2024-07-31T03:22:25.244Z] ---> 18f865063206 [2024-07-31T03:22:25.244Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-07-31T03:22:25.244Z] ---> Running in b428edf7466b [2024-07-31T03:22:25.244Z] Removing intermediate container b428edf7466b [2024-07-31T03:22:25.244Z] ---> 81b0df9755d6 [2024-07-31T03:22:25.244Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-07-31T03:22:25.244Z] ---> Running in 9ff3a1e88d85 [2024-07-31T03:22:25.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T03:22:25.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T03:22:25.244Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-31T03:22:25.244Z] Executing busybox-1.36.1-r7.trigger [2024-07-31T03:22:25.244Z] OK: 7 MiB in 16 packages [2024-07-31T03:22:25.244Z] Removing intermediate container 9ff3a1e88d85 [2024-07-31T03:22:25.244Z] ---> 481d1f150e28 [2024-07-31T03:22:25.244Z] Step 17/27 : RUN apk --no-cache upgrade [2024-07-31T03:22:25.244Z] ---> Running in 3ecc2d6804cd [2024-07-31T03:22:25.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T03:22:25.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T03:22:25.504Z] OK: 7 MiB in 16 packages [2024-07-31T03:22:25.763Z] Removing intermediate container 3ecc2d6804cd [2024-07-31T03:22:25.763Z] ---> 9ea42647b3c4 [2024-07-31T03:22:25.763Z] Step 18/27 : WORKDIR / [2024-07-31T03:22:25.763Z] ---> Running in 04af7b5e5662 [2024-07-31T03:22:26.022Z] Removing intermediate container 04af7b5e5662 [2024-07-31T03:22:26.022Z] ---> 6c36d116119d [2024-07-31T03:22:26.022Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-07-31T03:22:27.527Z] ---> 95205905e4f8 [2024-07-31T03:22:27.527Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-07-31T03:22:27.527Z] ---> db62f44d810b [2024-07-31T03:22:27.527Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-07-31T03:22:27.527Z] ---> 4cea039cfeb6 [2024-07-31T03:22:27.527Z] Step 22/27 : EXPOSE 59984 [2024-07-31T03:22:27.527Z] ---> Running in e6142d8dde7b [2024-07-31T03:22:27.786Z] Removing intermediate container e6142d8dde7b [2024-07-31T03:22:27.786Z] ---> 542e5c2c79d8 [2024-07-31T03:22:27.786Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-07-31T03:22:27.786Z] ---> Running in ed8db9367e17 [2024-07-31T03:22:27.786Z] Removing intermediate container ed8db9367e17 [2024-07-31T03:22:27.786Z] ---> 716799134a9c [2024-07-31T03:22:27.786Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-31T03:22:27.786Z] ---> Running in 0c3e8e3e00d0 [2024-07-31T03:22:27.786Z] Removing intermediate container 0c3e8e3e00d0 [2024-07-31T03:22:27.786Z] ---> 53664b8d43be [2024-07-31T03:22:27.786Z] Step 25/27 : LABEL arch=amd64 [2024-07-31T03:22:28.046Z] ---> Running in c13e104e6935 [2024-07-31T03:22:28.046Z] Removing intermediate container c13e104e6935 [2024-07-31T03:22:28.046Z] ---> 0c2287831c1a [2024-07-31T03:22:28.046Z] Step 26/27 : LABEL git_sha=cae794abc637df5c3cb1f2768a6fca0a9ad97910 [2024-07-31T03:22:28.046Z] ---> Running in 9858131db9f7 [2024-07-31T03:22:28.305Z] Removing intermediate container 9858131db9f7 [2024-07-31T03:22:28.305Z] ---> c03a69410783 [2024-07-31T03:22:28.305Z] Step 27/27 : LABEL version=0.0.0 [2024-07-31T03:22:28.305Z] ---> Running in 6c2f444f0a38 [2024-07-31T03:22:28.305Z] Removing intermediate container 6c2f444f0a38 [2024-07-31T03:22:28.305Z] ---> 6d3a0702bc29 [2024-07-31T03:22:28.305Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-31T03:22:28.305Z] Successfully built 6d3a0702bc29 [2024-07-31T03:22:28.305Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:22:29.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T03:22:29.334Z] [2024-07-31T03:22:29.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:22:29.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T03:22:29.740Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-31T03:22:29.740Z] 5eb5b503b376: Pulling fs layer [2024-07-31T03:22:29.740Z] 5c69ac0246d0: Pulling fs layer [2024-07-31T03:22:29.740Z] ec43610c2a17: Pulling fs layer [2024-07-31T03:22:29.740Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-31T03:22:29.740Z] 33b1e0a273af: Pulling fs layer [2024-07-31T03:22:29.740Z] 5d3b04190fa2: Pulling fs layer [2024-07-31T03:22:29.740Z] 2f39f015ded8: Pulling fs layer [2024-07-31T03:22:29.740Z] 5d3b04190fa2: Waiting [2024-07-31T03:22:29.740Z] 3a2ae6a8a46f: Waiting [2024-07-31T03:22:29.740Z] 33b1e0a273af: Waiting [2024-07-31T03:22:29.740Z] 2f39f015ded8: Waiting [2024-07-31T03:22:29.740Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-31T03:22:29.740Z] 3a2ae6a8a46f: Download complete [2024-07-31T03:22:29.740Z] 33b1e0a273af: Verifying Checksum [2024-07-31T03:22:29.740Z] 33b1e0a273af: Download complete [2024-07-31T03:22:29.740Z] 5d3b04190fa2: Verifying Checksum [2024-07-31T03:22:29.740Z] 5d3b04190fa2: Download complete [2024-07-31T03:22:29.740Z] ec43610c2a17: Verifying Checksum [2024-07-31T03:22:29.740Z] ec43610c2a17: Download complete [2024-07-31T03:22:30.002Z] 5eb5b503b376: Verifying Checksum [2024-07-31T03:22:30.002Z] 5eb5b503b376: Download complete [2024-07-31T03:22:30.569Z] 2f39f015ded8: Verifying Checksum [2024-07-31T03:22:30.569Z] 2f39f015ded8: Download complete [2024-07-31T03:22:31.136Z] 5eb5b503b376: Pull complete [2024-07-31T03:22:31.136Z] 5c69ac0246d0: Pull complete [2024-07-31T03:22:31.703Z] ec43610c2a17: Pull complete [2024-07-31T03:22:31.703Z] 3a2ae6a8a46f: Pull complete [2024-07-31T03:22:31.963Z] 33b1e0a273af: Pull complete [2024-07-31T03:22:31.963Z] 5d3b04190fa2: Pull complete [2024-07-31T03:22:36.317Z] 2f39f015ded8: Pull complete [2024-07-31T03:22:36.317Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-31T03:22:36.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T03:22:36.317Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T03:22:36.574Z] prd-ubuntu20.04-docker-8c-8g-6836 does not seem to be running inside a container [2024-07-31T03:22:36.597Z] $ 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-450 -v /w/workspace/undry_device-onvif-camera_PR-450:/w/workspace/undry_device-onvif-camera_PR-450:rw,z -v /w/workspace/undry_device-onvif-camera_PR-450@tmp:/w/workspace/undry_device-onvif-camera_PR-450@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-31T03:22:41.496Z] $ docker top 09c6c41125e1cff459baf9eb1a7c86cc9e4ba21af24c0195d52e3cee950cef5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T03:22:42.012Z] ---> job-cost.sh [2024-07-31T03:22:42.012Z] lf-activate-venv: SKIPPING [2024-07-31T03:22:42.012Z] INFO: No Stack... [2024-07-31T03:22:42.275Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-31T03:22:42.535Z] INFO: Archiving Costs [Pipeline] sh [2024-07-31T03:22:42.866Z] + cat /w/workspace/undry_device-onvif-camera_PR-450/archives/cost.csv [2024-07-31T03:22:42.866Z] + cut -d, -f6 [Pipeline] lock [2024-07-31T03:22:42.921Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-450-1-stack-cost] [2024-07-31T03:22:42.928Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-450-1-stack-cost] did not exist. Created. [2024-07-31T03:22:42.938Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-450-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-31T03:22:43.371Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-31T03:22:43.437Z] Stashed 1 file(s) [Pipeline] } [2024-07-31T03:22:43.476Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-450-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-31T03:22:43.571Z] $ docker stop --time=1 09c6c41125e1cff459baf9eb1a7c86cc9e4ba21af24c0195d52e3cee950cef5b [2024-07-31T03:22:44.721Z] $ docker rm -f --volumes 09c6c41125e1cff459baf9eb1a7c86cc9e4ba21af24c0195d52e3cee950cef5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-31T03:23:22.689Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6840 in /w/workspace/undry_device-onvif-camera_PR-450 [Pipeline] { [Pipeline] ws [2024-07-31T03:23:22.764Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-07-31T03:23:25.876Z] The recommended git tool is: git [2024-07-31T03:23:33.414Z] using credential edgex-jenkins-ssh [2024-07-31T03:23:33.448Z] Cloning the remote Git repository [2024-07-31T03:23:33.500Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-07-31T03:23:33.610Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-07-31T03:23:33.796Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-07-31T03:23:33.797Z] > git --version # timeout=10 [2024-07-31T03:23:33.829Z] > git --version # 'git version 2.25.1' [2024-07-31T03:23:33.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-31T03:23:34.022Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-31T03:23:36.749Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-07-31T03:23:36.774Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-31T03:23:38.376Z] Merging remotes/origin/main commit 126fa1752f0ab77254c2b21d51294f7e511c946d into PR head commit cae794abc637df5c3cb1f2768a6fca0a9ad97910 [2024-07-31T03:23:38.852Z] Merge succeeded, producing cae794abc637df5c3cb1f2768a6fca0a9ad97910 [2024-07-31T03:23:38.853Z] Checking out Revision cae794abc637df5c3cb1f2768a6fca0a9ad97910 (PR-450) [2024-07-31T03:23:37.784Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-07-31T03:23:37.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-07-31T03:23:37.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-31T03:23:37.859Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/450/head:refs/remotes/origin/PR-450 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-31T03:23:38.396Z] > git config core.sparsecheckout # timeout=10 [2024-07-31T03:23:38.537Z] > git checkout -f cae794abc637df5c3cb1f2768a6fca0a9ad97910 # timeout=10 [2024-07-31T03:23:38.722Z] > git remote # timeout=10 [2024-07-31T03:23:38.740Z] > git config --get remote.origin.url # timeout=10 [2024-07-31T03:23:38.760Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-31T03:23:38.790Z] > git merge 126fa1752f0ab77254c2b21d51294f7e511c946d # timeout=10 [2024-07-31T03:23:38.822Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-31T03:23:38.860Z] > git config core.sparsecheckout # timeout=10 [2024-07-31T03:23:38.883Z] > git checkout -f cae794abc637df5c3cb1f2768a6fca0a9ad97910 # timeout=10 [2024-07-31T03:23:39.641Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-31T03:23:39.701Z] > git --version # timeout=10 [2024-07-31T03:23:39.713Z] > git --version # 'git version 2.25.1' [2024-07-31T03:23:39.728Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T03:23:44.902Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-31T03:23:44.902Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-31T03:23:44.902Z] Dload Upload Total Spent Left Speed [2024-07-31T03:23:44.902Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh [2024-07-31T03:23:45.261Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-31T03:23:45.636Z] + sudo tee /etc/docker/daemon.new [2024-07-31T03:23:45.636Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-31T03:23:45.636Z] { [2024-07-31T03:23:45.636Z] "registry-mirrors": [ [2024-07-31T03:23:45.636Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-31T03:23:45.636Z] ], [2024-07-31T03:23:45.636Z] "bip": "10.250.0.254/24", [2024-07-31T03:23:45.636Z] "hosts": [ [2024-07-31T03:23:45.636Z] "tcp://0.0.0.0:5555", [2024-07-31T03:23:45.636Z] "unix:///var/run/docker.sock" [2024-07-31T03:23:45.636Z] ], [2024-07-31T03:23:45.636Z] "mtu": 1458, [2024-07-31T03:23:45.636Z] "selinux-enabled": true, [2024-07-31T03:23:45.636Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-31T03:23:45.636Z] } [Pipeline] sh [2024-07-31T03:23:46.002Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-31T03:23:46.357Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T03:24:04.743Z] provisioning config files... [2024-07-31T03:24:04.782Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2119767564325662158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T03:24:05.304Z] ---> ****-login.sh [2024-07-31T03:24:05.304Z] nexus3.edgexfoundry.org:10001 [2024-07-31T03:24:06.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:24:06.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:24:06.065Z] Configure a credential helper to remove this warning. See [2024-07-31T03:24:06.065Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:24:06.065Z] [2024-07-31T03:24:06.065Z] Login Succeeded [2024-07-31T03:24:06.065Z] nexus3.edgexfoundry.org:10002 [2024-07-31T03:24:06.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:24:06.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:24:06.340Z] Configure a credential helper to remove this warning. See [2024-07-31T03:24:06.340Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:24:06.340Z] [2024-07-31T03:24:06.340Z] Login Succeeded [2024-07-31T03:24:06.340Z] nexus3.edgexfoundry.org:10003 [2024-07-31T03:24:06.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:24:06.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:24:06.930Z] Configure a credential helper to remove this warning. See [2024-07-31T03:24:06.930Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:24:06.930Z] [2024-07-31T03:24:06.930Z] Login Succeeded [2024-07-31T03:24:06.930Z] nexus3.edgexfoundry.org:10004 [2024-07-31T03:24:07.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:24:07.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:24:07.201Z] Configure a credential helper to remove this warning. See [2024-07-31T03:24:07.201Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:24:07.201Z] [2024-07-31T03:24:07.201Z] Login Succeeded [2024-07-31T03:24:07.201Z] ****.io [2024-07-31T03:24:07.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T03:24:07.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T03:24:07.739Z] Configure a credential helper to remove this warning. See [2024-07-31T03:24:07.739Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T03:24:07.739Z] [2024-07-31T03:24:07.739Z] Login Succeeded [2024-07-31T03:24:07.739Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T03:24:07.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-31T03:24:08.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T03:24:08.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T03:24:08.415Z] ========================================================= [2024-07-31T03:24:08.415Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-31T03:24:08.415Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:24:09.000Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-31T03:24:09.597Z] Sending build context to Docker daemon 21.73MB [2024-07-31T03:24:09.597Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T03:24:09.597Z] Step 2/13 : FROM ${BASE} AS builder [2024-07-31T03:24:09.872Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-31T03:24:09.872Z] c6b39de5b339: Pulling fs layer [2024-07-31T03:24:09.872Z] a69c41024577: Pulling fs layer [2024-07-31T03:24:09.872Z] d6de4b400683: Pulling fs layer [2024-07-31T03:24:09.872Z] 35cb2a7552d0: Pulling fs layer [2024-07-31T03:24:09.872Z] 4f4fb700ef54: Pulling fs layer [2024-07-31T03:24:09.872Z] 464afbd9ba4c: Pulling fs layer [2024-07-31T03:24:09.872Z] 00f215d4a9da: Pulling fs layer [2024-07-31T03:24:09.872Z] d496ad576159: Pulling fs layer [2024-07-31T03:24:09.872Z] 35cb2a7552d0: Waiting [2024-07-31T03:24:09.872Z] 464afbd9ba4c: Waiting [2024-07-31T03:24:09.872Z] 00f215d4a9da: Waiting [2024-07-31T03:24:09.872Z] d496ad576159: Waiting [2024-07-31T03:24:09.872Z] 4f4fb700ef54: Waiting [2024-07-31T03:24:09.872Z] a69c41024577: Verifying Checksum [2024-07-31T03:24:09.872Z] a69c41024577: Download complete [2024-07-31T03:24:09.872Z] 35cb2a7552d0: Verifying Checksum [2024-07-31T03:24:09.872Z] 35cb2a7552d0: Download complete [2024-07-31T03:24:09.872Z] 4f4fb700ef54: Verifying Checksum [2024-07-31T03:24:09.872Z] 4f4fb700ef54: Download complete [2024-07-31T03:24:10.147Z] c6b39de5b339: Verifying Checksum [2024-07-31T03:24:10.147Z] c6b39de5b339: Download complete [2024-07-31T03:24:10.147Z] 464afbd9ba4c: Verifying Checksum [2024-07-31T03:24:10.147Z] 464afbd9ba4c: Download complete [2024-07-31T03:24:10.419Z] d496ad576159: Verifying Checksum [2024-07-31T03:24:10.419Z] d496ad576159: Download complete [2024-07-31T03:24:11.011Z] c6b39de5b339: Pull complete [2024-07-31T03:24:11.614Z] a69c41024577: Pull complete [2024-07-31T03:24:11.886Z] d6de4b400683: Verifying Checksum [2024-07-31T03:24:11.886Z] d6de4b400683: Download complete [2024-07-31T03:24:13.312Z] 00f215d4a9da: Download complete [2024-07-31T03:24:25.660Z] d6de4b400683: Pull complete [2024-07-31T03:24:25.929Z] 35cb2a7552d0: Pull complete [2024-07-31T03:24:25.929Z] 4f4fb700ef54: Pull complete [2024-07-31T03:24:26.198Z] 464afbd9ba4c: Pull complete [2024-07-31T03:24:36.299Z] 00f215d4a9da: Pull complete [2024-07-31T03:24:37.717Z] d496ad576159: Pull complete [2024-07-31T03:24:37.717Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-31T03:24:37.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-31T03:24:37.717Z] ---> f246e2811388 [2024-07-31T03:24:37.717Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-07-31T03:24:38.690Z] ---> Running in d28f2973918a [2024-07-31T03:24:38.959Z] Removing intermediate container d28f2973918a [2024-07-31T03:24:38.959Z] ---> f3f93bc96cae [2024-07-31T03:24:38.959Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T03:24:38.959Z] ---> Running in f11288945e8d [2024-07-31T03:24:39.228Z] Removing intermediate container f11288945e8d [2024-07-31T03:24:39.228Z] ---> 1d65e85928d8 [2024-07-31T03:24:39.228Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-07-31T03:24:39.228Z] ---> Running in 3f9796094a81 [2024-07-31T03:24:39.497Z] Removing intermediate container 3f9796094a81 [2024-07-31T03:24:39.497Z] ---> f9021bd40897 [2024-07-31T03:24:39.497Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T03:24:39.765Z] ---> Running in 760237fe9301 [2024-07-31T03:24:40.034Z] Removing intermediate container 760237fe9301 [2024-07-31T03:24:40.034Z] ---> 82127645a04f [2024-07-31T03:24:40.034Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-07-31T03:24:40.034Z] ---> Running in e82c4affe6c8 [2024-07-31T03:24:40.304Z] Removing intermediate container e82c4affe6c8 [2024-07-31T03:24:40.304Z] ---> ab171061979e [2024-07-31T03:24:40.304Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T03:24:40.574Z] ---> Running in c9f17fb7c1c1 [2024-07-31T03:24:41.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T03:24:42.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T03:24:43.154Z] OK: 266 MiB in 52 packages [2024-07-31T03:24:44.123Z] Removing intermediate container c9f17fb7c1c1 [2024-07-31T03:24:44.123Z] ---> fbdb0d977695 [2024-07-31T03:24:44.123Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-07-31T03:24:44.123Z] ---> Running in ba57233d420f [2024-07-31T03:24:44.394Z] Removing intermediate container ba57233d420f [2024-07-31T03:24:44.394Z] ---> e3fdafdaeaf8 [2024-07-31T03:24:44.394Z] Step 10/13 : COPY go.mod vendor* ./ [2024-07-31T03:24:44.983Z] ---> e29bb1a4c66d [2024-07-31T03:24:44.983Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T03:24:45.266Z] ---> Running in baef4d7203bf [2024-07-31T03:26:36.953Z] Removing intermediate container baef4d7203bf [2024-07-31T03:26:36.953Z] ---> a9e02d188472 [2024-07-31T03:26:36.953Z] Step 12/13 : COPY . . [2024-07-31T03:26:36.953Z] ---> 70e8af0d585d [2024-07-31T03:26:36.953Z] Step 13/13 : RUN ${MAKE} [2024-07-31T03:26:36.953Z] ---> Running in 95a0eeb064fb [2024-07-31T03:26:37.924Z] noop [2024-07-31T03:26:38.506Z] Removing intermediate container 95a0eeb064fb [2024-07-31T03:26:38.506Z] ---> 9c1a85c3c2f4 [2024-07-31T03:26:38.506Z] Successfully built 9c1a85c3c2f4 [2024-07-31T03:26:38.506Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:26:39.007Z] + docker inspect -f . ci-base-image-arm64 [2024-07-31T03:26:39.007Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T03:26:39.314Z] prd-ubuntu20.04-docker-arm64-4c-16g-6840 does not seem to be running inside a container [2024-07-31T03:26:39.371Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-31T03:26:40.465Z] $ docker top 7b0b2a82f81737cbf6b9375cb0709069922a98ff0f2bca25e03436016054ab60 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T03:26:41.344Z] + go version [2024-07-31T03:26:41.344Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-31T03:26:41.374Z] $ docker stop --time=1 7b0b2a82f81737cbf6b9375cb0709069922a98ff0f2bca25e03436016054ab60 [2024-07-31T03:26:42.950Z] $ docker rm -f --volumes 7b0b2a82f81737cbf6b9375cb0709069922a98ff0f2bca25e03436016054ab60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:26:43.902Z] + docker inspect -f . ci-base-image-arm64 [2024-07-31T03:26:43.902Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T03:26:44.169Z] prd-ubuntu20.04-docker-arm64-4c-16g-6840 does not seem to be running inside a container [2024-07-31T03:26:44.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-31T03:26:45.305Z] $ docker top 86ee10406cbb94c0f1db3a39b7d73c5bccea2a6ca6530bf2f617b70a033ad243 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T03:26:45.877Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-07-31T03:26:46.283Z] + make test [2024-07-31T03:26:46.283Z] go test ./... -coverprofile=coverage.out ./... [2024-07-31T03:26:52.926Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-07-31T03:30:29.680Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-07-31T03:30:29.680Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-07-31T03:30:29.680Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.171s coverage: 31.4% of statements [2024-07-31T03:30:47.905Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.624s coverage: 86.5% of statements [2024-07-31T03:30:47.905Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-31T03:30:47.905Z] go vet ./... [2024-07-31T03:31:34.790Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-31T03:31:34.790Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-31T03:31:34.790Z] ./bin/test-attribution-txt.sh [2024-07-31T03:31:34.790Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-31T03:31:34.790Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-31T03:31:34.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-31T03:31:34.893Z] $ docker stop --time=1 86ee10406cbb94c0f1db3a39b7d73c5bccea2a6ca6530bf2f617b70a033ad243 [2024-07-31T03:31:36.864Z] $ docker rm -f --volumes 86ee10406cbb94c0f1db3a39b7d73c5bccea2a6ca6530bf2f617b70a033ad243 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T03:31:38.746Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-31T03:31:38.792Z] Warning: overwriting stash ‘coverage-report’ [2024-07-31T03:31:39.365Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T03:31:40.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-31T03:31:40.370Z] + ls -al . [2024-07-31T03:31:40.371Z] total 308 [2024-07-31T03:31:40.371Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 03:26 . [2024-07-31T03:31:40.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:23 .. [2024-07-31T03:31:40.371Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 03:23 .git [2024-07-31T03:31:40.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 03:23 .github [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 493 Jul 31 03:23 .gitignore [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 31 03:23 .golangci.yml [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 11155 Jul 31 03:23 Attribution.txt [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 17665 Jul 31 03:23 CHANGELOG.md [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 1683 Jul 31 03:23 Dockerfile [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 03:23 GOVERNANCE.md [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 739 Jul 31 03:23 Jenkinsfile [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 31 03:23 LICENSE [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 2883 Jul 31 03:23 Makefile [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 31 03:23 OWNERS.md [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jul 31 03:23 README.md [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 03:19 VERSION [2024-07-31T03:31:40.371Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 03:23 bin [2024-07-31T03:31:40.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 03:23 cmd [2024-07-31T03:31:40.371Z] -rw-r--r-- 1 jenkins jenkins 78805 Jul 31 03:30 coverage.out [2024-07-31T03:31:40.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:23 doc [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 7331 Jul 31 03:23 go.mod [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 102413 Jul 31 03:23 go.sum [2024-07-31T03:31:40.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:23 internal [2024-07-31T03:31:40.371Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 31 03:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:31:40.827Z] + 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=cae794abc637df5c3cb1f2768a6fca0a9ad97910 --label arch=arm64 --label version=0.0.0 . [2024-07-31T03:31:41.414Z] Sending build context to Docker daemon 21.81MB [2024-07-31T03:31:41.414Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T03:31:41.414Z] Step 2/27 : FROM ${BASE} AS builder [2024-07-31T03:31:41.414Z] ---> 9c1a85c3c2f4 [2024-07-31T03:31:41.414Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-07-31T03:31:41.681Z] ---> Running in eb1383e0d7d8 [2024-07-31T03:31:41.949Z] Removing intermediate container eb1383e0d7d8 [2024-07-31T03:31:41.949Z] ---> cec7e03248ed [2024-07-31T03:31:41.949Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T03:31:42.230Z] ---> Running in 4b97b6e17251 [2024-07-31T03:31:42.496Z] Removing intermediate container 4b97b6e17251 [2024-07-31T03:31:42.496Z] ---> 30bbf625011d [2024-07-31T03:31:42.496Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-07-31T03:31:42.496Z] ---> Running in 320fb63a0b28 [2024-07-31T03:31:42.762Z] Removing intermediate container 320fb63a0b28 [2024-07-31T03:31:42.762Z] ---> 6c8b0438df44 [2024-07-31T03:31:42.762Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T03:31:42.762Z] ---> Running in e3d5badc494a [2024-07-31T03:31:43.027Z] Removing intermediate container e3d5badc494a [2024-07-31T03:31:43.027Z] ---> c35e159fbf33 [2024-07-31T03:31:43.027Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-07-31T03:31:43.294Z] ---> Running in 753af0e1349b [2024-07-31T03:31:43.560Z] Removing intermediate container 753af0e1349b [2024-07-31T03:31:43.560Z] ---> 772b78ef805c [2024-07-31T03:31:43.560Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T03:31:43.560Z] ---> Running in e3123096c5ae [2024-07-31T03:31:44.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T03:31:45.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T03:31:46.061Z] OK: 266 MiB in 52 packages [2024-07-31T03:31:47.017Z] Removing intermediate container e3123096c5ae [2024-07-31T03:31:47.017Z] ---> f638d37bc57d [2024-07-31T03:31:47.017Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-07-31T03:31:47.017Z] ---> Running in 3792b6175c98 [2024-07-31T03:31:47.290Z] Removing intermediate container 3792b6175c98 [2024-07-31T03:31:47.290Z] ---> e2729d2cdfc3 [2024-07-31T03:31:47.290Z] Step 10/27 : COPY go.mod vendor* ./ [2024-07-31T03:31:47.876Z] ---> f1ab0654141a [2024-07-31T03:31:47.876Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T03:31:47.876Z] ---> Running in 542d8565f1e3 [2024-07-31T03:31:50.455Z] Removing intermediate container 542d8565f1e3 [2024-07-31T03:31:50.455Z] ---> 9b942a8f3650 [2024-07-31T03:31:50.455Z] Step 12/27 : COPY . . [2024-07-31T03:31:51.862Z] ---> a22e04536179 [2024-07-31T03:31:51.862Z] Step 13/27 : RUN ${MAKE} [2024-07-31T03:31:52.130Z] ---> Running in ecf235772425 [2024-07-31T03:31:53.100Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-07-31T03:35:44.994Z] Removing intermediate container ecf235772425 [2024-07-31T03:35:44.994Z] ---> 7430b2d0654c [2024-07-31T03:35:44.994Z] Step 14/27 : FROM alpine:3.18 [2024-07-31T03:35:44.994Z] 3.18: Pulling from library/alpine [2024-07-31T03:35:44.994Z] 4983c3fe2029: Pulling fs layer [2024-07-31T03:35:44.994Z] 4983c3fe2029: Verifying Checksum [2024-07-31T03:35:44.994Z] 4983c3fe2029: Download complete [2024-07-31T03:35:44.994Z] 4983c3fe2029: Pull complete [2024-07-31T03:35:44.994Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-31T03:35:44.994Z] Status: Downloaded newer image for alpine:3.18 [2024-07-31T03:35:44.994Z] ---> a0237000ae83 [2024-07-31T03:35:44.994Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-07-31T03:35:44.994Z] ---> Running in fd47cbafc363 [2024-07-31T03:35:44.994Z] Removing intermediate container fd47cbafc363 [2024-07-31T03:35:44.994Z] ---> f7dc76869307 [2024-07-31T03:35:44.994Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-07-31T03:35:44.994Z] ---> Running in a590e010edff [2024-07-31T03:35:44.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T03:35:44.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T03:35:44.994Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-31T03:35:44.994Z] Executing busybox-1.36.1-r7.trigger [2024-07-31T03:35:44.994Z] OK: 8 MiB in 16 packages [2024-07-31T03:35:44.994Z] Removing intermediate container a590e010edff [2024-07-31T03:35:44.994Z] ---> e01a62b4de35 [2024-07-31T03:35:44.994Z] Step 17/27 : RUN apk --no-cache upgrade [2024-07-31T03:35:44.994Z] ---> Running in fb4fe16ccbac [2024-07-31T03:35:44.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T03:35:44.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T03:35:44.994Z] OK: 8 MiB in 16 packages [2024-07-31T03:35:44.994Z] Removing intermediate container fb4fe16ccbac [2024-07-31T03:35:44.994Z] ---> 55882f28d713 [2024-07-31T03:35:44.994Z] Step 18/27 : WORKDIR / [2024-07-31T03:35:44.994Z] ---> Running in 3670b288d046 [2024-07-31T03:35:44.994Z] Removing intermediate container 3670b288d046 [2024-07-31T03:35:44.994Z] ---> f55ee00ee71e [2024-07-31T03:35:44.994Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-07-31T03:35:44.994Z] ---> 919a7436b8a5 [2024-07-31T03:35:44.994Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-07-31T03:35:44.994Z] ---> 6fa46c7702a1 [2024-07-31T03:35:44.994Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-07-31T03:35:44.994Z] ---> d48487740c00 [2024-07-31T03:35:44.994Z] Step 22/27 : EXPOSE 59984 [2024-07-31T03:35:44.994Z] ---> Running in 8c078e93e18c [2024-07-31T03:35:44.994Z] Removing intermediate container 8c078e93e18c [2024-07-31T03:35:44.994Z] ---> da85927b925e [2024-07-31T03:35:44.994Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-07-31T03:35:44.994Z] ---> Running in 5e33edae11f4 [2024-07-31T03:35:44.994Z] Removing intermediate container 5e33edae11f4 [2024-07-31T03:35:44.994Z] ---> 0861fcfe4cea [2024-07-31T03:35:44.994Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-31T03:35:44.994Z] ---> Running in 57595632039a [2024-07-31T03:35:44.994Z] Removing intermediate container 57595632039a [2024-07-31T03:35:44.994Z] ---> 4e8b33d553ea [2024-07-31T03:35:44.994Z] Step 25/27 : LABEL arch=arm64 [2024-07-31T03:35:44.994Z] ---> Running in 41195cb5ddff [2024-07-31T03:35:44.994Z] Removing intermediate container 41195cb5ddff [2024-07-31T03:35:44.994Z] ---> 4472cbf965dd [2024-07-31T03:35:44.994Z] Step 26/27 : LABEL git_sha=cae794abc637df5c3cb1f2768a6fca0a9ad97910 [2024-07-31T03:35:45.261Z] ---> Running in 61362e3a62c2 [2024-07-31T03:35:45.528Z] Removing intermediate container 61362e3a62c2 [2024-07-31T03:35:45.528Z] ---> b76a5b7e0093 [2024-07-31T03:35:45.528Z] Step 27/27 : LABEL version=0.0.0 [2024-07-31T03:35:45.528Z] ---> Running in 7c1b674617bd [2024-07-31T03:35:45.793Z] Removing intermediate container 7c1b674617bd [2024-07-31T03:35:45.793Z] ---> 5375cbb8a4cf [2024-07-31T03:35:45.793Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-31T03:35:45.793Z] Successfully built 5375cbb8a4cf [2024-07-31T03:35:45.793Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:35:46.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T03:35:46.844Z] [2024-07-31T03:35:46.844Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:35:47.286Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T03:35:47.286Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-31T03:35:47.286Z] 8998bd30e6a1: Pulling fs layer [2024-07-31T03:35:47.286Z] 04944245beec: Pulling fs layer [2024-07-31T03:35:47.286Z] 699f458cf7ca: Pulling fs layer [2024-07-31T03:35:47.286Z] 765212b225bb: Pulling fs layer [2024-07-31T03:35:47.286Z] f23df028b6ca: Pulling fs layer [2024-07-31T03:35:47.286Z] d65c8cfc05b1: Pulling fs layer [2024-07-31T03:35:47.286Z] 2437ff75d9bd: Pulling fs layer [2024-07-31T03:35:47.286Z] 765212b225bb: Waiting [2024-07-31T03:35:47.286Z] f23df028b6ca: Waiting [2024-07-31T03:35:47.286Z] d65c8cfc05b1: Waiting [2024-07-31T03:35:47.286Z] 2437ff75d9bd: Waiting [2024-07-31T03:35:47.557Z] 04944245beec: Verifying Checksum [2024-07-31T03:35:47.557Z] 04944245beec: Download complete [2024-07-31T03:35:47.557Z] 765212b225bb: Verifying Checksum [2024-07-31T03:35:47.557Z] 765212b225bb: Download complete [2024-07-31T03:35:47.557Z] f23df028b6ca: Verifying Checksum [2024-07-31T03:35:47.557Z] f23df028b6ca: Download complete [2024-07-31T03:35:47.557Z] d65c8cfc05b1: Verifying Checksum [2024-07-31T03:35:47.557Z] d65c8cfc05b1: Download complete [2024-07-31T03:35:47.827Z] 699f458cf7ca: Verifying Checksum [2024-07-31T03:35:47.827Z] 699f458cf7ca: Download complete [2024-07-31T03:35:48.095Z] 8998bd30e6a1: Verifying Checksum [2024-07-31T03:35:48.095Z] 8998bd30e6a1: Download complete [2024-07-31T03:35:50.679Z] 2437ff75d9bd: Verifying Checksum [2024-07-31T03:35:50.679Z] 2437ff75d9bd: Download complete [2024-07-31T03:35:53.288Z] 8998bd30e6a1: Pull complete [2024-07-31T03:35:53.555Z] 04944245beec: Pull complete [2024-07-31T03:35:54.961Z] 699f458cf7ca: Pull complete [2024-07-31T03:35:55.228Z] 765212b225bb: Pull complete [2024-07-31T03:35:56.205Z] f23df028b6ca: Pull complete [2024-07-31T03:35:56.472Z] d65c8cfc05b1: Pull complete [2024-07-31T03:36:14.670Z] 2437ff75d9bd: Pull complete [2024-07-31T03:36:14.670Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-31T03:36:14.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T03:36:14.670Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T03:36:15.060Z] prd-ubuntu20.04-docker-arm64-4c-16g-6840 does not seem to be running inside a container [2024-07-31T03:36:15.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-31T03:36:17.927Z] $ docker top ff5002e66848c7b268db1260fcf0019d24c7d76391bb738e0a37008c6c479bb9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T03:36:18.848Z] ---> job-cost.sh [2024-07-31T03:36:18.848Z] lf-activate-venv: SKIPPING [2024-07-31T03:36:18.848Z] INFO: No Stack... [2024-07-31T03:36:19.116Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-31T03:36:20.075Z] INFO: Archiving Costs [Pipeline] sh [2024-07-31T03:36:30.665Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-07-31T03:36:30.665Z] + cut -d, -f6 [Pipeline] lock [2024-07-31T03:36:30.746Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-450-1-stack-cost] [2024-07-31T03:36:30.753Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-450-1-stack-cost] did not exist. Created. [2024-07-31T03:36:30.759Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-450-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-31T03:36:31.521Z] /w/workspace/device-onvif-camera/1@tmp/durable-e2a8d5bb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-31T03:36:32.202Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-31T03:36:32.252Z] Warning: overwriting stash ‘stack-cost’ [2024-07-31T03:36:32.317Z] Stashed 1 file(s) [Pipeline] } [2024-07-31T03:36:32.338Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-450-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-31T03:36:32.430Z] $ docker stop --time=1 ff5002e66848c7b268db1260fcf0019d24c7d76391bb738e0a37008c6c479bb9 [2024-07-31T03:36:34.007Z] $ docker rm -f --volumes ff5002e66848c7b268db1260fcf0019d24c7d76391bb738e0a37008c6c479bb9 [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 [2024-07-31T03:36:35.328Z] provisioning config files... [2024-07-31T03:36:35.338Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-450@tmp/config14287880689574839129tmp [Pipeline] { [Pipeline] sh [2024-07-31T03:36:35.696Z] + set +x [2024-07-31T03:36:35.696Z] + curl -s https://codecov.io/bash [2024-07-31T03:36:35.696Z] + bash -s -- [2024-07-31T03:36:35.696Z] [2024-07-31T03:36:35.696Z] _____ _ [2024-07-31T03:36:35.696Z] / ____| | | [2024-07-31T03:36:35.696Z] | | ___ __| | ___ ___ _____ __ [2024-07-31T03:36:35.696Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-31T03:36:35.696Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-31T03:36:35.696Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-31T03:36:35.696Z] Bash-1.0.6 [2024-07-31T03:36:35.696Z] [2024-07-31T03:36:35.696Z] [2024-07-31T03:36:35.696Z] ==> git version 2.25.1 found [2024-07-31T03:36:35.696Z] ==> 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 [2024-07-31T03:36:35.696Z] Release-Date: 2020-01-08 [2024-07-31T03:36:35.696Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-31T03:36:35.696Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-31T03:36:35.696Z] ==> Jenkins CI detected. [2024-07-31T03:36:35.696Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-450 [2024-07-31T03:36:35.696Z] project root: . [2024-07-31T03:36:35.696Z] --> token set from env [2024-07-31T03:36:35.696Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-31T03:36:35.696Z] ==> Running gcov in . (disable via -X gcov) [2024-07-31T03:36:35.696Z] ==> Python coveragepy not found [2024-07-31T03:36:35.696Z] ==> Searching for coverage reports in: [2024-07-31T03:36:35.696Z] + . [2024-07-31T03:36:35.956Z] -> Found 1 reports [2024-07-31T03:36:35.956Z] ==> Detecting git/mercurial file structure [2024-07-31T03:36:35.956Z] ==> Reading reports [2024-07-31T03:36:35.956Z] + ./coverage.out bytes=78805 [2024-07-31T03:36:35.956Z] ==> Appending adjustments [2024-07-31T03:36:35.956Z] https://docs.codecov.io/docs/fixing-reports [2024-07-31T03:36:35.956Z] + Found adjustments [2024-07-31T03:36:35.956Z] ==> Gzipping contents [2024-07-31T03:36:35.956Z] 12K /tmp/codecov.nWopgQ.gz [2024-07-31T03:36:35.956Z] ==> Uploading reports [2024-07-31T03:36:35.956Z] url: https://codecov.io [2024-07-31T03:36:35.956Z] query: branch=PR-450&commit=cae794abc637df5c3cb1f2768a6fca0a9ad97910&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-450%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=450&job=&cmd_args= [2024-07-31T03:36:35.956Z] -> Pinging Codecov [2024-07-31T03:36:35.956Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-450&commit=cae794abc637df5c3cb1f2768a6fca0a9ad97910&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-450%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=450&job=&cmd_args= [2024-07-31T03:36:36.216Z] -> Uploading to [2024-07-31T03:36:36.216Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-31/F29A59C45E3A92E06B3E522C9905F8EF/cae794abc637df5c3cb1f2768a6fca0a9ad97910/02cb035a-123d-411d-94ed-6981b6e84bbb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240731%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240731T033636Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=790767c18ecd9097e8135da31bb19e076ee61730a12200c3f35b5c606da0b241 [2024-07-31T03:36:36.216Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-31T03:36:36.216Z] Dload Upload Total Spent Left Speed [2024-07-31T03:36:36.476Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 39694 --:--:-- --:--:-- --:--:-- 39846 [2024-07-31T03:36:36.476Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/cae794abc637df5c3cb1f2768a6fca0a9ad97910 [Pipeline] } [2024-07-31T03:36:36.506Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-31T03:36:38.979Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-450/archives ] [2024-07-31T03:36:38.979Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-450/archives [2024-07-31T03:36:38.979Z] total 16 [2024-07-31T03:36:38.979Z] drwxr-xr-x 3 root root 4096 Jul 31 03:22 . [2024-07-31T03:36:38.979Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 03:22 .. [2024-07-31T03:36:38.979Z] drwxr-xr-x 2 root root 4096 Jul 31 03:22 cost [2024-07-31T03:36:38.979Z] -rw-r--r-- 1 root root 92 Jul 31 03:22 cost.csv [2024-07-31T03:36:38.979Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-450/archives [2024-07-31T03:36:38.979Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-450/archives [2024-07-31T03:36:38.979Z] total 16 [2024-07-31T03:36:38.979Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 03:22 . [2024-07-31T03:36:38.979Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 03:22 .. [2024-07-31T03:36:38.979Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 03:22 cost [2024-07-31T03:36:38.979Z] -rw-r--r-- 1 jenkins jenkins 92 Jul 31 03:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-31T03:36:39.332Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T03:36:40.246Z] ---> package-listing.sh [2024-07-31T03:36:40.246Z] ++ facter osfamily [2024-07-31T03:36:40.246Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-31T03:36:40.507Z] + OS_FAMILY=debian [2024-07-31T03:36:40.507Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-450 [2024-07-31T03:36:40.507Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-31T03:36:40.507Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-31T03:36:40.507Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-31T03:36:40.507Z] + PACKAGES=/tmp/packages_start.txt [2024-07-31T03:36:40.507Z] + '[' /w/workspace/undry_device-onvif-camera_PR-450 ']' [2024-07-31T03:36:40.507Z] + PACKAGES=/tmp/packages_end.txt [2024-07-31T03:36:40.507Z] + case "${OS_FAMILY}" in [2024-07-31T03:36:40.507Z] + dpkg -l [2024-07-31T03:36:40.507Z] + grep '^ii' [2024-07-31T03:36:40.507Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-31T03:36:40.507Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-31T03:36:40.507Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-31T03:36:40.507Z] + '[' /w/workspace/undry_device-onvif-camera_PR-450 ']' [2024-07-31T03:36:40.507Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-450/archives/ [2024-07-31T03:36:40.507Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-450/archives/ [Pipeline] echo [2024-07-31T03:36:40.553Z] 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-450/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-31T03:36:40.854Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T03:36:41.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T03:36:41.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T03:36:41.699Z] prd-ubuntu20.04-docker-8c-8g-6836 does not seem to be running inside a container [2024-07-31T03:36:41.722Z] $ 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-450/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-450 -v /w/workspace/undry_device-onvif-camera_PR-450:/w/workspace/undry_device-onvif-camera_PR-450:rw,z -v /w/workspace/undry_device-onvif-camera_PR-450@tmp:/w/workspace/undry_device-onvif-camera_PR-450@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-31T03:36:41.920Z] $ docker top f18a5c1b26604a5b305772d3ca7ac9b014cc03992645d19a5478da52cdb63219 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T03:36:42.338Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-31T03:36:42.660Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-31T03:36:42.978Z] + ls /var/log/sa-host [2024-07-31T03:36:42.978Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T03:36:43.246Z] provisioning config files... [2024-07-31T03:36:43.256Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-450@tmp/config11180350977181863088tmp [Pipeline] { [Pipeline] echo [2024-07-31T03:36:43.331Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T03:36:43.661Z] ---> create-netrc.sh [Pipeline] } [2024-07-31T03:36:43.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-31T03:36:44.183Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-31T03:36:44.225Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T03:36:44.558Z] ---> sudo-logs.sh [2024-07-31T03:36:44.559Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-31T03:36:44.674Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T03:36:45.010Z] ---> job-cost.sh [2024-07-31T03:36:45.010Z] lf-activate-venv: SKIPPING [2024-07-31T03:36:45.010Z] DEBUG: total: 0.2199999988079071 [2024-07-31T03:36:45.010Z] INFO: Retrieving Stack Cost... [2024-07-31T03:36:45.579Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-31T03:36:45.839Z] INFO: Archiving Costs [Pipeline] echo [2024-07-31T03:36:45.889Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T03:36:46.224Z] ---> logs-deploy.sh [2024-07-31T03:36:46.224Z] lf-activate-venv: SKIPPING [2024-07-31T03:36:46.224Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-450/1 [2024-07-31T03:36:46.224Z] INFO: archiving workspace using pattern(s): [2024-07-31T03:36:47.162Z] Archives upload complete. [2024-07-31T03:36:47.162Z] INFO: archiving logs to Nexus