Pull request #318 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332+6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 (d2b5adc4f7cbad019968d15b1292286bc7afb530) 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-ssh17824802145900101684.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-ssh14073911474009302559.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14452411376005330100.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 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-ssh12903954562820253579.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10566433571730538847.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9497’ Running on prd-ubuntu20.04-docker-8c-8g-9501 in /w/workspace/undry_device-onvif-camera_PR-318 [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-318 # 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/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 into PR head commit a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 Merge succeeded, producing a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 Checking out Revision a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 (PR-318) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T06:31:06.871Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T06:31:06.909Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T06:31:06.920Z] ========================================================= [2023-04-24T06:31:06.920Z] EdgeX Global Pipelines Version Info [2023-04-24T06:31:06.920Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 # timeout=10 > git rev-list --no-walk 7221876b6da006da8c58eaf12d64350a394df114 # timeout=10 [2023-04-24T06:31:07.623Z] ------------------- [2023-04-24T06:31:07.623Z] stable info: [2023-04-24T06:31:07.623Z] ------------------- [2023-04-24T06:31:07.623Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T06:31:07.623Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T06:31:07.623Z] Message: update stable to v1.0.248 [2023-04-24T06:31:08.194Z] ------------------- [2023-04-24T06:31:08.194Z] experimental info: [2023-04-24T06:31:08.194Z] ------------------- [2023-04-24T06:31:08.194Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T06:31:08.194Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T06:31:08.194Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T06:31:08.353Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-24T06:31:08.369Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-24T06:31:08.387Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T06:31:08.402Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T06:31:08.423Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T06:31:08.437Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T06:31:08.453Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T06:31:08.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T06:31:08.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T06:31:08.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T06:31:08.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T06:31:08.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-24T06:31:08.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T06:31:08.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T06:31:08.552Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T06:31:08.573Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T06:31:08.592Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T06:31:08.604Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T06:31:08.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T06:31:08.634Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T06:31:08.652Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-24T06:31:08.670Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-24T06:31:08.683Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T06:31:08.695Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T06:31:08.704Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T06:31:08.714Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T06:31:08.724Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T06:31:08.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-318 [Pipeline] echo [2023-04-24T06:31:08.741Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-318 [Pipeline] echo [2023-04-24T06:31:08.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-318 [Pipeline] echo [2023-04-24T06:31:08.772Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 [Pipeline] echo [2023-04-24T06:31:08.791Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1c1e41 [Pipeline] echo [2023-04-24T06:31:08.810Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:31:08.861Z] provisioning config files... [2023-04-24T06:31:08.876Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-318@tmp/config4966452645241751229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:31:09.187Z] ---> docker-login.sh [2023-04-24T06:31:09.188Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:31:09.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:09.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:09.465Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:09.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:09.465Z] [2023-04-24T06:31:09.465Z] Login Succeeded [2023-04-24T06:31:09.465Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:31:09.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:09.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:09.465Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:09.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:09.465Z] [2023-04-24T06:31:09.465Z] Login Succeeded [2023-04-24T06:31:09.465Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:31:09.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:09.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:09.730Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:09.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:09.730Z] [2023-04-24T06:31:09.730Z] Login Succeeded [2023-04-24T06:31:09.730Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:31:09.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:09.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:09.730Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:09.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:09.730Z] [2023-04-24T06:31:09.730Z] Login Succeeded [2023-04-24T06:31:09.730Z] docker.io [2023-04-24T06:31:09.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:09.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:09.990Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:09.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:09.990Z] [2023-04-24T06:31:09.990Z] Login Succeeded [2023-04-24T06:31:09.990Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:31:09.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T06:31:10.342Z] + git rev-list -1 --merges a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332~1..a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 [Pipeline] echo [2023-04-24T06:31:10.392Z] -----------> git rev-list -1 --merges a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332~1..a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 [false] [Pipeline] sh [2023-04-24T06:31:10.683Z] + git log --format=format:%s -1 a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 [Pipeline] echo [2023-04-24T06:31:10.698Z] ========================================================= [2023-04-24T06:31:10.698Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T06:31:10.698Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:31:11.027Z] + git log --format=format:%s -1 a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 [Pipeline] echo [2023-04-24T06:31:11.039Z] [semverPrep] GIT_COMMIT: a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-04-24T06:31:11.049Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T06:31:11.385Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T06:31:11.385Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T06:31:11.385Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T06:31:11.385Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T06:31:11.385Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T06:31:11.385Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T06:31:11.385Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:11.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:31:11.723Z] [2023-04-24T06:31:11.723Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:12.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:31:12.026Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T06:31:12.026Z] b85a868b505f: Pulling fs layer [2023-04-24T06:31:12.026Z] e2be974225ed: Pulling fs layer [2023-04-24T06:31:12.026Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T06:31:12.026Z] 988bab9f4d93: Pulling fs layer [2023-04-24T06:31:12.026Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T06:31:12.027Z] 988bab9f4d93: Waiting [2023-04-24T06:31:12.027Z] eaf3925da568: Pulling fs layer [2023-04-24T06:31:12.027Z] bab4dde63d76: Pulling fs layer [2023-04-24T06:31:12.027Z] bde34c3a00c8: Pulling fs layer [2023-04-24T06:31:12.027Z] b352a97aabf1: Pulling fs layer [2023-04-24T06:31:12.027Z] 4872d77fe225: Pulling fs layer [2023-04-24T06:31:12.027Z] 5851b861e8e6: Pulling fs layer [2023-04-24T06:31:12.027Z] bab4dde63d76: Waiting [2023-04-24T06:31:12.027Z] bde34c3a00c8: Waiting [2023-04-24T06:31:12.027Z] b352a97aabf1: Waiting [2023-04-24T06:31:12.027Z] eaf3925da568: Waiting [2023-04-24T06:31:12.027Z] 5851b861e8e6: Waiting [2023-04-24T06:31:12.027Z] 1469e6f7b9e6: Waiting [2023-04-24T06:31:12.027Z] e2be974225ed: Verifying Checksum [2023-04-24T06:31:12.027Z] e2be974225ed: Download complete [2023-04-24T06:31:12.027Z] 988bab9f4d93: Verifying Checksum [2023-04-24T06:31:12.027Z] 988bab9f4d93: Download complete [2023-04-24T06:31:12.027Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T06:31:12.027Z] 1469e6f7b9e6: Download complete [2023-04-24T06:31:12.027Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T06:31:12.027Z] 339a4e72a1f5: Download complete [2023-04-24T06:31:12.286Z] bde34c3a00c8: Download complete [2023-04-24T06:31:12.286Z] b352a97aabf1: Download complete [2023-04-24T06:31:12.286Z] 4872d77fe225: Download complete [2023-04-24T06:31:12.286Z] 5851b861e8e6: Download complete [2023-04-24T06:31:12.286Z] b85a868b505f: Verifying Checksum [2023-04-24T06:31:12.286Z] b85a868b505f: Download complete [2023-04-24T06:31:12.547Z] bab4dde63d76: Verifying Checksum [2023-04-24T06:31:12.547Z] bab4dde63d76: Download complete [2023-04-24T06:31:13.485Z] b85a868b505f: Pull complete [2023-04-24T06:31:13.744Z] e2be974225ed: Pull complete [2023-04-24T06:31:14.004Z] 339a4e72a1f5: Pull complete [2023-04-24T06:31:14.263Z] 988bab9f4d93: Pull complete [2023-04-24T06:31:14.523Z] 1469e6f7b9e6: Pull complete [2023-04-24T06:31:14.523Z] eaf3925da568: Pull complete [2023-04-24T06:31:16.430Z] bab4dde63d76: Pull complete [2023-04-24T06:31:16.430Z] bde34c3a00c8: Pull complete [2023-04-24T06:31:16.430Z] b352a97aabf1: Pull complete [2023-04-24T06:31:16.430Z] 4872d77fe225: Pull complete [2023-04-24T06:31:16.689Z] 5851b861e8e6: Pull complete [2023-04-24T06:31:16.689Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T06:31:16.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:31:16.689Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:31:16.785Z] prd-ubuntu20.04-docker-8c-8g-9501 does not seem to be running inside a container [2023-04-24T06:31:16.817Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@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-devops/py-git-semver:0.1.4 cat [2023-04-24T06:31:19.168Z] $ docker top 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 -eo pid,comm [2023-04-24T06:31:19.224Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-24T06:31:19.224Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T06:31:19.253Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:31:19.253Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:31:19.369Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:31:19.372Z] $ docker exec 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 ssh-agent [2023-04-24T06:31:19.491Z] SSH_AUTH_SOCK=/tmp/ssh-5HSfvj8xg2TC/agent.32 [2023-04-24T06:31:19.491Z] SSH_AGENT_PID=38 [2023-04-24T06:31:19.497Z] Running ssh-add (command line suppressed) [2023-04-24T06:31:19.597Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-318@tmp/private_key_3565554249569381566.key (/w/workspace/undry_device-onvif-camera_PR-318@tmp/private_key_3565554249569381566.key) [2023-04-24T06:31:19.610Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:31:19.896Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T06:31:19.909Z] $ docker exec --env ******** --env ******** 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 ssh-agent -k [2023-04-24T06:31:20.021Z] unset SSH_AUTH_SOCK; [2023-04-24T06:31:20.022Z] unset SSH_AGENT_PID; [2023-04-24T06:31:20.023Z] echo Agent pid 38 killed; [2023-04-24T06:31:20.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T06:31:20.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:31:20.054Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:31:20.181Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:31:20.184Z] $ docker exec 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 ssh-agent [2023-04-24T06:31:20.304Z] SSH_AUTH_SOCK=/tmp/ssh-cnvRXVMWpJJl/agent.70 [2023-04-24T06:31:20.304Z] SSH_AGENT_PID=76 [2023-04-24T06:31:20.310Z] Running ssh-add (command line suppressed) [2023-04-24T06:31:20.411Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-318@tmp/private_key_6272075895199580783.key (/w/workspace/undry_device-onvif-camera_PR-318@tmp/private_key_6272075895199580783.key) [2023-04-24T06:31:20.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:31:20.716Z] + git semver init [2023-04-24T06:31:20.975Z] 2023-04-24 06:31:20,889 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T06:31:20.975Z] 2023-04-24 06:31:20,889 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-318/.semver [2023-04-24T06:31:20.975Z] 2023-04-24 06:31:20,890 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-318/.semver [2023-04-24T06:31:20.975Z] 2023-04-24 06:31:20,890 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-318/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-318, universal_newlines=False, shell=None, istream=None) [2023-04-24T06:31:21.915Z] 2023-04-24 06:31:21,737 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-318/.git/info/exclude [2023-04-24T06:31:21.915Z] 2023-04-24 06:31:21,737 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-318/.semver/PR-318 with force:False [2023-04-24T06:31:21.915Z] 2023-04-24 06:31:21,738 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-318/.semver/PR-318 [2023-04-24T06:31:21.915Z] 2023-04-24 06:31:21,742 [execute] INFO git cat-file --batch-check [2023-04-24T06:31:21.915Z] 2023-04-24 06:31:21,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T06:31:21.915Z] 2023-04-24 06:31:21,749 [execute] INFO git cat-file --batch [2023-04-24T06:31:21.916Z] 2023-04-24 06:31:21,749 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T06:31:21.916Z] 2023-04-24 06:31:21,754 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-318/.semver/PR-318 [2023-04-24T06:31:21.916Z] 0.0.0 [Pipeline] } [2023-04-24T06:31:21.925Z] $ docker exec --env ******** --env ******** 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 ssh-agent -k [2023-04-24T06:31:22.027Z] unset SSH_AUTH_SOCK; [2023-04-24T06:31:22.027Z] unset SSH_AGENT_PID; [2023-04-24T06:31:22.027Z] echo Agent pid 76 killed; [2023-04-24T06:31:22.038Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T06:31:22.338Z] + git semver [Pipeline] } [2023-04-24T06:31:22.613Z] $ docker stop --time=1 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 [2023-04-24T06:31:23.951Z] $ docker rm -f --volumes 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:31:24.287Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T06:31:24.486Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T06:31:24.489Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:31:24.651Z] provisioning config files... [2023-04-24T06:31:24.659Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-318@tmp/config1055885242357792062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:31:24.958Z] ---> docker-login.sh [2023-04-24T06:31:24.958Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:31:24.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:24.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:24.958Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:24.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:24.958Z] [2023-04-24T06:31:24.958Z] Login Succeeded [2023-04-24T06:31:24.958Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:31:24.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:24.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:24.958Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:24.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:24.958Z] [2023-04-24T06:31:24.958Z] Login Succeeded [2023-04-24T06:31:24.958Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:31:25.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:25.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:25.217Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:25.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:25.217Z] [2023-04-24T06:31:25.217Z] Login Succeeded [2023-04-24T06:31:25.217Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:31:25.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:25.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:25.217Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:25.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:25.217Z] [2023-04-24T06:31:25.217Z] Login Succeeded [2023-04-24T06:31:25.217Z] docker.io [2023-04-24T06:31:25.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:25.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:25.477Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:25.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:25.477Z] [2023-04-24T06:31:25.477Z] Login Succeeded [2023-04-24T06:31:25.477Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:31:25.484Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T06:31:25.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:31:25.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:31:25.575Z] ========================================================= [2023-04-24T06:31:25.575Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T06:31:25.575Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:25.904Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T06:31:25.904Z] Sending build context to Docker daemon 26.93MB [2023-04-24T06:31:25.904Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:31:25.904Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-24T06:31:26.163Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T06:31:26.163Z] 63b65145d645: Pulling fs layer [2023-04-24T06:31:26.163Z] a2d21d5440eb: Pulling fs layer [2023-04-24T06:31:26.163Z] 935e6c44a52c: Pulling fs layer [2023-04-24T06:31:26.163Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T06:31:26.163Z] 30dea6a524f1: Pulling fs layer [2023-04-24T06:31:26.163Z] a2aff8979fd8: Pulling fs layer [2023-04-24T06:31:26.163Z] 6808be2612f2: Pulling fs layer [2023-04-24T06:31:26.163Z] f25807f1079a: Pulling fs layer [2023-04-24T06:31:26.163Z] 94cc34f8dd06: Waiting [2023-04-24T06:31:26.163Z] 30dea6a524f1: Waiting [2023-04-24T06:31:26.163Z] a2aff8979fd8: Waiting [2023-04-24T06:31:26.163Z] 6808be2612f2: Waiting [2023-04-24T06:31:26.163Z] f25807f1079a: Waiting [2023-04-24T06:31:26.163Z] a2d21d5440eb: Download complete [2023-04-24T06:31:26.163Z] 94cc34f8dd06: Verifying Checksum [2023-04-24T06:31:26.163Z] 94cc34f8dd06: Download complete [2023-04-24T06:31:26.163Z] 30dea6a524f1: Verifying Checksum [2023-04-24T06:31:26.163Z] 30dea6a524f1: Download complete [2023-04-24T06:31:26.163Z] 63b65145d645: Verifying Checksum [2023-04-24T06:31:26.163Z] 63b65145d645: Download complete [2023-04-24T06:31:26.163Z] a2aff8979fd8: Verifying Checksum [2023-04-24T06:31:26.163Z] a2aff8979fd8: Download complete [2023-04-24T06:31:26.163Z] 63b65145d645: Pull complete [2023-04-24T06:31:26.421Z] a2d21d5440eb: Pull complete [2023-04-24T06:31:26.421Z] f25807f1079a: Download complete [2023-04-24T06:31:26.680Z] 935e6c44a52c: Verifying Checksum [2023-04-24T06:31:26.680Z] 935e6c44a52c: Download complete [2023-04-24T06:31:26.939Z] 6808be2612f2: Verifying Checksum [2023-04-24T06:31:26.939Z] 6808be2612f2: Download complete [2023-04-24T06:31:30.222Z] 935e6c44a52c: Pull complete [2023-04-24T06:31:30.222Z] 94cc34f8dd06: Pull complete [2023-04-24T06:31:30.222Z] 30dea6a524f1: Pull complete [2023-04-24T06:31:30.222Z] a2aff8979fd8: Pull complete [2023-04-24T06:31:32.755Z] 6808be2612f2: Pull complete [2023-04-24T06:31:33.325Z] f25807f1079a: Pull complete [2023-04-24T06:31:33.325Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T06:31:33.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T06:31:33.325Z] ---> 3b553350e43f [2023-04-24T06:31:33.325Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:31:37.535Z] ---> Running in 0b2612bf7768 [2023-04-24T06:31:37.535Z] Removing intermediate container 0b2612bf7768 [2023-04-24T06:31:37.535Z] ---> 986bc98419b9 [2023-04-24T06:31:37.535Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:31:37.535Z] ---> Running in c82fa6470f75 [2023-04-24T06:31:37.535Z] Removing intermediate container c82fa6470f75 [2023-04-24T06:31:37.535Z] ---> bd2cee1b49d7 [2023-04-24T06:31:37.535Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T06:31:37.535Z] ---> Running in 291da1424f4a [2023-04-24T06:31:37.535Z] Removing intermediate container 291da1424f4a [2023-04-24T06:31:37.535Z] ---> f04b0a7ec4d0 [2023-04-24T06:31:37.535Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:31:37.535Z] ---> Running in 5994cc9846c4 [2023-04-24T06:31:37.535Z] Removing intermediate container 5994cc9846c4 [2023-04-24T06:31:37.535Z] ---> 7f2c34a72213 [2023-04-24T06:31:37.535Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-24T06:31:37.535Z] ---> Running in ddb302794a9f [2023-04-24T06:31:37.535Z] Removing intermediate container ddb302794a9f [2023-04-24T06:31:37.535Z] ---> 2ca6911e6437 [2023-04-24T06:31:37.535Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:31:37.535Z] ---> Running in 3ef32615f4ed [2023-04-24T06:31:37.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:31:38.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:31:38.051Z] OK: 265 MiB in 53 packages [2023-04-24T06:31:38.617Z] Removing intermediate container 3ef32615f4ed [2023-04-24T06:31:38.617Z] ---> 7e4e3ff0eec8 [2023-04-24T06:31:38.617Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-24T06:31:38.617Z] ---> Running in 5b62ee8be5d8 [2023-04-24T06:31:38.617Z] Removing intermediate container 5b62ee8be5d8 [2023-04-24T06:31:38.617Z] ---> 1946257a0a9b [2023-04-24T06:31:38.617Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-24T06:31:38.617Z] ---> 08e6468e0bf8 [2023-04-24T06:31:38.617Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:31:38.617Z] ---> Running in b68fd4dc542b [2023-04-24T06:31:39.606Z] Still waiting to schedule task [2023-04-24T06:31:39.607Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9500’ [2023-04-24T06:32:05.170Z] Removing intermediate container b68fd4dc542b [2023-04-24T06:32:05.170Z] ---> bed65018e55e [2023-04-24T06:32:05.170Z] Step 12/13 : COPY . . [2023-04-24T06:32:05.170Z] ---> a0da519c789e [2023-04-24T06:32:05.170Z] Step 13/13 : RUN ${MAKE} [2023-04-24T06:32:05.170Z] ---> Running in 77f102f130fe [2023-04-24T06:32:05.170Z] noop [2023-04-24T06:32:05.170Z] Removing intermediate container 77f102f130fe [2023-04-24T06:32:05.170Z] ---> 6afe360c6641 [2023-04-24T06:32:05.170Z] Successfully built 6afe360c6641 [2023-04-24T06:32:05.170Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:05.478Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:32:05.478Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:32:05.545Z] prd-ubuntu20.04-docker-8c-8g-9501 does not seem to be running inside a container [2023-04-24T06:32:05.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T06:32:05.945Z] $ docker top 3c3e50eacb3b4dd45ce3278f40651640936c4318785a0ef07634ad9c178aa04a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:32:06.278Z] + go version [2023-04-24T06:32:06.278Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T06:32:06.298Z] $ docker stop --time=1 3c3e50eacb3b4dd45ce3278f40651640936c4318785a0ef07634ad9c178aa04a [2023-04-24T06:32:07.575Z] $ docker rm -f --volumes 3c3e50eacb3b4dd45ce3278f40651640936c4318785a0ef07634ad9c178aa04a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:07.967Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:32:07.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:32:08.036Z] prd-ubuntu20.04-docker-8c-8g-9501 does not seem to be running inside a container [2023-04-24T06:32:08.074Z] $ 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-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T06:32:08.421Z] $ docker top bb07d7664b5d60998f72caa4284127867f1ba6103e876e61dbee7305454e71a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:32:08.751Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-318 [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:32:09.049Z] + make test [2023-04-24T06:32:09.049Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T06:32:14.315Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-24T06:32:24.309Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-24T06:32:24.309Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-24T06:32:25.778Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 31.6% of statements [2023-04-24T06:32:26.734Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 3.337s coverage: 86.5% of statements [2023-04-24T06:32:33.294Z] go vet ./... [2023-04-24T06:32:37.474Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T06:32:37.474Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T06:32:37.474Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T06:32:37.488Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T06:32:37.506Z] $ docker stop --time=1 bb07d7664b5d60998f72caa4284127867f1ba6103e876e61dbee7305454e71a1 [2023-04-24T06:32:40.341Z] $ docker rm -f --volumes bb07d7664b5d60998f72caa4284127867f1ba6103e876e61dbee7305454e71a1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:32:40.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T06:32:40.918Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T06:32:41.387Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T06:32:41.676Z] + ls -al . [2023-04-24T06:32:41.676Z] total 236 [2023-04-24T06:32:41.676Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 06:32 . [2023-04-24T06:32:41.676Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:31 .. [2023-04-24T06:32:41.676Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:31 .git [2023-04-24T06:32:41.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:31 .github [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 24 06:31 .gitignore [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 06:31 .golangci.yml [2023-04-24T06:32:41.676Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:31 .semver [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 9861 Apr 24 06:31 Attribution.txt [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 24 06:31 CHANGELOG.md [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 24 06:31 Dockerfile [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:31 GOVERNANCE.md [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 24 06:31 Jenkinsfile [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 06:31 LICENSE [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 24 06:31 Makefile [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 24 06:31 OWNERS.md [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 24 06:31 README.md [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 06:31 VERSION [2023-04-24T06:32:41.676Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:31 bin [2023-04-24T06:32:41.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:31 cmd [2023-04-24T06:32:41.676Z] -rw-r--r-- 1 jenkins jenkins 78922 Apr 24 06:32 coverage.out [2023-04-24T06:32:41.676Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 06:31 doc [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 24 06:31 go.mod [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 32947 Apr 24 06:31 go.sum [2023-04-24T06:32:41.676Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:31 internal [2023-04-24T06:32:41.676Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:31 snap [2023-04-24T06:32:41.676Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 24 06:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:41.985Z] + 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=a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 --label arch=amd64 --label version=0.0.0 . [2023-04-24T06:32:41.985Z] Sending build context to Docker daemon 27.01MB [2023-04-24T06:32:41.985Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:32:41.985Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-24T06:32:41.985Z] ---> 6afe360c6641 [2023-04-24T06:32:41.985Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:32:42.244Z] ---> Running in 40b1d41d7f29 [2023-04-24T06:32:42.501Z] Removing intermediate container 40b1d41d7f29 [2023-04-24T06:32:42.501Z] ---> 448cdc70cac5 [2023-04-24T06:32:42.501Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:32:42.501Z] ---> Running in 85c4f46b3493 [2023-04-24T06:32:42.501Z] Removing intermediate container 85c4f46b3493 [2023-04-24T06:32:42.501Z] ---> 1dd25195a454 [2023-04-24T06:32:42.501Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T06:32:42.501Z] ---> Running in 94ba38b632a7 [2023-04-24T06:32:42.501Z] Removing intermediate container 94ba38b632a7 [2023-04-24T06:32:42.501Z] ---> 5e795732415d [2023-04-24T06:32:42.501Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:32:42.501Z] ---> Running in 61f0d73b5f79 [2023-04-24T06:32:42.760Z] Removing intermediate container 61f0d73b5f79 [2023-04-24T06:32:42.760Z] ---> da384233e919 [2023-04-24T06:32:42.760Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-24T06:32:42.760Z] ---> Running in 321cc168d552 [2023-04-24T06:32:42.760Z] Removing intermediate container 321cc168d552 [2023-04-24T06:32:42.760Z] ---> d58ca8b1ee3a [2023-04-24T06:32:42.760Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:32:42.760Z] ---> Running in 20ff25f80b38 [2023-04-24T06:32:43.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:32:43.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:32:43.278Z] OK: 265 MiB in 53 packages [2023-04-24T06:32:43.536Z] Removing intermediate container 20ff25f80b38 [2023-04-24T06:32:43.536Z] ---> 0d9c63379fe8 [2023-04-24T06:32:43.536Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-24T06:32:43.795Z] ---> Running in fdf41f7530b6 [2023-04-24T06:32:43.795Z] Removing intermediate container fdf41f7530b6 [2023-04-24T06:32:43.795Z] ---> 02a358a869d1 [2023-04-24T06:32:43.795Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-24T06:32:43.795Z] ---> f33697a68a4c [2023-04-24T06:32:43.795Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:32:43.795Z] ---> Running in bf4bddbb68a5 [2023-04-24T06:32:44.729Z] Removing intermediate container bf4bddbb68a5 [2023-04-24T06:32:44.729Z] ---> e4d3f20a23f1 [2023-04-24T06:32:44.729Z] Step 12/26 : COPY . . [2023-04-24T06:32:45.309Z] ---> bb3b3366ee39 [2023-04-24T06:32:45.309Z] Step 13/26 : RUN ${MAKE} [2023-04-24T06:32:45.309Z] ---> Running in 6d9e1a0ecc9d [2023-04-24T06:32:45.568Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-24T06:33:07.491Z] Removing intermediate container 6d9e1a0ecc9d [2023-04-24T06:33:07.491Z] ---> 2c8056b26d68 [2023-04-24T06:33:07.491Z] Step 14/26 : FROM alpine:3.17 [2023-04-24T06:33:07.491Z] 3.17: Pulling from library/alpine [2023-04-24T06:33:07.491Z] f56be85fc22e: Pulling fs layer [2023-04-24T06:33:07.491Z] f56be85fc22e: Verifying Checksum [2023-04-24T06:33:07.491Z] f56be85fc22e: Download complete [2023-04-24T06:33:07.491Z] f56be85fc22e: Pull complete [2023-04-24T06:33:07.491Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T06:33:07.491Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T06:33:07.491Z] ---> 9ed4aefc74f6 [2023-04-24T06:33:07.491Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-24T06:33:07.491Z] ---> Running in 5f9475577d34 [2023-04-24T06:33:07.491Z] Removing intermediate container 5f9475577d34 [2023-04-24T06:33:07.491Z] ---> 2289cd1b1038 [2023-04-24T06:33:07.491Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-24T06:33:07.491Z] ---> Running in 94e8ecf8afd5 [2023-04-24T06:33:07.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:33:07.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:33:07.491Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T06:33:07.491Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:33:07.491Z] OK: 7 MiB in 16 packages [2023-04-24T06:33:07.491Z] Removing intermediate container 94e8ecf8afd5 [2023-04-24T06:33:07.491Z] ---> 419abee0b8e5 [2023-04-24T06:33:07.491Z] Step 17/26 : WORKDIR / [2023-04-24T06:33:07.491Z] ---> Running in 705e2ac6afb4 [2023-04-24T06:33:07.491Z] Removing intermediate container 705e2ac6afb4 [2023-04-24T06:33:07.491Z] ---> a753f08ca2f3 [2023-04-24T06:33:07.491Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-24T06:33:07.491Z] ---> 6ea7d9225138 [2023-04-24T06:33:07.491Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-24T06:33:07.491Z] ---> ed3f519fa523 [2023-04-24T06:33:07.491Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-24T06:33:07.491Z] ---> bffad1266257 [2023-04-24T06:33:07.491Z] Step 21/26 : EXPOSE 59984 [2023-04-24T06:33:07.491Z] ---> Running in 3ecb81fc1105 [2023-04-24T06:33:07.491Z] Removing intermediate container 3ecb81fc1105 [2023-04-24T06:33:07.491Z] ---> bfef8fff1283 [2023-04-24T06:33:07.491Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-24T06:33:07.491Z] ---> Running in 79c279407740 [2023-04-24T06:33:07.491Z] Removing intermediate container 79c279407740 [2023-04-24T06:33:07.491Z] ---> 6df1866cd6e7 [2023-04-24T06:33:07.491Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T06:33:07.491Z] ---> Running in b2799b688000 [2023-04-24T06:33:07.491Z] Removing intermediate container b2799b688000 [2023-04-24T06:33:07.491Z] ---> 5bc21eee3f03 [2023-04-24T06:33:07.491Z] Step 24/26 : LABEL arch=amd64 [2023-04-24T06:33:07.491Z] ---> Running in 6829ea72df54 [2023-04-24T06:33:07.491Z] Removing intermediate container 6829ea72df54 [2023-04-24T06:33:07.491Z] ---> 7835ca56974e [2023-04-24T06:33:07.491Z] Step 25/26 : LABEL git_sha=a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 [2023-04-24T06:33:07.491Z] ---> Running in cf8a9153e0af [2023-04-24T06:33:07.491Z] Removing intermediate container cf8a9153e0af [2023-04-24T06:33:07.491Z] ---> 8147fff7a7fd [2023-04-24T06:33:07.491Z] Step 26/26 : LABEL version=0.0.0 [2023-04-24T06:33:07.491Z] ---> Running in 6961d0dafd4c [2023-04-24T06:33:07.491Z] Removing intermediate container 6961d0dafd4c [2023-04-24T06:33:07.491Z] ---> 13fdf3fdfe91 [2023-04-24T06:33:07.491Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T06:33:07.491Z] Successfully built 13fdf3fdfe91 [2023-04-24T06:33:07.491Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:07.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:33:07.925Z] [2023-04-24T06:33:07.925Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:08.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:33:08.221Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T06:33:08.221Z] 5eb5b503b376: Pulling fs layer [2023-04-24T06:33:08.221Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T06:33:08.221Z] ec43610c2a17: Pulling fs layer [2023-04-24T06:33:08.221Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T06:33:08.221Z] 33b1e0a273af: Pulling fs layer [2023-04-24T06:33:08.221Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T06:33:08.221Z] 3a2ae6a8a46f: Waiting [2023-04-24T06:33:08.221Z] 33b1e0a273af: Waiting [2023-04-24T06:33:08.221Z] 5d3b04190fa2: Waiting [2023-04-24T06:33:08.221Z] 2f39f015ded8: Pulling fs layer [2023-04-24T06:33:08.221Z] 2f39f015ded8: Waiting [2023-04-24T06:33:08.221Z] 5c69ac0246d0: Download complete [2023-04-24T06:33:08.221Z] 3a2ae6a8a46f: Download complete [2023-04-24T06:33:08.221Z] 33b1e0a273af: Download complete [2023-04-24T06:33:08.221Z] ec43610c2a17: Verifying Checksum [2023-04-24T06:33:08.221Z] ec43610c2a17: Download complete [2023-04-24T06:33:08.221Z] 5d3b04190fa2: Verifying Checksum [2023-04-24T06:33:08.221Z] 5d3b04190fa2: Download complete [2023-04-24T06:33:08.478Z] 5eb5b503b376: Verifying Checksum [2023-04-24T06:33:08.478Z] 5eb5b503b376: Download complete [2023-04-24T06:33:09.042Z] 2f39f015ded8: Verifying Checksum [2023-04-24T06:33:09.042Z] 2f39f015ded8: Download complete [2023-04-24T06:33:09.609Z] 5eb5b503b376: Pull complete [2023-04-24T06:33:09.609Z] 5c69ac0246d0: Pull complete [2023-04-24T06:33:10.177Z] ec43610c2a17: Pull complete [2023-04-24T06:33:10.177Z] 3a2ae6a8a46f: Pull complete [2023-04-24T06:33:10.435Z] 33b1e0a273af: Pull complete [2023-04-24T06:33:10.435Z] 5d3b04190fa2: Pull complete [2023-04-24T06:33:14.618Z] 2f39f015ded8: Pull complete [2023-04-24T06:33:14.618Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T06:33:14.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:33:14.618Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:33:14.696Z] prd-ubuntu20.04-docker-8c-8g-9501 does not seem to be running inside a container [2023-04-24T06:33:14.756Z] $ 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-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T06:33:17.744Z] $ docker top 637fa88d5dc60a77b51405ed262a7dd1949d220991e2b3aa5d25e115b16b4062 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:33:18.104Z] ---> job-cost.sh [2023-04-24T06:33:18.104Z] lf-activate-venv: SKIPPING [2023-04-24T06:33:18.104Z] INFO: No Stack... [2023-04-24T06:33:18.363Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:33:18.621Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T06:33:18.908Z] + cat /w/workspace/undry_device-onvif-camera_PR-318/archives/cost.csv [2023-04-24T06:33:18.908Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T06:33:18.921Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] [2023-04-24T06:33:18.935Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] did not exist. Created. [2023-04-24T06:33:18.936Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:33:19.237Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T06:33:19.267Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:33:19.274Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:33:19.299Z] $ docker stop --time=1 637fa88d5dc60a77b51405ed262a7dd1949d220991e2b3aa5d25e115b16b4062 [2023-04-24T06:33:20.445Z] $ docker rm -f --volumes 637fa88d5dc60a77b51405ed262a7dd1949d220991e2b3aa5d25e115b16b4062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T06:34:18.962Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9509 in /w/workspace/undry_device-onvif-camera_PR-318 [Pipeline] { [Pipeline] ws [2023-04-24T06:34:18.976Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-04-24T06:34:19.019Z] The recommended git tool is: git [2023-04-24T06:34:25.999Z] using credential edgex-jenkins-ssh [2023-04-24T06:34:26.025Z] Cloning the remote Git repository [2023-04-24T06:34:26.084Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T06:34:26.205Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-04-24T06:34:26.374Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T06:34:26.376Z] > git --version # timeout=10 [2023-04-24T06:34:26.400Z] > git --version # 'git version 2.25.1' [2023-04-24T06:34:26.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:34:26.595Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:34:28.107Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-24T06:34:28.132Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:34:29.255Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-24T06:34:29.308Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T06:34:29.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:34:29.334Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-24T06:34:29.891Z] Merging remotes/origin/main commit 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 into PR head commit a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 [2023-04-24T06:34:30.462Z] Merge succeeded, producing a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 [2023-04-24T06:34:30.463Z] Checking out Revision a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 (PR-318) [2023-04-24T06:34:29.912Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T06:34:29.999Z] > git checkout -f a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 # timeout=10 [2023-04-24T06:34:30.342Z] > git remote # timeout=10 [2023-04-24T06:34:30.362Z] > git config --get remote.origin.url # timeout=10 [2023-04-24T06:34:30.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:34:30.404Z] > git merge 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 # timeout=10 [2023-04-24T06:34:30.435Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-24T06:34:30.471Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T06:34:30.487Z] > git checkout -f a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 # timeout=10 [2023-04-24T06:34:31.507Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:34:32.457Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T06:34:32.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T06:34:32.457Z] Dload Upload Total Spent Left Speed [2023-04-24T06:34:32.457Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2023-04-24T06:34:33.142Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T06:34:33.492Z] + sudo tee /etc/docker/daemon.new [2023-04-24T06:34:33.493Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T06:34:33.493Z] { [2023-04-24T06:34:33.493Z] "registry-mirrors": [ [2023-04-24T06:34:33.493Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T06:34:33.493Z] ], [2023-04-24T06:34:33.493Z] "bip": "10.250.0.254/24", [2023-04-24T06:34:33.493Z] "hosts": [ [2023-04-24T06:34:33.493Z] "tcp://0.0.0.0:5555", [2023-04-24T06:34:33.493Z] "unix:///var/run/docker.sock" [2023-04-24T06:34:33.493Z] ], [2023-04-24T06:34:33.493Z] "mtu": 1458, [2023-04-24T06:34:33.493Z] "selinux-enabled": true, [2023-04-24T06:34:33.493Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T06:34:33.493Z] } [Pipeline] sh [2023-04-24T06:34:33.848Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T06:34:34.202Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:34:52.528Z] provisioning config files... [2023-04-24T06:34:52.563Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config14158429641454638942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:34:52.944Z] ---> docker-login.sh [2023-04-24T06:34:52.944Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:34:53.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:34:53.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:34:53.539Z] Configure a credential helper to remove this warning. See [2023-04-24T06:34:53.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:34:53.539Z] [2023-04-24T06:34:53.539Z] Login Succeeded [2023-04-24T06:34:53.539Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:34:54.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:34:54.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:34:54.139Z] Configure a credential helper to remove this warning. See [2023-04-24T06:34:54.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:34:54.139Z] [2023-04-24T06:34:54.139Z] Login Succeeded [2023-04-24T06:34:54.139Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:34:54.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:34:54.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:34:54.412Z] Configure a credential helper to remove this warning. See [2023-04-24T06:34:54.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:34:54.412Z] [2023-04-24T06:34:54.412Z] Login Succeeded [2023-04-24T06:34:54.412Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:34:54.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:34:54.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:34:54.959Z] Configure a credential helper to remove this warning. See [2023-04-24T06:34:54.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:34:54.959Z] [2023-04-24T06:34:54.959Z] Login Succeeded [2023-04-24T06:34:54.959Z] docker.io [2023-04-24T06:34:55.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:34:55.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:34:55.508Z] Configure a credential helper to remove this warning. See [2023-04-24T06:34:55.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:34:55.508Z] [2023-04-24T06:34:55.508Z] Login Succeeded [2023-04-24T06:34:55.508Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:34:55.527Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T06:34:55.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:34:55.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:34:55.946Z] ========================================================= [2023-04-24T06:34:55.946Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T06:34:55.946Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:34:56.333Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T06:34:56.941Z] Sending build context to Docker daemon 19.67MB [2023-04-24T06:34:56.941Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:34:56.941Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-24T06:34:58.388Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T06:34:58.388Z] af6eaf76a39c: Pulling fs layer [2023-04-24T06:34:58.388Z] 55522c791124: Pulling fs layer [2023-04-24T06:34:58.388Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T06:34:58.388Z] 169dfbe0d373: Pulling fs layer [2023-04-24T06:34:58.388Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T06:34:58.388Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T06:34:58.388Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T06:34:58.388Z] e1ff8fa3b103: Waiting [2023-04-24T06:34:58.388Z] 52ebb69f0ebf: Waiting [2023-04-24T06:34:58.388Z] 5abe8eddf0d5: Waiting [2023-04-24T06:34:58.388Z] 169dfbe0d373: Waiting [2023-04-24T06:34:58.388Z] 55522c791124: Download complete [2023-04-24T06:34:58.388Z] 169dfbe0d373: Verifying Checksum [2023-04-24T06:34:58.388Z] 169dfbe0d373: Download complete [2023-04-24T06:34:58.388Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T06:34:58.388Z] e1ff8fa3b103: Download complete [2023-04-24T06:34:58.388Z] af6eaf76a39c: Verifying Checksum [2023-04-24T06:34:58.388Z] af6eaf76a39c: Download complete [2023-04-24T06:34:59.993Z] af6eaf76a39c: Pull complete [2023-04-24T06:34:59.993Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T06:34:59.993Z] 5abe8eddf0d5: Download complete [2023-04-24T06:35:00.267Z] 55522c791124: Pull complete [2023-04-24T06:35:01.248Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T06:35:01.248Z] ce5c4a1c91eb: Download complete [2023-04-24T06:35:01.523Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T06:35:01.523Z] 52ebb69f0ebf: Download complete [2023-04-24T06:35:14.008Z] ce5c4a1c91eb: Pull complete [2023-04-24T06:35:14.008Z] 169dfbe0d373: Pull complete [2023-04-24T06:35:14.280Z] e1ff8fa3b103: Pull complete [2023-04-24T06:35:22.556Z] 52ebb69f0ebf: Pull complete [2023-04-24T06:35:23.988Z] 5abe8eddf0d5: Pull complete [2023-04-24T06:35:23.988Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T06:35:23.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T06:35:23.988Z] ---> 6cb57ee374ae [2023-04-24T06:35:23.988Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:35:25.971Z] ---> Running in 59d2e23eb080 [2023-04-24T06:35:26.564Z] Removing intermediate container 59d2e23eb080 [2023-04-24T06:35:26.564Z] ---> a02397a3b22d [2023-04-24T06:35:26.564Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:35:26.564Z] ---> Running in f6c2989ade04 [2023-04-24T06:35:26.844Z] Removing intermediate container f6c2989ade04 [2023-04-24T06:35:26.844Z] ---> 4602966f3471 [2023-04-24T06:35:26.844Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T06:35:26.844Z] ---> Running in 649dd55b89ca [2023-04-24T06:35:27.439Z] Removing intermediate container 649dd55b89ca [2023-04-24T06:35:27.439Z] ---> daa729812291 [2023-04-24T06:35:27.439Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:35:27.439Z] ---> Running in 9969965166d1 [2023-04-24T06:35:28.036Z] Removing intermediate container 9969965166d1 [2023-04-24T06:35:28.036Z] ---> 10db64894b99 [2023-04-24T06:35:28.036Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-24T06:35:28.036Z] ---> Running in 388b217468d4 [2023-04-24T06:35:28.313Z] Removing intermediate container 388b217468d4 [2023-04-24T06:35:28.313Z] ---> 644f508b927a [2023-04-24T06:35:28.313Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:35:28.592Z] ---> Running in 3b726c77f552 [2023-04-24T06:35:30.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:35:30.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:35:32.044Z] OK: 263 MiB in 53 packages [2023-04-24T06:35:33.034Z] Removing intermediate container 3b726c77f552 [2023-04-24T06:35:33.034Z] ---> 76b2e6cc211f [2023-04-24T06:35:33.034Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-24T06:35:33.034Z] ---> Running in 47332dc9a381 [2023-04-24T06:35:33.628Z] Removing intermediate container 47332dc9a381 [2023-04-24T06:35:33.628Z] ---> 27f00a72536e [2023-04-24T06:35:33.628Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-24T06:35:34.225Z] ---> 377b8d639a03 [2023-04-24T06:35:34.225Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:35:34.225Z] ---> Running in 138a8af335d8 [2023-04-24T06:36:42.253Z] Removing intermediate container 138a8af335d8 [2023-04-24T06:36:42.254Z] ---> 48e3113dcad5 [2023-04-24T06:36:42.254Z] Step 12/13 : COPY . . [2023-04-24T06:36:43.689Z] ---> e1a82e317dde [2023-04-24T06:36:43.689Z] Step 13/13 : RUN ${MAKE} [2023-04-24T06:36:43.689Z] ---> Running in 00af9a68dd2d [2023-04-24T06:36:44.664Z] noop [2023-04-24T06:36:45.639Z] Removing intermediate container 00af9a68dd2d [2023-04-24T06:36:45.639Z] ---> 44a080a5b5a2 [2023-04-24T06:36:45.639Z] Successfully built 44a080a5b5a2 [2023-04-24T06:36:45.639Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:36:46.005Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:36:46.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:36:46.261Z] prd-ubuntu20.04-docker-arm64-4c-16g-9509 does not seem to be running inside a container [2023-04-24T06:36:46.361Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T06:36:48.604Z] $ docker top 601148a49dc39bbe126b85a6384f1e564c8c96931ab31860a6853522957f7dc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:36:49.503Z] + go version [2023-04-24T06:36:49.504Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T06:36:49.540Z] $ docker stop --time=1 601148a49dc39bbe126b85a6384f1e564c8c96931ab31860a6853522957f7dc7 [2023-04-24T06:36:51.325Z] $ docker rm -f --volumes 601148a49dc39bbe126b85a6384f1e564c8c96931ab31860a6853522957f7dc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:36:51.922Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:36:51.922Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:36:52.153Z] prd-ubuntu20.04-docker-arm64-4c-16g-9509 does not seem to be running inside a container [2023-04-24T06:36:52.260Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T06:36:53.749Z] $ docker top 810bd26665a8d12a1af6e5b2dfe83b820b5844bca6e7b62bff52c77566115304 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:36:54.631Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:36:55.312Z] + make test [2023-04-24T06:36:55.312Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T06:37:42.229Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-24T06:40:19.063Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-24T06:40:21.047Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-24T06:40:23.019Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.228s coverage: 31.6% of statements [2023-04-24T06:40:55.327Z] --- FAIL: TestIpGenerator (0.00s) [2023-04-24T06:40:55.327Z] --- FAIL: TestIpGenerator/basic_/8_subnet (30.01s) [2023-04-24T06:40:55.327Z] util_test.go:180: [2023-04-24T06:40:55.327Z] Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:180 [2023-04-24T06:40:55.327Z] Error: Not equal: [2023-04-24T06:40:55.327Z] expected: 0xfffffe [2023-04-24T06:40:55.327Z] actual : 0xfd9298 [2023-04-24T06:40:55.327Z] Test: TestIpGenerator/basic_/8_subnet [2023-04-24T06:40:55.327Z] util_test.go:183: [2023-04-24T06:40:55.327Z] Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:183 [2023-04-24T06:40:55.327Z] Error: Not equal: [2023-04-24T06:40:55.327Z] expected: "10.255.255.254" [2023-04-24T06:40:55.327Z] actual : "10.253.146.152" [2023-04-24T06:40:55.327Z] [2023-04-24T06:40:55.327Z] Diff: [2023-04-24T06:40:55.327Z] --- Expected [2023-04-24T06:40:55.327Z] +++ Actual [2023-04-24T06:40:55.327Z] @@ -1 +1 @@ [2023-04-24T06:40:55.327Z] -10.255.255.254 [2023-04-24T06:40:55.327Z] +10.253.146.152 [2023-04-24T06:40:55.327Z] Test: TestIpGenerator/basic_/8_subnet [2023-04-24T06:40:55.327Z] FAIL [2023-04-24T06:40:55.327Z] github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements [2023-04-24T06:40:55.327Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.231s [2023-04-24T06:40:55.327Z] FAIL [2023-04-24T06:40:55.327Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-04-24T06:40:55.366Z] $ docker stop --time=1 810bd26665a8d12a1af6e5b2dfe83b820b5844bca6e7b62bff52c77566115304 [2023-04-24T06:40:57.220Z] $ docker rm -f --volumes 810bd26665a8d12a1af6e5b2dfe83b820b5844bca6e7b62bff52c77566115304 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:40:58.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:40:58.566Z] [2023-04-24T06:40:58.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:40:58.910Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:40:59.185Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T06:40:59.185Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T06:40:59.185Z] 04944245beec: Pulling fs layer [2023-04-24T06:40:59.185Z] 699f458cf7ca: Pulling fs layer [2023-04-24T06:40:59.185Z] 765212b225bb: Pulling fs layer [2023-04-24T06:40:59.185Z] f23df028b6ca: Pulling fs layer [2023-04-24T06:40:59.185Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T06:40:59.185Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T06:40:59.185Z] 765212b225bb: Waiting [2023-04-24T06:40:59.185Z] f23df028b6ca: Waiting [2023-04-24T06:40:59.185Z] d65c8cfc05b1: Waiting [2023-04-24T06:40:59.185Z] 2437ff75d9bd: Waiting [2023-04-24T06:40:59.185Z] 04944245beec: Verifying Checksum [2023-04-24T06:40:59.185Z] 04944245beec: Download complete [2023-04-24T06:40:59.185Z] 765212b225bb: Verifying Checksum [2023-04-24T06:40:59.185Z] 765212b225bb: Download complete [2023-04-24T06:40:59.185Z] f23df028b6ca: Verifying Checksum [2023-04-24T06:40:59.185Z] f23df028b6ca: Download complete [2023-04-24T06:40:59.185Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T06:40:59.185Z] d65c8cfc05b1: Download complete [2023-04-24T06:40:59.461Z] 699f458cf7ca: Verifying Checksum [2023-04-24T06:40:59.461Z] 699f458cf7ca: Download complete [2023-04-24T06:41:00.056Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T06:41:00.056Z] 8998bd30e6a1: Download complete [2023-04-24T06:41:02.680Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T06:41:02.680Z] 2437ff75d9bd: Download complete [2023-04-24T06:41:06.054Z] 8998bd30e6a1: Pull complete [2023-04-24T06:41:06.054Z] 04944245beec: Pull complete [2023-04-24T06:41:08.016Z] 699f458cf7ca: Pull complete [2023-04-24T06:41:08.016Z] 765212b225bb: Pull complete [2023-04-24T06:41:08.984Z] f23df028b6ca: Pull complete [2023-04-24T06:41:08.984Z] d65c8cfc05b1: Pull complete [2023-04-24T06:41:24.053Z] 2437ff75d9bd: Pull complete [2023-04-24T06:41:24.053Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T06:41:24.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:41:24.053Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:41:24.259Z] prd-ubuntu20.04-docker-arm64-4c-16g-9509 does not seem to be running inside a container [2023-04-24T06:41:24.352Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-24T06:41:27.213Z] $ docker top c93ebcafb63b0de4a8b5d35179ec7cd250d82df6b5b74bce373325835e0571ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:41:28.060Z] ---> job-cost.sh [2023-04-24T06:41:28.060Z] lf-activate-venv: SKIPPING [2023-04-24T06:41:28.060Z] INFO: No Stack... [2023-04-24T06:41:28.330Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T06:41:29.294Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T06:41:29.953Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-04-24T06:41:29.953Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T06:41:30.036Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] [2023-04-24T06:41:30.045Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] did not exist. Created. [2023-04-24T06:41:30.045Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:41:30.712Z] /w/workspace/device-onvif-camera/2@tmp/durable-a56e72bf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T06:41:31.387Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T06:41:31.403Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T06:41:32.024Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:41:32.032Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:41:32.067Z] $ docker stop --time=1 c93ebcafb63b0de4a8b5d35179ec7cd250d82df6b5b74bce373325835e0571ff [2023-04-24T06:41:33.654Z] $ docker rm -f --volumes c93ebcafb63b0de4a8b5d35179ec7cd250d82df6b5b74bce373325835e0571ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T06:41:33.919Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-24T06:41:34.597Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-318/archives ] [2023-04-24T06:41:34.598Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-318/archives [2023-04-24T06:41:34.598Z] total 16 [2023-04-24T06:41:34.598Z] drwxr-xr-x 3 root root 4096 Apr 24 06:33 . [2023-04-24T06:41:34.598Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:33 .. [2023-04-24T06:41:34.598Z] drwxr-xr-x 2 root root 4096 Apr 24 06:33 cost [2023-04-24T06:41:34.598Z] -rw-r--r-- 1 root root 91 Apr 24 06:33 cost.csv [2023-04-24T06:41:34.598Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-318/archives [2023-04-24T06:41:34.598Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-318/archives [2023-04-24T06:41:34.598Z] total 16 [2023-04-24T06:41:34.598Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:33 . [2023-04-24T06:41:34.598Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:33 .. [2023-04-24T06:41:34.598Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 06:33 cost [2023-04-24T06:41:34.598Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 24 06:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:41:34.889Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:41:35.744Z] ---> package-listing.sh [2023-04-24T06:41:35.744Z] ++ facter osfamily [2023-04-24T06:41:35.744Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T06:41:36.004Z] + OS_FAMILY=debian [2023-04-24T06:41:36.004Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-318 [2023-04-24T06:41:36.004Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T06:41:36.004Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T06:41:36.004Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T06:41:36.004Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T06:41:36.004Z] + '[' /w/workspace/undry_device-onvif-camera_PR-318 ']' [2023-04-24T06:41:36.004Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T06:41:36.004Z] + case "${OS_FAMILY}" in [2023-04-24T06:41:36.004Z] + grep '^ii' [2023-04-24T06:41:36.004Z] + dpkg -l [2023-04-24T06:41:36.004Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T06:41:36.004Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T06:41:36.004Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T06:41:36.004Z] + '[' /w/workspace/undry_device-onvif-camera_PR-318 ']' [2023-04-24T06:41:36.004Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-318/archives/ [2023-04-24T06:41:36.004Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-318/archives/ [Pipeline] echo [2023-04-24T06:41:36.013Z] 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-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-24T06:41:36.289Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:41:36.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:41:36.583Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:41:36.648Z] prd-ubuntu20.04-docker-8c-8g-9501 does not seem to be running inside a container [2023-04-24T06:41:36.690Z] $ 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-318/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-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@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:latest cat [2023-04-24T06:41:36.948Z] $ docker top ab8d6963abc844c64d1583ba6b8437e33a15634c857f403d765f10823e726462 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:41:37.279Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T06:41:37.574Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T06:41:37.859Z] + ls /var/log/sa-host [2023-04-24T06:41:37.860Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:41:37.936Z] provisioning config files... [2023-04-24T06:41:37.943Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-318@tmp/config17714801464665664133tmp [Pipeline] { [Pipeline] echo [2023-04-24T06:41:37.954Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:41:38.235Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T06:41:38.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:41:38.576Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T06:41:38.585Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:41:38.875Z] ---> sudo-logs.sh [2023-04-24T06:41:38.875Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T06:41:38.907Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:41:39.191Z] ---> job-cost.sh [2023-04-24T06:41:39.192Z] lf-activate-venv: SKIPPING [2023-04-24T06:41:39.192Z] DEBUG: total: 0.2199999988079071 [2023-04-24T06:41:39.192Z] INFO: Retrieving Stack Cost... [2023-04-24T06:41:39.758Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:41:40.017Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T06:41:40.028Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:41:40.311Z] ---> logs-deploy.sh [2023-04-24T06:41:40.312Z] lf-activate-venv: SKIPPING [2023-04-24T06:41:40.312Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-318/2 [2023-04-24T06:41:40.312Z] INFO: archiving workspace using pattern(s): [2023-04-24T06:41:41.248Z] Archives upload complete. [2023-04-24T06:41:41.248Z] INFO: archiving logs to Nexus