Pull request #322 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 7f95bcfe839f166a6cd28dd85470d1b00616d860+6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 (902ee067b76f3ca3a9072f3b978a98579aeeb12a) 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-ssh10259397931345071249.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh12806703257163510007.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-322/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-322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13160738983774551019.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-322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7605395396959177189.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh11172860632986841367.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-322/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-322/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2748954474958263013.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9497’ Running on prd-ubuntu20.04-docker-8c-8g-9503 in /w/workspace/undry_device-onvif-camera_PR-322 [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-322 # 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/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 into PR head commit 7f95bcfe839f166a6cd28dd85470d1b00616d860 Merge succeeded, producing 57f776768c6d51c56237c200520a62f3e33d729d Checking out Revision 57f776768c6d51c56237c200520a62f3e33d729d (PR-322) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f95bcfe839f166a6cd28dd85470d1b00616d860 # 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 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57f776768c6d51c56237c200520a62f3e33d729d # timeout=10 Commit message: "Merge commit '6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T06:32:02.961Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T06:32:03.145Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T06:32:03.247Z] ========================================================= [2023-04-24T06:32:03.247Z] EdgeX Global Pipelines Version Info [2023-04-24T06:32:03.247Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:32:03.998Z] ------------------- [2023-04-24T06:32:03.998Z] stable info: [2023-04-24T06:32:03.998Z] ------------------- [2023-04-24T06:32:03.998Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T06:32:03.998Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T06:32:03.998Z] Message: update stable to v1.0.248 [2023-04-24T06:32:04.571Z] ------------------- [2023-04-24T06:32:04.571Z] experimental info: [2023-04-24T06:32:04.571Z] ------------------- [2023-04-24T06:32:04.571Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T06:32:04.571Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T06:32:04.571Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T06:32:04.862Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-24T06:32:04.906Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-24T06:32:04.947Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T06:32:04.991Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T06:32:05.031Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T06:32:05.072Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T06:32:05.119Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T06:32:05.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T06:32:05.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T06:32:05.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T06:32:05.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T06:32:05.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-24T06:32:05.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T06:32:05.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T06:32:05.479Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T06:32:05.523Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T06:32:05.569Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T06:32:05.608Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T06:32:05.658Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T06:32:05.705Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T06:32:05.748Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-24T06:32:05.793Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-24T06:32:05.838Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T06:32:05.884Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T06:32:05.928Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T06:32:05.969Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T06:32:06.014Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T06:32:06.055Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-322 [Pipeline] echo [2023-04-24T06:32:06.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-322 [Pipeline] echo [2023-04-24T06:32:06.142Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-322 [Pipeline] echo [2023-04-24T06:32:06.189Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57f776768c6d51c56237c200520a62f3e33d729d [Pipeline] echo [2023-04-24T06:32:06.234Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57f7767 [Pipeline] echo [2023-04-24T06:32:06.276Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:32:06.402Z] provisioning config files... [2023-04-24T06:32:06.415Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-322@tmp/config9890629858594559390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:32:06.779Z] ---> docker-login.sh [2023-04-24T06:32:06.779Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:32:07.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:07.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:07.043Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:07.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:07.044Z] [2023-04-24T06:32:07.044Z] Login Succeeded [2023-04-24T06:32:07.044Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:32:07.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:07.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:07.302Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:07.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:07.302Z] [2023-04-24T06:32:07.302Z] Login Succeeded [2023-04-24T06:32:07.302Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:32:07.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:07.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:07.302Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:07.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:07.302Z] [2023-04-24T06:32:07.302Z] Login Succeeded [2023-04-24T06:32:07.302Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:32:07.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:07.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:07.302Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:07.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:07.302Z] [2023-04-24T06:32:07.302Z] Login Succeeded [2023-04-24T06:32:07.302Z] docker.io [2023-04-24T06:32:07.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:07.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:07.563Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:07.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:07.563Z] [2023-04-24T06:32:07.563Z] Login Succeeded [2023-04-24T06:32:07.563Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:32:07.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T06:32:08.289Z] + git rev-list -1 --merges 57f776768c6d51c56237c200520a62f3e33d729d~1..57f776768c6d51c56237c200520a62f3e33d729d [Pipeline] echo [2023-04-24T06:32:08.355Z] -----------> git rev-list -1 --merges 57f776768c6d51c56237c200520a62f3e33d729d~1..57f776768c6d51c56237c200520a62f3e33d729d 57f776768c6d51c56237c200520a62f3e33d729d [2023-04-24T06:32:08.355Z] 57f776768c6d51c56237c200520a62f3e33d729d [false] [Pipeline] sh [2023-04-24T06:32:08.665Z] + git log --format=format:%s -1 57f776768c6d51c56237c200520a62f3e33d729d [Pipeline] echo [2023-04-24T06:32:08.727Z] ========================================================= [2023-04-24T06:32:08.727Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T06:32:08.727Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:32:09.163Z] + git log --format=format:%s -1 57f776768c6d51c56237c200520a62f3e33d729d [Pipeline] echo [2023-04-24T06:32:09.198Z] [semverPrep] GIT_COMMIT: 57f776768c6d51c56237c200520a62f3e33d729d, Commit Message: Merge commit '6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76' into HEAD [Pipeline] echo [2023-04-24T06:32:09.234Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T06:32:09.621Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T06:32:09.621Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T06:32:09.621Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T06:32:09.621Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T06:32:09.621Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T06:32:09.621Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T06:32:09.621Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:10.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:32:10.059Z] [2023-04-24T06:32:10.059Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:10.436Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:32:10.436Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T06:32:10.436Z] b85a868b505f: Pulling fs layer [2023-04-24T06:32:10.436Z] e2be974225ed: Pulling fs layer [2023-04-24T06:32:10.436Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T06:32:10.436Z] 988bab9f4d93: Pulling fs layer [2023-04-24T06:32:10.436Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T06:32:10.436Z] eaf3925da568: Pulling fs layer [2023-04-24T06:32:10.436Z] bab4dde63d76: Pulling fs layer [2023-04-24T06:32:10.436Z] bde34c3a00c8: Pulling fs layer [2023-04-24T06:32:10.436Z] b352a97aabf1: Pulling fs layer [2023-04-24T06:32:10.436Z] 4872d77fe225: Pulling fs layer [2023-04-24T06:32:10.436Z] 5851b861e8e6: Pulling fs layer [2023-04-24T06:32:10.436Z] bab4dde63d76: Waiting [2023-04-24T06:32:10.436Z] bde34c3a00c8: Waiting [2023-04-24T06:32:10.436Z] 988bab9f4d93: Waiting [2023-04-24T06:32:10.436Z] 1469e6f7b9e6: Waiting [2023-04-24T06:32:10.436Z] b352a97aabf1: Waiting [2023-04-24T06:32:10.436Z] 4872d77fe225: Waiting [2023-04-24T06:32:10.436Z] eaf3925da568: Waiting [2023-04-24T06:32:10.436Z] 5851b861e8e6: Waiting [2023-04-24T06:32:10.436Z] e2be974225ed: Download complete [2023-04-24T06:32:10.436Z] 988bab9f4d93: Verifying Checksum [2023-04-24T06:32:10.436Z] 988bab9f4d93: Download complete [2023-04-24T06:32:10.436Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T06:32:10.436Z] 1469e6f7b9e6: Download complete [2023-04-24T06:32:10.696Z] eaf3925da568: Download complete [2023-04-24T06:32:10.696Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T06:32:10.696Z] 339a4e72a1f5: Download complete [2023-04-24T06:32:10.696Z] bde34c3a00c8: Download complete [2023-04-24T06:32:10.696Z] b352a97aabf1: Download complete [2023-04-24T06:32:10.696Z] 4872d77fe225: Download complete [2023-04-24T06:32:10.696Z] 5851b861e8e6: Verifying Checksum [2023-04-24T06:32:10.696Z] 5851b861e8e6: Download complete [2023-04-24T06:32:10.696Z] b85a868b505f: Download complete [2023-04-24T06:32:10.954Z] bab4dde63d76: Verifying Checksum [2023-04-24T06:32:10.954Z] bab4dde63d76: Download complete [2023-04-24T06:32:11.892Z] b85a868b505f: Pull complete [2023-04-24T06:32:11.892Z] e2be974225ed: Pull complete [2023-04-24T06:32:12.478Z] 339a4e72a1f5: Pull complete [2023-04-24T06:32:12.478Z] 988bab9f4d93: Pull complete [2023-04-24T06:32:12.739Z] 1469e6f7b9e6: Pull complete [2023-04-24T06:32:12.739Z] eaf3925da568: Pull complete [2023-04-24T06:32:14.652Z] bab4dde63d76: Pull complete [2023-04-24T06:32:14.652Z] bde34c3a00c8: Pull complete [2023-04-24T06:32:14.652Z] b352a97aabf1: Pull complete [2023-04-24T06:32:14.652Z] 4872d77fe225: Pull complete [2023-04-24T06:32:14.652Z] 5851b861e8e6: Pull complete [2023-04-24T06:32:14.652Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T06:32:14.652Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:32:14.652Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:32:14.920Z] prd-ubuntu20.04-docker-8c-8g-9503 does not seem to be running inside a container [2023-04-24T06:32:14.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-322 -v /w/workspace/undry_device-onvif-camera_PR-322:/w/workspace/undry_device-onvif-camera_PR-322:rw,z -v /w/workspace/undry_device-onvif-camera_PR-322@tmp:/w/workspace/undry_device-onvif-camera_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T06:32:16.373Z] $ docker top 63175c1d58ec73f251152487924feaac81c3f07e1ff47eee9ade6a264f0f387d -eo pid,comm [2023-04-24T06:32:16.423Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-24T06:32:16.423Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T06:32:16.558Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:32:16.558Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:32:16.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:32:16.675Z] $ docker exec 63175c1d58ec73f251152487924feaac81c3f07e1ff47eee9ade6a264f0f387d ssh-agent [2023-04-24T06:32:16.780Z] SSH_AUTH_SOCK=/tmp/ssh-TvNocG6FMzkO/agent.33 [2023-04-24T06:32:16.780Z] SSH_AGENT_PID=39 [2023-04-24T06:32:16.786Z] Running ssh-add (command line suppressed) [2023-04-24T06:32:16.907Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-322@tmp/private_key_10268445840894458058.key (/w/workspace/undry_device-onvif-camera_PR-322@tmp/private_key_10268445840894458058.key) [2023-04-24T06:32:16.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:32:17.258Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T06:32:17.289Z] $ docker exec --env ******** --env ******** 63175c1d58ec73f251152487924feaac81c3f07e1ff47eee9ade6a264f0f387d ssh-agent -k [2023-04-24T06:32:17.380Z] unset SSH_AUTH_SOCK; [2023-04-24T06:32:17.381Z] unset SSH_AGENT_PID; [2023-04-24T06:32:17.381Z] echo Agent pid 39 killed; [2023-04-24T06:32:17.385Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T06:32:17.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:32:17.490Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:32:17.596Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:32:17.603Z] $ docker exec 63175c1d58ec73f251152487924feaac81c3f07e1ff47eee9ade6a264f0f387d ssh-agent [2023-04-24T06:32:17.706Z] SSH_AUTH_SOCK=/tmp/ssh-20RDquZRY0Df/agent.71 [2023-04-24T06:32:17.706Z] SSH_AGENT_PID=77 [2023-04-24T06:32:17.718Z] Running ssh-add (command line suppressed) [2023-04-24T06:32:17.816Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-322@tmp/private_key_6843911768623438935.key (/w/workspace/undry_device-onvif-camera_PR-322@tmp/private_key_6843911768623438935.key) [2023-04-24T06:32:17.827Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:32:18.158Z] + git semver init [2023-04-24T06:32:18.419Z] 2023-04-24 06:32:18,329 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T06:32:18.419Z] 2023-04-24 06:32:18,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-322/.semver [2023-04-24T06:32:18.419Z] 2023-04-24 06:32:18,330 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-322/.semver [2023-04-24T06:32:18.419Z] 2023-04-24 06:32:18,331 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-322/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-322, universal_newlines=False, shell=None, istream=None) [2023-04-24T06:32:19.357Z] 2023-04-24 06:32:19,207 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-322/.git/info/exclude [2023-04-24T06:32:19.358Z] 2023-04-24 06:32:19,208 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-322/.semver/PR-322 with force:False [2023-04-24T06:32:19.358Z] 2023-04-24 06:32:19,208 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-322/.semver/PR-322 [2023-04-24T06:32:19.358Z] 2023-04-24 06:32:19,212 [execute] INFO git cat-file --batch-check [2023-04-24T06:32:19.358Z] 2023-04-24 06:32:19,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-322/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T06:32:19.358Z] 2023-04-24 06:32:19,217 [execute] INFO git cat-file --batch [2023-04-24T06:32:19.358Z] 2023-04-24 06:32:19,217 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-322/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T06:32:19.358Z] 2023-04-24 06:32:19,221 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-322/.semver/PR-322 [2023-04-24T06:32:19.358Z] 0.0.0 [Pipeline] } [2023-04-24T06:32:19.387Z] $ docker exec --env ******** --env ******** 63175c1d58ec73f251152487924feaac81c3f07e1ff47eee9ade6a264f0f387d ssh-agent -k [2023-04-24T06:32:19.485Z] unset SSH_AUTH_SOCK; [2023-04-24T06:32:19.485Z] unset SSH_AGENT_PID; [2023-04-24T06:32:19.486Z] echo Agent pid 77 killed; [2023-04-24T06:32:19.489Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T06:32:19.898Z] + git semver [Pipeline] } [2023-04-24T06:32:20.184Z] $ docker stop --time=1 63175c1d58ec73f251152487924feaac81c3f07e1ff47eee9ade6a264f0f387d [2023-04-24T06:32:21.480Z] $ docker rm -f --volumes 63175c1d58ec73f251152487924feaac81c3f07e1ff47eee9ade6a264f0f387d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:32:21.889Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T06:32:22.192Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T06:32:22.209Z] [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 [2023-04-24T06:32:22.819Z] provisioning config files... [2023-04-24T06:32:22.827Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-322@tmp/config2194535389417662866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:32:23.179Z] ---> docker-login.sh [2023-04-24T06:32:23.179Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:32:23.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:23.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:23.179Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:23.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:23.179Z] [2023-04-24T06:32:23.179Z] Login Succeeded [2023-04-24T06:32:23.179Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:32:23.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:23.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:23.179Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:23.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:23.179Z] [2023-04-24T06:32:23.179Z] Login Succeeded [2023-04-24T06:32:23.179Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:32:23.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:23.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:23.439Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:23.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:23.439Z] [2023-04-24T06:32:23.439Z] Login Succeeded [2023-04-24T06:32:23.439Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:32:23.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:23.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:23.439Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:23.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:23.439Z] [2023-04-24T06:32:23.439Z] Login Succeeded [2023-04-24T06:32:23.439Z] docker.io [2023-04-24T06:32:23.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:23.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:23.701Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:23.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:23.701Z] [2023-04-24T06:32:23.701Z] Login Succeeded [2023-04-24T06:32:23.701Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:32:23.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T06:32:23.923Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:32:23.968Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:32:23.996Z] ========================================================= [2023-04-24T06:32:23.996Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T06:32:23.996Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:24.505Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T06:32:24.505Z] Sending build context to Docker daemon 26.95MB [2023-04-24T06:32:24.505Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:32:24.505Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-24T06:32:24.764Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T06:32:24.764Z] 63b65145d645: Pulling fs layer [2023-04-24T06:32:24.764Z] a2d21d5440eb: Pulling fs layer [2023-04-24T06:32:24.764Z] 935e6c44a52c: Pulling fs layer [2023-04-24T06:32:24.764Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T06:32:24.764Z] 30dea6a524f1: Pulling fs layer [2023-04-24T06:32:24.764Z] a2aff8979fd8: Pulling fs layer [2023-04-24T06:32:24.764Z] 6808be2612f2: Pulling fs layer [2023-04-24T06:32:24.764Z] f25807f1079a: Pulling fs layer [2023-04-24T06:32:24.764Z] 30dea6a524f1: Waiting [2023-04-24T06:32:24.764Z] 94cc34f8dd06: Waiting [2023-04-24T06:32:24.764Z] a2aff8979fd8: Waiting [2023-04-24T06:32:24.764Z] f25807f1079a: Waiting [2023-04-24T06:32:24.764Z] 6808be2612f2: Waiting [2023-04-24T06:32:24.764Z] a2d21d5440eb: Download complete [2023-04-24T06:32:24.764Z] 94cc34f8dd06: Verifying Checksum [2023-04-24T06:32:24.764Z] 94cc34f8dd06: Download complete [2023-04-24T06:32:24.764Z] 30dea6a524f1: Download complete [2023-04-24T06:32:24.764Z] 63b65145d645: Verifying Checksum [2023-04-24T06:32:24.764Z] 63b65145d645: Download complete [2023-04-24T06:32:24.764Z] a2aff8979fd8: Verifying Checksum [2023-04-24T06:32:24.764Z] a2aff8979fd8: Download complete [2023-04-24T06:32:24.764Z] 63b65145d645: Pull complete [2023-04-24T06:32:25.025Z] a2d21d5440eb: Pull complete [2023-04-24T06:32:25.282Z] f25807f1079a: Verifying Checksum [2023-04-24T06:32:25.282Z] f25807f1079a: Download complete [2023-04-24T06:32:25.541Z] 935e6c44a52c: Verifying Checksum [2023-04-24T06:32:25.541Z] 935e6c44a52c: Download complete [2023-04-24T06:32:25.541Z] 6808be2612f2: Verifying Checksum [2023-04-24T06:32:25.541Z] 6808be2612f2: Download complete [2023-04-24T06:32:28.814Z] 935e6c44a52c: Pull complete [2023-04-24T06:32:28.814Z] 94cc34f8dd06: Pull complete [2023-04-24T06:32:28.814Z] 30dea6a524f1: Pull complete [2023-04-24T06:32:28.814Z] a2aff8979fd8: Pull complete [2023-04-24T06:32:30.711Z] 6808be2612f2: Pull complete [2023-04-24T06:32:31.646Z] f25807f1079a: Pull complete [2023-04-24T06:32:31.646Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T06:32:31.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T06:32:31.646Z] ---> 3b553350e43f [2023-04-24T06:32:31.646Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:32:33.579Z] ---> Running in 849da4af5c0f [2023-04-24T06:32:33.579Z] Removing intermediate container 849da4af5c0f [2023-04-24T06:32:33.579Z] ---> 9cca2ddb9102 [2023-04-24T06:32:33.579Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:32:33.579Z] ---> Running in 1ef67d5c3227 [2023-04-24T06:32:33.837Z] Removing intermediate container 1ef67d5c3227 [2023-04-24T06:32:33.837Z] ---> 2dab981f703a [2023-04-24T06:32:33.837Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T06:32:33.837Z] ---> Running in 860c83bd66cc [2023-04-24T06:32:33.837Z] Removing intermediate container 860c83bd66cc [2023-04-24T06:32:33.837Z] ---> ac22d8c5fa32 [2023-04-24T06:32:33.837Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:32:34.096Z] ---> Running in fa6ad9ac2ac3 [2023-04-24T06:32:34.096Z] Removing intermediate container fa6ad9ac2ac3 [2023-04-24T06:32:34.096Z] ---> 64e6760778fc [2023-04-24T06:32:34.096Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-24T06:32:34.096Z] ---> Running in 7fd4feed1f38 [2023-04-24T06:32:34.096Z] Removing intermediate container 7fd4feed1f38 [2023-04-24T06:32:34.096Z] ---> 0e74793d8b71 [2023-04-24T06:32:34.096Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:32:34.357Z] ---> Running in 9a821a695641 [2023-04-24T06:32:34.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:32:34.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:32:34.874Z] OK: 265 MiB in 53 packages [2023-04-24T06:32:35.133Z] Removing intermediate container 9a821a695641 [2023-04-24T06:32:35.133Z] ---> 2ceecd75cbda [2023-04-24T06:32:35.133Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-24T06:32:35.392Z] ---> Running in caaaddd164f9 [2023-04-24T06:32:35.392Z] Removing intermediate container caaaddd164f9 [2023-04-24T06:32:35.392Z] ---> ff3de3360ec2 [2023-04-24T06:32:35.392Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-24T06:32:35.650Z] ---> 430049d2fe65 [2023-04-24T06:32:35.650Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:32:35.650Z] ---> Running in 29840bacf49f [2023-04-24T06:32:37.629Z] Still waiting to schedule task [2023-04-24T06:32:37.629Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9500’ [2023-04-24T06:32:54.082Z] Removing intermediate container 29840bacf49f [2023-04-24T06:32:54.082Z] ---> ab5094d4757a [2023-04-24T06:32:54.082Z] Step 12/13 : COPY . . [2023-04-24T06:32:54.340Z] ---> 42f565dd85c9 [2023-04-24T06:32:54.340Z] Step 13/13 : RUN ${MAKE} [2023-04-24T06:32:54.340Z] ---> Running in 807abb3f4735 [2023-04-24T06:32:54.597Z] noop [2023-04-24T06:32:54.856Z] Removing intermediate container 807abb3f4735 [2023-04-24T06:32:54.856Z] ---> b06f6afb0132 [2023-04-24T06:32:54.856Z] Successfully built b06f6afb0132 [2023-04-24T06:32:54.856Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:55.295Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:32:55.295Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:32:55.439Z] prd-ubuntu20.04-docker-8c-8g-9503 does not seem to be running inside a container [2023-04-24T06:32:55.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-322 -v /w/workspace/undry_device-onvif-camera_PR-322:/w/workspace/undry_device-onvif-camera_PR-322:rw,z -v /w/workspace/undry_device-onvif-camera_PR-322@tmp:/w/workspace/undry_device-onvif-camera_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T06:32:55.869Z] $ docker top e49b97368adbe29a300837b94aa27d9d2c9da1225d772ff7a230a0467885a409 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:32:56.255Z] + go version [2023-04-24T06:32:56.255Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T06:32:56.296Z] $ docker stop --time=1 e49b97368adbe29a300837b94aa27d9d2c9da1225d772ff7a230a0467885a409 [2023-04-24T06:32:57.549Z] $ docker rm -f --volumes e49b97368adbe29a300837b94aa27d9d2c9da1225d772ff7a230a0467885a409 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:58.243Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:32:58.244Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:32:58.395Z] prd-ubuntu20.04-docker-8c-8g-9503 does not seem to be running inside a container [2023-04-24T06:32:58.429Z] $ 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-322 -v /w/workspace/undry_device-onvif-camera_PR-322:/w/workspace/undry_device-onvif-camera_PR-322:rw,z -v /w/workspace/undry_device-onvif-camera_PR-322@tmp:/w/workspace/undry_device-onvif-camera_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T06:32:58.769Z] $ docker top 56d85b506062d9d79c91a1b79caa0b892e29bd1e4360424efe208e8f24e5fd8c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:32:59.149Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-322 [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:32:59.499Z] + make test [2023-04-24T06:32:59.499Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T06:33:03.685Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-24T06:33:13.657Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-24T06:33:13.657Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-24T06:33:15.550Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.029s coverage: 31.6% of statements [2023-04-24T06:33:15.550Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.068s coverage: 86.5% of statements [2023-04-24T06:33:22.109Z] go vet ./... [2023-04-24T06:33:25.391Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T06:33:25.391Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T06:33:25.391Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T06:33:25.431Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T06:33:25.464Z] $ docker stop --time=1 56d85b506062d9d79c91a1b79caa0b892e29bd1e4360424efe208e8f24e5fd8c [2023-04-24T06:33:28.183Z] $ docker rm -f --volumes 56d85b506062d9d79c91a1b79caa0b892e29bd1e4360424efe208e8f24e5fd8c [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:33:28.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T06:33:28.810Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T06:33:29.422Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T06:33:29.729Z] + ls -al . [2023-04-24T06:33:29.729Z] total 236 [2023-04-24T06:33:29.729Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 06:32 . [2023-04-24T06:33:29.729Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:31 .. [2023-04-24T06:33:29.729Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:32 .git [2023-04-24T06:33:29.729Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:31 .github [2023-04-24T06:33:29.729Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 24 06:31 .gitignore [2023-04-24T06:33:29.729Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 06:31 .golangci.yml [2023-04-24T06:33:29.729Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:32 .semver [2023-04-24T06:33:29.729Z] -rw-rw-r-- 1 jenkins jenkins 9861 Apr 24 06:31 Attribution.txt [2023-04-24T06:33:29.729Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 24 06:31 CHANGELOG.md [2023-04-24T06:33:29.730Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 24 06:31 Dockerfile [2023-04-24T06:33:29.730Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:31 GOVERNANCE.md [2023-04-24T06:33:29.730Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 24 06:31 Jenkinsfile [2023-04-24T06:33:29.730Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 06:31 LICENSE [2023-04-24T06:33:29.730Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 24 06:31 Makefile [2023-04-24T06:33:29.730Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 24 06:31 OWNERS.md [2023-04-24T06:33:29.730Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 24 06:31 README.md [2023-04-24T06:33:29.730Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 06:32 VERSION [2023-04-24T06:33:29.730Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:31 bin [2023-04-24T06:33:29.730Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:31 cmd [2023-04-24T06:33:29.730Z] -rw-r--r-- 1 jenkins jenkins 78922 Apr 24 06:33 coverage.out [2023-04-24T06:33:29.730Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 06:31 doc [2023-04-24T06:33:29.730Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 24 06:31 go.mod [2023-04-24T06:33:29.730Z] -rw-rw-r-- 1 jenkins jenkins 32947 Apr 24 06:31 go.sum [2023-04-24T06:33:29.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:31 internal [2023-04-24T06:33:29.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:31 snap [2023-04-24T06:33:29.730Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 24 06:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:30.128Z] + 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=57f776768c6d51c56237c200520a62f3e33d729d --label arch=amd64 --label version=0.0.0 . [2023-04-24T06:33:30.128Z] Sending build context to Docker daemon 27.03MB [2023-04-24T06:33:30.128Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:33:30.128Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-24T06:33:30.128Z] ---> b06f6afb0132 [2023-04-24T06:33:30.128Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:33:30.388Z] ---> Running in 5c9fca5d8fa1 [2023-04-24T06:33:30.388Z] Removing intermediate container 5c9fca5d8fa1 [2023-04-24T06:33:30.388Z] ---> 4bce75c0de1c [2023-04-24T06:33:30.388Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:33:30.650Z] ---> Running in 6e373969778f [2023-04-24T06:33:30.650Z] Removing intermediate container 6e373969778f [2023-04-24T06:33:30.650Z] ---> 3f97b36ed780 [2023-04-24T06:33:30.650Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T06:33:30.650Z] ---> Running in 6e1578457b79 [2023-04-24T06:33:30.650Z] Removing intermediate container 6e1578457b79 [2023-04-24T06:33:30.650Z] ---> 2847edec1f0d [2023-04-24T06:33:30.650Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:33:30.908Z] ---> Running in 62ab9637c3e0 [2023-04-24T06:33:30.908Z] Removing intermediate container 62ab9637c3e0 [2023-04-24T06:33:30.908Z] ---> 43e4a678b924 [2023-04-24T06:33:30.908Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-24T06:33:30.908Z] ---> Running in d6bb71331eda [2023-04-24T06:33:30.908Z] Removing intermediate container d6bb71331eda [2023-04-24T06:33:30.908Z] ---> 41517e2595d0 [2023-04-24T06:33:30.908Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:33:30.908Z] ---> Running in 7403a57ded31 [2023-04-24T06:33:31.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:33:31.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:33:31.684Z] OK: 265 MiB in 53 packages [2023-04-24T06:33:31.944Z] Removing intermediate container 7403a57ded31 [2023-04-24T06:33:31.944Z] ---> 6c8b674c7872 [2023-04-24T06:33:31.944Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-24T06:33:31.944Z] ---> Running in 6b9c6e77cf30 [2023-04-24T06:33:31.944Z] Removing intermediate container 6b9c6e77cf30 [2023-04-24T06:33:31.944Z] ---> 700c46b5a72b [2023-04-24T06:33:31.944Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-24T06:33:32.203Z] ---> cbf438617a56 [2023-04-24T06:33:32.203Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:33:32.203Z] ---> Running in 770500b3855a [2023-04-24T06:33:32.778Z] Removing intermediate container 770500b3855a [2023-04-24T06:33:32.778Z] ---> 528b70c30972 [2023-04-24T06:33:32.778Z] Step 12/26 : COPY . . [2023-04-24T06:33:33.719Z] ---> a94629e7d544 [2023-04-24T06:33:33.719Z] Step 13/26 : RUN ${MAKE} [2023-04-24T06:33:33.719Z] ---> Running in 32974851a1c6 [2023-04-24T06:33:33.978Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-24T06:33:52.056Z] Removing intermediate container 32974851a1c6 [2023-04-24T06:33:52.056Z] ---> b9c77eb1e282 [2023-04-24T06:33:52.056Z] Step 14/26 : FROM alpine:3.17 [2023-04-24T06:33:52.056Z] 3.17: Pulling from library/alpine [2023-04-24T06:33:52.056Z] f56be85fc22e: Pulling fs layer [2023-04-24T06:33:52.056Z] f56be85fc22e: Verifying Checksum [2023-04-24T06:33:52.056Z] f56be85fc22e: Download complete [2023-04-24T06:33:52.056Z] f56be85fc22e: Pull complete [2023-04-24T06:33:52.056Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T06:33:52.056Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T06:33:52.056Z] ---> 9ed4aefc74f6 [2023-04-24T06:33:52.056Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-24T06:33:52.056Z] ---> Running in aed298df17a8 [2023-04-24T06:33:52.056Z] Removing intermediate container aed298df17a8 [2023-04-24T06:33:52.056Z] ---> 396c7dffad67 [2023-04-24T06:33:52.056Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-24T06:33:52.056Z] ---> Running in ed46a6470605 [2023-04-24T06:33:52.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:33:52.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:33:52.571Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T06:33:52.571Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:33:52.571Z] OK: 7 MiB in 16 packages [2023-04-24T06:33:52.830Z] Removing intermediate container ed46a6470605 [2023-04-24T06:33:52.830Z] ---> 0cdd8f6c2064 [2023-04-24T06:33:52.830Z] Step 17/26 : WORKDIR / [2023-04-24T06:33:53.098Z] ---> Running in 21bb2d09c522 [2023-04-24T06:33:53.098Z] Removing intermediate container 21bb2d09c522 [2023-04-24T06:33:53.098Z] ---> ad4a771f9e9d [2023-04-24T06:33:53.098Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-24T06:33:53.747Z] ---> 200602c623d6 [2023-04-24T06:33:53.747Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-24T06:33:54.007Z] ---> 1f3387dce583 [2023-04-24T06:33:54.007Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-24T06:33:54.007Z] ---> d36f1ab9c5a3 [2023-04-24T06:33:54.007Z] Step 21/26 : EXPOSE 59984 [2023-04-24T06:33:54.007Z] ---> Running in 0988df1948a2 [2023-04-24T06:33:54.007Z] Removing intermediate container 0988df1948a2 [2023-04-24T06:33:54.007Z] ---> 5370a7dc0a10 [2023-04-24T06:33:54.007Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-24T06:33:54.265Z] ---> Running in d694d95e31b9 [2023-04-24T06:33:54.265Z] Removing intermediate container d694d95e31b9 [2023-04-24T06:33:54.265Z] ---> 92f40aa2faec [2023-04-24T06:33:54.265Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T06:33:54.265Z] ---> Running in 81fcbe92e905 [2023-04-24T06:33:54.265Z] Removing intermediate container 81fcbe92e905 [2023-04-24T06:33:54.265Z] ---> 761541b7bc3a [2023-04-24T06:33:54.265Z] Step 24/26 : LABEL arch=amd64 [2023-04-24T06:33:54.265Z] ---> Running in 024f03427843 [2023-04-24T06:33:54.525Z] Removing intermediate container 024f03427843 [2023-04-24T06:33:54.525Z] ---> a90b2341ef1c [2023-04-24T06:33:54.525Z] Step 25/26 : LABEL git_sha=57f776768c6d51c56237c200520a62f3e33d729d [2023-04-24T06:33:54.525Z] ---> Running in 77f0c39c3b6b [2023-04-24T06:33:54.525Z] Removing intermediate container 77f0c39c3b6b [2023-04-24T06:33:54.525Z] ---> aab739fea9e1 [2023-04-24T06:33:54.525Z] Step 26/26 : LABEL version=0.0.0 [2023-04-24T06:33:54.525Z] ---> Running in adb9f3ac8ece [2023-04-24T06:33:54.525Z] Removing intermediate container adb9f3ac8ece [2023-04-24T06:33:54.525Z] ---> 41c5b41d8418 [2023-04-24T06:33:54.525Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T06:33:54.785Z] Successfully built 41c5b41d8418 [2023-04-24T06:33:54.785Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:55.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:33:55.670Z] [2023-04-24T06:33:55.670Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:56.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:33:56.044Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T06:33:56.044Z] 5eb5b503b376: Pulling fs layer [2023-04-24T06:33:56.044Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T06:33:56.044Z] ec43610c2a17: Pulling fs layer [2023-04-24T06:33:56.044Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T06:33:56.044Z] 33b1e0a273af: Pulling fs layer [2023-04-24T06:33:56.044Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T06:33:56.044Z] 2f39f015ded8: Pulling fs layer [2023-04-24T06:33:56.044Z] 5d3b04190fa2: Waiting [2023-04-24T06:33:56.044Z] 3a2ae6a8a46f: Waiting [2023-04-24T06:33:56.044Z] 33b1e0a273af: Waiting [2023-04-24T06:33:56.044Z] 2f39f015ded8: Waiting [2023-04-24T06:33:56.044Z] 5c69ac0246d0: Verifying Checksum [2023-04-24T06:33:56.044Z] 5c69ac0246d0: Download complete [2023-04-24T06:33:56.044Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-24T06:33:56.044Z] 3a2ae6a8a46f: Download complete [2023-04-24T06:33:56.044Z] 33b1e0a273af: Verifying Checksum [2023-04-24T06:33:56.044Z] 33b1e0a273af: Download complete [2023-04-24T06:33:56.044Z] ec43610c2a17: Verifying Checksum [2023-04-24T06:33:56.044Z] ec43610c2a17: Download complete [2023-04-24T06:33:56.044Z] 5d3b04190fa2: Verifying Checksum [2023-04-24T06:33:56.044Z] 5d3b04190fa2: Download complete [2023-04-24T06:33:56.302Z] 5eb5b503b376: Verifying Checksum [2023-04-24T06:33:56.302Z] 5eb5b503b376: Download complete [2023-04-24T06:33:56.870Z] 2f39f015ded8: Download complete [2023-04-24T06:33:57.438Z] 5eb5b503b376: Pull complete [2023-04-24T06:33:57.438Z] 5c69ac0246d0: Pull complete [2023-04-24T06:33:57.696Z] ec43610c2a17: Pull complete [2023-04-24T06:33:57.956Z] 3a2ae6a8a46f: Pull complete [2023-04-24T06:33:57.956Z] 33b1e0a273af: Pull complete [2023-04-24T06:33:58.215Z] 5d3b04190fa2: Pull complete [2023-04-24T06:34:02.399Z] 2f39f015ded8: Pull complete [2023-04-24T06:34:02.656Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T06:34:02.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:34:02.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:34:02.968Z] prd-ubuntu20.04-docker-8c-8g-9503 does not seem to be running inside a container [2023-04-24T06:34:03.003Z] $ 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-322 -v /w/workspace/undry_device-onvif-camera_PR-322:/w/workspace/undry_device-onvif-camera_PR-322:rw,z -v /w/workspace/undry_device-onvif-camera_PR-322@tmp:/w/workspace/undry_device-onvif-camera_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T06:34:05.210Z] $ docker top be65a8fe0d8016fd78e67f09ceabeab81da4ab4a23830e7f462b9250e75daccf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:34:05.635Z] ---> job-cost.sh [2023-04-24T06:34:05.635Z] lf-activate-venv: SKIPPING [2023-04-24T06:34:05.635Z] INFO: No Stack... [2023-04-24T06:34:05.894Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:34:06.153Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T06:34:06.481Z] + cat /w/workspace/undry_device-onvif-camera_PR-322/archives/cost.csv [2023-04-24T06:34:06.481Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T06:34:06.520Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-322-1-stack-cost] [2023-04-24T06:34:06.524Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-322-1-stack-cost] did not exist. Created. [2023-04-24T06:34:06.525Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-322-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:34:06.917Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T06:34:06.970Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:34:06.998Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-322-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:34:07.083Z] $ docker stop --time=1 be65a8fe0d8016fd78e67f09ceabeab81da4ab4a23830e7f462b9250e75daccf [2023-04-24T06:34:08.238Z] $ docker rm -f --volumes be65a8fe0d8016fd78e67f09ceabeab81da4ab4a23830e7f462b9250e75daccf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T06:35:39.015Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9512 in /w/workspace/undry_device-onvif-camera_PR-322 [Pipeline] { [Pipeline] ws [2023-04-24T06:35:39.074Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-04-24T06:35:39.156Z] The recommended git tool is: git [2023-04-24T06:35:46.580Z] using credential edgex-jenkins-ssh [2023-04-24T06:35:46.599Z] Cloning the remote Git repository [2023-04-24T06:35:46.672Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T06:35:46.801Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-04-24T06:35:47.018Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T06:35:47.020Z] > git --version # timeout=10 [2023-04-24T06:35:47.052Z] > git --version # 'git version 2.25.1' [2023-04-24T06:35:47.056Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:35:47.270Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:35:50.336Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-24T06:35:50.362Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:35:52.310Z] Merging remotes/origin/main commit 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 into PR head commit 7f95bcfe839f166a6cd28dd85470d1b00616d860 [2023-04-24T06:35:51.602Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-24T06:35:51.658Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T06:35:51.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:35:51.679Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-24T06:35:52.339Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T06:35:53.537Z] Merge succeeded, producing e0b3ebc3b1d1c3e75006ffc78195f25842a65601 [2023-04-24T06:35:53.537Z] Checking out Revision e0b3ebc3b1d1c3e75006ffc78195f25842a65601 (PR-322) [2023-04-24T06:35:52.449Z] > git checkout -f 7f95bcfe839f166a6cd28dd85470d1b00616d860 # timeout=10 [2023-04-24T06:35:52.810Z] > git remote # timeout=10 [2023-04-24T06:35:52.841Z] > git config --get remote.origin.url # timeout=10 [2023-04-24T06:35:52.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:35:52.893Z] > git merge 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 # timeout=10 [2023-04-24T06:35:53.512Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-24T06:35:53.550Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T06:35:53.570Z] > git checkout -f e0b3ebc3b1d1c3e75006ffc78195f25842a65601 # timeout=10 [2023-04-24T06:35:57.204Z] Commit message: "Merge commit '6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76' into HEAD" [2023-04-24T06:35:57.204Z] First time build. Skipping changelog. [2023-04-24T06:35:57.276Z] > git --version # timeout=10 [2023-04-24T06:35:57.288Z] > git --version # 'git version 2.25.1' [2023-04-24T06:35:57.310Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:35:58.485Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T06:35:58.486Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T06:35:58.486Z] Dload Upload Total Spent Left Speed [2023-04-24T06:35:58.486Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-04-24T06:35:59.279Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T06:35:59.651Z] + sudo tee /etc/docker/daemon.new [2023-04-24T06:35:59.651Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T06:35:59.651Z] { [2023-04-24T06:35:59.651Z] "registry-mirrors": [ [2023-04-24T06:35:59.651Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T06:35:59.651Z] ], [2023-04-24T06:35:59.651Z] "bip": "10.250.0.254/24", [2023-04-24T06:35:59.651Z] "hosts": [ [2023-04-24T06:35:59.651Z] "tcp://0.0.0.0:5555", [2023-04-24T06:35:59.651Z] "unix:///var/run/docker.sock" [2023-04-24T06:35:59.651Z] ], [2023-04-24T06:35:59.651Z] "mtu": 1458, [2023-04-24T06:35:59.651Z] "selinux-enabled": true, [2023-04-24T06:35:59.651Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T06:35:59.651Z] } [Pipeline] sh [2023-04-24T06:36:00.018Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T06:36:00.386Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:36:18.788Z] provisioning config files... [2023-04-24T06:36:18.831Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config11854390907565893711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:36:19.258Z] ---> docker-login.sh [2023-04-24T06:36:19.258Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:36:19.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:36:20.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:36:20.145Z] Configure a credential helper to remove this warning. See [2023-04-24T06:36:20.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:36:20.145Z] [2023-04-24T06:36:20.145Z] Login Succeeded [2023-04-24T06:36:20.145Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:36:20.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:36:20.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:36:20.423Z] Configure a credential helper to remove this warning. See [2023-04-24T06:36:20.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:36:20.423Z] [2023-04-24T06:36:20.423Z] Login Succeeded [2023-04-24T06:36:20.423Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:36:21.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:36:21.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:36:21.028Z] Configure a credential helper to remove this warning. See [2023-04-24T06:36:21.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:36:21.028Z] [2023-04-24T06:36:21.028Z] Login Succeeded [2023-04-24T06:36:21.028Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:36:21.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:36:21.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:36:21.576Z] Configure a credential helper to remove this warning. See [2023-04-24T06:36:21.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:36:21.576Z] [2023-04-24T06:36:21.576Z] Login Succeeded [2023-04-24T06:36:21.576Z] docker.io [2023-04-24T06:36:21.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:36:22.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:36:22.123Z] Configure a credential helper to remove this warning. See [2023-04-24T06:36:22.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:36:22.123Z] [2023-04-24T06:36:22.123Z] Login Succeeded [2023-04-24T06:36:22.123Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:36:22.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T06:36:22.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:36:22.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:36:22.681Z] ========================================================= [2023-04-24T06:36:22.681Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T06:36:22.681Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:36:23.196Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T06:36:23.808Z] Sending build context to Docker daemon 19.68MB [2023-04-24T06:36:23.808Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:36:23.808Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-24T06:36:24.081Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T06:36:24.081Z] af6eaf76a39c: Pulling fs layer [2023-04-24T06:36:24.081Z] 55522c791124: Pulling fs layer [2023-04-24T06:36:24.081Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T06:36:24.081Z] 169dfbe0d373: Pulling fs layer [2023-04-24T06:36:24.081Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T06:36:24.081Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T06:36:24.081Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T06:36:24.081Z] e1ff8fa3b103: Waiting [2023-04-24T06:36:24.081Z] 52ebb69f0ebf: Waiting [2023-04-24T06:36:24.081Z] 169dfbe0d373: Waiting [2023-04-24T06:36:24.081Z] 5abe8eddf0d5: Waiting [2023-04-24T06:36:24.081Z] 55522c791124: Verifying Checksum [2023-04-24T06:36:24.081Z] 55522c791124: Download complete [2023-04-24T06:36:24.081Z] 169dfbe0d373: Verifying Checksum [2023-04-24T06:36:24.081Z] 169dfbe0d373: Download complete [2023-04-24T06:36:24.081Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T06:36:24.081Z] e1ff8fa3b103: Download complete [2023-04-24T06:36:24.377Z] af6eaf76a39c: Verifying Checksum [2023-04-24T06:36:24.377Z] af6eaf76a39c: Download complete [2023-04-24T06:36:25.360Z] af6eaf76a39c: Pull complete [2023-04-24T06:36:25.360Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T06:36:25.360Z] 5abe8eddf0d5: Download complete [2023-04-24T06:36:25.953Z] 55522c791124: Pull complete [2023-04-24T06:36:26.931Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T06:36:26.931Z] ce5c4a1c91eb: Download complete [2023-04-24T06:36:26.931Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T06:36:26.931Z] 52ebb69f0ebf: Download complete [2023-04-24T06:36:39.287Z] ce5c4a1c91eb: Pull complete [2023-04-24T06:36:39.287Z] 169dfbe0d373: Pull complete [2023-04-24T06:36:39.287Z] e1ff8fa3b103: Pull complete [2023-04-24T06:36:46.007Z] 52ebb69f0ebf: Pull complete [2023-04-24T06:36:47.979Z] 5abe8eddf0d5: Pull complete [2023-04-24T06:36:47.979Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T06:36:47.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T06:36:47.979Z] ---> 6cb57ee374ae [2023-04-24T06:36:47.979Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:36:49.943Z] ---> Running in f197dcbf133f [2023-04-24T06:36:50.213Z] Removing intermediate container f197dcbf133f [2023-04-24T06:36:50.213Z] ---> bf67e58f940f [2023-04-24T06:36:50.213Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:36:50.488Z] ---> Running in 3de551c043b4 [2023-04-24T06:36:50.765Z] Removing intermediate container 3de551c043b4 [2023-04-24T06:36:50.765Z] ---> b85a4f9c6e06 [2023-04-24T06:36:50.765Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T06:36:50.765Z] ---> Running in a30199862039 [2023-04-24T06:36:51.359Z] Removing intermediate container a30199862039 [2023-04-24T06:36:51.359Z] ---> d5b6a4cb8afc [2023-04-24T06:36:51.359Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:36:51.359Z] ---> Running in 26c14f986aae [2023-04-24T06:36:51.632Z] Removing intermediate container 26c14f986aae [2023-04-24T06:36:51.632Z] ---> d51cb6dd7dcd [2023-04-24T06:36:51.632Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-24T06:36:51.903Z] ---> Running in ad97aea24443 [2023-04-24T06:36:52.176Z] Removing intermediate container ad97aea24443 [2023-04-24T06:36:52.176Z] ---> 5a4f078cdc3a [2023-04-24T06:36:52.176Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:36:52.448Z] ---> Running in fe7c1b609723 [2023-04-24T06:36:53.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:36:54.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:36:55.909Z] OK: 263 MiB in 53 packages [2023-04-24T06:36:56.884Z] Removing intermediate container fe7c1b609723 [2023-04-24T06:36:56.884Z] ---> 3ed9ede9d91e [2023-04-24T06:36:56.884Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-24T06:36:57.168Z] ---> Running in e8e3c01b8820 [2023-04-24T06:36:57.440Z] Removing intermediate container e8e3c01b8820 [2023-04-24T06:36:57.440Z] ---> 9597b38d0aae [2023-04-24T06:36:57.440Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-24T06:36:58.033Z] ---> a4efe28d0f62 [2023-04-24T06:36:58.034Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:36:58.315Z] ---> Running in ee5f398d3ef3 [2023-04-24T06:38:06.265Z] Removing intermediate container ee5f398d3ef3 [2023-04-24T06:38:06.265Z] ---> 2a74c64575fe [2023-04-24T06:38:06.265Z] Step 12/13 : COPY . . [2023-04-24T06:38:08.248Z] ---> faf76433820d [2023-04-24T06:38:08.248Z] Step 13/13 : RUN ${MAKE} [2023-04-24T06:38:08.523Z] ---> Running in 27c04143edfd [2023-04-24T06:38:09.503Z] noop [2023-04-24T06:38:10.507Z] Removing intermediate container 27c04143edfd [2023-04-24T06:38:10.507Z] ---> 0c86cf6df981 [2023-04-24T06:38:10.507Z] Successfully built 0c86cf6df981 [2023-04-24T06:38:10.507Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:38:11.000Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:38:11.000Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:38:11.361Z] prd-ubuntu20.04-docker-arm64-4c-16g-9512 does not seem to be running inside a container [2023-04-24T06:38:11.460Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T06:38:12.981Z] $ docker top 316c5bf24cb48a6b2344ac4f6b8868e1ba210d076ed2844243cdf9c386a7d2b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:38:13.940Z] + go version [2023-04-24T06:38:13.940Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T06:38:13.989Z] $ docker stop --time=1 316c5bf24cb48a6b2344ac4f6b8868e1ba210d076ed2844243cdf9c386a7d2b2 [2023-04-24T06:38:15.744Z] $ docker rm -f --volumes 316c5bf24cb48a6b2344ac4f6b8868e1ba210d076ed2844243cdf9c386a7d2b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:38:16.636Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:38:16.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:38:16.929Z] prd-ubuntu20.04-docker-arm64-4c-16g-9512 does not seem to be running inside a container [2023-04-24T06:38:17.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T06:38:18.443Z] $ docker top 76ef47a9f8e970f94a94ca4089cf46e563fff473e88eda18e171b519d0d23c01 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:38:19.367Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:38:20.100Z] + make test [2023-04-24T06:38:20.101Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T06:39:07.019Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-24T06:41:43.815Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-24T06:41:49.177Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-24T06:41:51.126Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.194s coverage: 31.6% of statements [2023-04-24T06:42:09.366Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.310s coverage: 86.5% of statements [2023-04-24T06:42:09.636Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-24T06:42:09.636Z] go vet ./... [2023-04-24T06:42:42.268Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T06:42:42.268Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T06:42:42.268Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T06:42:42.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T06:42:42.357Z] $ docker stop --time=1 76ef47a9f8e970f94a94ca4089cf46e563fff473e88eda18e171b519d0d23c01 [2023-04-24T06:42:44.314Z] $ docker rm -f --volumes 76ef47a9f8e970f94a94ca4089cf46e563fff473e88eda18e171b519d0d23c01 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:42:45.659Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T06:42:45.695Z] Warning: overwriting stash ‘coverage-report’ [2023-04-24T06:42:46.336Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:42:46.940Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T06:42:47.286Z] + ls -al . [2023-04-24T06:42:47.286Z] total 232 [2023-04-24T06:42:47.286Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 06:38 . [2023-04-24T06:42:47.286Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:35 .. [2023-04-24T06:42:47.286Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:35 .git [2023-04-24T06:42:47.286Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:35 .github [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 24 06:35 .gitignore [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 06:35 .golangci.yml [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 9861 Apr 24 06:35 Attribution.txt [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 24 06:35 CHANGELOG.md [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 24 06:35 Dockerfile [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:35 GOVERNANCE.md [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 24 06:35 Jenkinsfile [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 06:35 LICENSE [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 24 06:35 Makefile [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 24 06:35 OWNERS.md [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 24 06:35 README.md [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 06:32 VERSION [2023-04-24T06:42:47.286Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:35 bin [2023-04-24T06:42:47.286Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:35 cmd [2023-04-24T06:42:47.286Z] -rw-r--r-- 1 jenkins jenkins 78922 Apr 24 06:42 coverage.out [2023-04-24T06:42:47.286Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 06:35 doc [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 24 06:35 go.mod [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 32947 Apr 24 06:35 go.sum [2023-04-24T06:42:47.286Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:35 internal [2023-04-24T06:42:47.286Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:35 snap [2023-04-24T06:42:47.286Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 24 06:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:42:47.846Z] + 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=e0b3ebc3b1d1c3e75006ffc78195f25842a65601 --label arch=arm64 --label version=0.0.0 . [2023-04-24T06:42:48.439Z] Sending build context to Docker daemon 19.76MB [2023-04-24T06:42:48.439Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:42:48.439Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-24T06:42:48.439Z] ---> 0c86cf6df981 [2023-04-24T06:42:48.439Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:42:48.709Z] ---> Running in 0fe98818d4c8 [2023-04-24T06:42:48.979Z] Removing intermediate container 0fe98818d4c8 [2023-04-24T06:42:48.979Z] ---> e9bded4379fe [2023-04-24T06:42:48.979Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:42:52.332Z] ---> Running in f74984662271 [2023-04-24T06:42:52.601Z] Removing intermediate container f74984662271 [2023-04-24T06:42:52.601Z] ---> 7e21b1ae8f8d [2023-04-24T06:42:52.601Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T06:42:52.870Z] ---> Running in cf9742d0b4fd [2023-04-24T06:42:53.139Z] Removing intermediate container cf9742d0b4fd [2023-04-24T06:42:53.139Z] ---> 31ed3f00e6ee [2023-04-24T06:42:53.139Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:42:53.139Z] ---> Running in 4a0488dd0920 [2023-04-24T06:42:53.727Z] Removing intermediate container 4a0488dd0920 [2023-04-24T06:42:53.727Z] ---> 937b592b6659 [2023-04-24T06:42:53.727Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-24T06:42:53.727Z] ---> Running in c85c5f583931 [2023-04-24T06:42:53.999Z] Removing intermediate container c85c5f583931 [2023-04-24T06:42:53.999Z] ---> 697301f68340 [2023-04-24T06:42:53.999Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:42:53.999Z] ---> Running in 23cf5f668648 [2023-04-24T06:42:54.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:42:55.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:42:57.360Z] OK: 263 MiB in 53 packages [2023-04-24T06:42:57.951Z] Removing intermediate container 23cf5f668648 [2023-04-24T06:42:57.951Z] ---> b507ad0a0f42 [2023-04-24T06:42:57.951Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-24T06:42:58.222Z] ---> Running in a17515e49c5f [2023-04-24T06:42:58.492Z] Removing intermediate container a17515e49c5f [2023-04-24T06:42:58.492Z] ---> 4adfcfd3b6b7 [2023-04-24T06:42:58.492Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-24T06:42:59.077Z] ---> e2c9e6b533ed [2023-04-24T06:42:59.077Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:42:59.077Z] ---> Running in 1f93945b0a63 [2023-04-24T06:43:01.673Z] Removing intermediate container 1f93945b0a63 [2023-04-24T06:43:01.673Z] ---> 7d57e7f34607 [2023-04-24T06:43:01.673Z] Step 12/26 : COPY . . [2023-04-24T06:43:03.628Z] ---> ed2a9796e390 [2023-04-24T06:43:03.628Z] Step 13/26 : RUN ${MAKE} [2023-04-24T06:43:05.585Z] ---> Running in 79a71c8c6a3d [2023-04-24T06:43:06.550Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-24T06:45:58.318Z] Removing intermediate container 79a71c8c6a3d [2023-04-24T06:45:58.318Z] ---> e91f3259e3f7 [2023-04-24T06:45:58.318Z] Step 14/26 : FROM alpine:3.17 [2023-04-24T06:45:58.318Z] 3.17: Pulling from library/alpine [2023-04-24T06:45:58.318Z] c41833b44d91: Pulling fs layer [2023-04-24T06:45:58.318Z] c41833b44d91: Verifying Checksum [2023-04-24T06:45:58.318Z] c41833b44d91: Download complete [2023-04-24T06:45:58.318Z] c41833b44d91: Pull complete [2023-04-24T06:45:58.318Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T06:45:58.318Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T06:45:58.318Z] ---> 51e60588ff2c [2023-04-24T06:45:58.318Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-24T06:45:58.318Z] ---> Running in 6e501fc261b0 [2023-04-24T06:45:58.318Z] Removing intermediate container 6e501fc261b0 [2023-04-24T06:45:58.318Z] ---> 5764c79ada2f [2023-04-24T06:45:58.318Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-24T06:45:58.318Z] ---> Running in 0ded9c6c8873 [2023-04-24T06:45:58.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:45:58.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:45:58.318Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T06:45:58.318Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:45:58.318Z] OK: 8 MiB in 16 packages [2023-04-24T06:45:58.318Z] Removing intermediate container 0ded9c6c8873 [2023-04-24T06:45:58.318Z] ---> 79a637ef87d8 [2023-04-24T06:45:58.318Z] Step 17/26 : WORKDIR / [2023-04-24T06:45:58.318Z] ---> Running in 7b6662d3ed53 [2023-04-24T06:45:58.318Z] Removing intermediate container 7b6662d3ed53 [2023-04-24T06:45:58.318Z] ---> 9e6add4230f8 [2023-04-24T06:45:58.318Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-24T06:45:58.318Z] ---> 37abac0c78db [2023-04-24T06:45:58.318Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-24T06:45:58.318Z] ---> 082da6d0f137 [2023-04-24T06:45:58.318Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-24T06:45:58.318Z] ---> 08e457f97da7 [2023-04-24T06:45:58.318Z] Step 21/26 : EXPOSE 59984 [2023-04-24T06:45:58.318Z] ---> Running in 2f2aac4b1184 [2023-04-24T06:45:58.318Z] Removing intermediate container 2f2aac4b1184 [2023-04-24T06:45:58.318Z] ---> 5571db2371d1 [2023-04-24T06:45:58.318Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-24T06:45:58.318Z] ---> Running in 074c874ff0c2 [2023-04-24T06:45:58.318Z] Removing intermediate container 074c874ff0c2 [2023-04-24T06:45:58.318Z] ---> 2026e4eaadf7 [2023-04-24T06:45:58.318Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T06:45:58.318Z] ---> Running in 21282c41be7f [2023-04-24T06:45:58.318Z] Removing intermediate container 21282c41be7f [2023-04-24T06:45:58.318Z] ---> 5295bf0f97a7 [2023-04-24T06:45:58.318Z] Step 24/26 : LABEL arch=arm64 [2023-04-24T06:45:58.318Z] ---> Running in 5d37923ff5d2 [2023-04-24T06:45:58.318Z] Removing intermediate container 5d37923ff5d2 [2023-04-24T06:45:58.318Z] ---> 1b4831c52594 [2023-04-24T06:45:58.318Z] Step 25/26 : LABEL git_sha=e0b3ebc3b1d1c3e75006ffc78195f25842a65601 [2023-04-24T06:45:58.318Z] ---> Running in 622a2ef943ed [2023-04-24T06:45:58.318Z] Removing intermediate container 622a2ef943ed [2023-04-24T06:45:58.318Z] ---> 7f61c0394170 [2023-04-24T06:45:58.318Z] Step 26/26 : LABEL version=0.0.0 [2023-04-24T06:45:58.318Z] ---> Running in 9696764bda08 [2023-04-24T06:45:58.318Z] Removing intermediate container 9696764bda08 [2023-04-24T06:45:58.318Z] ---> 8b4169ee64de [2023-04-24T06:45:58.318Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T06:45:58.318Z] Successfully built 8b4169ee64de [2023-04-24T06:45:58.318Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:59.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:45:59.109Z] [2023-04-24T06:45:59.109Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:59.512Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:45:59.513Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T06:45:59.513Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T06:45:59.513Z] 04944245beec: Pulling fs layer [2023-04-24T06:45:59.513Z] 699f458cf7ca: Pulling fs layer [2023-04-24T06:45:59.513Z] 765212b225bb: Pulling fs layer [2023-04-24T06:45:59.513Z] f23df028b6ca: Pulling fs layer [2023-04-24T06:45:59.513Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T06:45:59.513Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T06:45:59.513Z] 765212b225bb: Waiting [2023-04-24T06:45:59.513Z] f23df028b6ca: Waiting [2023-04-24T06:45:59.513Z] d65c8cfc05b1: Waiting [2023-04-24T06:45:59.513Z] 2437ff75d9bd: Waiting [2023-04-24T06:45:59.780Z] 04944245beec: Verifying Checksum [2023-04-24T06:45:59.780Z] 04944245beec: Download complete [2023-04-24T06:45:59.780Z] 765212b225bb: Verifying Checksum [2023-04-24T06:45:59.780Z] 765212b225bb: Download complete [2023-04-24T06:45:59.780Z] f23df028b6ca: Download complete [2023-04-24T06:45:59.780Z] d65c8cfc05b1: Download complete [2023-04-24T06:46:00.049Z] 699f458cf7ca: Verifying Checksum [2023-04-24T06:46:00.049Z] 699f458cf7ca: Download complete [2023-04-24T06:46:00.318Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T06:46:00.318Z] 8998bd30e6a1: Download complete [2023-04-24T06:46:02.265Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T06:46:02.265Z] 2437ff75d9bd: Download complete [2023-04-24T06:46:04.210Z] 8998bd30e6a1: Pull complete [2023-04-24T06:46:04.793Z] 04944245beec: Pull complete [2023-04-24T06:46:06.201Z] 699f458cf7ca: Pull complete [2023-04-24T06:46:06.201Z] 765212b225bb: Pull complete [2023-04-24T06:46:06.809Z] f23df028b6ca: Pull complete [2023-04-24T06:46:07.075Z] d65c8cfc05b1: Pull complete [2023-04-24T06:46:22.058Z] 2437ff75d9bd: Pull complete [2023-04-24T06:46:22.058Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T06:46:22.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:46:22.058Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:46:22.391Z] prd-ubuntu20.04-docker-arm64-4c-16g-9512 does not seem to be running inside a container [2023-04-24T06:46:22.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-24T06:46:25.121Z] $ docker top d6150f4c695da1120837beb3742197cf057c806762dc33060dd00a2ea5da4ecd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:26.016Z] ---> job-cost.sh [2023-04-24T06:46:26.016Z] lf-activate-venv: SKIPPING [2023-04-24T06:46:26.016Z] INFO: No Stack... [2023-04-24T06:46:26.597Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T06:46:27.179Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T06:46:27.519Z] + + cat /w/workspace/device-onvif-camera/1/archives/cost.csvcut [2023-04-24T06:46:27.519Z] -d, -f6 [Pipeline] lock [2023-04-24T06:46:27.861Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-322-1-stack-cost] [2023-04-24T06:46:27.869Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-322-1-stack-cost] did not exist. Created. [2023-04-24T06:46:27.869Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-322-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:46:28.279Z] /w/workspace/device-onvif-camera/1@tmp/durable-76ff7b85/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T06:46:28.945Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T06:46:28.985Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T06:46:29.039Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:46:29.054Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-322-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:46:29.140Z] $ docker stop --time=1 d6150f4c695da1120837beb3742197cf057c806762dc33060dd00a2ea5da4ecd [2023-04-24T06:46:32.222Z] $ docker rm -f --volumes d6150f4c695da1120837beb3742197cf057c806762dc33060dd00a2ea5da4ecd [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 [2023-04-24T06:46:33.220Z] provisioning config files... [2023-04-24T06:46:33.227Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-322@tmp/config12330330653364155856tmp [Pipeline] { [Pipeline] sh [2023-04-24T06:46:33.563Z] + set +x [2023-04-24T06:46:33.563Z] + curl -s https://codecov.io/bash [2023-04-24T06:46:33.563Z] + bash -s -- [2023-04-24T06:46:33.563Z] [2023-04-24T06:46:33.563Z] _____ _ [2023-04-24T06:46:33.563Z] / ____| | | [2023-04-24T06:46:33.563Z] | | ___ __| | ___ ___ _____ __ [2023-04-24T06:46:33.563Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-24T06:46:33.563Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-24T06:46:33.563Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-24T06:46:33.563Z] Bash-1.0.6 [2023-04-24T06:46:33.563Z] [2023-04-24T06:46:33.563Z] [2023-04-24T06:46:33.563Z] ==> git version 2.25.1 found [2023-04-24T06:46:33.563Z] ==> 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 [2023-04-24T06:46:33.563Z] Release-Date: 2020-01-08 [2023-04-24T06:46:33.563Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-24T06:46:33.563Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-24T06:46:33.563Z] ==> Jenkins CI detected. [2023-04-24T06:46:33.563Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-322 [2023-04-24T06:46:33.563Z] project root: . [2023-04-24T06:46:33.563Z] --> token set from env [2023-04-24T06:46:33.563Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-24T06:46:33.563Z] ==> Running gcov in . (disable via -X gcov) [2023-04-24T06:46:33.563Z] ==> Python coveragepy not found [2023-04-24T06:46:33.563Z] ==> Searching for coverage reports in: [2023-04-24T06:46:33.563Z] + . [2023-04-24T06:46:33.563Z] -> Found 1 reports [2023-04-24T06:46:33.563Z] ==> Detecting git/mercurial file structure [2023-04-24T06:46:33.563Z] ==> Reading reports [2023-04-24T06:46:33.563Z] + ./coverage.out bytes=78922 [2023-04-24T06:46:33.563Z] ==> Appending adjustments [2023-04-24T06:46:33.563Z] https://docs.codecov.io/docs/fixing-reports [2023-04-24T06:46:33.822Z] + Found adjustments [2023-04-24T06:46:33.822Z] ==> Gzipping contents [2023-04-24T06:46:33.822Z] 12K /tmp/codecov.R7wbeE.gz [2023-04-24T06:46:33.822Z] ==> Uploading reports [2023-04-24T06:46:33.822Z] url: https://codecov.io [2023-04-24T06:46:33.822Z] query: branch=PR-322&commit=57f776768c6d51c56237c200520a62f3e33d729d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-322%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=322&job=&cmd_args= [2023-04-24T06:46:33.822Z] -> Pinging Codecov [2023-04-24T06:46:33.822Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-322&commit=57f776768c6d51c56237c200520a62f3e33d729d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-322%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=322&job=&cmd_args= [2023-04-24T06:46:34.079Z] -> Uploading to [2023-04-24T06:46:34.080Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-24/F29A59C45E3A92E06B3E522C9905F8EF/57f776768c6d51c56237c200520a62f3e33d729d/be6365f6-80a4-46b7-a54c-5cac9cae4871.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T064633Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d91a85077a11679cc3eefdfea59c67f9ba075d95c259b179632750e599d99ab4 [2023-04-24T06:46:34.080Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T06:46:34.080Z] Dload Upload Total Spent Left Speed [2023-04-24T06:46:34.339Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 49070 --:--:-- --:--:-- --:--:-- 49070 [2023-04-24T06:46:34.339Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/57f776768c6d51c56237c200520a62f3e33d729d [Pipeline] } [2023-04-24T06:46:34.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-24T06:46:36.116Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-322/archives ] [2023-04-24T06:46:36.117Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-322/archives [2023-04-24T06:46:36.117Z] total 16 [2023-04-24T06:46:36.117Z] drwxr-xr-x 3 root root 4096 Apr 24 06:34 . [2023-04-24T06:46:36.117Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:34 .. [2023-04-24T06:46:36.117Z] drwxr-xr-x 2 root root 4096 Apr 24 06:34 cost [2023-04-24T06:46:36.117Z] -rw-r--r-- 1 root root 91 Apr 24 06:34 cost.csv [2023-04-24T06:46:36.117Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-322/archives [2023-04-24T06:46:36.117Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-322/archives [2023-04-24T06:46:36.117Z] total 16 [2023-04-24T06:46:36.117Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:34 . [2023-04-24T06:46:36.117Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:34 .. [2023-04-24T06:46:36.117Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 06:34 cost [2023-04-24T06:46:36.117Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 24 06:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:36.441Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:37.322Z] ---> package-listing.sh [2023-04-24T06:46:37.322Z] ++ facter osfamily [2023-04-24T06:46:37.322Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T06:46:37.583Z] + OS_FAMILY=debian [2023-04-24T06:46:37.583Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-322 [2023-04-24T06:46:37.583Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T06:46:37.583Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T06:46:37.583Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T06:46:37.583Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T06:46:37.583Z] + '[' /w/workspace/undry_device-onvif-camera_PR-322 ']' [2023-04-24T06:46:37.583Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T06:46:37.583Z] + case "${OS_FAMILY}" in [2023-04-24T06:46:37.583Z] + dpkg -l [2023-04-24T06:46:37.583Z] + grep '^ii' [2023-04-24T06:46:37.583Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T06:46:37.583Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T06:46:37.583Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T06:46:37.583Z] + '[' /w/workspace/undry_device-onvif-camera_PR-322 ']' [2023-04-24T06:46:37.583Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-322/archives/ [2023-04-24T06:46:37.583Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-322/archives/ [Pipeline] echo [2023-04-24T06:46:37.616Z] 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-322/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-24T06:46:37.905Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:46:38.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:46:38.527Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:46:38.669Z] prd-ubuntu20.04-docker-8c-8g-9503 does not seem to be running inside a container [2023-04-24T06:46:38.701Z] $ 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-322/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-322 -v /w/workspace/undry_device-onvif-camera_PR-322:/w/workspace/undry_device-onvif-camera_PR-322:rw,z -v /w/workspace/undry_device-onvif-camera_PR-322@tmp:/w/workspace/undry_device-onvif-camera_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T06:46:38.913Z] $ docker top 881caf38423c8716a7fc2b547a617eeb66fc7ebd769616a90a9ad202c87a000b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:46:39.305Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T06:46:39.615Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T06:46:39.928Z] + ls /var/log/sa-host [2023-04-24T06:46:39.928Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:46:40.072Z] provisioning config files... [2023-04-24T06:46:40.080Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-322@tmp/config18061084507766886447tmp [Pipeline] { [Pipeline] echo [2023-04-24T06:46:40.134Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:40.447Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T06:46:40.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:40.870Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T06:46:40.909Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:41.224Z] ---> sudo-logs.sh [2023-04-24T06:46:41.224Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T06:46:41.309Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:41.615Z] ---> job-cost.sh [2023-04-24T06:46:41.616Z] lf-activate-venv: SKIPPING [2023-04-24T06:46:41.616Z] DEBUG: total: 0.2199999988079071 [2023-04-24T06:46:41.616Z] INFO: Retrieving Stack Cost... [2023-04-24T06:46:41.875Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:46:42.443Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T06:46:42.482Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:42.793Z] ---> logs-deploy.sh [2023-04-24T06:46:42.793Z] lf-activate-venv: SKIPPING [2023-04-24T06:46:42.793Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-322/1 [2023-04-24T06:46:42.793Z] INFO: archiving workspace using pattern(s): [2023-04-24T06:46:43.731Z] Archives upload complete. [2023-04-24T06:46:43.731Z] INFO: archiving logs to Nexus