Pull request #454 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b0f377cce459a867640f9594ca6af4a253f0e79+8926137e1ee1dca90be7e6fe7248a1fca1e6078a (381751c514d7ef12e03cecd16c6cf5c1d0a40427) 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-ssh4592717891549513682.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh195432372890318002.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 f3350a1713306dce7682ed7e37d5774890d03277 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-454/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-454/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3607566281227810641.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-454/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18229892630974322071.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh12115123279173628416.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-454/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-454/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1668093207296173161.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 f3350a1713306dce7682ed7e37d5774890d03277 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-8874 in /w/workspace/undry_device-onvif-camera_PR-454 [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-454 # 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 > 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/454/head:refs/remotes/origin/PR-454 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8926137e1ee1dca90be7e6fe7248a1fca1e6078a into PR head commit 9b0f377cce459a867640f9594ca6af4a253f0e79 Merge succeeded, producing 9b0f377cce459a867640f9594ca6af4a253f0e79 Checking out Revision 9b0f377cce459a867640f9594ca6af4a253f0e79 (PR-454) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b0f377cce459a867640f9594ca6af4a253f0e79 # 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 8926137e1ee1dca90be7e6fe7248a1fca1e6078a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b0f377cce459a867640f9594ca6af4a253f0e79 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-28T04:01:55.138Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-28T04:01:55.350Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-28T04:01:55.494Z] ========================================================= [2024-08-28T04:01:55.494Z] EdgeX Global Pipelines Version Info [2024-08-28T04:01:55.494Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:01:56.254Z] ------------------- [2024-08-28T04:01:56.254Z] stable info: [2024-08-28T04:01:56.254Z] ------------------- [2024-08-28T04:01:56.254Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-28T04:01:56.254Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-28T04:01:56.254Z] Message: update stable to v1.0.263 [2024-08-28T04:01:56.826Z] ------------------- [2024-08-28T04:01:56.826Z] experimental info: [2024-08-28T04:01:56.826Z] ------------------- [2024-08-28T04:01:56.826Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-28T04:01:56.826Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-28T04:01:56.826Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-28T04:01:57.048Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-08-28T04:01:57.106Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-08-28T04:01:57.164Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-28T04:01:57.227Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-28T04:01:57.284Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-28T04:01:57.336Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-28T04:01:57.402Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-28T04:01:57.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-28T04:01:57.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-28T04:01:57.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-28T04:01:57.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-28T04:01:57.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-08-28T04:01:57.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-28T04:01:57.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-28T04:01:57.890Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-28T04:01:57.945Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-28T04:01:58.005Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-28T04:01:58.061Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-28T04:01:58.116Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-28T04:01:58.181Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-28T04:01:58.245Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-28T04:01:58.307Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-08-28T04:01:58.372Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-28T04:01:58.476Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-28T04:01:58.536Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-28T04:01:58.596Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-28T04:01:58.656Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-28T04:01:58.722Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-454 [Pipeline] echo [2024-08-28T04:01:58.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-454 [Pipeline] echo [2024-08-28T04:01:58.840Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-454 [Pipeline] echo [2024-08-28T04:01:58.901Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b0f377cce459a867640f9594ca6af4a253f0e79 [Pipeline] echo [2024-08-28T04:01:58.958Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b0f377 [Pipeline] echo [2024-08-28T04:01:59.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T04:01:59.327Z] provisioning config files... [2024-08-28T04:01:59.341Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-454@tmp/config1841161731855266860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:01:59.752Z] ---> ****-login.sh [2024-08-28T04:01:59.752Z] nexus3.edgexfoundry.org:10001 [2024-08-28T04:02:00.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:00.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:00.275Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:00.275Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:00.275Z] [2024-08-28T04:02:00.275Z] Login Succeeded [2024-08-28T04:02:00.275Z] nexus3.edgexfoundry.org:10002 [2024-08-28T04:02:00.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:00.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:00.275Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:00.276Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:00.276Z] [2024-08-28T04:02:00.276Z] Login Succeeded [2024-08-28T04:02:00.276Z] nexus3.edgexfoundry.org:10003 [2024-08-28T04:02:00.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:00.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:00.535Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:00.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:00.535Z] [2024-08-28T04:02:00.535Z] Login Succeeded [2024-08-28T04:02:00.535Z] nexus3.edgexfoundry.org:10004 [2024-08-28T04:02:00.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:00.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:00.535Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:00.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:00.535Z] [2024-08-28T04:02:00.535Z] Login Succeeded [2024-08-28T04:02:00.535Z] ****.io [2024-08-28T04:02:00.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:00.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:00.795Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:00.795Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:00.795Z] [2024-08-28T04:02:00.795Z] Login Succeeded [2024-08-28T04:02:00.795Z] ---> ****-login.sh ends [Pipeline] } [2024-08-28T04:02:00.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-28T04:02:01.537Z] + git rev-list -1 --merges 9b0f377cce459a867640f9594ca6af4a253f0e79~1..9b0f377cce459a867640f9594ca6af4a253f0e79 [Pipeline] echo [2024-08-28T04:02:01.573Z] -----------> git rev-list -1 --merges 9b0f377cce459a867640f9594ca6af4a253f0e79~1..9b0f377cce459a867640f9594ca6af4a253f0e79 9b0f377cce459a867640f9594ca6af4a253f0e79 [false] [Pipeline] sh [2024-08-28T04:02:01.895Z] + git log --format=format:%s -1 9b0f377cce459a867640f9594ca6af4a253f0e79 [Pipeline] echo [2024-08-28T04:02:01.937Z] ========================================================= [2024-08-28T04:02:01.937Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-28T04:02:01.937Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-28T04:02:02.397Z] + git log --format=format:%s -1 9b0f377cce459a867640f9594ca6af4a253f0e79 [Pipeline] echo [2024-08-28T04:02:02.437Z] [semverPrep] GIT_COMMIT: 9b0f377cce459a867640f9594ca6af4a253f0e79, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-08-28T04:02:02.480Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-28T04:02:02.904Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-28T04:02:02.904Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-28T04:02:02.904Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-28T04:02:02.904Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-28T04:02:02.904Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2024-08-28T04:02:02.904Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-28T04:02:02.904Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:02:03.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-28T04:02:03.428Z] [2024-08-28T04:02:03.428Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:02:03.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-28T04:02:03.821Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-28T04:02:03.821Z] b85a868b505f: Pulling fs layer [2024-08-28T04:02:03.821Z] e2be974225ed: Pulling fs layer [2024-08-28T04:02:03.821Z] 339a4e72a1f5: Pulling fs layer [2024-08-28T04:02:03.821Z] 988bab9f4d93: Pulling fs layer [2024-08-28T04:02:03.821Z] 1469e6f7b9e6: Pulling fs layer [2024-08-28T04:02:03.821Z] eaf3925da568: Pulling fs layer [2024-08-28T04:02:03.821Z] bab4dde63d76: Pulling fs layer [2024-08-28T04:02:03.821Z] bde34c3a00c8: Pulling fs layer [2024-08-28T04:02:03.821Z] b352a97aabf1: Pulling fs layer [2024-08-28T04:02:03.821Z] 4872d77fe225: Pulling fs layer [2024-08-28T04:02:03.821Z] 5851b861e8e6: Pulling fs layer [2024-08-28T04:02:03.821Z] eaf3925da568: Waiting [2024-08-28T04:02:03.821Z] bab4dde63d76: Waiting [2024-08-28T04:02:03.821Z] 988bab9f4d93: Waiting [2024-08-28T04:02:03.821Z] bde34c3a00c8: Waiting [2024-08-28T04:02:03.821Z] 1469e6f7b9e6: Waiting [2024-08-28T04:02:03.821Z] b352a97aabf1: Waiting [2024-08-28T04:02:03.821Z] 5851b861e8e6: Waiting [2024-08-28T04:02:03.821Z] 4872d77fe225: Waiting [2024-08-28T04:02:03.821Z] e2be974225ed: Verifying Checksum [2024-08-28T04:02:03.821Z] 988bab9f4d93: Verifying Checksum [2024-08-28T04:02:03.821Z] 988bab9f4d93: Download complete [2024-08-28T04:02:03.821Z] 1469e6f7b9e6: Verifying Checksum [2024-08-28T04:02:03.821Z] 1469e6f7b9e6: Download complete [2024-08-28T04:02:03.821Z] eaf3925da568: Verifying Checksum [2024-08-28T04:02:03.821Z] eaf3925da568: Download complete [2024-08-28T04:02:03.821Z] 339a4e72a1f5: Verifying Checksum [2024-08-28T04:02:03.821Z] 339a4e72a1f5: Download complete [2024-08-28T04:02:03.821Z] bde34c3a00c8: Verifying Checksum [2024-08-28T04:02:03.821Z] bde34c3a00c8: Download complete [2024-08-28T04:02:04.079Z] b352a97aabf1: Verifying Checksum [2024-08-28T04:02:04.079Z] b352a97aabf1: Download complete [2024-08-28T04:02:04.079Z] 4872d77fe225: Verifying Checksum [2024-08-28T04:02:04.079Z] 4872d77fe225: Download complete [2024-08-28T04:02:04.079Z] 5851b861e8e6: Verifying Checksum [2024-08-28T04:02:04.079Z] 5851b861e8e6: Download complete [2024-08-28T04:02:04.079Z] b85a868b505f: Verifying Checksum [2024-08-28T04:02:04.079Z] b85a868b505f: Download complete [2024-08-28T04:02:04.337Z] bab4dde63d76: Verifying Checksum [2024-08-28T04:02:04.337Z] bab4dde63d76: Download complete [2024-08-28T04:02:05.273Z] b85a868b505f: Pull complete [2024-08-28T04:02:05.536Z] e2be974225ed: Pull complete [2024-08-28T04:02:05.798Z] 339a4e72a1f5: Pull complete [2024-08-28T04:02:05.798Z] 988bab9f4d93: Pull complete [2024-08-28T04:02:06.057Z] 1469e6f7b9e6: Pull complete [2024-08-28T04:02:06.317Z] eaf3925da568: Pull complete [2024-08-28T04:02:07.699Z] bab4dde63d76: Pull complete [2024-08-28T04:02:07.958Z] bde34c3a00c8: Pull complete [2024-08-28T04:02:07.958Z] b352a97aabf1: Pull complete [2024-08-28T04:02:07.958Z] 4872d77fe225: Pull complete [2024-08-28T04:02:08.216Z] 5851b861e8e6: Pull complete [2024-08-28T04:02:08.216Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-28T04:02:08.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-28T04:02:08.216Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:02:08.477Z] prd-ubuntu20.04-docker-8c-8g-8874 does not seem to be running inside a container [2024-08-28T04:02:08.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-454 -v /w/workspace/undry_device-onvif-camera_PR-454:/w/workspace/undry_device-onvif-camera_PR-454:rw,z -v /w/workspace/undry_device-onvif-camera_PR-454@tmp:/w/workspace/undry_device-onvif-camera_PR-454@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-08-28T04:02:11.573Z] $ docker top 97f5205eb41b8ff5b938027d5f5b056ab3ab38b140a0a5c0a8b8e059a0564d2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-28T04:02:11.823Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-28T04:02:11.823Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-28T04:02:11.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-28T04:02:11.938Z] $ docker exec 97f5205eb41b8ff5b938027d5f5b056ab3ab38b140a0a5c0a8b8e059a0564d2c ssh-agent [2024-08-28T04:02:12.043Z] SSH_AUTH_SOCK=/tmp/ssh-WUfJTxWkW9al/agent.33 [2024-08-28T04:02:12.043Z] SSH_AGENT_PID=39 [2024-08-28T04:02:12.049Z] Running ssh-add (command line suppressed) [2024-08-28T04:02:12.147Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-454@tmp/private_key_15286191601717498713.key (/w/workspace/undry_device-onvif-camera_PR-454@tmp/private_key_15286191601717498713.key) [2024-08-28T04:02:12.161Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-28T04:02:12.513Z] + git tag --points-at HEAD [Pipeline] } [2024-08-28T04:02:12.545Z] $ docker exec --env ******** --env ******** 97f5205eb41b8ff5b938027d5f5b056ab3ab38b140a0a5c0a8b8e059a0564d2c ssh-agent -k [2024-08-28T04:02:12.651Z] unset SSH_AUTH_SOCK; [2024-08-28T04:02:12.651Z] unset SSH_AGENT_PID; [2024-08-28T04:02:12.652Z] echo Agent pid 39 killed; [2024-08-28T04:02:12.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-28T04:02:12.776Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-28T04:02:12.776Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-28T04:02:12.901Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-28T04:02:12.903Z] $ docker exec 97f5205eb41b8ff5b938027d5f5b056ab3ab38b140a0a5c0a8b8e059a0564d2c ssh-agent [2024-08-28T04:02:13.015Z] SSH_AUTH_SOCK=/tmp/ssh-WjbWJOi47ZJm/agent.72 [2024-08-28T04:02:13.015Z] SSH_AGENT_PID=78 [2024-08-28T04:02:13.020Z] Running ssh-add (command line suppressed) [2024-08-28T04:02:13.111Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-454@tmp/private_key_7651091909632437502.key (/w/workspace/undry_device-onvif-camera_PR-454@tmp/private_key_7651091909632437502.key) [2024-08-28T04:02:13.126Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-28T04:02:13.477Z] + git semver init [2024-08-28T04:02:13.736Z] 2024-08-28 04:02:13,648 [run_init] DEBUG init version:0.0.0 force:False [2024-08-28T04:02:13.736Z] 2024-08-28 04:02:13,649 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-454/.semver [2024-08-28T04:02:13.736Z] 2024-08-28 04:02:13,649 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-454/.semver [2024-08-28T04:02:13.736Z] 2024-08-28 04:02:13,649 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-454/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-454, universal_newlines=False, shell=None, istream=None) [2024-08-28T04:02:15.644Z] 2024-08-28 04:02:15,169 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-454/.git/info/exclude [2024-08-28T04:02:15.644Z] 2024-08-28 04:02:15,169 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-454/.semver/PR-454 with force:False [2024-08-28T04:02:15.644Z] 2024-08-28 04:02:15,169 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-454/.semver/PR-454 [2024-08-28T04:02:15.644Z] 2024-08-28 04:02:15,174 [execute] INFO git cat-file --batch-check [2024-08-28T04:02:15.644Z] 2024-08-28 04:02:15,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-454/.semver, universal_newlines=False, shell=None, istream=) [2024-08-28T04:02:15.644Z] 2024-08-28 04:02:15,181 [execute] INFO git cat-file --batch [2024-08-28T04:02:15.644Z] 2024-08-28 04:02:15,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-454/.semver, universal_newlines=False, shell=None, istream=) [2024-08-28T04:02:15.644Z] 2024-08-28 04:02:15,186 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-454/.semver/PR-454 [2024-08-28T04:02:15.644Z] 0.0.0 [Pipeline] } [2024-08-28T04:02:15.672Z] $ docker exec --env ******** --env ******** 97f5205eb41b8ff5b938027d5f5b056ab3ab38b140a0a5c0a8b8e059a0564d2c ssh-agent -k [2024-08-28T04:02:15.767Z] unset SSH_AUTH_SOCK; [2024-08-28T04:02:15.768Z] unset SSH_AGENT_PID; [2024-08-28T04:02:15.768Z] echo Agent pid 78 killed; [2024-08-28T04:02:15.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-28T04:02:16.231Z] + git semver [Pipeline] } [2024-08-28T04:02:16.519Z] $ docker stop --time=1 97f5205eb41b8ff5b938027d5f5b056ab3ab38b140a0a5c0a8b8e059a0564d2c [2024-08-28T04:02:17.809Z] $ docker rm -f --volumes 97f5205eb41b8ff5b938027d5f5b056ab3ab38b140a0a5c0a8b8e059a0564d2c [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-28T04:02:18.239Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-28T04:02:18.532Z] Stashed 1 file(s) [Pipeline] echo [2024-08-28T04:02:18.555Z] [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-08-28T04:02:19.443Z] provisioning config files... [2024-08-28T04:02:19.451Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-454@tmp/config2042857108454448314tmp [Pipeline] { [2024-08-28T04:02:19.515Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8883 in /w/workspace/undry_device-onvif-camera_PR-454 [Pipeline] libraryResource [Pipeline] sh [Pipeline] { [Pipeline] ws [2024-08-28T04:02:19.680Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-08-28T04:02:19.771Z] The recommended git tool is: git [2024-08-28T04:02:19.832Z] ---> ****-login.sh [2024-08-28T04:02:19.832Z] nexus3.edgexfoundry.org:10001 [2024-08-28T04:02:19.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:19.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:19.832Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:19.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:19.832Z] [2024-08-28T04:02:19.832Z] Login Succeeded [2024-08-28T04:02:19.832Z] nexus3.edgexfoundry.org:10002 [2024-08-28T04:02:19.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:19.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:19.832Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:19.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:19.832Z] [2024-08-28T04:02:19.832Z] Login Succeeded [2024-08-28T04:02:19.832Z] nexus3.edgexfoundry.org:10003 [2024-08-28T04:02:20.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:20.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:20.095Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:20.095Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:20.095Z] [2024-08-28T04:02:20.095Z] Login Succeeded [2024-08-28T04:02:20.095Z] nexus3.edgexfoundry.org:10004 [2024-08-28T04:02:20.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:20.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:20.095Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:20.095Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:20.095Z] [2024-08-28T04:02:20.095Z] Login Succeeded [2024-08-28T04:02:20.095Z] ****.io [2024-08-28T04:02:20.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:20.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:20.613Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:20.613Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:20.613Z] [2024-08-28T04:02:20.613Z] Login Succeeded [2024-08-28T04:02:20.613Z] ---> ****-login.sh ends [Pipeline] } [2024-08-28T04:02:20.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-28T04:02:20.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T04:02:20.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T04:02:20.984Z] ========================================================= [2024-08-28T04:02:20.984Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-28T04:02:20.984Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:02:21.468Z] + 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-08-28T04:02:21.469Z] Sending build context to Docker daemon 36.65MB [2024-08-28T04:02:21.469Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T04:02:21.469Z] Step 2/13 : FROM ${BASE} AS builder [2024-08-28T04:02:21.726Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-28T04:02:21.726Z] 619be1103602: Pulling fs layer [2024-08-28T04:02:21.726Z] 7862e08f4a3e: Pulling fs layer [2024-08-28T04:02:21.726Z] 5df492c9dc93: Pulling fs layer [2024-08-28T04:02:21.726Z] 7629e6793208: Pulling fs layer [2024-08-28T04:02:21.726Z] 4f4fb700ef54: Pulling fs layer [2024-08-28T04:02:21.726Z] fb5054dd5b73: Pulling fs layer [2024-08-28T04:02:21.726Z] eeca6798cff9: Pulling fs layer [2024-08-28T04:02:21.726Z] aa269ceb94a6: Pulling fs layer [2024-08-28T04:02:21.726Z] ada007ff1a6a: Pulling fs layer [2024-08-28T04:02:21.726Z] 4f4fb700ef54: Waiting [2024-08-28T04:02:21.726Z] eeca6798cff9: Waiting [2024-08-28T04:02:21.726Z] fb5054dd5b73: Waiting [2024-08-28T04:02:21.726Z] aa269ceb94a6: Waiting [2024-08-28T04:02:21.726Z] ada007ff1a6a: Waiting [2024-08-28T04:02:21.726Z] 7629e6793208: Waiting [2024-08-28T04:02:21.726Z] 7862e08f4a3e: Download complete [2024-08-28T04:02:21.726Z] 7629e6793208: Download complete [2024-08-28T04:02:21.726Z] 4f4fb700ef54: Verifying Checksum [2024-08-28T04:02:21.726Z] 4f4fb700ef54: Download complete [2024-08-28T04:02:21.726Z] 619be1103602: Verifying Checksum [2024-08-28T04:02:21.726Z] 619be1103602: Download complete [2024-08-28T04:02:21.726Z] fb5054dd5b73: Verifying Checksum [2024-08-28T04:02:21.726Z] fb5054dd5b73: Download complete [2024-08-28T04:02:21.726Z] eeca6798cff9: Verifying Checksum [2024-08-28T04:02:21.985Z] 619be1103602: Pull complete [2024-08-28T04:02:21.985Z] ada007ff1a6a: Verifying Checksum [2024-08-28T04:02:21.985Z] ada007ff1a6a: Download complete [2024-08-28T04:02:21.985Z] 7862e08f4a3e: Pull complete [2024-08-28T04:02:22.243Z] 5df492c9dc93: Verifying Checksum [2024-08-28T04:02:22.243Z] 5df492c9dc93: Download complete [2024-08-28T04:02:22.501Z] aa269ceb94a6: Verifying Checksum [2024-08-28T04:02:22.501Z] aa269ceb94a6: Download complete [2024-08-28T04:02:23.951Z] using credential edgex-jenkins-ssh [2024-08-28T04:02:23.973Z] Cloning the remote Git repository [2024-08-28T04:02:24.016Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-08-28T04:02:24.074Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-08-28T04:02:24.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-08-28T04:02:24.198Z] > git --version # timeout=10 [2024-08-28T04:02:24.225Z] > git --version # 'git version 2.25.1' [2024-08-28T04:02:24.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-28T04:02:24.347Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-28T04:02:25.790Z] 5df492c9dc93: Pull complete [2024-08-28T04:02:25.790Z] 7629e6793208: Pull complete [2024-08-28T04:02:25.790Z] 4f4fb700ef54: Pull complete [2024-08-28T04:02:25.790Z] fb5054dd5b73: Pull complete [2024-08-28T04:02:25.790Z] eeca6798cff9: Pull complete [2024-08-28T04:02:26.900Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-08-28T04:02:26.925Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-28T04:02:28.324Z] aa269ceb94a6: Pull complete [2024-08-28T04:02:27.950Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-08-28T04:02:27.994Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-08-28T04:02:27.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-28T04:02:28.018Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/454/head:refs/remotes/origin/PR-454 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-28T04:02:28.569Z] Merging remotes/origin/main commit 8926137e1ee1dca90be7e6fe7248a1fca1e6078a into PR head commit 9b0f377cce459a867640f9594ca6af4a253f0e79 [2024-08-28T04:02:28.584Z] ada007ff1a6a: Pull complete [2024-08-28T04:02:28.584Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-28T04:02:28.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-28T04:02:28.584Z] ---> f489d0715acc [2024-08-28T04:02:28.584Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-08-28T04:02:28.941Z] Merge succeeded, producing 9b0f377cce459a867640f9594ca6af4a253f0e79 [2024-08-28T04:02:28.942Z] Checking out Revision 9b0f377cce459a867640f9594ca6af4a253f0e79 (PR-454) [2024-08-28T04:02:29.623Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-08-28T04:02:29.687Z] > git --version # timeout=10 [2024-08-28T04:02:29.699Z] > git --version # 'git version 2.25.1' [2024-08-28T04:02:29.709Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-28T04:02:28.588Z] > git config core.sparsecheckout # timeout=10 [2024-08-28T04:02:28.655Z] > git checkout -f 9b0f377cce459a867640f9594ca6af4a253f0e79 # timeout=10 [2024-08-28T04:02:28.836Z] > git remote # timeout=10 [2024-08-28T04:02:28.853Z] > git config --get remote.origin.url # timeout=10 [2024-08-28T04:02:28.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-28T04:02:28.899Z] > git merge 8926137e1ee1dca90be7e6fe7248a1fca1e6078a # timeout=10 [2024-08-28T04:02:28.925Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-28T04:02:28.947Z] > git config core.sparsecheckout # timeout=10 [2024-08-28T04:02:28.959Z] > git checkout -f 9b0f377cce459a867640f9594ca6af4a253f0e79 # timeout=10 [2024-08-28T04:02:33.864Z] ---> Running in a54b2c855411 [2024-08-28T04:02:33.864Z] Removing intermediate container a54b2c855411 [2024-08-28T04:02:33.864Z] ---> 3b55875f103d [2024-08-28T04:02:33.864Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-28T04:02:33.864Z] ---> Running in 24d50f73693d [2024-08-28T04:02:33.864Z] Removing intermediate container 24d50f73693d [2024-08-28T04:02:33.864Z] ---> 0ada8cefef52 [2024-08-28T04:02:33.864Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-08-28T04:02:33.864Z] ---> Running in 9057e9d3fb8e [2024-08-28T04:02:33.864Z] Removing intermediate container 9057e9d3fb8e [2024-08-28T04:02:33.864Z] ---> cabdabcaea20 [2024-08-28T04:02:33.864Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-08-28T04:02:33.864Z] ---> Running in f698e4c0b916 [2024-08-28T04:02:33.864Z] Removing intermediate container f698e4c0b916 [2024-08-28T04:02:33.864Z] ---> f5aac282f832 [2024-08-28T04:02:33.864Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-08-28T04:02:33.864Z] ---> Running in 9a5ff7ac0638 [2024-08-28T04:02:33.864Z] Removing intermediate container 9a5ff7ac0638 [2024-08-28T04:02:33.864Z] ---> 11f68947db46 [2024-08-28T04:02:33.864Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-28T04:02:33.864Z] ---> Running in f69eff53480d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [2024-08-28T04:02:34.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh [2024-08-28T04:02:34.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T04:02:34.641Z] OK: 264 MiB in 52 packages [2024-08-28T04:02:34.695Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-28T04:02:34.695Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-28T04:02:34.695Z] Dload Upload Total Spent Left Speed [2024-08-28T04:02:34.695Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2024-08-28T04:02:34.900Z] Removing intermediate container f69eff53480d [2024-08-28T04:02:34.900Z] ---> 80711e5dd6bb [2024-08-28T04:02:34.900Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-08-28T04:02:34.900Z] ---> Running in 86930179884a [2024-08-28T04:02:34.900Z] Removing intermediate container 86930179884a [2024-08-28T04:02:34.900Z] ---> 620e7f8cc111 [2024-08-28T04:02:34.900Z] Step 10/13 : COPY go.mod vendor* ./ [2024-08-28T04:02:35.053Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-28T04:02:35.160Z] ---> 4742c2167587 [2024-08-28T04:02:35.161Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T04:02:35.161Z] ---> Running in 84c552f72b1b [2024-08-28T04:02:35.394Z] + sudo tee /etc/docker/daemon.new+ [2024-08-28T04:02:35.394Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-28T04:02:35.394Z] { [2024-08-28T04:02:35.394Z] "registry-mirrors": [ [2024-08-28T04:02:35.394Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-28T04:02:35.394Z] ], [2024-08-28T04:02:35.394Z] "bip": "10.250.0.254/24", [2024-08-28T04:02:35.394Z] "hosts": [ [2024-08-28T04:02:35.394Z] "tcp://0.0.0.0:5555", [2024-08-28T04:02:35.394Z] "unix:///var/run/docker.sock" [2024-08-28T04:02:35.394Z] ], [2024-08-28T04:02:35.394Z] "mtu": 1458, [2024-08-28T04:02:35.394Z] "selinux-enabled": true, [2024-08-28T04:02:35.394Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-28T04:02:35.394Z] } [Pipeline] sh [2024-08-28T04:02:35.741Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-28T04:02:36.105Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T04:02:54.483Z] provisioning config files... [2024-08-28T04:02:54.506Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config12247715330740187008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:02:54.993Z] ---> ****-login.sh [2024-08-28T04:02:54.993Z] nexus3.edgexfoundry.org:10001 [2024-08-28T04:02:55.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:55.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:55.533Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:55.533Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:55.533Z] [2024-08-28T04:02:55.533Z] Login Succeeded [2024-08-28T04:02:55.533Z] nexus3.edgexfoundry.org:10002 [2024-08-28T04:02:55.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:56.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:56.066Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:56.066Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:56.066Z] [2024-08-28T04:02:56.066Z] Login Succeeded [2024-08-28T04:02:56.066Z] nexus3.edgexfoundry.org:10003 [2024-08-28T04:02:56.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:56.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:56.336Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:56.336Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:56.336Z] [2024-08-28T04:02:56.336Z] Login Succeeded [2024-08-28T04:02:56.336Z] nexus3.edgexfoundry.org:10004 [2024-08-28T04:02:56.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:56.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:56.606Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:56.606Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:56.606Z] [2024-08-28T04:02:56.606Z] Login Succeeded [2024-08-28T04:02:56.606Z] ****.io [2024-08-28T04:02:56.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:02:57.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:02:57.141Z] Configure a credential helper to remove this warning. See [2024-08-28T04:02:57.141Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:02:57.141Z] [2024-08-28T04:02:57.141Z] Login Succeeded [2024-08-28T04:02:57.141Z] ---> ****-login.sh ends [Pipeline] } [2024-08-28T04:02:57.177Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-28T04:02:57.564Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T04:02:57.610Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T04:02:57.656Z] ========================================================= [2024-08-28T04:02:57.656Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-28T04:02:57.656Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:02:58.207Z] + 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-08-28T04:02:58.794Z] Sending build context to Docker daemon 21.73MB [2024-08-28T04:02:58.794Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T04:02:58.794Z] Step 2/13 : FROM ${BASE} AS builder [2024-08-28T04:02:59.066Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-28T04:02:59.066Z] c6b39de5b339: Pulling fs layer [2024-08-28T04:02:59.066Z] a69c41024577: Pulling fs layer [2024-08-28T04:02:59.066Z] d6de4b400683: Pulling fs layer [2024-08-28T04:02:59.066Z] 35cb2a7552d0: Pulling fs layer [2024-08-28T04:02:59.066Z] 4f4fb700ef54: Pulling fs layer [2024-08-28T04:02:59.066Z] 464afbd9ba4c: Pulling fs layer [2024-08-28T04:02:59.066Z] 00f215d4a9da: Pulling fs layer [2024-08-28T04:02:59.066Z] d496ad576159: Pulling fs layer [2024-08-28T04:02:59.066Z] 35cb2a7552d0: Waiting [2024-08-28T04:02:59.066Z] 4f4fb700ef54: Waiting [2024-08-28T04:02:59.066Z] 464afbd9ba4c: Waiting [2024-08-28T04:02:59.066Z] 00f215d4a9da: Waiting [2024-08-28T04:02:59.066Z] d496ad576159: Waiting [2024-08-28T04:02:59.066Z] a69c41024577: Verifying Checksum [2024-08-28T04:02:59.066Z] a69c41024577: Download complete [2024-08-28T04:02:59.066Z] 35cb2a7552d0: Verifying Checksum [2024-08-28T04:02:59.066Z] 35cb2a7552d0: Download complete [2024-08-28T04:02:59.066Z] 4f4fb700ef54: Verifying Checksum [2024-08-28T04:02:59.066Z] 4f4fb700ef54: Download complete [2024-08-28T04:02:59.066Z] 464afbd9ba4c: Verifying Checksum [2024-08-28T04:02:59.066Z] 464afbd9ba4c: Download complete [2024-08-28T04:02:59.066Z] c6b39de5b339: Download complete [2024-08-28T04:02:59.334Z] d496ad576159: Verifying Checksum [2024-08-28T04:02:59.334Z] d496ad576159: Download complete [2024-08-28T04:02:59.922Z] c6b39de5b339: Pull complete [2024-08-28T04:03:00.506Z] a69c41024577: Pull complete [2024-08-28T04:03:00.774Z] d6de4b400683: Verifying Checksum [2024-08-28T04:03:00.774Z] d6de4b400683: Download complete [2024-08-28T04:03:01.735Z] 00f215d4a9da: Verifying Checksum [2024-08-28T04:03:01.735Z] 00f215d4a9da: Download complete [2024-08-28T04:03:14.036Z] d6de4b400683: Pull complete [2024-08-28T04:03:14.036Z] 35cb2a7552d0: Pull complete [2024-08-28T04:03:14.036Z] 4f4fb700ef54: Pull complete [2024-08-28T04:03:14.036Z] 464afbd9ba4c: Pull complete [2024-08-28T04:03:22.244Z] 00f215d4a9da: Pull complete [2024-08-28T04:03:24.187Z] d496ad576159: Pull complete [2024-08-28T04:03:24.187Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-28T04:03:24.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-28T04:03:24.187Z] ---> f246e2811388 [2024-08-28T04:03:24.187Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-08-28T04:03:26.125Z] ---> Running in d26f010de219 [2024-08-28T04:03:26.125Z] Removing intermediate container d26f010de219 [2024-08-28T04:03:26.125Z] ---> 6dd121f486d9 [2024-08-28T04:03:26.125Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-28T04:03:26.125Z] ---> Running in 74aa63ec94a6 [2024-08-28T04:03:26.394Z] Removing intermediate container 74aa63ec94a6 [2024-08-28T04:03:26.394Z] ---> 9140fe60dc98 [2024-08-28T04:03:26.394Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-08-28T04:03:26.662Z] ---> Running in e7ffc16cb9df [2024-08-28T04:03:26.929Z] Removing intermediate container e7ffc16cb9df [2024-08-28T04:03:26.929Z] ---> 5cee326b9046 [2024-08-28T04:03:26.929Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-08-28T04:03:26.929Z] ---> Running in d2c181c5b3a9 [2024-08-28T04:03:27.199Z] Removing intermediate container d2c181c5b3a9 [2024-08-28T04:03:27.199Z] ---> ad4931dfb9ee [2024-08-28T04:03:27.199Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-08-28T04:03:27.199Z] ---> Running in a46492367f14 [2024-08-28T04:03:27.467Z] Removing intermediate container a46492367f14 [2024-08-28T04:03:27.467Z] ---> 074e30d7ea04 [2024-08-28T04:03:27.467Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-28T04:03:27.467Z] ---> Running in 8f570ddf5b0a [2024-08-28T04:03:28.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T04:03:29.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T04:03:30.106Z] OK: 266 MiB in 52 packages [2024-08-28T04:03:31.068Z] Removing intermediate container 8f570ddf5b0a [2024-08-28T04:03:31.068Z] ---> d89e33aaca82 [2024-08-28T04:03:31.068Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-08-28T04:03:31.068Z] ---> Running in dd0d74a1e46b [2024-08-28T04:03:31.068Z] Removing intermediate container dd0d74a1e46b [2024-08-28T04:03:31.068Z] ---> 0129cf7943c7 [2024-08-28T04:03:31.068Z] Step 10/13 : COPY go.mod vendor* ./ [2024-08-28T04:03:31.655Z] ---> f39eb69e61c5 [2024-08-28T04:03:31.655Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T04:03:31.655Z] ---> Running in 8a79ecd68596 [2024-08-28T04:03:42.881Z] Removing intermediate container 84c552f72b1b [2024-08-28T04:03:42.881Z] ---> b786d610bc46 [2024-08-28T04:03:42.881Z] Step 12/13 : COPY . . [2024-08-28T04:03:42.881Z] ---> 23f6edccb7bf [2024-08-28T04:03:42.881Z] Step 13/13 : RUN ${MAKE} [2024-08-28T04:03:42.881Z] ---> Running in b5be53f5fe57 [2024-08-28T04:03:42.881Z] noop [2024-08-28T04:03:42.881Z] Removing intermediate container b5be53f5fe57 [2024-08-28T04:03:42.881Z] ---> d26533aff474 [2024-08-28T04:03:42.881Z] Successfully built d26533aff474 [2024-08-28T04:03:42.881Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:03:43.385Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-28T04:03:43.385Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:03:43.564Z] prd-ubuntu20.04-docker-8c-8g-8874 does not seem to be running inside a container [2024-08-28T04:03:43.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-454 -v /w/workspace/undry_device-onvif-camera_PR-454:/w/workspace/undry_device-onvif-camera_PR-454:rw,z -v /w/workspace/undry_device-onvif-camera_PR-454@tmp:/w/workspace/undry_device-onvif-camera_PR-454@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-08-28T04:03:44.021Z] $ docker top 390d49915196b280389e4b5c549ea4c9aecf961aff814ae128ba558d093f7324 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T04:03:44.446Z] + go version [2024-08-28T04:03:44.446Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-28T04:03:44.483Z] $ docker stop --time=1 390d49915196b280389e4b5c549ea4c9aecf961aff814ae128ba558d093f7324 [2024-08-28T04:03:45.749Z] $ docker rm -f --volumes 390d49915196b280389e4b5c549ea4c9aecf961aff814ae128ba558d093f7324 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:03:46.640Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-28T04:03:46.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:03:46.821Z] prd-ubuntu20.04-docker-8c-8g-8874 does not seem to be running inside a container [2024-08-28T04:03:46.854Z] $ 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-454 -v /w/workspace/undry_device-onvif-camera_PR-454:/w/workspace/undry_device-onvif-camera_PR-454:rw,z -v /w/workspace/undry_device-onvif-camera_PR-454@tmp:/w/workspace/undry_device-onvif-camera_PR-454@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-08-28T04:03:47.200Z] $ docker top e2889d3164e1198a853eaeb1a8ba392c725f8412e7783f57ba951e008d4c906c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T04:03:47.620Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-454 [Pipeline] fileExists [Pipeline] sh [2024-08-28T04:03:48.003Z] + make test [2024-08-28T04:03:48.003Z] go test ./... -coverprofile=coverage.out ./... [2024-08-28T04:03:49.936Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-08-28T04:04:08.013Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-08-28T04:04:08.013Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-08-28T04:04:08.579Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.028s coverage: 31.4% of statements [2024-08-28T04:04:08.579Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.069s coverage: 86.5% of statements [2024-08-28T04:04:18.543Z] go vet ./... [2024-08-28T04:04:23.807Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-28T04:04:23.807Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-28T04:04:23.807Z] ./bin/test-attribution-txt.sh [2024-08-28T04:04:23.807Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-28T04:04:23.807Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-28T04:04:23.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-28T04:04:23.900Z] $ docker stop --time=1 e2889d3164e1198a853eaeb1a8ba392c725f8412e7783f57ba951e008d4c906c [2024-08-28T04:04:27.586Z] $ docker rm -f --volumes e2889d3164e1198a853eaeb1a8ba392c725f8412e7783f57ba951e008d4c906c [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-28T04:04:28.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-28T04:04:28.311Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-28T04:04:29.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-28T04:04:29.361Z] + ls -al . [2024-08-28T04:04:29.361Z] total 312 [2024-08-28T04:04:29.361Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 28 04:03 . [2024-08-28T04:04:29.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:01 .. [2024-08-28T04:04:29.361Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 04:04 .git [2024-08-28T04:04:29.361Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:01 .github [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 493 Aug 28 04:01 .gitignore [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 28 04:01 .golangci.yml [2024-08-28T04:04:29.361Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 04:02 .semver [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 11155 Aug 28 04:01 Attribution.txt [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 17665 Aug 28 04:01 CHANGELOG.md [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 1683 Aug 28 04:01 Dockerfile [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 04:01 GOVERNANCE.md [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 739 Aug 28 04:01 Jenkinsfile [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 28 04:01 LICENSE [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 2883 Aug 28 04:01 Makefile [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 28 04:01 OWNERS.md [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 2620 Aug 28 04:01 README.md [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 04:02 VERSION [2024-08-28T04:04:29.361Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 04:01 bin [2024-08-28T04:04:29.361Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:01 cmd [2024-08-28T04:04:29.361Z] -rw-r--r-- 1 jenkins jenkins 78805 Aug 28 04:04 coverage.out [2024-08-28T04:04:29.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:01 doc [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 7331 Aug 28 04:01 go.mod [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 102413 Aug 28 04:01 go.sum [2024-08-28T04:04:29.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:01 internal [2024-08-28T04:04:29.361Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 28 04:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:04:29.782Z] + 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=9b0f377cce459a867640f9594ca6af4a253f0e79 --label arch=amd64 --label version=0.0.0 . [2024-08-28T04:04:29.782Z] Sending build context to Docker daemon 36.73MB [2024-08-28T04:04:29.782Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T04:04:29.782Z] Step 2/27 : FROM ${BASE} AS builder [2024-08-28T04:04:29.782Z] ---> d26533aff474 [2024-08-28T04:04:29.782Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-08-28T04:04:30.350Z] ---> Running in 695bbb0c3994 [2024-08-28T04:04:30.350Z] Removing intermediate container 695bbb0c3994 [2024-08-28T04:04:30.350Z] ---> b6501b0ffb1d [2024-08-28T04:04:30.350Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-28T04:04:30.350Z] ---> Running in 8c8e3ecf9cbf [2024-08-28T04:04:30.609Z] Removing intermediate container 8c8e3ecf9cbf [2024-08-28T04:04:30.609Z] ---> fc5249a38113 [2024-08-28T04:04:30.609Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-08-28T04:04:30.609Z] ---> Running in 5db058c332ca [2024-08-28T04:04:30.609Z] Removing intermediate container 5db058c332ca [2024-08-28T04:04:30.609Z] ---> 56a7c238739f [2024-08-28T04:04:30.609Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-08-28T04:04:30.609Z] ---> Running in ff025bdd5571 [2024-08-28T04:04:30.609Z] Removing intermediate container ff025bdd5571 [2024-08-28T04:04:30.609Z] ---> 4f0cf167e01e [2024-08-28T04:04:30.609Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-08-28T04:04:30.868Z] ---> Running in 3fd226878427 [2024-08-28T04:04:30.868Z] Removing intermediate container 3fd226878427 [2024-08-28T04:04:30.868Z] ---> 5a903ab855de [2024-08-28T04:04:30.868Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-28T04:04:30.868Z] ---> Running in 1cc677326f2e [2024-08-28T04:04:31.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T04:04:31.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T04:04:31.645Z] OK: 264 MiB in 52 packages [2024-08-28T04:04:31.904Z] Removing intermediate container 1cc677326f2e [2024-08-28T04:04:31.904Z] ---> 9f2aebc9ee61 [2024-08-28T04:04:31.904Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-08-28T04:04:31.904Z] ---> Running in e7d286697841 [2024-08-28T04:04:31.904Z] Removing intermediate container e7d286697841 [2024-08-28T04:04:31.904Z] ---> 2e1cbf0d9b47 [2024-08-28T04:04:31.904Z] Step 10/27 : COPY go.mod vendor* ./ [2024-08-28T04:04:32.162Z] ---> 0be015ee3507 [2024-08-28T04:04:32.162Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T04:04:32.163Z] ---> Running in 21576c3c480b [2024-08-28T04:04:33.099Z] Removing intermediate container 21576c3c480b [2024-08-28T04:04:33.099Z] ---> 8c2394fbd9af [2024-08-28T04:04:33.099Z] Step 12/27 : COPY . . [2024-08-28T04:04:34.032Z] ---> 06c6b82c8bbc [2024-08-28T04:04:34.032Z] Step 13/27 : RUN ${MAKE} [2024-08-28T04:04:34.032Z] ---> Running in aa134d933f25 [2024-08-28T04:04:34.289Z] 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.34" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-08-28T04:05:06.382Z] Removing intermediate container aa134d933f25 [2024-08-28T04:05:06.382Z] ---> 61eb6815c121 [2024-08-28T04:05:06.382Z] Step 14/27 : FROM alpine:3.18 [2024-08-28T04:05:06.969Z] 3.18: Pulling from library/alpine [2024-08-28T04:05:06.969Z] 930bdd4d222e: Pulling fs layer [2024-08-28T04:05:07.247Z] 930bdd4d222e: Verifying Checksum [2024-08-28T04:05:07.247Z] 930bdd4d222e: Pull complete [2024-08-28T04:05:07.247Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-28T04:05:07.247Z] Status: Downloaded newer image for alpine:3.18 [2024-08-28T04:05:07.247Z] ---> 18f865063206 [2024-08-28T04:05:07.247Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-08-28T04:05:07.511Z] ---> Running in 92d230c56ee0 [2024-08-28T04:05:07.511Z] Removing intermediate container 92d230c56ee0 [2024-08-28T04:05:07.511Z] ---> d058268b6413 [2024-08-28T04:05:07.511Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-08-28T04:05:07.511Z] ---> Running in cc718b68935d [2024-08-28T04:05:07.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T04:05:08.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T04:05:08.289Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-28T04:05:08.289Z] Executing busybox-1.36.1-r7.trigger [2024-08-28T04:05:08.289Z] OK: 7 MiB in 16 packages [2024-08-28T04:05:08.567Z] Removing intermediate container cc718b68935d [2024-08-28T04:05:08.567Z] ---> 9ce407cb317d [2024-08-28T04:05:08.567Z] Step 17/27 : RUN apk --no-cache upgrade [2024-08-28T04:05:08.567Z] ---> Running in 19e13a90be25 [2024-08-28T04:05:08.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T04:05:08.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T04:05:09.091Z] OK: 7 MiB in 16 packages [2024-08-28T04:05:09.350Z] Removing intermediate container 19e13a90be25 [2024-08-28T04:05:09.350Z] ---> e5ae2d114550 [2024-08-28T04:05:09.350Z] Step 18/27 : WORKDIR / [2024-08-28T04:05:09.350Z] ---> Running in b13793bc7d2e [2024-08-28T04:05:09.350Z] Removing intermediate container b13793bc7d2e [2024-08-28T04:05:09.350Z] ---> c70b3cadca2e [2024-08-28T04:05:09.350Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-08-28T04:05:10.543Z] ---> 37963d7eacb2 [2024-08-28T04:05:10.543Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-08-28T04:05:10.543Z] ---> 1c7d2b9ca985 [2024-08-28T04:05:10.543Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-08-28T04:05:10.803Z] ---> 4483a3ead56e [2024-08-28T04:05:10.803Z] Step 22/27 : EXPOSE 59984 [2024-08-28T04:05:10.803Z] ---> Running in 7c288ecafb3f [2024-08-28T04:05:10.803Z] Removing intermediate container 7c288ecafb3f [2024-08-28T04:05:10.803Z] ---> e305791dd2c0 [2024-08-28T04:05:10.803Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-08-28T04:05:10.803Z] ---> Running in c6a12c3009a3 [2024-08-28T04:05:10.803Z] Removing intermediate container c6a12c3009a3 [2024-08-28T04:05:10.803Z] ---> 32d2ab767244 [2024-08-28T04:05:10.803Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-28T04:05:10.803Z] ---> Running in ce84503cd54b [2024-08-28T04:05:11.063Z] Removing intermediate container ce84503cd54b [2024-08-28T04:05:11.063Z] ---> 408f38a9cd7d [2024-08-28T04:05:11.063Z] Step 25/27 : LABEL arch=amd64 [2024-08-28T04:05:11.063Z] ---> Running in ae73b789ef0c [2024-08-28T04:05:11.063Z] Removing intermediate container ae73b789ef0c [2024-08-28T04:05:11.063Z] ---> e9125e75ae14 [2024-08-28T04:05:11.063Z] Step 26/27 : LABEL git_sha=9b0f377cce459a867640f9594ca6af4a253f0e79 [2024-08-28T04:05:11.063Z] ---> Running in f87833f47323 [2024-08-28T04:05:11.063Z] Removing intermediate container f87833f47323 [2024-08-28T04:05:11.063Z] ---> dfef487e72f2 [2024-08-28T04:05:11.063Z] Step 27/27 : LABEL version=0.0.0 [2024-08-28T04:05:11.063Z] ---> Running in 9324e8259837 [2024-08-28T04:05:11.322Z] Removing intermediate container 9324e8259837 [2024-08-28T04:05:11.322Z] ---> 0a6145af99c2 [2024-08-28T04:05:11.322Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-28T04:05:11.322Z] Successfully built 0a6145af99c2 [2024-08-28T04:05:11.322Z] 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-08-28T04:05:12.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T04:05:12.346Z] [2024-08-28T04:05:12.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:05:12.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T04:05:12.753Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-28T04:05:12.753Z] 5eb5b503b376: Pulling fs layer [2024-08-28T04:05:12.753Z] 5c69ac0246d0: Pulling fs layer [2024-08-28T04:05:12.753Z] ec43610c2a17: Pulling fs layer [2024-08-28T04:05:12.753Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-28T04:05:12.753Z] 33b1e0a273af: Pulling fs layer [2024-08-28T04:05:12.753Z] 5d3b04190fa2: Pulling fs layer [2024-08-28T04:05:12.753Z] 2f39f015ded8: Pulling fs layer [2024-08-28T04:05:12.753Z] 3a2ae6a8a46f: Waiting [2024-08-28T04:05:12.753Z] 33b1e0a273af: Waiting [2024-08-28T04:05:12.753Z] 5d3b04190fa2: Waiting [2024-08-28T04:05:12.753Z] 2f39f015ded8: Waiting [2024-08-28T04:05:12.753Z] 5c69ac0246d0: Verifying Checksum [2024-08-28T04:05:12.753Z] 5c69ac0246d0: Download complete [2024-08-28T04:05:12.753Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-28T04:05:12.753Z] 3a2ae6a8a46f: Download complete [2024-08-28T04:05:12.753Z] 33b1e0a273af: Verifying Checksum [2024-08-28T04:05:12.753Z] 33b1e0a273af: Download complete [2024-08-28T04:05:12.753Z] 5d3b04190fa2: Download complete [2024-08-28T04:05:12.753Z] ec43610c2a17: Verifying Checksum [2024-08-28T04:05:12.753Z] ec43610c2a17: Download complete [2024-08-28T04:05:13.013Z] 5eb5b503b376: Verifying Checksum [2024-08-28T04:05:13.013Z] 5eb5b503b376: Download complete [2024-08-28T04:05:13.582Z] 2f39f015ded8: Download complete [2024-08-28T04:05:14.150Z] 5eb5b503b376: Pull complete [2024-08-28T04:05:14.411Z] 5c69ac0246d0: Pull complete [2024-08-28T04:05:14.670Z] ec43610c2a17: Pull complete [2024-08-28T04:05:14.670Z] 3a2ae6a8a46f: Pull complete [2024-08-28T04:05:14.928Z] 33b1e0a273af: Pull complete [2024-08-28T04:05:14.928Z] 5d3b04190fa2: Pull complete [2024-08-28T04:05:19.115Z] 2f39f015ded8: Pull complete [2024-08-28T04:05:19.115Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-28T04:05:19.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T04:05:19.115Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:05:19.389Z] prd-ubuntu20.04-docker-8c-8g-8874 does not seem to be running inside a container [2024-08-28T04:05:19.415Z] $ 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-454 -v /w/workspace/undry_device-onvif-camera_PR-454:/w/workspace/undry_device-onvif-camera_PR-454:rw,z -v /w/workspace/undry_device-onvif-camera_PR-454@tmp:/w/workspace/undry_device-onvif-camera_PR-454@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-08-28T04:05:23.072Z] $ docker top e56df508dae7841a8b2cfa837123e38571351fdc5b062857c25cdfec23dbc8cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:05:23.329Z] Removing intermediate container 8a79ecd68596 [2024-08-28T04:05:23.329Z] ---> d484040d706a [2024-08-28T04:05:23.329Z] Step 12/13 : COPY . . [2024-08-28T04:05:23.329Z] ---> ef15465709b6 [2024-08-28T04:05:23.329Z] Step 13/13 : RUN ${MAKE} [2024-08-28T04:05:23.329Z] ---> Running in 830d813e46e1 [2024-08-28T04:05:23.329Z] noop [2024-08-28T04:05:23.583Z] ---> job-cost.sh [2024-08-28T04:05:23.583Z] lf-activate-venv: SKIPPING [2024-08-28T04:05:23.583Z] INFO: No Stack... [2024-08-28T04:05:23.916Z] Removing intermediate container 830d813e46e1 [2024-08-28T04:05:23.916Z] ---> 1ba17858b966 [2024-08-28T04:05:24.152Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-28T04:05:24.182Z] Successfully built 1ba17858b966 [2024-08-28T04:05:24.182Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:05:24.413Z] INFO: Archiving Costs [Pipeline] sh [2024-08-28T04:05:24.708Z] + docker inspect -f . ci-base-image-arm64 [2024-08-28T04:05:24.708Z] . [Pipeline] } [Pipeline] // withEnv [2024-08-28T04:05:24.802Z] + cat /w/workspace/undry_device-onvif-camera_PR-454/archives/cost.csv [2024-08-28T04:05:24.802Z] + cut -d, -f6 [Pipeline] withDockerContainer [2024-08-28T04:05:24.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-8883 does not seem to be running inside a container [2024-08-28T04:05:25.056Z] $ 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 ******** ci-base-image-arm64 cat [2024-08-28T04:05:26.229Z] $ docker top 6420c2fa315d7e3e9e3e1674f9da97e00576e4fe0e153976a58930b9d40f485d -eo pid,comm [Pipeline] { [Pipeline] lock [2024-08-28T04:05:26.529Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-454-1-stack-cost] [2024-08-28T04:05:26.537Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-454-1-stack-cost] did not exist. Created. [2024-08-28T04:05:26.544Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-454-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2024-08-28T04:05:27.024Z] + echo total: 0.4399999976158142 [Pipeline] stash [2024-08-28T04:05:27.086Z] Stashed 1 file(s) [Pipeline] } [2024-08-28T04:05:27.131Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-454-1-stack-cost] [Pipeline] // lock [2024-08-28T04:05:27.220Z] + go version [2024-08-28T04:05:27.220Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-28T04:05:27.232Z] $ docker stop --time=1 e56df508dae7841a8b2cfa837123e38571351fdc5b062857c25cdfec23dbc8cb [2024-08-28T04:05:28.369Z] $ docker rm -f --volumes e56df508dae7841a8b2cfa837123e38571351fdc5b062857c25cdfec23dbc8cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2024-08-28T04:05:28.529Z] $ docker stop --time=1 6420c2fa315d7e3e9e3e1674f9da97e00576e4fe0e153976a58930b9d40f485d [2024-08-28T04:05:30.892Z] $ docker rm -f --volumes 6420c2fa315d7e3e9e3e1674f9da97e00576e4fe0e153976a58930b9d40f485d [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:05:31.979Z] + docker inspect -f . ci-base-image-arm64 [2024-08-28T04:05:31.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:05:32.250Z] prd-ubuntu20.04-docker-arm64-4c-16g-8883 does not seem to be running inside a container [2024-08-28T04:05:32.312Z] $ 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 ******** ci-base-image-arm64 cat [2024-08-28T04:05:33.418Z] $ docker top db284af2b744656eac51037c000e514b415b90c458e2ad9e4138a3c5bbd49c13 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T04:05:33.987Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-08-28T04:05:34.970Z] + make test [2024-08-28T04:05:34.970Z] go test ./... -coverprofile=coverage.out ./... [2024-08-28T04:05:40.314Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-08-28T04:09:02.092Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-08-28T04:09:02.092Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-08-28T04:09:02.092Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.178s coverage: 31.4% of statements [2024-08-28T04:09:28.802Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.115s coverage: 86.5% of statements [2024-08-28T04:09:28.802Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-28T04:09:28.802Z] go vet ./... [2024-08-28T04:10:15.647Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-28T04:10:15.647Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-28T04:10:15.647Z] ./bin/test-attribution-txt.sh [2024-08-28T04:10:15.647Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-28T04:10:15.647Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-28T04:10:15.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-28T04:10:15.747Z] $ docker stop --time=1 db284af2b744656eac51037c000e514b415b90c458e2ad9e4138a3c5bbd49c13 [2024-08-28T04:10:17.647Z] $ docker rm -f --volumes db284af2b744656eac51037c000e514b415b90c458e2ad9e4138a3c5bbd49c13 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-28T04:10:19.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-28T04:10:19.240Z] Warning: overwriting stash ‘coverage-report’ [2024-08-28T04:10:19.723Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-28T04:10:20.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-28T04:10:20.700Z] + ls -al . [2024-08-28T04:10:20.700Z] total 308 [2024-08-28T04:10:20.700Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 04:05 . [2024-08-28T04:10:20.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:02 .. [2024-08-28T04:10:20.700Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 04:02 .git [2024-08-28T04:10:20.700Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:02 .github [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 493 Aug 28 04:02 .gitignore [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 28 04:02 .golangci.yml [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 11155 Aug 28 04:02 Attribution.txt [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 17665 Aug 28 04:02 CHANGELOG.md [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 1683 Aug 28 04:02 Dockerfile [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 04:02 GOVERNANCE.md [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 739 Aug 28 04:02 Jenkinsfile [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 28 04:02 LICENSE [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 2883 Aug 28 04:02 Makefile [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 28 04:02 OWNERS.md [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 2620 Aug 28 04:02 README.md [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 04:02 VERSION [2024-08-28T04:10:20.700Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 04:02 bin [2024-08-28T04:10:20.700Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:02 cmd [2024-08-28T04:10:20.700Z] -rw-r--r-- 1 jenkins jenkins 78805 Aug 28 04:09 coverage.out [2024-08-28T04:10:20.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:02 doc [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 7331 Aug 28 04:02 go.mod [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 102413 Aug 28 04:02 go.sum [2024-08-28T04:10:20.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:02 internal [2024-08-28T04:10:20.700Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 28 04:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:10:21.138Z] + 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=9b0f377cce459a867640f9594ca6af4a253f0e79 --label arch=arm64 --label version=0.0.0 . [2024-08-28T04:10:21.723Z] Sending build context to Docker daemon 21.81MB [2024-08-28T04:10:21.723Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T04:10:21.723Z] Step 2/27 : FROM ${BASE} AS builder [2024-08-28T04:10:21.723Z] ---> 1ba17858b966 [2024-08-28T04:10:21.723Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-08-28T04:10:21.990Z] ---> Running in b5d567f74dd2 [2024-08-28T04:10:22.261Z] Removing intermediate container b5d567f74dd2 [2024-08-28T04:10:22.261Z] ---> aca6acdf5f4c [2024-08-28T04:10:22.261Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-28T04:10:22.261Z] ---> Running in 7ec268330140 [2024-08-28T04:10:22.527Z] Removing intermediate container 7ec268330140 [2024-08-28T04:10:22.527Z] ---> 4effd6dfd87e [2024-08-28T04:10:22.527Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-08-28T04:10:22.794Z] ---> Running in 665cbaf87e7e [2024-08-28T04:10:23.060Z] Removing intermediate container 665cbaf87e7e [2024-08-28T04:10:23.060Z] ---> f1ea2b5a569f [2024-08-28T04:10:23.060Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-08-28T04:10:23.060Z] ---> Running in edfeddf0f54e [2024-08-28T04:10:23.327Z] Removing intermediate container edfeddf0f54e [2024-08-28T04:10:23.327Z] ---> 9d7d8b854bb4 [2024-08-28T04:10:23.327Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-08-28T04:10:23.596Z] ---> Running in 45c5e3366b3a [2024-08-28T04:10:23.866Z] Removing intermediate container 45c5e3366b3a [2024-08-28T04:10:23.866Z] ---> a68976a93c0f [2024-08-28T04:10:23.866Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-28T04:10:23.866Z] ---> Running in 41b205ff097e [2024-08-28T04:10:24.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T04:10:25.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T04:10:26.065Z] OK: 266 MiB in 52 packages [2024-08-28T04:10:27.027Z] Removing intermediate container 41b205ff097e [2024-08-28T04:10:27.027Z] ---> 664c5ca98819 [2024-08-28T04:10:27.027Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-08-28T04:10:27.027Z] ---> Running in 7191ebf263aa [2024-08-28T04:10:27.381Z] Removing intermediate container 7191ebf263aa [2024-08-28T04:10:27.381Z] ---> 7ac436dff465 [2024-08-28T04:10:27.381Z] Step 10/27 : COPY go.mod vendor* ./ [2024-08-28T04:10:27.990Z] ---> c534dd928b1f [2024-08-28T04:10:27.990Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T04:10:27.990Z] ---> Running in 4bfac309896c [2024-08-28T04:10:30.660Z] Removing intermediate container 4bfac309896c [2024-08-28T04:10:30.660Z] ---> 0a6ef2211e32 [2024-08-28T04:10:30.660Z] Step 12/27 : COPY . . [2024-08-28T04:10:32.076Z] ---> 59011203e184 [2024-08-28T04:10:32.076Z] Step 13/27 : RUN ${MAKE} [2024-08-28T04:10:32.345Z] ---> Running in 8b5a14c7805d [2024-08-28T04:10:33.304Z] 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.34" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-08-28T04:14:10.103Z] Removing intermediate container 8b5a14c7805d [2024-08-28T04:14:10.103Z] ---> 6e0aaa5963af [2024-08-28T04:14:10.103Z] Step 14/27 : FROM alpine:3.18 [2024-08-28T04:14:10.103Z] 3.18: Pulling from library/alpine [2024-08-28T04:14:10.103Z] 4983c3fe2029: Pulling fs layer [2024-08-28T04:14:10.103Z] 4983c3fe2029: Verifying Checksum [2024-08-28T04:14:10.103Z] 4983c3fe2029: Download complete [2024-08-28T04:14:10.103Z] 4983c3fe2029: Pull complete [2024-08-28T04:14:10.103Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-28T04:14:10.103Z] Status: Downloaded newer image for alpine:3.18 [2024-08-28T04:14:10.103Z] ---> a0237000ae83 [2024-08-28T04:14:10.103Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-08-28T04:14:10.103Z] ---> Running in 47f985c71426 [2024-08-28T04:14:10.103Z] Removing intermediate container 47f985c71426 [2024-08-28T04:14:10.103Z] ---> 8037e1398408 [2024-08-28T04:14:10.103Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-08-28T04:14:10.103Z] ---> Running in c6d8f3460624 [2024-08-28T04:14:10.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T04:14:10.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T04:14:10.103Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-28T04:14:10.103Z] Executing busybox-1.36.1-r7.trigger [2024-08-28T04:14:10.103Z] OK: 8 MiB in 16 packages [2024-08-28T04:14:10.103Z] Removing intermediate container c6d8f3460624 [2024-08-28T04:14:10.103Z] ---> a2ac6e79a4e4 [2024-08-28T04:14:10.103Z] Step 17/27 : RUN apk --no-cache upgrade [2024-08-28T04:14:10.103Z] ---> Running in 5e49d7b9bdee [2024-08-28T04:14:10.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T04:14:10.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T04:14:10.103Z] OK: 8 MiB in 16 packages [2024-08-28T04:14:10.103Z] Removing intermediate container 5e49d7b9bdee [2024-08-28T04:14:10.103Z] ---> 443e9bb55327 [2024-08-28T04:14:10.103Z] Step 18/27 : WORKDIR / [2024-08-28T04:14:10.103Z] ---> Running in ee1d6d219fdd [2024-08-28T04:14:10.103Z] Removing intermediate container ee1d6d219fdd [2024-08-28T04:14:10.103Z] ---> 3a89504fe0b8 [2024-08-28T04:14:10.103Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-08-28T04:14:10.103Z] ---> 1d1ded14af93 [2024-08-28T04:14:10.103Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-08-28T04:14:10.103Z] ---> 88da4e12cadb [2024-08-28T04:14:10.103Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-08-28T04:14:10.103Z] ---> 94363ef130f2 [2024-08-28T04:14:10.103Z] Step 22/27 : EXPOSE 59984 [2024-08-28T04:14:10.103Z] ---> Running in 25795b1b5fc4 [2024-08-28T04:14:10.103Z] Removing intermediate container 25795b1b5fc4 [2024-08-28T04:14:10.103Z] ---> 858e03f9f7a2 [2024-08-28T04:14:10.103Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-08-28T04:14:10.103Z] ---> Running in 4da3e19ec2d0 [2024-08-28T04:14:10.103Z] Removing intermediate container 4da3e19ec2d0 [2024-08-28T04:14:10.103Z] ---> 77371ea3f1b4 [2024-08-28T04:14:10.103Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-28T04:14:10.103Z] ---> Running in 58d0df5516a3 [2024-08-28T04:14:10.103Z] Removing intermediate container 58d0df5516a3 [2024-08-28T04:14:10.103Z] ---> 5d771bfc5bd7 [2024-08-28T04:14:10.103Z] Step 25/27 : LABEL arch=arm64 [2024-08-28T04:14:10.103Z] ---> Running in e328db2c469f [2024-08-28T04:14:10.103Z] Removing intermediate container e328db2c469f [2024-08-28T04:14:10.103Z] ---> 8c6b2e1bec70 [2024-08-28T04:14:10.103Z] Step 26/27 : LABEL git_sha=9b0f377cce459a867640f9594ca6af4a253f0e79 [2024-08-28T04:14:10.103Z] ---> Running in f9c61ffc309f [2024-08-28T04:14:10.103Z] Removing intermediate container f9c61ffc309f [2024-08-28T04:14:10.103Z] ---> 372ac835ed08 [2024-08-28T04:14:10.103Z] Step 27/27 : LABEL version=0.0.0 [2024-08-28T04:14:10.103Z] ---> Running in 5ed57ee34a89 [2024-08-28T04:14:10.103Z] Removing intermediate container 5ed57ee34a89 [2024-08-28T04:14:10.103Z] ---> 7f53f60e5131 [2024-08-28T04:14:10.103Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-28T04:14:10.103Z] Successfully built 7f53f60e5131 [2024-08-28T04:14:10.103Z] 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-08-28T04:14:11.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-28T04:14:11.078Z] [2024-08-28T04:14:11.078Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:14:11.521Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-28T04:14:11.521Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-28T04:14:11.521Z] 8998bd30e6a1: Pulling fs layer [2024-08-28T04:14:11.521Z] 04944245beec: Pulling fs layer [2024-08-28T04:14:11.521Z] 699f458cf7ca: Pulling fs layer [2024-08-28T04:14:11.521Z] 765212b225bb: Pulling fs layer [2024-08-28T04:14:11.521Z] f23df028b6ca: Pulling fs layer [2024-08-28T04:14:11.521Z] d65c8cfc05b1: Pulling fs layer [2024-08-28T04:14:11.521Z] 2437ff75d9bd: Pulling fs layer [2024-08-28T04:14:11.521Z] 765212b225bb: Waiting [2024-08-28T04:14:11.521Z] f23df028b6ca: Waiting [2024-08-28T04:14:11.521Z] d65c8cfc05b1: Waiting [2024-08-28T04:14:11.521Z] 2437ff75d9bd: Waiting [2024-08-28T04:14:11.788Z] 04944245beec: Verifying Checksum [2024-08-28T04:14:11.788Z] 04944245beec: Download complete [2024-08-28T04:14:11.788Z] 765212b225bb: Verifying Checksum [2024-08-28T04:14:11.788Z] 765212b225bb: Download complete [2024-08-28T04:14:11.789Z] f23df028b6ca: Verifying Checksum [2024-08-28T04:14:11.789Z] f23df028b6ca: Download complete [2024-08-28T04:14:11.789Z] d65c8cfc05b1: Verifying Checksum [2024-08-28T04:14:11.789Z] d65c8cfc05b1: Download complete [2024-08-28T04:14:12.055Z] 699f458cf7ca: Verifying Checksum [2024-08-28T04:14:12.055Z] 699f458cf7ca: Download complete [2024-08-28T04:14:12.323Z] 8998bd30e6a1: Verifying Checksum [2024-08-28T04:14:12.323Z] 8998bd30e6a1: Download complete [2024-08-28T04:14:14.897Z] 2437ff75d9bd: Download complete [2024-08-28T04:14:17.481Z] 8998bd30e6a1: Pull complete [2024-08-28T04:14:17.481Z] 04944245beec: Pull complete [2024-08-28T04:14:19.420Z] 699f458cf7ca: Pull complete [2024-08-28T04:14:19.420Z] 765212b225bb: Pull complete [2024-08-28T04:14:20.000Z] f23df028b6ca: Pull complete [2024-08-28T04:14:20.265Z] d65c8cfc05b1: Pull complete [2024-08-28T04:14:38.453Z] 2437ff75d9bd: Pull complete [2024-08-28T04:14:38.453Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-28T04:14:38.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-28T04:14:38.453Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:14:38.835Z] prd-ubuntu20.04-docker-arm64-4c-16g-8883 does not seem to be running inside a container [2024-08-28T04:14:38.899Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-28T04:14:41.563Z] $ docker top 204fc5ab92fe6b057b2b194ea88ca6afb16915b8ba4538fc52defb237dd88710 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:14:42.476Z] ---> job-cost.sh [2024-08-28T04:14:42.476Z] lf-activate-venv: SKIPPING [2024-08-28T04:14:42.476Z] INFO: No Stack... [2024-08-28T04:14:43.056Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-28T04:14:43.634Z] INFO: Archiving Costs [Pipeline] sh [2024-08-28T04:14:44.293Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-08-28T04:14:44.293Z] + cut -d, -f6 [Pipeline] lock [2024-08-28T04:14:44.354Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-454-1-stack-cost] [2024-08-28T04:14:44.364Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-454-1-stack-cost] did not exist. Created. [2024-08-28T04:14:44.371Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-454-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-28T04:14:45.109Z] /w/workspace/device-onvif-camera/1@tmp/durable-11a2bb09/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-28T04:14:45.791Z] + echo total: 0.33000001311302185 [Pipeline] stash [2024-08-28T04:14:45.945Z] Warning: overwriting stash ‘stack-cost’ [2024-08-28T04:14:46.001Z] Stashed 1 file(s) [Pipeline] } [2024-08-28T04:14:46.138Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-454-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-28T04:14:46.231Z] $ docker stop --time=1 204fc5ab92fe6b057b2b194ea88ca6afb16915b8ba4538fc52defb237dd88710 [2024-08-28T04:14:47.725Z] $ docker rm -f --volumes 204fc5ab92fe6b057b2b194ea88ca6afb16915b8ba4538fc52defb237dd88710 [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-08-28T04:14:48.879Z] provisioning config files... [2024-08-28T04:14:48.886Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-454@tmp/config10372433030364203616tmp [Pipeline] { [Pipeline] sh [2024-08-28T04:14:49.242Z] + set +x [2024-08-28T04:14:49.242Z] + curl+ -s https://codecov.io/bash [2024-08-28T04:14:49.242Z] bash -s -- [2024-08-28T04:14:49.242Z] [2024-08-28T04:14:49.242Z] _____ _ [2024-08-28T04:14:49.242Z] / ____| | | [2024-08-28T04:14:49.242Z] | | ___ __| | ___ ___ _____ __ [2024-08-28T04:14:49.242Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-28T04:14:49.242Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-28T04:14:49.242Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-28T04:14:49.242Z] Bash-1.0.6 [2024-08-28T04:14:49.242Z] [2024-08-28T04:14:49.242Z] [2024-08-28T04:14:49.242Z] ==> git version 2.25.1 found [2024-08-28T04:14:49.242Z] ==> 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-08-28T04:14:49.242Z] Release-Date: 2020-01-08 [2024-08-28T04:14:49.242Z] 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-08-28T04:14:49.242Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-28T04:14:49.242Z] ==> Jenkins CI detected. [2024-08-28T04:14:49.242Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-454 [2024-08-28T04:14:49.242Z] project root: . [2024-08-28T04:14:49.242Z] --> token set from env [2024-08-28T04:14:49.242Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-28T04:14:49.242Z] ==> Running gcov in . (disable via -X gcov) [2024-08-28T04:14:49.242Z] ==> Python coveragepy not found [2024-08-28T04:14:49.242Z] ==> Searching for coverage reports in: [2024-08-28T04:14:49.242Z] + . [2024-08-28T04:14:49.500Z] -> Found 1 reports [2024-08-28T04:14:49.500Z] ==> Detecting git/mercurial file structure [2024-08-28T04:14:49.500Z] ==> Reading reports [2024-08-28T04:14:49.500Z] + ./coverage.out bytes=78805 [2024-08-28T04:14:49.500Z] ==> Appending adjustments [2024-08-28T04:14:49.500Z] https://docs.codecov.io/docs/fixing-reports [2024-08-28T04:14:49.500Z] + Found adjustments [2024-08-28T04:14:49.500Z] ==> Gzipping contents [2024-08-28T04:14:49.500Z] 12K /tmp/codecov.2JXQ37.gz [2024-08-28T04:14:49.500Z] ==> Uploading reports [2024-08-28T04:14:49.500Z] url: https://codecov.io [2024-08-28T04:14:49.500Z] query: branch=PR-454&commit=9b0f377cce459a867640f9594ca6af4a253f0e79&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-454%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=454&job=&cmd_args= [2024-08-28T04:14:49.500Z] -> Pinging Codecov [2024-08-28T04:14:49.500Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-454&commit=9b0f377cce459a867640f9594ca6af4a253f0e79&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-454%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=454&job=&cmd_args= [2024-08-28T04:14:49.760Z] -> Uploading to [2024-08-28T04:14:49.760Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-28/F29A59C45E3A92E06B3E522C9905F8EF/9b0f377cce459a867640f9594ca6af4a253f0e79/04cfa678-d704-4c40-a2eb-d4383edbe501.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240828%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240828T041449Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a7aaaa2be37347769507c1305b0d44db527a12468a9a9227322d5afcf1b1efe [2024-08-28T04:14:49.760Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-28T04:14:49.760Z] Dload Upload Total Spent Left Speed [2024-08-28T04:14:50.020Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 43881 --:--:-- --:--:-- --:--:-- 43881 [2024-08-28T04:14:50.020Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9b0f377cce459a867640f9594ca6af4a253f0e79 [Pipeline] } [2024-08-28T04:14:50.054Z] 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-08-28T04:14:52.945Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-454/archives ] [2024-08-28T04:14:52.945Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-454/archives [2024-08-28T04:14:52.945Z] total 16 [2024-08-28T04:14:52.945Z] drwxr-xr-x 3 root root 4096 Aug 28 04:05 . [2024-08-28T04:14:52.945Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 04:05 .. [2024-08-28T04:14:52.945Z] drwxr-xr-x 2 root root 4096 Aug 28 04:05 cost [2024-08-28T04:14:52.945Z] -rw-r--r-- 1 root root 92 Aug 28 04:05 cost.csv [2024-08-28T04:14:52.945Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-454/archives [2024-08-28T04:14:52.945Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-454/archives [2024-08-28T04:14:52.945Z] total 16 [2024-08-28T04:14:52.945Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 04:05 . [2024-08-28T04:14:52.945Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 04:05 .. [2024-08-28T04:14:52.945Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 28 04:05 cost [2024-08-28T04:14:52.945Z] -rw-r--r-- 1 jenkins jenkins 92 Aug 28 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:14:53.290Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:14:54.204Z] ---> package-listing.sh [2024-08-28T04:14:54.204Z] ++ facter osfamily [2024-08-28T04:14:54.204Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-28T04:14:54.465Z] + OS_FAMILY=debian [2024-08-28T04:14:54.465Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-454 [2024-08-28T04:14:54.465Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-28T04:14:54.465Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-28T04:14:54.465Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-28T04:14:54.465Z] + PACKAGES=/tmp/packages_start.txt [2024-08-28T04:14:54.465Z] + '[' /w/workspace/undry_device-onvif-camera_PR-454 ']' [2024-08-28T04:14:54.465Z] + PACKAGES=/tmp/packages_end.txt [2024-08-28T04:14:54.465Z] + case "${OS_FAMILY}" in [2024-08-28T04:14:54.465Z] + dpkg -l [2024-08-28T04:14:54.465Z] + grep '^ii' [2024-08-28T04:14:54.465Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-28T04:14:54.465Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-28T04:14:54.465Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-28T04:14:54.465Z] + '[' /w/workspace/undry_device-onvif-camera_PR-454 ']' [2024-08-28T04:14:54.465Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-454/archives/ [2024-08-28T04:14:54.465Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-454/archives/ [Pipeline] echo [2024-08-28T04:14:54.514Z] 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-454/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-28T04:14:54.816Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:14:55.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T04:14:55.555Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:14:55.726Z] prd-ubuntu20.04-docker-8c-8g-8874 does not seem to be running inside a container [2024-08-28T04:14:55.755Z] $ 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-454/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-454 -v /w/workspace/undry_device-onvif-camera_PR-454:/w/workspace/undry_device-onvif-camera_PR-454:rw,z -v /w/workspace/undry_device-onvif-camera_PR-454@tmp:/w/workspace/undry_device-onvif-camera_PR-454@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-08-28T04:14:56.007Z] $ docker top e9f91238172bb4e260379862ef172adb2129659a0b2ee03e4ee43c290c59bc85 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T04:14:56.443Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-28T04:14:56.764Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-28T04:14:57.084Z] + ls /var/log/sa-host [2024-08-28T04:14:57.084Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T04:14:57.395Z] provisioning config files... [2024-08-28T04:14:57.405Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-454@tmp/config2919773920820923019tmp [Pipeline] { [Pipeline] echo [2024-08-28T04:14:57.474Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:14:57.797Z] ---> create-netrc.sh [Pipeline] } [2024-08-28T04:14:57.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:14:58.352Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-28T04:14:58.392Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:14:58.722Z] ---> sudo-logs.sh [2024-08-28T04:14:58.722Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-28T04:14:58.831Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:14:59.159Z] ---> job-cost.sh [2024-08-28T04:14:59.159Z] lf-activate-venv: SKIPPING [2024-08-28T04:14:59.159Z] DEBUG: total: 0.4399999976158142 [2024-08-28T04:14:59.159Z] INFO: Retrieving Stack Cost... [2024-08-28T04:14:59.419Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-28T04:14:59.677Z] INFO: Archiving Costs [Pipeline] echo [2024-08-28T04:14:59.715Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:15:00.041Z] ---> logs-deploy.sh [2024-08-28T04:15:00.041Z] lf-activate-venv: SKIPPING [2024-08-28T04:15:00.041Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-454/1 [2024-08-28T04:15:00.041Z] INFO: archiving workspace using pattern(s): [2024-08-28T04:15:00.981Z] Archives upload complete. [2024-08-28T04:15:00.981Z] INFO: archiving logs to Nexus