Pull request #324 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b44e596608ff0db1667c620625bdaa6cc97c5731+e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 (e5162baf62a9fd043f4bf8c10ef988453bb25e4a) 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-ssh10455937035216128179.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-ssh14200417914070846865.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-324/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-324/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6286437682860382150.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-324/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14324774735670873047.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-ssh9880613903553837968.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-324/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-324/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh779832139897927234.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10922 in /w/workspace/undry_device-onvif-camera_PR-324 [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-324 # 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/324/head:refs/remotes/origin/PR-324 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 into PR head commit b44e596608ff0db1667c620625bdaa6cc97c5731 Merge succeeded, producing b44e596608ff0db1667c620625bdaa6cc97c5731 Checking out Revision b44e596608ff0db1667c620625bdaa6cc97c5731 (PR-324) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 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-26T04:02:22.863Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b44e596608ff0db1667c620625bdaa6cc97c5731 # 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 e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b44e596608ff0db1667c620625bdaa6cc97c5731 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-26T04:02:23.056Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-26T04:02:23.163Z] ========================================================= [2023-04-26T04:02:23.163Z] EdgeX Global Pipelines Version Info [2023-04-26T04:02:23.163Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-26T04:02:23.907Z] ------------------- [2023-04-26T04:02:23.907Z] stable info: [2023-04-26T04:02:23.907Z] ------------------- [2023-04-26T04:02:23.907Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-26T04:02:23.907Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-26T04:02:23.907Z] Message: update stable to v1.0.248 [2023-04-26T04:02:24.480Z] ------------------- [2023-04-26T04:02:24.480Z] experimental info: [2023-04-26T04:02:24.480Z] ------------------- [2023-04-26T04:02:24.480Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-26T04:02:24.480Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-26T04:02:24.480Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-26T04:02:24.750Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-26T04:02:24.790Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-26T04:02:24.835Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-26T04:02:24.875Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-26T04:02:24.914Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-26T04:02:24.955Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-26T04:02:24.999Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-26T04:02:25.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-26T04:02:25.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-26T04:02:25.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-26T04:02:25.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-26T04:02:25.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-26T04:02:25.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-26T04:02:25.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-26T04:02:25.327Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-26T04:02:25.369Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-26T04:02:25.409Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-26T04:02:25.446Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-26T04:02:25.491Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-26T04:02:25.529Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-26T04:02:25.572Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-26T04:02:25.610Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-26T04:02:25.649Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-26T04:02:25.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-26T04:02:25.731Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-26T04:02:25.774Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-26T04:02:25.816Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-26T04:02:25.861Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-324 [Pipeline] echo [2023-04-26T04:02:25.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-324 [Pipeline] echo [2023-04-26T04:02:26.160Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-324 [Pipeline] echo [2023-04-26T04:02:26.257Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b44e596608ff0db1667c620625bdaa6cc97c5731 [Pipeline] echo [2023-04-26T04:02:26.300Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b44e596 [Pipeline] echo [2023-04-26T04:02:26.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-26T04:02:26.452Z] provisioning config files... [2023-04-26T04:02:26.469Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-324@tmp/config14165006688019100777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-26T04:02:26.813Z] ---> docker-login.sh [2023-04-26T04:02:26.813Z] nexus3.edgexfoundry.org:10001 [2023-04-26T04:02:26.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:02:27.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:02:27.078Z] Configure a credential helper to remove this warning. See [2023-04-26T04:02:27.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:02:27.078Z] [2023-04-26T04:02:27.078Z] Login Succeeded [2023-04-26T04:02:27.078Z] nexus3.edgexfoundry.org:10002 [2023-04-26T04:02:27.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:02:27.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:02:27.348Z] Configure a credential helper to remove this warning. See [2023-04-26T04:02:27.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:02:27.348Z] [2023-04-26T04:02:27.348Z] Login Succeeded [2023-04-26T04:02:27.348Z] nexus3.edgexfoundry.org:10003 [2023-04-26T04:02:27.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:02:27.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:02:27.348Z] Configure a credential helper to remove this warning. See [2023-04-26T04:02:27.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:02:27.348Z] [2023-04-26T04:02:27.348Z] Login Succeeded [2023-04-26T04:02:27.348Z] nexus3.edgexfoundry.org:10004 [2023-04-26T04:02:27.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:02:27.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:02:27.609Z] Configure a credential helper to remove this warning. See [2023-04-26T04:02:27.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:02:27.609Z] [2023-04-26T04:02:27.609Z] Login Succeeded [2023-04-26T04:02:27.609Z] docker.io [2023-04-26T04:02:27.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:02:27.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:02:27.869Z] Configure a credential helper to remove this warning. See [2023-04-26T04:02:27.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:02:27.869Z] [2023-04-26T04:02:27.869Z] Login Succeeded [2023-04-26T04:02:27.869Z] ---> docker-login.sh ends [Pipeline] } [2023-04-26T04:02:27.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-26T04:02:28.506Z] + git rev-list -1 --merges b44e596608ff0db1667c620625bdaa6cc97c5731~1..b44e596608ff0db1667c620625bdaa6cc97c5731 [Pipeline] echo [2023-04-26T04:02:28.576Z] -----------> git rev-list -1 --merges b44e596608ff0db1667c620625bdaa6cc97c5731~1..b44e596608ff0db1667c620625bdaa6cc97c5731 b44e596608ff0db1667c620625bdaa6cc97c5731 [false] [Pipeline] sh [2023-04-26T04:02:28.886Z] + git log --format=format:%s -1 b44e596608ff0db1667c620625bdaa6cc97c5731 [Pipeline] echo [2023-04-26T04:02:28.920Z] ========================================================= [2023-04-26T04:02:28.920Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-26T04:02:28.920Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-26T04:02:29.334Z] + git log --format=format:%s -1 b44e596608ff0db1667c620625bdaa6cc97c5731 [Pipeline] echo [2023-04-26T04:02:29.365Z] [semverPrep] GIT_COMMIT: b44e596608ff0db1667c620625bdaa6cc97c5731, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-04-26T04:02:29.393Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-26T04:02:29.793Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-26T04:02:29.793Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-26T04:02:29.793Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-26T04:02:29.793Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-26T04:02:29.793Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-26T04:02:29.793Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-26T04:02:29.793Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T04:02:30.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-26T04:02:30.283Z] [2023-04-26T04:02:30.283Z] 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-26T04:02:30.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-26T04:02:30.666Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-26T04:02:30.666Z] b85a868b505f: Pulling fs layer [2023-04-26T04:02:30.666Z] e2be974225ed: Pulling fs layer [2023-04-26T04:02:30.666Z] 339a4e72a1f5: Pulling fs layer [2023-04-26T04:02:30.666Z] 988bab9f4d93: Pulling fs layer [2023-04-26T04:02:30.666Z] 1469e6f7b9e6: Pulling fs layer [2023-04-26T04:02:30.666Z] eaf3925da568: Pulling fs layer [2023-04-26T04:02:30.666Z] bab4dde63d76: Pulling fs layer [2023-04-26T04:02:30.666Z] bde34c3a00c8: Pulling fs layer [2023-04-26T04:02:30.666Z] b352a97aabf1: Pulling fs layer [2023-04-26T04:02:30.666Z] 4872d77fe225: Pulling fs layer [2023-04-26T04:02:30.666Z] 5851b861e8e6: Pulling fs layer [2023-04-26T04:02:30.666Z] 988bab9f4d93: Waiting [2023-04-26T04:02:30.666Z] 1469e6f7b9e6: Waiting [2023-04-26T04:02:30.666Z] b352a97aabf1: Waiting [2023-04-26T04:02:30.666Z] 4872d77fe225: Waiting [2023-04-26T04:02:30.666Z] 5851b861e8e6: Waiting [2023-04-26T04:02:30.666Z] bab4dde63d76: Waiting [2023-04-26T04:02:30.666Z] eaf3925da568: Waiting [2023-04-26T04:02:30.666Z] bde34c3a00c8: Waiting [2023-04-26T04:02:30.666Z] e2be974225ed: Download complete [2023-04-26T04:02:30.666Z] 988bab9f4d93: Verifying Checksum [2023-04-26T04:02:30.666Z] 988bab9f4d93: Download complete [2023-04-26T04:02:30.931Z] 339a4e72a1f5: Download complete [2023-04-26T04:02:30.931Z] 1469e6f7b9e6: Verifying Checksum [2023-04-26T04:02:30.931Z] 1469e6f7b9e6: Download complete [2023-04-26T04:02:30.931Z] eaf3925da568: Download complete [2023-04-26T04:02:30.931Z] bde34c3a00c8: Verifying Checksum [2023-04-26T04:02:30.931Z] b352a97aabf1: Verifying Checksum [2023-04-26T04:02:30.931Z] b352a97aabf1: Download complete [2023-04-26T04:02:30.931Z] 4872d77fe225: Download complete [2023-04-26T04:02:30.931Z] 5851b861e8e6: Verifying Checksum [2023-04-26T04:02:30.931Z] 5851b861e8e6: Download complete [2023-04-26T04:02:30.931Z] b85a868b505f: Verifying Checksum [2023-04-26T04:02:30.931Z] b85a868b505f: Download complete [2023-04-26T04:02:31.191Z] bab4dde63d76: Verifying Checksum [2023-04-26T04:02:31.191Z] bab4dde63d76: Download complete [2023-04-26T04:02:32.567Z] b85a868b505f: Pull complete [2023-04-26T04:02:32.567Z] e2be974225ed: Pull complete [2023-04-26T04:02:32.826Z] 339a4e72a1f5: Pull complete [2023-04-26T04:02:33.087Z] 988bab9f4d93: Pull complete [2023-04-26T04:02:33.347Z] 1469e6f7b9e6: Pull complete [2023-04-26T04:02:33.347Z] eaf3925da568: Pull complete [2023-04-26T04:02:35.253Z] bab4dde63d76: Pull complete [2023-04-26T04:02:35.253Z] bde34c3a00c8: Pull complete [2023-04-26T04:02:35.253Z] b352a97aabf1: Pull complete [2023-04-26T04:02:35.253Z] 4872d77fe225: Pull complete [2023-04-26T04:02:35.253Z] 5851b861e8e6: Pull complete [2023-04-26T04:02:35.253Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-26T04:02:35.253Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-26T04:02:35.253Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T04:02:35.495Z] prd-ubuntu20.04-docker-8c-8g-10922 does not seem to be running inside a container [2023-04-26T04:02:35.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-324 -v /w/workspace/undry_device-onvif-camera_PR-324:/w/workspace/undry_device-onvif-camera_PR-324:rw,z -v /w/workspace/undry_device-onvif-camera_PR-324@tmp:/w/workspace/undry_device-onvif-camera_PR-324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-26T04:02:38.426Z] $ docker top 9badc1471eaf8c68c5f566c780423c904e67fa5c4e5d58ce8f75e01a60216e48 -eo pid,comm [2023-04-26T04:02:38.479Z] 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-26T04:02:38.479Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-26T04:02:38.607Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-26T04:02:38.607Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-26T04:02:38.726Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-26T04:02:38.728Z] $ docker exec 9badc1471eaf8c68c5f566c780423c904e67fa5c4e5d58ce8f75e01a60216e48 ssh-agent [2023-04-26T04:02:38.833Z] SSH_AUTH_SOCK=/tmp/ssh-bI7MJ7psZ1g9/agent.31 [2023-04-26T04:02:38.833Z] SSH_AGENT_PID=37 [2023-04-26T04:02:38.841Z] Running ssh-add (command line suppressed) [2023-04-26T04:02:38.935Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-324@tmp/private_key_12876315963040890699.key (/w/workspace/undry_device-onvif-camera_PR-324@tmp/private_key_12876315963040890699.key) [2023-04-26T04:02:38.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-26T04:02:39.285Z] + git tag --points-at HEAD [Pipeline] } [2023-04-26T04:02:39.310Z] $ docker exec --env ******** --env ******** 9badc1471eaf8c68c5f566c780423c904e67fa5c4e5d58ce8f75e01a60216e48 ssh-agent -k [2023-04-26T04:02:39.409Z] unset SSH_AUTH_SOCK; [2023-04-26T04:02:39.410Z] unset SSH_AGENT_PID; [2023-04-26T04:02:39.410Z] echo Agent pid 37 killed; [2023-04-26T04:02:39.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-26T04:02:39.514Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-26T04:02:39.515Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-26T04:02:39.632Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-26T04:02:39.634Z] $ docker exec 9badc1471eaf8c68c5f566c780423c904e67fa5c4e5d58ce8f75e01a60216e48 ssh-agent [2023-04-26T04:02:39.761Z] SSH_AUTH_SOCK=/tmp/ssh-y8gWTnT6ZpYD/agent.69 [2023-04-26T04:02:39.761Z] SSH_AGENT_PID=75 [2023-04-26T04:02:39.765Z] Running ssh-add (command line suppressed) [2023-04-26T04:02:39.871Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-324@tmp/private_key_18214007089834820820.key (/w/workspace/undry_device-onvif-camera_PR-324@tmp/private_key_18214007089834820820.key) [2023-04-26T04:02:39.884Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-26T04:02:40.217Z] + git semver init [2023-04-26T04:02:40.478Z] 2023-04-26 04:02:40,392 [run_init] DEBUG init version:0.0.0 force:False [2023-04-26T04:02:40.479Z] 2023-04-26 04:02:40,393 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-324/.semver [2023-04-26T04:02:40.479Z] 2023-04-26 04:02:40,394 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-324/.semver [2023-04-26T04:02:40.479Z] 2023-04-26 04:02:40,394 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-324/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-324, universal_newlines=False, shell=None, istream=None) [2023-04-26T04:02:41.421Z] 2023-04-26 04:02:41,266 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-324/.git/info/exclude [2023-04-26T04:02:41.421Z] 2023-04-26 04:02:41,266 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-324/.semver/PR-324 with force:False [2023-04-26T04:02:41.421Z] 2023-04-26 04:02:41,266 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-324/.semver/PR-324 [2023-04-26T04:02:41.421Z] 2023-04-26 04:02:41,269 [execute] INFO git cat-file --batch-check [2023-04-26T04:02:41.421Z] 2023-04-26 04:02:41,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-324/.semver, universal_newlines=False, shell=None, istream=) [2023-04-26T04:02:41.421Z] 2023-04-26 04:02:41,275 [execute] INFO git cat-file --batch [2023-04-26T04:02:41.421Z] 2023-04-26 04:02:41,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-324/.semver, universal_newlines=False, shell=None, istream=) [2023-04-26T04:02:41.421Z] 2023-04-26 04:02:41,281 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-324/.semver/PR-324 [2023-04-26T04:02:41.421Z] 0.0.0 [Pipeline] } [2023-04-26T04:02:41.447Z] $ docker exec --env ******** --env ******** 9badc1471eaf8c68c5f566c780423c904e67fa5c4e5d58ce8f75e01a60216e48 ssh-agent -k [2023-04-26T04:02:41.559Z] unset SSH_AUTH_SOCK; [2023-04-26T04:02:41.560Z] unset SSH_AGENT_PID; [2023-04-26T04:02:41.560Z] echo Agent pid 75 killed; [2023-04-26T04:02:41.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-26T04:02:42.007Z] + git semver [Pipeline] } [2023-04-26T04:02:42.290Z] $ docker stop --time=1 9badc1471eaf8c68c5f566c780423c904e67fa5c4e5d58ce8f75e01a60216e48 [2023-04-26T04:02:43.599Z] $ docker rm -f --volumes 9badc1471eaf8c68c5f566c780423c904e67fa5c4e5d58ce8f75e01a60216e48 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-26T04:02:44.011Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-26T04:02:44.279Z] Stashed 1 file(s) [Pipeline] echo [2023-04-26T04:02:44.296Z] [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-26T04:02:44.895Z] provisioning config files... [2023-04-26T04:02:44.905Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-324@tmp/config2503876170955243439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-26T04:02:45.250Z] ---> docker-login.sh [2023-04-26T04:02:45.250Z] nexus3.edgexfoundry.org:10001 [2023-04-26T04:02:45.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:02:45.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:02:45.250Z] Configure a credential helper to remove this warning. See [2023-04-26T04:02:45.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:02:45.250Z] [2023-04-26T04:02:45.250Z] Login Succeeded [2023-04-26T04:02:45.250Z] nexus3.edgexfoundry.org:10002 [2023-04-26T04:02:45.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:02:45.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:02:45.509Z] Configure a credential helper to remove this warning. See [2023-04-26T04:02:45.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:02:45.509Z] [2023-04-26T04:02:45.509Z] Login Succeeded [2023-04-26T04:02:45.509Z] nexus3.edgexfoundry.org:10003 [2023-04-26T04:02:45.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:02:45.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:02:45.509Z] Configure a credential helper to remove this warning. See [2023-04-26T04:02:45.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:02:45.509Z] [2023-04-26T04:02:45.509Z] Login Succeeded [2023-04-26T04:02:45.509Z] nexus3.edgexfoundry.org:10004 [2023-04-26T04:02:45.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:02:45.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:02:45.769Z] Configure a credential helper to remove this warning. See [2023-04-26T04:02:45.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:02:45.769Z] [2023-04-26T04:02:45.769Z] Login Succeeded [2023-04-26T04:02:45.769Z] docker.io [2023-04-26T04:02:45.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:02:46.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:02:46.028Z] Configure a credential helper to remove this warning. See [2023-04-26T04:02:46.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:02:46.028Z] [2023-04-26T04:02:46.028Z] Login Succeeded [2023-04-26T04:02:46.028Z] ---> docker-login.sh ends [Pipeline] } [2023-04-26T04:02:46.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-26T04:02:46.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-26T04:02:46.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-26T04:02:46.337Z] ========================================================= [2023-04-26T04:02:46.337Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-26T04:02:46.337Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T04:02:46.817Z] + 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-26T04:02:46.817Z] Sending build context to Docker daemon 26.96MB [2023-04-26T04:02:46.817Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-26T04:02:46.817Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-26T04:02:47.077Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-26T04:02:47.077Z] f56be85fc22e: Pulling fs layer [2023-04-26T04:02:47.077Z] 85791d961cd3: Pulling fs layer [2023-04-26T04:02:47.077Z] d694b5ae8c79: Pulling fs layer [2023-04-26T04:02:47.077Z] 9f32a84ed3da: Pulling fs layer [2023-04-26T04:02:47.077Z] 4d19c01a9841: Pulling fs layer [2023-04-26T04:02:47.077Z] 9325e15d5711: Pulling fs layer [2023-04-26T04:02:47.077Z] 556b6ee489ea: Pulling fs layer [2023-04-26T04:02:47.077Z] c5a4b2cf53e6: Pulling fs layer [2023-04-26T04:02:47.077Z] 9325e15d5711: Waiting [2023-04-26T04:02:47.077Z] 556b6ee489ea: Waiting [2023-04-26T04:02:47.077Z] c5a4b2cf53e6: Waiting [2023-04-26T04:02:47.077Z] 9f32a84ed3da: Waiting [2023-04-26T04:02:47.077Z] 4d19c01a9841: Waiting [2023-04-26T04:02:47.077Z] 85791d961cd3: Verifying Checksum [2023-04-26T04:02:47.077Z] 85791d961cd3: Download complete [2023-04-26T04:02:47.077Z] 9f32a84ed3da: Verifying Checksum [2023-04-26T04:02:47.077Z] 9f32a84ed3da: Download complete [2023-04-26T04:02:47.077Z] 4d19c01a9841: Verifying Checksum [2023-04-26T04:02:47.077Z] 4d19c01a9841: Download complete [2023-04-26T04:02:47.077Z] f56be85fc22e: Download complete [2023-04-26T04:02:47.077Z] 9325e15d5711: Verifying Checksum [2023-04-26T04:02:47.077Z] 9325e15d5711: Download complete [2023-04-26T04:02:47.340Z] f56be85fc22e: Pull complete [2023-04-26T04:02:47.340Z] 85791d961cd3: Pull complete [2023-04-26T04:02:47.601Z] c5a4b2cf53e6: Verifying Checksum [2023-04-26T04:02:47.601Z] c5a4b2cf53e6: Download complete [2023-04-26T04:02:47.862Z] d694b5ae8c79: Verifying Checksum [2023-04-26T04:02:47.862Z] d694b5ae8c79: Download complete [2023-04-26T04:02:47.862Z] 556b6ee489ea: Verifying Checksum [2023-04-26T04:02:47.862Z] 556b6ee489ea: Download complete [2023-04-26T04:02:51.146Z] d694b5ae8c79: Pull complete [2023-04-26T04:02:51.146Z] 9f32a84ed3da: Pull complete [2023-04-26T04:02:51.404Z] 4d19c01a9841: Pull complete [2023-04-26T04:02:51.405Z] 9325e15d5711: Pull complete [2023-04-26T04:02:53.940Z] 556b6ee489ea: Pull complete [2023-04-26T04:02:54.875Z] c5a4b2cf53e6: Pull complete [2023-04-26T04:02:54.875Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-26T04:02:54.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-26T04:02:54.875Z] ---> c4be618373d6 [2023-04-26T04:02:54.875Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-26T04:02:58.167Z] ---> Running in a3929c16c3ef [2023-04-26T04:02:58.167Z] Removing intermediate container a3929c16c3ef [2023-04-26T04:02:58.167Z] ---> 2b401d37f481 [2023-04-26T04:02:58.167Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-26T04:02:58.167Z] ---> Running in bfc122020ad3 [2023-04-26T04:02:58.167Z] Removing intermediate container bfc122020ad3 [2023-04-26T04:02:58.167Z] ---> 3ee78cedbe76 [2023-04-26T04:02:58.167Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-26T04:02:58.167Z] ---> Running in f3bdd10f9df0 [2023-04-26T04:02:58.427Z] Removing intermediate container f3bdd10f9df0 [2023-04-26T04:02:58.427Z] ---> 779b27f69eda [2023-04-26T04:02:58.427Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-26T04:02:58.427Z] ---> Running in b9422e4ae252 [2023-04-26T04:02:58.427Z] Removing intermediate container b9422e4ae252 [2023-04-26T04:02:58.427Z] ---> cfaf503627c0 [2023-04-26T04:02:58.427Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-26T04:02:58.427Z] ---> Running in e1b5e9d81fd5 [2023-04-26T04:02:58.427Z] Removing intermediate container e1b5e9d81fd5 [2023-04-26T04:02:58.427Z] ---> 6deee40eece3 [2023-04-26T04:02:58.427Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-26T04:02:58.427Z] ---> Running in 3b7ef48b4565 [2023-04-26T04:02:58.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-26T04:02:58.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-26T04:02:59.207Z] OK: 265 MiB in 53 packages [2023-04-26T04:02:59.467Z] Removing intermediate container 3b7ef48b4565 [2023-04-26T04:02:59.467Z] ---> eaf5e8fffc3f [2023-04-26T04:02:59.467Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-26T04:02:59.467Z] ---> Running in 099552f77261 [2023-04-26T04:02:59.467Z] Removing intermediate container 099552f77261 [2023-04-26T04:02:59.467Z] ---> ee3f1650fb4a [2023-04-26T04:02:59.467Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-26T04:02:59.716Z] Still waiting to schedule task [2023-04-26T04:02:59.717Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-26T04:02:59.727Z] ---> d3460cfe9b3b [2023-04-26T04:02:59.727Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-26T04:02:59.727Z] ---> Running in 9a83480e0e16 [2023-04-26T04:04:07.458Z] Removing intermediate container 9a83480e0e16 [2023-04-26T04:04:07.458Z] ---> f21382309592 [2023-04-26T04:04:07.458Z] Step 12/13 : COPY . . [2023-04-26T04:04:07.458Z] ---> a133e5d5ffe4 [2023-04-26T04:04:07.458Z] Step 13/13 : RUN ${MAKE} [2023-04-26T04:04:07.458Z] ---> Running in dfad6c0c1d0c [2023-04-26T04:04:07.458Z] noop [2023-04-26T04:04:07.458Z] Removing intermediate container dfad6c0c1d0c [2023-04-26T04:04:07.458Z] ---> 0f73092c9e9b [2023-04-26T04:04:07.458Z] Successfully built 0f73092c9e9b [2023-04-26T04:04:07.458Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T04:04:07.915Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-26T04:04:07.915Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T04:04:08.076Z] prd-ubuntu20.04-docker-8c-8g-10922 does not seem to be running inside a container [2023-04-26T04:04:08.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-324 -v /w/workspace/undry_device-onvif-camera_PR-324:/w/workspace/undry_device-onvif-camera_PR-324:rw,z -v /w/workspace/undry_device-onvif-camera_PR-324@tmp:/w/workspace/undry_device-onvif-camera_PR-324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-26T04:04:08.463Z] $ docker top 8e72dcd883d96227ba34390d4899007c6c51f0dbdf79d97c83a94826fdb391b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-26T04:04:08.901Z] + go version [2023-04-26T04:04:08.901Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-26T04:04:08.940Z] $ docker stop --time=1 8e72dcd883d96227ba34390d4899007c6c51f0dbdf79d97c83a94826fdb391b2 [2023-04-26T04:04:10.215Z] $ docker rm -f --volumes 8e72dcd883d96227ba34390d4899007c6c51f0dbdf79d97c83a94826fdb391b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T04:04:10.911Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-26T04:04:10.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T04:04:11.063Z] prd-ubuntu20.04-docker-8c-8g-10922 does not seem to be running inside a container [2023-04-26T04:04:11.103Z] $ 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-324 -v /w/workspace/undry_device-onvif-camera_PR-324:/w/workspace/undry_device-onvif-camera_PR-324:rw,z -v /w/workspace/undry_device-onvif-camera_PR-324@tmp:/w/workspace/undry_device-onvif-camera_PR-324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-26T04:04:11.440Z] $ docker top 9d36427c41e6ace555ba5e36807299b020afbf3b539738d2f07b81cc47a95b9a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-26T04:04:11.836Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-324 [Pipeline] fileExists [Pipeline] sh [2023-04-26T04:04:12.203Z] + make test [2023-04-26T04:04:12.204Z] go test ./... -coverprofile=coverage.out ./... [2023-04-26T04:04:17.480Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-26T04:04:27.465Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-26T04:04:27.465Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-26T04:04:29.264Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10924 in /w/workspace/undry_device-onvif-camera_PR-324 [Pipeline] { [Pipeline] ws [2023-04-26T04:04:29.325Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-04-26T04:04:29.416Z] The recommended git tool is: git [2023-04-26T04:04:30.003Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 31.6% of statements [2023-04-26T04:04:30.003Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.165s coverage: 86.5% of statements [2023-04-26T04:04:34.536Z] using credential edgex-jenkins-ssh [2023-04-26T04:04:34.554Z] Cloning the remote Git repository [2023-04-26T04:04:34.601Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-26T04:04:34.694Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-04-26T04:04:34.849Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-26T04:04:34.849Z] > git --version # timeout=10 [2023-04-26T04:04:34.870Z] > git --version # 'git version 2.25.1' [2023-04-26T04:04:34.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-26T04:04:35.017Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-26T04:04:36.583Z] go vet ./... [2023-04-26T04:04:36.389Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-26T04:04:36.415Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-26T04:04:37.970Z] Merging remotes/origin/main commit e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 into PR head commit b44e596608ff0db1667c620625bdaa6cc97c5731 [2023-04-26T04:04:37.391Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-26T04:04:37.436Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-26T04:04:37.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-26T04:04:37.453Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/324/head:refs/remotes/origin/PR-324 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-26T04:04:37.989Z] > git config core.sparsecheckout # timeout=10 [2023-04-26T04:04:38.052Z] > git checkout -f b44e596608ff0db1667c620625bdaa6cc97c5731 # timeout=10 [2023-04-26T04:04:38.455Z] Merge succeeded, producing b44e596608ff0db1667c620625bdaa6cc97c5731 [2023-04-26T04:04:38.456Z] Checking out Revision b44e596608ff0db1667c620625bdaa6cc97c5731 (PR-324) [2023-04-26T04:04:39.309Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-04-26T04:04:39.364Z] > git --version # timeout=10 [2023-04-26T04:04:39.375Z] > git --version # 'git version 2.25.1' [2023-04-26T04:04:39.399Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-26T04:04:38.329Z] > git remote # timeout=10 [2023-04-26T04:04:38.360Z] > git config --get remote.origin.url # timeout=10 [2023-04-26T04:04:38.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-26T04:04:38.409Z] > git merge e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 # timeout=10 [2023-04-26T04:04:38.436Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-26T04:04:38.468Z] > git config core.sparsecheckout # timeout=10 [2023-04-26T04:04:38.493Z] > git checkout -f b44e596608ff0db1667c620625bdaa6cc97c5731 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-04-26T04:04:39.890Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-26T04:04:39.890Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-26T04:04:39.890Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-26T04:04:39.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-26T04:04:39.976Z] $ docker stop --time=1 9d36427c41e6ace555ba5e36807299b020afbf3b539738d2f07b81cc47a95b9a [2023-04-26T04:04:43.588Z] $ docker rm -f --volumes 9d36427c41e6ace555ba5e36807299b020afbf3b539738d2f07b81cc47a95b9a [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-26T04:04:44.092Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-26T04:04:44.172Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-04-26T04:04:44.382Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-26T04:04:44.382Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-26T04:04:44.382Z] Dload Upload Total Spent Left Speed [2023-04-26T04:04:44.382Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh [Pipeline] sh [2023-04-26T04:04:44.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-26T04:04:45.015Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-26T04:04:45.225Z] + ls -al . [2023-04-26T04:04:45.226Z] total 236 [2023-04-26T04:04:45.226Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 04:04 . [2023-04-26T04:04:45.226Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:02 .. [2023-04-26T04:04:45.226Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 04:02 .git [2023-04-26T04:04:45.226Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 04:02 .github [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 26 04:02 .gitignore [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 26 04:02 .golangci.yml [2023-04-26T04:04:45.226Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 04:02 .semver [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 9861 Apr 26 04:02 Attribution.txt [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 26 04:02 CHANGELOG.md [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 26 04:02 Dockerfile [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 04:02 GOVERNANCE.md [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 26 04:02 Jenkinsfile [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 26 04:02 LICENSE [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 26 04:02 Makefile [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 26 04:02 OWNERS.md [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 26 04:02 README.md [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 04:02 VERSION [2023-04-26T04:04:45.226Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 04:02 bin [2023-04-26T04:04:45.226Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 04:02 cmd [2023-04-26T04:04:45.226Z] -rw-r--r-- 1 jenkins jenkins 78922 Apr 26 04:04 coverage.out [2023-04-26T04:04:45.226Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 26 04:02 doc [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 26 04:02 go.mod [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 32947 Apr 26 04:02 go.sum [2023-04-26T04:04:45.226Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:02 internal [2023-04-26T04:04:45.226Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:02 snap [2023-04-26T04:04:45.226Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 26 04:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T04:04:45.356Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-26T04:04:45.356Z] + sudo tee /etc/docker/daemon.new [2023-04-26T04:04:45.356Z] { [2023-04-26T04:04:45.356Z] "registry-mirrors": [ [2023-04-26T04:04:45.356Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-26T04:04:45.356Z] ], [2023-04-26T04:04:45.356Z] "bip": "10.250.0.254/24", [2023-04-26T04:04:45.356Z] "hosts": [ [2023-04-26T04:04:45.356Z] "tcp://0.0.0.0:5555", [2023-04-26T04:04:45.356Z] "unix:///var/run/docker.sock" [2023-04-26T04:04:45.356Z] ], [2023-04-26T04:04:45.356Z] "mtu": 1458, [2023-04-26T04:04:45.356Z] "selinux-enabled": true, [2023-04-26T04:04:45.356Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-26T04:04:45.356Z] } [Pipeline] sh [2023-04-26T04:04:45.613Z] + 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=b44e596608ff0db1667c620625bdaa6cc97c5731 --label arch=amd64 --label version=0.0.0 . [2023-04-26T04:04:45.613Z] Sending build context to Docker daemon 27.04MB [2023-04-26T04:04:45.613Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-26T04:04:45.613Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-26T04:04:45.613Z] ---> 0f73092c9e9b [2023-04-26T04:04:45.613Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-26T04:04:45.723Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-26T04:04:46.074Z] + sudo service docker restart [2023-04-26T04:04:46.185Z] ---> Running in 5ebba9c65a4e [2023-04-26T04:04:46.185Z] Removing intermediate container 5ebba9c65a4e [2023-04-26T04:04:46.185Z] ---> a72bb7129e53 [2023-04-26T04:04:46.185Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-26T04:04:46.185Z] ---> Running in fb58981a6ab5 [2023-04-26T04:04:46.185Z] Removing intermediate container fb58981a6ab5 [2023-04-26T04:04:46.185Z] ---> 2d09f3b66e7a [2023-04-26T04:04:46.185Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-26T04:04:46.185Z] ---> Running in f18a8513e970 [2023-04-26T04:04:46.185Z] Removing intermediate container f18a8513e970 [2023-04-26T04:04:46.185Z] ---> 4a0f08b0ba26 [2023-04-26T04:04:46.185Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-26T04:04:46.185Z] ---> Running in 8d08068da3dc [2023-04-26T04:04:46.445Z] Removing intermediate container 8d08068da3dc [2023-04-26T04:04:46.445Z] ---> 500af754c953 [2023-04-26T04:04:46.445Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-26T04:04:46.445Z] ---> Running in 3fee6549e020 [2023-04-26T04:04:46.445Z] Removing intermediate container 3fee6549e020 [2023-04-26T04:04:46.445Z] ---> 41b198c7b248 [2023-04-26T04:04:46.445Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-26T04:04:46.445Z] ---> Running in 8d268eb30c2e [2023-04-26T04:04:46.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-26T04:04:46.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-26T04:04:46.967Z] OK: 265 MiB in 53 packages [2023-04-26T04:04:47.534Z] Removing intermediate container 8d268eb30c2e [2023-04-26T04:04:47.534Z] ---> 9e99beade3e6 [2023-04-26T04:04:47.534Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-26T04:04:47.534Z] ---> Running in 28100d805db2 [2023-04-26T04:04:47.534Z] Removing intermediate container 28100d805db2 [2023-04-26T04:04:47.534Z] ---> 57d3cb7cae6d [2023-04-26T04:04:47.534Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-26T04:04:47.534Z] ---> 4b60d1f928db [2023-04-26T04:04:47.534Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-26T04:04:47.534Z] ---> Running in 62891a68ef0b [2023-04-26T04:04:48.529Z] Removing intermediate container 62891a68ef0b [2023-04-26T04:04:48.529Z] ---> d97344645d99 [2023-04-26T04:04:48.529Z] Step 12/26 : COPY . . [2023-04-26T04:04:49.097Z] ---> dbcda72c5792 [2023-04-26T04:04:49.097Z] Step 13/26 : RUN ${MAKE} [2023-04-26T04:04:49.097Z] ---> Running in 5ec6a283ea08 [2023-04-26T04:04:49.358Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-26T04:05:04.418Z] provisioning config files... [2023-04-26T04:05:04.447Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config14618507640273592476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-26T04:05:04.890Z] ---> docker-login.sh [2023-04-26T04:05:04.890Z] nexus3.edgexfoundry.org:10001 [2023-04-26T04:05:05.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:05:05.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:05:05.477Z] Configure a credential helper to remove this warning. See [2023-04-26T04:05:05.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:05:05.477Z] [2023-04-26T04:05:05.477Z] Login Succeeded [2023-04-26T04:05:05.477Z] nexus3.edgexfoundry.org:10002 [2023-04-26T04:05:05.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:05:05.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:05:05.746Z] Configure a credential helper to remove this warning. See [2023-04-26T04:05:05.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:05:05.746Z] [2023-04-26T04:05:05.746Z] Login Succeeded [2023-04-26T04:05:06.015Z] nexus3.edgexfoundry.org:10003 [2023-04-26T04:05:06.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:05:06.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:05:06.283Z] Configure a credential helper to remove this warning. See [2023-04-26T04:05:06.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:05:06.283Z] [2023-04-26T04:05:06.283Z] Login Succeeded [2023-04-26T04:05:06.283Z] nexus3.edgexfoundry.org:10004 [2023-04-26T04:05:06.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:05:06.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:05:06.554Z] Configure a credential helper to remove this warning. See [2023-04-26T04:05:06.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:05:06.554Z] [2023-04-26T04:05:06.554Z] Login Succeeded [2023-04-26T04:05:06.554Z] docker.io [2023-04-26T04:05:06.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T04:05:07.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T04:05:07.091Z] Configure a credential helper to remove this warning. See [2023-04-26T04:05:07.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T04:05:07.091Z] [2023-04-26T04:05:07.091Z] Login Succeeded [2023-04-26T04:05:07.091Z] ---> docker-login.sh ends [Pipeline] } [2023-04-26T04:05:07.120Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-26T04:05:07.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-26T04:05:07.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-26T04:05:07.606Z] ========================================================= [2023-04-26T04:05:07.606Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-26T04:05:07.606Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T04:05:08.109Z] + 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-26T04:05:08.699Z] Sending build context to Docker daemon 19.67MB [2023-04-26T04:05:08.699Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-26T04:05:08.699Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-26T04:05:08.699Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-26T04:05:08.699Z] c41833b44d91: Pulling fs layer [2023-04-26T04:05:08.699Z] ed15518f5707: Pulling fs layer [2023-04-26T04:05:08.699Z] feae8fd75edb: Pulling fs layer [2023-04-26T04:05:08.699Z] 242c74f7c9fa: Pulling fs layer [2023-04-26T04:05:08.699Z] 3cdef696dda3: Pulling fs layer [2023-04-26T04:05:08.699Z] 2ced38df9373: Pulling fs layer [2023-04-26T04:05:08.699Z] 242c74f7c9fa: Waiting [2023-04-26T04:05:08.699Z] 58f1dce35555: Pulling fs layer [2023-04-26T04:05:08.699Z] 3cdef696dda3: Waiting [2023-04-26T04:05:08.699Z] 2ced38df9373: Waiting [2023-04-26T04:05:08.699Z] 58f1dce35555: Waiting [2023-04-26T04:05:08.978Z] ed15518f5707: Verifying Checksum [2023-04-26T04:05:08.978Z] ed15518f5707: Download complete [2023-04-26T04:05:08.978Z] 242c74f7c9fa: Verifying Checksum [2023-04-26T04:05:08.978Z] 242c74f7c9fa: Download complete [2023-04-26T04:05:08.978Z] 3cdef696dda3: Verifying Checksum [2023-04-26T04:05:08.978Z] 3cdef696dda3: Download complete [2023-04-26T04:05:08.978Z] c41833b44d91: Verifying Checksum [2023-04-26T04:05:08.978Z] c41833b44d91: Download complete [2023-04-26T04:05:09.959Z] c41833b44d91: Pull complete [2023-04-26T04:05:10.553Z] 58f1dce35555: Verifying Checksum [2023-04-26T04:05:10.553Z] 58f1dce35555: Download complete [2023-04-26T04:05:10.553Z] ed15518f5707: Pull complete [2023-04-26T04:05:11.341Z] Removing intermediate container 5ec6a283ea08 [2023-04-26T04:05:11.341Z] ---> 31f55f4360f2 [2023-04-26T04:05:11.341Z] Step 14/26 : FROM alpine:3.17 [2023-04-26T04:05:11.341Z] 3.17: Pulling from library/alpine [2023-04-26T04:05:11.341Z] f56be85fc22e: Already exists [2023-04-26T04:05:11.341Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-26T04:05:11.341Z] Status: Downloaded newer image for alpine:3.17 [2023-04-26T04:05:11.341Z] ---> 9ed4aefc74f6 [2023-04-26T04:05:11.341Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-26T04:05:11.341Z] ---> Running in 5bf17a05f9ac [2023-04-26T04:05:11.341Z] Removing intermediate container 5bf17a05f9ac [2023-04-26T04:05:11.341Z] ---> 9c1924f235f3 [2023-04-26T04:05:11.341Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-26T04:05:11.341Z] ---> Running in fee5a13735e2 [2023-04-26T04:05:11.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-26T04:05:11.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-26T04:05:11.341Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-26T04:05:11.342Z] Executing busybox-1.35.0-r29.trigger [2023-04-26T04:05:11.342Z] OK: 7 MiB in 16 packages [2023-04-26T04:05:11.342Z] Removing intermediate container fee5a13735e2 [2023-04-26T04:05:11.342Z] ---> cdc52e8395a3 [2023-04-26T04:05:11.342Z] Step 17/26 : WORKDIR / [2023-04-26T04:05:11.342Z] ---> Running in 76610f9523a2 [2023-04-26T04:05:11.342Z] Removing intermediate container 76610f9523a2 [2023-04-26T04:05:11.342Z] ---> 677c8d19d06c [2023-04-26T04:05:11.342Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-26T04:05:11.342Z] ---> 0d9e4281f279 [2023-04-26T04:05:11.342Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-26T04:05:11.342Z] ---> 887dd75f7dec [2023-04-26T04:05:11.342Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-26T04:05:11.342Z] ---> 2d6c1073e451 [2023-04-26T04:05:11.342Z] Step 21/26 : EXPOSE 59984 [2023-04-26T04:05:11.342Z] ---> Running in 9ccdcaa91669 [2023-04-26T04:05:11.342Z] Removing intermediate container 9ccdcaa91669 [2023-04-26T04:05:11.342Z] ---> f8c7390dfc4c [2023-04-26T04:05:11.342Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-26T04:05:11.342Z] ---> Running in 3bbfad5894e7 [2023-04-26T04:05:11.342Z] Removing intermediate container 3bbfad5894e7 [2023-04-26T04:05:11.342Z] ---> 50a819a9ca3f [2023-04-26T04:05:11.342Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-26T04:05:11.342Z] ---> Running in c29300d3628c [2023-04-26T04:05:11.342Z] Removing intermediate container c29300d3628c [2023-04-26T04:05:11.342Z] ---> 12766cf0d94a [2023-04-26T04:05:11.342Z] Step 24/26 : LABEL arch=amd64 [2023-04-26T04:05:11.342Z] ---> Running in 3ef76db05b8d [2023-04-26T04:05:11.342Z] Removing intermediate container 3ef76db05b8d [2023-04-26T04:05:11.342Z] ---> f5c35471673b [2023-04-26T04:05:11.342Z] Step 25/26 : LABEL git_sha=b44e596608ff0db1667c620625bdaa6cc97c5731 [2023-04-26T04:05:11.342Z] ---> Running in 09e3af6b76d3 [2023-04-26T04:05:11.342Z] Removing intermediate container 09e3af6b76d3 [2023-04-26T04:05:11.342Z] ---> ac0853e8caf3 [2023-04-26T04:05:11.342Z] Step 26/26 : LABEL version=0.0.0 [2023-04-26T04:05:11.342Z] ---> Running in 94f531804d7b [2023-04-26T04:05:11.531Z] feae8fd75edb: Download complete [2023-04-26T04:05:11.532Z] 2ced38df9373: Verifying Checksum [2023-04-26T04:05:11.532Z] 2ced38df9373: Download complete [2023-04-26T04:05:11.602Z] Removing intermediate container 94f531804d7b [2023-04-26T04:05:11.602Z] ---> c5b99ccd7b4f [2023-04-26T04:05:11.602Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-26T04:05:11.602Z] Successfully built c5b99ccd7b4f [2023-04-26T04:05:11.602Z] 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-26T04:05:12.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-26T04:05:12.492Z] [2023-04-26T04:05:12.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T04:05:12.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-26T04:05:12.885Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-26T04:05:12.885Z] 5eb5b503b376: Pulling fs layer [2023-04-26T04:05:12.885Z] 5c69ac0246d0: Pulling fs layer [2023-04-26T04:05:12.885Z] ec43610c2a17: Pulling fs layer [2023-04-26T04:05:12.885Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-26T04:05:12.885Z] 33b1e0a273af: Pulling fs layer [2023-04-26T04:05:12.885Z] 5d3b04190fa2: Pulling fs layer [2023-04-26T04:05:12.885Z] 2f39f015ded8: Pulling fs layer [2023-04-26T04:05:12.885Z] 33b1e0a273af: Waiting [2023-04-26T04:05:12.885Z] 3a2ae6a8a46f: Waiting [2023-04-26T04:05:12.885Z] 5d3b04190fa2: Waiting [2023-04-26T04:05:12.885Z] 5c69ac0246d0: Verifying Checksum [2023-04-26T04:05:12.885Z] 5c69ac0246d0: Download complete [2023-04-26T04:05:12.885Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-26T04:05:12.885Z] 3a2ae6a8a46f: Download complete [2023-04-26T04:05:13.148Z] 33b1e0a273af: Verifying Checksum [2023-04-26T04:05:13.148Z] 33b1e0a273af: Download complete [2023-04-26T04:05:13.148Z] 5d3b04190fa2: Verifying Checksum [2023-04-26T04:05:13.148Z] 5d3b04190fa2: Download complete [2023-04-26T04:05:13.148Z] ec43610c2a17: Verifying Checksum [2023-04-26T04:05:13.148Z] ec43610c2a17: Download complete [2023-04-26T04:05:13.409Z] 5eb5b503b376: Verifying Checksum [2023-04-26T04:05:13.409Z] 5eb5b503b376: Download complete [2023-04-26T04:05:13.975Z] 2f39f015ded8: Download complete [2023-04-26T04:05:14.543Z] 5eb5b503b376: Pull complete [2023-04-26T04:05:14.543Z] 5c69ac0246d0: Pull complete [2023-04-26T04:05:15.110Z] ec43610c2a17: Pull complete [2023-04-26T04:05:15.372Z] 3a2ae6a8a46f: Pull complete [2023-04-26T04:05:15.939Z] 33b1e0a273af: Pull complete [2023-04-26T04:05:15.939Z] 5d3b04190fa2: Pull complete [2023-04-26T04:05:20.128Z] 2f39f015ded8: Pull complete [2023-04-26T04:05:20.128Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-26T04:05:20.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-26T04:05:20.128Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T04:05:20.351Z] prd-ubuntu20.04-docker-8c-8g-10922 does not seem to be running inside a container [2023-04-26T04:05:20.387Z] $ 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-324 -v /w/workspace/undry_device-onvif-camera_PR-324:/w/workspace/undry_device-onvif-camera_PR-324:rw,z -v /w/workspace/undry_device-onvif-camera_PR-324@tmp:/w/workspace/undry_device-onvif-camera_PR-324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-26T04:05:21.741Z] feae8fd75edb: Pull complete [2023-04-26T04:05:21.741Z] 242c74f7c9fa: Pull complete [2023-04-26T04:05:21.741Z] 3cdef696dda3: Pull complete [2023-04-26T04:05:25.574Z] $ docker top 47bce218e4cc59ea38fd9ed53ea487872b9f324eca729eb6d49fc2404c9a037b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-26T04:05:26.054Z] ---> job-cost.sh [2023-04-26T04:05:26.054Z] lf-activate-venv: SKIPPING [2023-04-26T04:05:26.054Z] INFO: No Stack... [2023-04-26T04:05:26.314Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-26T04:05:26.883Z] INFO: Archiving Costs [Pipeline] sh [2023-04-26T04:05:27.199Z] + cat /w/workspace/undry_device-onvif-camera_PR-324/archives/cost.csv [2023-04-26T04:05:27.199Z] + cut -d, -f6 [Pipeline] lock [2023-04-26T04:05:27.237Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-324-1-stack-cost] [2023-04-26T04:05:27.242Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-324-1-stack-cost] did not exist. Created. [2023-04-26T04:05:27.242Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-324-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-26T04:05:27.629Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-26T04:05:27.683Z] Stashed 1 file(s) [Pipeline] } [2023-04-26T04:05:27.713Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-324-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-26T04:05:27.805Z] $ docker stop --time=1 47bce218e4cc59ea38fd9ed53ea487872b9f324eca729eb6d49fc2404c9a037b [2023-04-26T04:05:28.388Z] 2ced38df9373: Pull complete [2023-04-26T04:05:28.945Z] $ docker rm -f --volumes 47bce218e4cc59ea38fd9ed53ea487872b9f324eca729eb6d49fc2404c9a037b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-26T04:05:31.752Z] 58f1dce35555: Pull complete [2023-04-26T04:05:31.752Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-26T04:05:31.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-26T04:05:31.752Z] ---> fadd8f120f05 [2023-04-26T04:05:31.752Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-26T04:05:33.707Z] ---> Running in 9c0a68d13080 [2023-04-26T04:05:33.974Z] Removing intermediate container 9c0a68d13080 [2023-04-26T04:05:33.974Z] ---> 5701f7db6530 [2023-04-26T04:05:33.974Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-26T04:05:34.249Z] ---> Running in 8ad5ad5b136d [2023-04-26T04:05:34.515Z] Removing intermediate container 8ad5ad5b136d [2023-04-26T04:05:34.516Z] ---> d3e8d0959460 [2023-04-26T04:05:34.516Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-26T04:05:34.516Z] ---> Running in 1774b2cb37c8 [2023-04-26T04:05:34.782Z] Removing intermediate container 1774b2cb37c8 [2023-04-26T04:05:34.782Z] ---> ad7ddd48629c [2023-04-26T04:05:34.782Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-26T04:05:34.782Z] ---> Running in 82987dc486d6 [2023-04-26T04:05:35.047Z] Removing intermediate container 82987dc486d6 [2023-04-26T04:05:35.047Z] ---> b78e10867ab4 [2023-04-26T04:05:35.047Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-26T04:05:35.312Z] ---> Running in 4f21849e2936 [2023-04-26T04:05:35.577Z] Removing intermediate container 4f21849e2936 [2023-04-26T04:05:35.577Z] ---> 3074fab6ff07 [2023-04-26T04:05:35.577Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-26T04:05:35.577Z] ---> Running in 68be132ae608 [2023-04-26T04:05:36.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-26T04:05:37.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-26T04:05:38.079Z] OK: 263 MiB in 53 packages [2023-04-26T04:05:39.044Z] Removing intermediate container 68be132ae608 [2023-04-26T04:05:39.044Z] ---> 32e516f228eb [2023-04-26T04:05:39.044Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-26T04:05:39.044Z] ---> Running in c8d4f83535ad [2023-04-26T04:05:39.311Z] Removing intermediate container c8d4f83535ad [2023-04-26T04:05:39.311Z] ---> 8f6ef7aca5dd [2023-04-26T04:05:39.311Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-26T04:05:39.576Z] ---> 0613238357f7 [2023-04-26T04:05:39.576Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-26T04:05:39.843Z] ---> Running in 6623ef8acd5b [2023-04-26T04:06:47.720Z] Removing intermediate container 6623ef8acd5b [2023-04-26T04:06:47.720Z] ---> c3c54b9480ee [2023-04-26T04:06:47.720Z] Step 12/13 : COPY . . [2023-04-26T04:06:47.720Z] ---> f3a60537fd78 [2023-04-26T04:06:47.720Z] Step 13/13 : RUN ${MAKE} [2023-04-26T04:06:47.720Z] ---> Running in 4f4aaa5a3129 [2023-04-26T04:06:47.720Z] noop [2023-04-26T04:06:47.720Z] Removing intermediate container 4f4aaa5a3129 [2023-04-26T04:06:47.720Z] ---> 90428bdf4958 [2023-04-26T04:06:47.720Z] Successfully built 90428bdf4958 [2023-04-26T04:06:47.720Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T04:06:48.191Z] + docker inspect -f . ci-base-image-arm64 [2023-04-26T04:06:48.191Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T04:06:48.465Z] prd-ubuntu20.04-docker-arm64-4c-16g-10924 does not seem to be running inside a container [2023-04-26T04:06:48.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-26T04:06:49.725Z] $ docker top 943d22d76b07a88d86f067b0473f26e811dca4f247737dfe8481574b2bf83831 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-26T04:06:50.599Z] + go version [2023-04-26T04:06:50.599Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-26T04:06:50.634Z] $ docker stop --time=1 943d22d76b07a88d86f067b0473f26e811dca4f247737dfe8481574b2bf83831 [2023-04-26T04:06:52.252Z] $ docker rm -f --volumes 943d22d76b07a88d86f067b0473f26e811dca4f247737dfe8481574b2bf83831 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T04:06:53.132Z] + docker inspect -f . ci-base-image-arm64 [2023-04-26T04:06:53.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T04:06:53.375Z] prd-ubuntu20.04-docker-arm64-4c-16g-10924 does not seem to be running inside a container [2023-04-26T04:06:53.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-26T04:06:54.459Z] $ docker top 496a9e5574c7a46a38fddf32aa386bfead1f6b054f3856d9e0cd1cf7a909e084 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-26T04:06:55.015Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-04-26T04:06:55.398Z] + make test [2023-04-26T04:06:55.398Z] go test ./... -coverprofile=coverage.out ./... [2023-04-26T04:07:34.277Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-26T04:09:40.967Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-26T04:09:40.967Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-26T04:09:43.542Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.175s coverage: 31.6% of statements [2023-04-26T04:10:01.740Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.679s coverage: 86.5% of statements [2023-04-26T04:10:02.700Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-26T04:10:02.700Z] go vet ./... [2023-04-26T04:10:34.962Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-26T04:10:34.962Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-26T04:10:34.962Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-26T04:10:35.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-26T04:10:35.038Z] $ docker stop --time=1 496a9e5574c7a46a38fddf32aa386bfead1f6b054f3856d9e0cd1cf7a909e084 [2023-04-26T04:10:37.736Z] $ docker rm -f --volumes 496a9e5574c7a46a38fddf32aa386bfead1f6b054f3856d9e0cd1cf7a909e084 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-26T04:10:38.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-26T04:10:38.969Z] Warning: overwriting stash ‘coverage-report’ [2023-04-26T04:10:39.507Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-26T04:10:40.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-26T04:10:40.428Z] + ls -al . [2023-04-26T04:10:40.428Z] total 232 [2023-04-26T04:10:40.428Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 04:06 . [2023-04-26T04:10:40.428Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:04 .. [2023-04-26T04:10:40.428Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 04:04 .git [2023-04-26T04:10:40.428Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 04:04 .github [2023-04-26T04:10:40.428Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 26 04:04 .gitignore [2023-04-26T04:10:40.428Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 26 04:04 .golangci.yml [2023-04-26T04:10:40.428Z] -rw-rw-r-- 1 jenkins jenkins 9861 Apr 26 04:04 Attribution.txt [2023-04-26T04:10:40.428Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 26 04:04 CHANGELOG.md [2023-04-26T04:10:40.428Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 26 04:04 Dockerfile [2023-04-26T04:10:40.428Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 04:04 GOVERNANCE.md [2023-04-26T04:10:40.428Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 26 04:04 Jenkinsfile [2023-04-26T04:10:40.428Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 26 04:04 LICENSE [2023-04-26T04:10:40.428Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 26 04:04 Makefile [2023-04-26T04:10:40.428Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 26 04:04 OWNERS.md [2023-04-26T04:10:40.429Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 26 04:04 README.md [2023-04-26T04:10:40.429Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 04:02 VERSION [2023-04-26T04:10:40.429Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 04:04 bin [2023-04-26T04:10:40.429Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 04:04 cmd [2023-04-26T04:10:40.429Z] -rw-r--r-- 1 jenkins jenkins 78922 Apr 26 04:10 coverage.out [2023-04-26T04:10:40.429Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 26 04:04 doc [2023-04-26T04:10:40.429Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 26 04:04 go.mod [2023-04-26T04:10:40.429Z] -rw-rw-r-- 1 jenkins jenkins 32947 Apr 26 04:04 go.sum [2023-04-26T04:10:40.429Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:04 internal [2023-04-26T04:10:40.429Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:04 snap [2023-04-26T04:10:40.429Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 26 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T04:10:40.843Z] + 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=b44e596608ff0db1667c620625bdaa6cc97c5731 --label arch=arm64 --label version=0.0.0 . [2023-04-26T04:10:41.429Z] Sending build context to Docker daemon 19.75MB [2023-04-26T04:10:41.429Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-26T04:10:41.429Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-26T04:10:41.429Z] ---> 90428bdf4958 [2023-04-26T04:10:41.429Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-26T04:10:41.697Z] ---> Running in 8bae1e1daae3 [2023-04-26T04:10:41.966Z] Removing intermediate container 8bae1e1daae3 [2023-04-26T04:10:41.966Z] ---> 244518b1a176 [2023-04-26T04:10:41.966Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-26T04:10:41.966Z] ---> Running in 6774c1f51048 [2023-04-26T04:10:42.233Z] Removing intermediate container 6774c1f51048 [2023-04-26T04:10:42.233Z] ---> 8689973d828e [2023-04-26T04:10:42.233Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-26T04:10:42.233Z] ---> Running in 98debd76836b [2023-04-26T04:10:42.503Z] Removing intermediate container 98debd76836b [2023-04-26T04:10:42.503Z] ---> a6e207274a00 [2023-04-26T04:10:42.503Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-26T04:10:42.503Z] ---> Running in 29bca5f6d0f4 [2023-04-26T04:10:42.770Z] Removing intermediate container 29bca5f6d0f4 [2023-04-26T04:10:42.770Z] ---> ad7888451f92 [2023-04-26T04:10:42.770Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-26T04:10:43.037Z] ---> Running in b167534d2518 [2023-04-26T04:10:43.303Z] Removing intermediate container b167534d2518 [2023-04-26T04:10:43.303Z] ---> 79cec1fb7342 [2023-04-26T04:10:43.303Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-26T04:10:43.303Z] ---> Running in b8c67e5eb147 [2023-04-26T04:10:44.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-26T04:10:44.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-26T04:10:45.828Z] OK: 263 MiB in 53 packages [2023-04-26T04:10:46.788Z] Removing intermediate container b8c67e5eb147 [2023-04-26T04:10:46.788Z] ---> 75c8ea46156f [2023-04-26T04:10:46.788Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-26T04:10:46.788Z] ---> Running in 973d441ee563 [2023-04-26T04:10:47.058Z] Removing intermediate container 973d441ee563 [2023-04-26T04:10:47.058Z] ---> e7a9b82bb4e8 [2023-04-26T04:10:47.058Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-26T04:10:47.639Z] ---> 5502a2878a9a [2023-04-26T04:10:47.639Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-26T04:10:47.639Z] ---> Running in 7c308c836645 [2023-04-26T04:10:51.894Z] Removing intermediate container 7c308c836645 [2023-04-26T04:10:51.894Z] ---> a08e6eefa8d8 [2023-04-26T04:10:51.894Z] Step 12/26 : COPY . . [2023-04-26T04:10:52.871Z] ---> 6ca6af48487d [2023-04-26T04:10:52.871Z] Step 13/26 : RUN ${MAKE} [2023-04-26T04:10:53.146Z] ---> Running in caa8d69781a3 [2023-04-26T04:10:54.105Z] 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-26T04:13:30.996Z] Removing intermediate container caa8d69781a3 [2023-04-26T04:13:30.996Z] ---> 0ea4df937d5f [2023-04-26T04:13:30.996Z] Step 14/26 : FROM alpine:3.17 [2023-04-26T04:13:30.996Z] 3.17: Pulling from library/alpine [2023-04-26T04:13:30.996Z] c41833b44d91: Already exists [2023-04-26T04:13:30.996Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-26T04:13:30.996Z] Status: Downloaded newer image for alpine:3.17 [2023-04-26T04:13:30.996Z] ---> 51e60588ff2c [2023-04-26T04:13:30.996Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-26T04:13:30.996Z] ---> Running in 28d5327fdb4e [2023-04-26T04:13:30.996Z] Removing intermediate container 28d5327fdb4e [2023-04-26T04:13:30.996Z] ---> 4a401acdbd7b [2023-04-26T04:13:30.996Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-26T04:13:30.996Z] ---> Running in 767bae59b15d [2023-04-26T04:13:30.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-26T04:13:30.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-26T04:13:30.996Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-26T04:13:30.996Z] Executing busybox-1.35.0-r29.trigger [2023-04-26T04:13:30.996Z] OK: 8 MiB in 16 packages [2023-04-26T04:13:30.997Z] Removing intermediate container 767bae59b15d [2023-04-26T04:13:30.997Z] ---> 70c58c5e73fc [2023-04-26T04:13:30.997Z] Step 17/26 : WORKDIR / [2023-04-26T04:13:30.997Z] ---> Running in 9edf122f125c [2023-04-26T04:13:30.997Z] Removing intermediate container 9edf122f125c [2023-04-26T04:13:30.997Z] ---> 42114d5a94ac [2023-04-26T04:13:30.997Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-26T04:13:30.997Z] ---> 02231994b2c2 [2023-04-26T04:13:30.997Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-26T04:13:30.997Z] ---> 7f2520f28e80 [2023-04-26T04:13:30.997Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-26T04:13:30.997Z] ---> 3df0fc5b5dfc [2023-04-26T04:13:30.997Z] Step 21/26 : EXPOSE 59984 [2023-04-26T04:13:30.997Z] ---> Running in f9aa544d8e4a [2023-04-26T04:13:30.997Z] Removing intermediate container f9aa544d8e4a [2023-04-26T04:13:30.997Z] ---> 1304a9f7a0f1 [2023-04-26T04:13:30.997Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-26T04:13:30.997Z] ---> Running in 525c1efe7f31 [2023-04-26T04:13:30.997Z] Removing intermediate container 525c1efe7f31 [2023-04-26T04:13:30.997Z] ---> 39d457641746 [2023-04-26T04:13:30.997Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-26T04:13:30.997Z] ---> Running in 77c0bec8aab3 [2023-04-26T04:13:30.997Z] Removing intermediate container 77c0bec8aab3 [2023-04-26T04:13:30.997Z] ---> 3db431b629cd [2023-04-26T04:13:30.997Z] Step 24/26 : LABEL arch=arm64 [2023-04-26T04:13:30.997Z] ---> Running in c7d9887126fa [2023-04-26T04:13:30.997Z] Removing intermediate container c7d9887126fa [2023-04-26T04:13:30.997Z] ---> 6264c89801fa [2023-04-26T04:13:30.997Z] Step 25/26 : LABEL git_sha=b44e596608ff0db1667c620625bdaa6cc97c5731 [2023-04-26T04:13:30.997Z] ---> Running in 176988d94a8c [2023-04-26T04:13:30.997Z] Removing intermediate container 176988d94a8c [2023-04-26T04:13:30.997Z] ---> e378be4aac95 [2023-04-26T04:13:30.997Z] Step 26/26 : LABEL version=0.0.0 [2023-04-26T04:13:30.997Z] ---> Running in 561eb311cc88 [2023-04-26T04:13:30.997Z] Removing intermediate container 561eb311cc88 [2023-04-26T04:13:30.997Z] ---> 1b2b66c49566 [2023-04-26T04:13:30.997Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-26T04:13:30.997Z] Successfully built 1b2b66c49566 [2023-04-26T04:13:30.997Z] 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-26T04:13:31.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-26T04:13:31.808Z] [2023-04-26T04:13:31.808Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T04:13:32.240Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-26T04:13:32.240Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-26T04:13:32.240Z] 8998bd30e6a1: Pulling fs layer [2023-04-26T04:13:32.240Z] 04944245beec: Pulling fs layer [2023-04-26T04:13:32.240Z] 699f458cf7ca: Pulling fs layer [2023-04-26T04:13:32.240Z] 765212b225bb: Pulling fs layer [2023-04-26T04:13:32.240Z] f23df028b6ca: Pulling fs layer [2023-04-26T04:13:32.240Z] d65c8cfc05b1: Pulling fs layer [2023-04-26T04:13:32.240Z] 2437ff75d9bd: Pulling fs layer [2023-04-26T04:13:32.240Z] f23df028b6ca: Waiting [2023-04-26T04:13:32.240Z] d65c8cfc05b1: Waiting [2023-04-26T04:13:32.240Z] 765212b225bb: Waiting [2023-04-26T04:13:32.240Z] 2437ff75d9bd: Waiting [2023-04-26T04:13:32.535Z] 04944245beec: Verifying Checksum [2023-04-26T04:13:32.535Z] 04944245beec: Download complete [2023-04-26T04:13:32.535Z] 765212b225bb: Verifying Checksum [2023-04-26T04:13:32.535Z] 765212b225bb: Download complete [2023-04-26T04:13:32.535Z] f23df028b6ca: Download complete [2023-04-26T04:13:32.535Z] d65c8cfc05b1: Verifying Checksum [2023-04-26T04:13:32.535Z] d65c8cfc05b1: Download complete [2023-04-26T04:13:32.821Z] 699f458cf7ca: Verifying Checksum [2023-04-26T04:13:32.822Z] 699f458cf7ca: Download complete [2023-04-26T04:13:33.097Z] 8998bd30e6a1: Verifying Checksum [2023-04-26T04:13:33.097Z] 8998bd30e6a1: Download complete [2023-04-26T04:13:35.687Z] 2437ff75d9bd: Verifying Checksum [2023-04-26T04:13:35.687Z] 2437ff75d9bd: Download complete [2023-04-26T04:13:37.103Z] 8998bd30e6a1: Pull complete [2023-04-26T04:13:37.690Z] 04944245beec: Pull complete [2023-04-26T04:13:39.102Z] 699f458cf7ca: Pull complete [2023-04-26T04:13:39.102Z] 765212b225bb: Pull complete [2023-04-26T04:13:40.065Z] f23df028b6ca: Pull complete [2023-04-26T04:13:40.065Z] d65c8cfc05b1: Pull complete [2023-04-26T04:13:58.278Z] 2437ff75d9bd: Pull complete [2023-04-26T04:13:58.278Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-26T04:13:58.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-26T04:13:58.278Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T04:13:58.619Z] prd-ubuntu20.04-docker-arm64-4c-16g-10924 does not seem to be running inside a container [2023-04-26T04:13:58.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-26T04:14:01.308Z] $ docker top af21f0ac1bbd363faa4bb37313634168d4cb26c25e8b049f84a7da36dab18302 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-26T04:14:01.883Z] ---> job-cost.sh [2023-04-26T04:14:02.149Z] lf-activate-venv: SKIPPING [2023-04-26T04:14:02.149Z] INFO: No Stack... [2023-04-26T04:14:02.734Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-26T04:14:03.319Z] INFO: Archiving Costs [Pipeline] sh [2023-04-26T04:14:03.981Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-04-26T04:14:03.981Z] + cut -d, -f6 [Pipeline] lock [2023-04-26T04:14:04.073Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-324-1-stack-cost] [2023-04-26T04:14:04.078Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-324-1-stack-cost] did not exist. Created. [2023-04-26T04:14:04.078Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-324-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-26T04:14:04.803Z] /w/workspace/device-onvif-camera/1@tmp/durable-3bf9898a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-26T04:14:05.153Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-26T04:14:05.186Z] Warning: overwriting stash ‘stack-cost’ [2023-04-26T04:14:05.250Z] Stashed 1 file(s) [Pipeline] } [2023-04-26T04:14:05.265Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-324-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-26T04:14:05.349Z] $ docker stop --time=1 af21f0ac1bbd363faa4bb37313634168d4cb26c25e8b049f84a7da36dab18302 [2023-04-26T04:14:06.877Z] $ docker rm -f --volumes af21f0ac1bbd363faa4bb37313634168d4cb26c25e8b049f84a7da36dab18302 [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-26T04:14:07.884Z] provisioning config files... [2023-04-26T04:14:07.892Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-324@tmp/config11733430840987495732tmp [Pipeline] { [Pipeline] sh [2023-04-26T04:14:08.227Z] + set +x [2023-04-26T04:14:08.227Z] + curl -s https://codecov.io/bash [2023-04-26T04:14:08.227Z] + bash -s -- [2023-04-26T04:14:08.227Z] [2023-04-26T04:14:08.227Z] _____ _ [2023-04-26T04:14:08.227Z] / ____| | | [2023-04-26T04:14:08.227Z] | | ___ __| | ___ ___ _____ __ [2023-04-26T04:14:08.227Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-26T04:14:08.227Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-26T04:14:08.227Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-26T04:14:08.227Z] Bash-1.0.6 [2023-04-26T04:14:08.227Z] [2023-04-26T04:14:08.227Z] [2023-04-26T04:14:08.227Z] ==> git version 2.25.1 found [2023-04-26T04:14:08.227Z] ==> 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-26T04:14:08.227Z] Release-Date: 2020-01-08 [2023-04-26T04:14:08.227Z] 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-26T04:14:08.227Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-26T04:14:08.227Z] ==> Jenkins CI detected. [2023-04-26T04:14:08.227Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-324 [2023-04-26T04:14:08.227Z] project root: . [2023-04-26T04:14:08.227Z] --> token set from env [2023-04-26T04:14:08.227Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-26T04:14:08.227Z] ==> Running gcov in . (disable via -X gcov) [2023-04-26T04:14:08.227Z] ==> Python coveragepy not found [2023-04-26T04:14:08.227Z] ==> Searching for coverage reports in: [2023-04-26T04:14:08.227Z] + . [2023-04-26T04:14:08.487Z] -> Found 1 reports [2023-04-26T04:14:08.487Z] ==> Detecting git/mercurial file structure [2023-04-26T04:14:08.487Z] ==> Reading reports [2023-04-26T04:14:08.487Z] + ./coverage.out bytes=78922 [2023-04-26T04:14:08.487Z] ==> Appending adjustments [2023-04-26T04:14:08.487Z] https://docs.codecov.io/docs/fixing-reports [2023-04-26T04:14:08.487Z] + Found adjustments [2023-04-26T04:14:08.487Z] ==> Gzipping contents [2023-04-26T04:14:08.487Z] 12K /tmp/codecov.w0kqoh.gz [2023-04-26T04:14:08.487Z] ==> Uploading reports [2023-04-26T04:14:08.487Z] url: https://codecov.io [2023-04-26T04:14:08.488Z] query: branch=PR-324&commit=b44e596608ff0db1667c620625bdaa6cc97c5731&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-324%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=324&job=&cmd_args= [2023-04-26T04:14:08.488Z] -> Pinging Codecov [2023-04-26T04:14:08.488Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-324&commit=b44e596608ff0db1667c620625bdaa6cc97c5731&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-324%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=324&job=&cmd_args= [2023-04-26T04:14:08.747Z] -> Uploading to [2023-04-26T04:14:08.747Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-26/F29A59C45E3A92E06B3E522C9905F8EF/b44e596608ff0db1667c620625bdaa6cc97c5731/7de0b8d7-411a-4b52-bef4-960e7f75b97d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T041408Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fca7f70b0455de43969e8748d4f86c030f81baf440047cae749a100ce7d144cd [2023-04-26T04:14:08.747Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-26T04:14:08.747Z] Dload Upload Total Spent Left Speed [2023-04-26T04:14:09.006Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 44495 --:--:-- --:--:-- --:--:-- 44495 [2023-04-26T04:14:09.006Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b44e596608ff0db1667c620625bdaa6cc97c5731 [Pipeline] } [2023-04-26T04:14:09.039Z] 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-26T04:14:10.924Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-324/archives ] [2023-04-26T04:14:10.924Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-324/archives [2023-04-26T04:14:10.924Z] total 16 [2023-04-26T04:14:10.924Z] drwxr-xr-x 3 root root 4096 Apr 26 04:05 . [2023-04-26T04:14:10.924Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 04:05 .. [2023-04-26T04:14:10.924Z] drwxr-xr-x 2 root root 4096 Apr 26 04:05 cost [2023-04-26T04:14:10.924Z] -rw-r--r-- 1 root root 91 Apr 26 04:05 cost.csv [2023-04-26T04:14:10.924Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-324/archives [2023-04-26T04:14:10.924Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-324/archives [2023-04-26T04:14:10.924Z] total 16 [2023-04-26T04:14:10.924Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 04:05 . [2023-04-26T04:14:10.924Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 04:05 .. [2023-04-26T04:14:10.924Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 04:05 cost [2023-04-26T04:14:10.924Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 26 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-26T04:14:11.245Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-26T04:14:12.130Z] ---> package-listing.sh [2023-04-26T04:14:12.130Z] ++ facter osfamily [2023-04-26T04:14:12.130Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-26T04:14:12.389Z] + OS_FAMILY=debian [2023-04-26T04:14:12.390Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-324 [2023-04-26T04:14:12.390Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-26T04:14:12.390Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-26T04:14:12.390Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-26T04:14:12.390Z] + PACKAGES=/tmp/packages_start.txt [2023-04-26T04:14:12.390Z] + '[' /w/workspace/undry_device-onvif-camera_PR-324 ']' [2023-04-26T04:14:12.390Z] + PACKAGES=/tmp/packages_end.txt [2023-04-26T04:14:12.390Z] + case "${OS_FAMILY}" in [2023-04-26T04:14:12.390Z] + dpkg -l [2023-04-26T04:14:12.390Z] + grep '^ii' [2023-04-26T04:14:12.390Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-26T04:14:12.390Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-26T04:14:12.390Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-26T04:14:12.390Z] + '[' /w/workspace/undry_device-onvif-camera_PR-324 ']' [2023-04-26T04:14:12.390Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-324/archives/ [2023-04-26T04:14:12.390Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-324/archives/ [Pipeline] echo [2023-04-26T04:14:12.425Z] 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-324/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-26T04:14:12.715Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T04:14:13.337Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-26T04:14:13.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T04:14:13.486Z] prd-ubuntu20.04-docker-8c-8g-10922 does not seem to be running inside a container [2023-04-26T04:14:13.523Z] $ 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-324/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-324 -v /w/workspace/undry_device-onvif-camera_PR-324:/w/workspace/undry_device-onvif-camera_PR-324:rw,z -v /w/workspace/undry_device-onvif-camera_PR-324@tmp:/w/workspace/undry_device-onvif-camera_PR-324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-26T04:14:13.725Z] $ docker top cac132f0b1dd5aea672a43c513c90272ad9e7b325b54f0fdcd0930cf4bf4d80e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-26T04:14:14.099Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-26T04:14:14.502Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-26T04:14:14.810Z] + ls /var/log/sa-host [2023-04-26T04:14:14.811Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-26T04:14:15.054Z] provisioning config files... [2023-04-26T04:14:15.064Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-324@tmp/config16905527453675080082tmp [Pipeline] { [Pipeline] echo [2023-04-26T04:14:15.115Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-26T04:14:15.425Z] ---> create-netrc.sh [Pipeline] } [2023-04-26T04:14:15.451Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-26T04:14:15.893Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-26T04:14:15.924Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-26T04:14:16.238Z] ---> sudo-logs.sh [2023-04-26T04:14:16.238Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-26T04:14:16.328Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-26T04:14:16.640Z] ---> job-cost.sh [2023-04-26T04:14:16.640Z] lf-activate-venv: SKIPPING [2023-04-26T04:14:16.640Z] DEBUG: total: 0.2199999988079071 [2023-04-26T04:14:16.640Z] INFO: Retrieving Stack Cost... [2023-04-26T04:14:17.209Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-26T04:14:17.468Z] INFO: Archiving Costs [Pipeline] echo [2023-04-26T04:14:17.503Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-26T04:14:17.820Z] ---> logs-deploy.sh [2023-04-26T04:14:17.820Z] lf-activate-venv: SKIPPING [2023-04-26T04:14:17.820Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-324/1 [2023-04-26T04:14:17.820Z] INFO: archiving workspace using pattern(s): [2023-04-26T04:14:18.755Z] Archives upload complete. [2023-04-26T04:14:19.013Z] INFO: archiving logs to Nexus