Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c689ec2735047fa853b30b2758522f8f24e125e7+9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 (1a1580d39bdc2cc50654dd2ed3da546634372b98) 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-ssh18155631217088587077.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-ssh14853246013667774304.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-319/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-319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10895458327927490437.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-ssh6376021898960779110.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-319/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-319/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5776842398766143587.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9572 in /w/workspace/undry_device-onvif-camera_PR-319 [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-319 # 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/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 into PR head commit c689ec2735047fa853b30b2758522f8f24e125e7 Merge succeeded, producing 25335dd77dc556eea32f469c14987059476d8727 Checking out Revision 25335dd77dc556eea32f469c14987059476d8727 (PR-319) > git config core.sparsecheckout # timeout=10 > git checkout -f c689ec2735047fa853b30b2758522f8f24e125e7 # 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 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25335dd77dc556eea32f469c14987059476d8727 # timeout=10 Commit message: "Merge commit '9cf6c2925dd31c7afe7cec00246c23f9761bb7f7' into HEAD" > git rev-list --no-walk c689ec2735047fa853b30b2758522f8f24e125e7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T22:11:25.590Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T22:11:25.637Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T22:11:25.652Z] ========================================================= [2023-04-24T22:11:25.652Z] EdgeX Global Pipelines Version Info [2023-04-24T22:11:25.652Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:11:26.386Z] ------------------- [2023-04-24T22:11:26.386Z] stable info: [2023-04-24T22:11:26.386Z] ------------------- [2023-04-24T22:11:26.386Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T22:11:26.386Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T22:11:26.386Z] Message: update stable to v1.0.248 [2023-04-24T22:11:26.955Z] ------------------- [2023-04-24T22:11:26.955Z] experimental info: [2023-04-24T22:11:26.955Z] ------------------- [2023-04-24T22:11:26.955Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T22:11:26.955Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T22:11:26.955Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T22:11:27.169Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-24T22:11:27.178Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-24T22:11:27.187Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T22:11:27.210Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T22:11:27.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T22:11:27.244Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T22:11:27.257Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T22:11:27.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T22:11:27.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T22:11:27.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T22:11:27.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T22:11:27.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-24T22:11:27.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T22:11:27.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T22:11:27.358Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T22:11:27.369Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T22:11:27.377Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T22:11:27.385Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T22:11:27.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T22:11:27.407Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T22:11:27.416Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-24T22:11:27.425Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-24T22:11:27.433Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T22:11:27.445Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T22:11:27.456Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T22:11:27.465Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T22:11:27.477Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T22:11:27.486Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-319 [Pipeline] echo [2023-04-24T22:11:27.498Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-319 [Pipeline] echo [2023-04-24T22:11:27.509Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-319 [Pipeline] echo [2023-04-24T22:11:27.518Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25335dd77dc556eea32f469c14987059476d8727 [Pipeline] echo [2023-04-24T22:11:27.526Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25335dd [Pipeline] echo [2023-04-24T22:11:27.540Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T22:11:27.591Z] provisioning config files... [2023-04-24T22:11:27.604Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-319@tmp/config13512082745288338232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:11:27.905Z] ---> docker-login.sh [2023-04-24T22:11:27.905Z] nexus3.edgexfoundry.org:10001 [2023-04-24T22:11:28.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:33.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:33.452Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:33.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:33.452Z] [2023-04-24T22:11:33.452Z] Login Succeeded [2023-04-24T22:11:33.452Z] nexus3.edgexfoundry.org:10002 [2023-04-24T22:11:33.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:33.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:33.452Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:33.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:33.452Z] [2023-04-24T22:11:33.452Z] Login Succeeded [2023-04-24T22:11:33.452Z] nexus3.edgexfoundry.org:10003 [2023-04-24T22:11:33.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:33.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:33.452Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:33.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:33.452Z] [2023-04-24T22:11:33.452Z] Login Succeeded [2023-04-24T22:11:33.452Z] nexus3.edgexfoundry.org:10004 [2023-04-24T22:11:33.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:33.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:33.452Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:33.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:33.452Z] [2023-04-24T22:11:33.452Z] Login Succeeded [2023-04-24T22:11:33.452Z] docker.io [2023-04-24T22:11:33.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:33.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:33.713Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:33.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:33.713Z] [2023-04-24T22:11:33.713Z] Login Succeeded [2023-04-24T22:11:33.713Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T22:11:33.722Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T22:11:34.094Z] + git rev-list -1 --merges 25335dd77dc556eea32f469c14987059476d8727~1..25335dd77dc556eea32f469c14987059476d8727 [Pipeline] echo [2023-04-24T22:11:34.139Z] -----------> git rev-list -1 --merges 25335dd77dc556eea32f469c14987059476d8727~1..25335dd77dc556eea32f469c14987059476d8727 25335dd77dc556eea32f469c14987059476d8727 [2023-04-24T22:11:34.139Z] 25335dd77dc556eea32f469c14987059476d8727 [false] [Pipeline] sh [2023-04-24T22:11:34.434Z] + git log --format=format:%s -1 25335dd77dc556eea32f469c14987059476d8727 [Pipeline] echo [2023-04-24T22:11:34.448Z] ========================================================= [2023-04-24T22:11:34.448Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T22:11:34.448Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T22:11:34.785Z] + git log --format=format:%s -1 25335dd77dc556eea32f469c14987059476d8727 [Pipeline] echo [2023-04-24T22:11:34.795Z] [semverPrep] GIT_COMMIT: 25335dd77dc556eea32f469c14987059476d8727, Commit Message: Merge commit '9cf6c2925dd31c7afe7cec00246c23f9761bb7f7' into HEAD [Pipeline] echo [2023-04-24T22:11:34.802Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T22:11:35.151Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T22:11:35.151Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T22:11:35.151Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T22:11:35.151Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T22:11:35.151Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T22:11:35.151Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T22:11:35.151Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:11:35.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T22:11:35.494Z] [2023-04-24T22:11:35.494Z] 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-24T22:11:35.795Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T22:11:35.795Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T22:11:35.795Z] b85a868b505f: Pulling fs layer [2023-04-24T22:11:35.795Z] e2be974225ed: Pulling fs layer [2023-04-24T22:11:35.795Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T22:11:35.795Z] 988bab9f4d93: Pulling fs layer [2023-04-24T22:11:35.795Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T22:11:35.795Z] eaf3925da568: Pulling fs layer [2023-04-24T22:11:35.795Z] 988bab9f4d93: Waiting [2023-04-24T22:11:35.795Z] bab4dde63d76: Pulling fs layer [2023-04-24T22:11:35.795Z] eaf3925da568: Waiting [2023-04-24T22:11:35.795Z] bab4dde63d76: Waiting [2023-04-24T22:11:35.795Z] bde34c3a00c8: Pulling fs layer [2023-04-24T22:11:35.795Z] b352a97aabf1: Pulling fs layer [2023-04-24T22:11:35.795Z] 4872d77fe225: Pulling fs layer [2023-04-24T22:11:35.795Z] 1469e6f7b9e6: Waiting [2023-04-24T22:11:35.795Z] 5851b861e8e6: Pulling fs layer [2023-04-24T22:11:35.795Z] b352a97aabf1: Waiting [2023-04-24T22:11:35.795Z] 4872d77fe225: Waiting [2023-04-24T22:11:35.795Z] 5851b861e8e6: Waiting [2023-04-24T22:11:35.795Z] bde34c3a00c8: Waiting [2023-04-24T22:11:35.795Z] e2be974225ed: Verifying Checksum [2023-04-24T22:11:35.795Z] e2be974225ed: Download complete [2023-04-24T22:11:35.795Z] 988bab9f4d93: Verifying Checksum [2023-04-24T22:11:35.795Z] 988bab9f4d93: Download complete [2023-04-24T22:11:35.795Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T22:11:35.795Z] 1469e6f7b9e6: Download complete [2023-04-24T22:11:35.795Z] eaf3925da568: Verifying Checksum [2023-04-24T22:11:35.795Z] eaf3925da568: Download complete [2023-04-24T22:11:35.795Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T22:11:35.795Z] 339a4e72a1f5: Download complete [2023-04-24T22:11:36.056Z] bde34c3a00c8: Download complete [2023-04-24T22:11:36.056Z] b352a97aabf1: Verifying Checksum [2023-04-24T22:11:36.056Z] b352a97aabf1: Download complete [2023-04-24T22:11:36.056Z] 4872d77fe225: Verifying Checksum [2023-04-24T22:11:36.056Z] 4872d77fe225: Download complete [2023-04-24T22:11:36.056Z] 5851b861e8e6: Download complete [2023-04-24T22:11:36.056Z] b85a868b505f: Verifying Checksum [2023-04-24T22:11:36.056Z] b85a868b505f: Download complete [2023-04-24T22:11:36.319Z] bab4dde63d76: Verifying Checksum [2023-04-24T22:11:36.319Z] bab4dde63d76: Download complete [2023-04-24T22:11:37.701Z] b85a868b505f: Pull complete [2023-04-24T22:11:37.701Z] e2be974225ed: Pull complete [2023-04-24T22:11:37.961Z] 339a4e72a1f5: Pull complete [2023-04-24T22:11:38.220Z] 988bab9f4d93: Pull complete [2023-04-24T22:11:38.486Z] 1469e6f7b9e6: Pull complete [2023-04-24T22:11:38.486Z] eaf3925da568: Pull complete [2023-04-24T22:11:40.395Z] bab4dde63d76: Pull complete [2023-04-24T22:11:40.395Z] bde34c3a00c8: Pull complete [2023-04-24T22:11:40.654Z] b352a97aabf1: Pull complete [2023-04-24T22:11:40.654Z] 4872d77fe225: Pull complete [2023-04-24T22:11:40.654Z] 5851b861e8e6: Pull complete [2023-04-24T22:11:40.915Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T22:11:40.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T22:11:40.915Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:11:41.015Z] prd-ubuntu20.04-docker-8c-8g-9572 does not seem to be running inside a container [2023-04-24T22:11:41.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T22:11:44.101Z] $ docker top cf9895c4bb589aa55abc879ee67c7af8fc1822208a55981d3d819f8005a5d0f7 -eo pid,comm [2023-04-24T22:11:44.153Z] 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-24T22:11:44.153Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T22:11:44.191Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T22:11:44.191Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T22:11:44.320Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T22:11:44.328Z] $ docker exec cf9895c4bb589aa55abc879ee67c7af8fc1822208a55981d3d819f8005a5d0f7 ssh-agent [2023-04-24T22:11:44.427Z] SSH_AUTH_SOCK=/tmp/ssh-878zktYlt93Q/agent.32 [2023-04-24T22:11:44.427Z] SSH_AGENT_PID=38 [2023-04-24T22:11:44.433Z] Running ssh-add (command line suppressed) [2023-04-24T22:11:44.553Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-319@tmp/private_key_14643860169136912257.key (/w/workspace/undry_device-onvif-camera_PR-319@tmp/private_key_14643860169136912257.key) [2023-04-24T22:11:44.564Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T22:11:44.855Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T22:11:44.874Z] $ docker exec --env ******** --env ******** cf9895c4bb589aa55abc879ee67c7af8fc1822208a55981d3d819f8005a5d0f7 ssh-agent -k [2023-04-24T22:11:44.988Z] unset SSH_AUTH_SOCK; [2023-04-24T22:11:44.988Z] unset SSH_AGENT_PID; [2023-04-24T22:11:44.989Z] echo Agent pid 38 killed; [2023-04-24T22:11:44.994Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T22:11:45.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T22:11:45.021Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T22:11:45.135Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T22:11:45.141Z] $ docker exec cf9895c4bb589aa55abc879ee67c7af8fc1822208a55981d3d819f8005a5d0f7 ssh-agent [2023-04-24T22:11:45.264Z] SSH_AUTH_SOCK=/tmp/ssh-lBwbQO1bPZ82/agent.70 [2023-04-24T22:11:45.264Z] SSH_AGENT_PID=77 [2023-04-24T22:11:45.269Z] Running ssh-add (command line suppressed) [2023-04-24T22:11:45.391Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-319@tmp/private_key_2875005056448269005.key (/w/workspace/undry_device-onvif-camera_PR-319@tmp/private_key_2875005056448269005.key) [2023-04-24T22:11:45.402Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T22:11:45.692Z] + git semver init [2023-04-24T22:11:45.953Z] 2023-04-24 22:11:45,900 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T22:11:45.953Z] 2023-04-24 22:11:45,901 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-319/.semver [2023-04-24T22:11:45.953Z] 2023-04-24 22:11:45,902 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-319/.semver [2023-04-24T22:11:45.953Z] 2023-04-24 22:11:45,902 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-319/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-319, universal_newlines=False, shell=None, istream=None) [2023-04-24T22:11:46.893Z] 2023-04-24 22:11:46,816 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-319/.git/info/exclude [2023-04-24T22:11:46.893Z] 2023-04-24 22:11:46,817 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-319/.semver/PR-319 with force:False [2023-04-24T22:11:46.893Z] 2023-04-24 22:11:46,817 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-319/.semver/PR-319 [2023-04-24T22:11:46.893Z] 2023-04-24 22:11:46,822 [execute] INFO git cat-file --batch-check [2023-04-24T22:11:46.893Z] 2023-04-24 22:11:46,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-319/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T22:11:46.893Z] 2023-04-24 22:11:46,829 [execute] INFO git cat-file --batch [2023-04-24T22:11:46.893Z] 2023-04-24 22:11:46,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-319/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T22:11:46.893Z] 2023-04-24 22:11:46,834 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-319/.semver/PR-319 [2023-04-24T22:11:46.893Z] 0.0.0 [Pipeline] } [2023-04-24T22:11:46.908Z] $ docker exec --env ******** --env ******** cf9895c4bb589aa55abc879ee67c7af8fc1822208a55981d3d819f8005a5d0f7 ssh-agent -k [2023-04-24T22:11:47.008Z] unset SSH_AUTH_SOCK; [2023-04-24T22:11:47.008Z] unset SSH_AGENT_PID; [2023-04-24T22:11:47.008Z] echo Agent pid 77 killed; [2023-04-24T22:11:47.016Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T22:11:47.321Z] + git semver [Pipeline] } [2023-04-24T22:11:47.597Z] $ docker stop --time=1 cf9895c4bb589aa55abc879ee67c7af8fc1822208a55981d3d819f8005a5d0f7 [2023-04-24T22:11:48.923Z] $ docker rm -f --volumes cf9895c4bb589aa55abc879ee67c7af8fc1822208a55981d3d819f8005a5d0f7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T22:11:49.254Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T22:11:49.484Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T22:11:49.486Z] [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-24T22:11:49.631Z] provisioning config files... [2023-04-24T22:11:49.642Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-319@tmp/config12312701707443777512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:11:49.939Z] ---> docker-login.sh [2023-04-24T22:11:49.939Z] nexus3.edgexfoundry.org:10001 [2023-04-24T22:11:49.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:49.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:49.939Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:49.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:49.939Z] [2023-04-24T22:11:49.939Z] Login Succeeded [2023-04-24T22:11:49.939Z] nexus3.edgexfoundry.org:10002 [2023-04-24T22:11:49.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:49.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:49.939Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:49.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:49.939Z] [2023-04-24T22:11:49.939Z] Login Succeeded [2023-04-24T22:11:49.939Z] nexus3.edgexfoundry.org:10003 [2023-04-24T22:11:50.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:50.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:50.199Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:50.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:50.199Z] [2023-04-24T22:11:50.199Z] Login Succeeded [2023-04-24T22:11:50.199Z] nexus3.edgexfoundry.org:10004 [2023-04-24T22:11:50.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:50.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:50.199Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:50.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:50.199Z] [2023-04-24T22:11:50.199Z] Login Succeeded [2023-04-24T22:11:50.199Z] docker.io [2023-04-24T22:11:50.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:11:50.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:11:50.459Z] Configure a credential helper to remove this warning. See [2023-04-24T22:11:50.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:11:50.459Z] [2023-04-24T22:11:50.459Z] Login Succeeded [2023-04-24T22:11:50.719Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T22:11:50.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T22:11:50.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T22:11:50.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T22:11:50.818Z] ========================================================= [2023-04-24T22:11:50.818Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T22:11:50.818Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:11:51.137Z] + 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-24T22:11:51.137Z] Sending build context to Docker daemon 26.96MB [2023-04-24T22:11:51.137Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T22:11:51.137Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-24T22:11:51.397Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T22:11:51.397Z] f56be85fc22e: Pulling fs layer [2023-04-24T22:11:51.397Z] 85791d961cd3: Pulling fs layer [2023-04-24T22:11:51.397Z] d694b5ae8c79: Pulling fs layer [2023-04-24T22:11:51.397Z] 9f32a84ed3da: Pulling fs layer [2023-04-24T22:11:51.397Z] 4d19c01a9841: Pulling fs layer [2023-04-24T22:11:51.397Z] 9325e15d5711: Pulling fs layer [2023-04-24T22:11:51.397Z] 556b6ee489ea: Pulling fs layer [2023-04-24T22:11:51.397Z] c5a4b2cf53e6: Pulling fs layer [2023-04-24T22:11:51.397Z] 4d19c01a9841: Waiting [2023-04-24T22:11:51.397Z] 9325e15d5711: Waiting [2023-04-24T22:11:51.397Z] 556b6ee489ea: Waiting [2023-04-24T22:11:51.397Z] c5a4b2cf53e6: Waiting [2023-04-24T22:11:51.397Z] 9f32a84ed3da: Waiting [2023-04-24T22:11:51.397Z] 85791d961cd3: Download complete [2023-04-24T22:11:51.397Z] 9f32a84ed3da: Verifying Checksum [2023-04-24T22:11:51.398Z] 9f32a84ed3da: Download complete [2023-04-24T22:11:51.398Z] 4d19c01a9841: Verifying Checksum [2023-04-24T22:11:51.398Z] 4d19c01a9841: Download complete [2023-04-24T22:11:51.398Z] f56be85fc22e: Verifying Checksum [2023-04-24T22:11:51.398Z] f56be85fc22e: Download complete [2023-04-24T22:11:51.398Z] 9325e15d5711: Verifying Checksum [2023-04-24T22:11:51.398Z] 9325e15d5711: Download complete [2023-04-24T22:11:51.657Z] f56be85fc22e: Pull complete [2023-04-24T22:11:51.657Z] 85791d961cd3: Pull complete [2023-04-24T22:11:51.916Z] c5a4b2cf53e6: Verifying Checksum [2023-04-24T22:11:51.916Z] c5a4b2cf53e6: Download complete [2023-04-24T22:11:51.916Z] d694b5ae8c79: Verifying Checksum [2023-04-24T22:11:51.916Z] d694b5ae8c79: Download complete [2023-04-24T22:11:52.172Z] 556b6ee489ea: Verifying Checksum [2023-04-24T22:11:52.172Z] 556b6ee489ea: Download complete [2023-04-24T22:11:55.454Z] d694b5ae8c79: Pull complete [2023-04-24T22:11:55.454Z] 9f32a84ed3da: Pull complete [2023-04-24T22:11:55.454Z] 4d19c01a9841: Pull complete [2023-04-24T22:11:55.454Z] 9325e15d5711: Pull complete [2023-04-24T22:11:57.984Z] 556b6ee489ea: Pull complete [2023-04-24T22:11:58.551Z] c5a4b2cf53e6: Pull complete [2023-04-24T22:11:58.551Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-24T22:11:58.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T22:11:58.551Z] ---> c4be618373d6 [2023-04-24T22:11:58.551Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-24T22:12:02.749Z] ---> Running in 93c3de1beaef [2023-04-24T22:12:03.008Z] Removing intermediate container 93c3de1beaef [2023-04-24T22:12:03.008Z] ---> f7324f1ccc88 [2023-04-24T22:12:03.008Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T22:12:03.008Z] ---> Running in 4f358e5591a8 [2023-04-24T22:12:03.008Z] Removing intermediate container 4f358e5591a8 [2023-04-24T22:12:03.008Z] ---> 07fdab53171c [2023-04-24T22:12:03.008Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T22:12:03.008Z] ---> Running in e0df17b79d00 [2023-04-24T22:12:03.266Z] Removing intermediate container e0df17b79d00 [2023-04-24T22:12:03.266Z] ---> c24e45bae34b [2023-04-24T22:12:03.266Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T22:12:03.266Z] ---> Running in ac55be953d2f [2023-04-24T22:12:03.266Z] Removing intermediate container ac55be953d2f [2023-04-24T22:12:03.266Z] ---> f5a364db1760 [2023-04-24T22:12:03.266Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-24T22:12:03.266Z] ---> Running in 6bd662e79dcd [2023-04-24T22:12:03.524Z] Removing intermediate container 6bd662e79dcd [2023-04-24T22:12:03.524Z] ---> 7f788422a368 [2023-04-24T22:12:03.524Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T22:12:03.524Z] ---> Running in f44d952fa792 [2023-04-24T22:12:03.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T22:12:03.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T22:12:04.044Z] OK: 265 MiB in 53 packages [2023-04-24T22:12:04.304Z] Removing intermediate container f44d952fa792 [2023-04-24T22:12:04.304Z] ---> 3f7439e499ac [2023-04-24T22:12:04.304Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-24T22:12:04.304Z] ---> Running in f0e3eddf5ab3 [2023-04-24T22:12:04.564Z] Removing intermediate container f0e3eddf5ab3 [2023-04-24T22:12:04.564Z] ---> 62404e77834f [2023-04-24T22:12:04.564Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-24T22:12:04.564Z] ---> 2c1bb11bf2f1 [2023-04-24T22:12:04.564Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T22:12:04.564Z] ---> Running in 2313f9af82b0 [2023-04-24T22:12:04.578Z] Still waiting to schedule task [2023-04-24T22:12:04.579Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-24T22:12:31.143Z] Removing intermediate container 2313f9af82b0 [2023-04-24T22:12:31.143Z] ---> 22286c82b249 [2023-04-24T22:12:31.143Z] Step 12/13 : COPY . . [2023-04-24T22:12:32.521Z] ---> 74f5272e63e4 [2023-04-24T22:12:32.521Z] Step 13/13 : RUN ${MAKE} [2023-04-24T22:12:32.521Z] ---> Running in afe79ed61f52 [2023-04-24T22:12:32.521Z] noop [2023-04-24T22:12:32.781Z] Removing intermediate container afe79ed61f52 [2023-04-24T22:12:32.781Z] ---> d5b2139b2ae3 [2023-04-24T22:12:32.781Z] Successfully built d5b2139b2ae3 [2023-04-24T22:12:32.781Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:12:33.082Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T22:12:33.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:12:33.146Z] prd-ubuntu20.04-docker-8c-8g-9572 does not seem to be running inside a container [2023-04-24T22:12:33.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T22:12:33.562Z] $ docker top 31da694e9ebc926d07101eba20260a8fe6b71c9bc8b3271cc90a7112966a322a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T22:12:33.899Z] + go version [2023-04-24T22:12:33.899Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T22:12:33.915Z] $ docker stop --time=1 31da694e9ebc926d07101eba20260a8fe6b71c9bc8b3271cc90a7112966a322a [2023-04-24T22:12:35.200Z] $ docker rm -f --volumes 31da694e9ebc926d07101eba20260a8fe6b71c9bc8b3271cc90a7112966a322a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:12:35.589Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T22:12:35.589Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:12:35.659Z] prd-ubuntu20.04-docker-8c-8g-9572 does not seem to be running inside a container [2023-04-24T22:12:35.691Z] $ 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-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T22:12:36.031Z] $ docker top 15a414639bfbdc0c01f8d93c29a756305b5e82f330243a2b016ec471cf15798a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T22:12:36.407Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-319 [Pipeline] fileExists [Pipeline] sh [2023-04-24T22:12:36.704Z] + make test [2023-04-24T22:12:36.704Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T22:12:41.988Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-24T22:12:54.178Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-24T22:12:54.179Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-24T22:12:54.745Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.6% of statements [2023-04-24T22:12:55.312Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.498s coverage: 86.5% of statements [2023-04-24T22:13:03.419Z] go vet ./... [2023-04-24T22:13:06.701Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T22:13:06.701Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T22:13:06.701Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T22:13:06.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T22:13:06.732Z] $ docker stop --time=1 15a414639bfbdc0c01f8d93c29a756305b5e82f330243a2b016ec471cf15798a [2023-04-24T22:13:10.359Z] $ docker rm -f --volumes 15a414639bfbdc0c01f8d93c29a756305b5e82f330243a2b016ec471cf15798a [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T22:13:10.836Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T22:13:10.898Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T22:13:11.346Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T22:13:11.630Z] + ls -al . [2023-04-24T22:13:11.630Z] total 236 [2023-04-24T22:13:11.630Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 22:12 . [2023-04-24T22:13:11.630Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 22:11 .. [2023-04-24T22:13:11.630Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 22:11 .git [2023-04-24T22:13:11.630Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 22:11 .github [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 24 22:11 .gitignore [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 22:11 .golangci.yml [2023-04-24T22:13:11.630Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 22:11 .semver [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 9861 Apr 24 22:11 Attribution.txt [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 24 22:11 CHANGELOG.md [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 24 22:11 Dockerfile [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 22:11 GOVERNANCE.md [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 24 22:11 Jenkinsfile [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 22:11 LICENSE [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 24 22:11 Makefile [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 24 22:11 OWNERS.md [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 24 22:11 README.md [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 22:11 VERSION [2023-04-24T22:13:11.630Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 22:11 bin [2023-04-24T22:13:11.630Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 22:11 cmd [2023-04-24T22:13:11.630Z] -rw-r--r-- 1 jenkins jenkins 78922 Apr 24 22:12 coverage.out [2023-04-24T22:13:11.630Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 22:11 doc [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 24 22:11 go.mod [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 32947 Apr 24 22:11 go.sum [2023-04-24T22:13:11.630Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 22:11 internal [2023-04-24T22:13:11.630Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 22:11 snap [2023-04-24T22:13:11.630Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 24 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:13:11.936Z] + 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=25335dd77dc556eea32f469c14987059476d8727 --label arch=amd64 --label version=0.0.0 . [2023-04-24T22:13:11.936Z] Sending build context to Docker daemon 27.04MB [2023-04-24T22:13:11.936Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T22:13:11.936Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-24T22:13:11.936Z] ---> d5b2139b2ae3 [2023-04-24T22:13:11.936Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-24T22:13:12.503Z] ---> Running in 1bf2ebfa2c44 [2023-04-24T22:13:12.503Z] Removing intermediate container 1bf2ebfa2c44 [2023-04-24T22:13:12.503Z] ---> c872b9ec9e0e [2023-04-24T22:13:12.503Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T22:13:12.503Z] ---> Running in fc99137fda0d [2023-04-24T22:13:12.503Z] Removing intermediate container fc99137fda0d [2023-04-24T22:13:12.503Z] ---> 57d2060c77c0 [2023-04-24T22:13:12.503Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T22:13:12.503Z] ---> Running in df3e342bf087 [2023-04-24T22:13:12.762Z] Removing intermediate container df3e342bf087 [2023-04-24T22:13:12.762Z] ---> ce9f8de80de7 [2023-04-24T22:13:12.762Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T22:13:12.762Z] ---> Running in 98ece30e3f14 [2023-04-24T22:13:12.762Z] Removing intermediate container 98ece30e3f14 [2023-04-24T22:13:12.762Z] ---> 47113e49d8f9 [2023-04-24T22:13:12.762Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-24T22:13:12.762Z] ---> Running in fbd59f524d91 [2023-04-24T22:13:12.762Z] Removing intermediate container fbd59f524d91 [2023-04-24T22:13:12.762Z] ---> ee0ca9d92cfa [2023-04-24T22:13:12.762Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T22:13:13.021Z] ---> Running in 2f80afe8e339 [2023-04-24T22:13:13.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T22:13:13.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T22:13:13.538Z] OK: 265 MiB in 53 packages [2023-04-24T22:13:13.797Z] Removing intermediate container 2f80afe8e339 [2023-04-24T22:13:13.797Z] ---> 29e1ad3b3c6c [2023-04-24T22:13:13.797Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-24T22:13:13.797Z] ---> Running in c2c2c01da783 [2023-04-24T22:13:14.057Z] Removing intermediate container c2c2c01da783 [2023-04-24T22:13:14.057Z] ---> bca6c127bdbf [2023-04-24T22:13:14.057Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-24T22:13:14.057Z] ---> 270f107c71e5 [2023-04-24T22:13:14.057Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T22:13:14.057Z] ---> Running in bf66298e9662 [2023-04-24T22:13:14.995Z] Removing intermediate container bf66298e9662 [2023-04-24T22:13:14.995Z] ---> 66498e3bab4d [2023-04-24T22:13:14.995Z] Step 12/26 : COPY . . [2023-04-24T22:13:15.930Z] ---> 1177e5077129 [2023-04-24T22:13:15.930Z] Step 13/26 : RUN ${MAKE} [2023-04-24T22:13:15.930Z] ---> Running in 4ff48d229efa [2023-04-24T22:13:16.189Z] 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-24T22:13:38.129Z] Removing intermediate container 4ff48d229efa [2023-04-24T22:13:38.129Z] ---> 37517a7319ce [2023-04-24T22:13:38.129Z] Step 14/26 : FROM alpine:3.17 [2023-04-24T22:13:38.389Z] 3.17: Pulling from library/alpine [2023-04-24T22:13:38.389Z] f56be85fc22e: Already exists [2023-04-24T22:13:38.647Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T22:13:38.647Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T22:13:38.647Z] ---> 9ed4aefc74f6 [2023-04-24T22:13:38.647Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-24T22:13:38.647Z] ---> Running in 607ec4ffe008 [2023-04-24T22:13:38.647Z] Removing intermediate container 607ec4ffe008 [2023-04-24T22:13:38.647Z] ---> d8d15d7a3feb [2023-04-24T22:13:38.647Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-24T22:13:38.647Z] ---> Running in f3d7e03243d2 [2023-04-24T22:13:38.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T22:13:39.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T22:13:39.428Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T22:13:39.428Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T22:13:39.428Z] OK: 7 MiB in 16 packages [2023-04-24T22:13:39.689Z] Removing intermediate container f3d7e03243d2 [2023-04-24T22:13:39.689Z] ---> a400ef4cac05 [2023-04-24T22:13:39.689Z] Step 17/26 : WORKDIR / [2023-04-24T22:13:39.689Z] ---> Running in aabfb98cba17 [2023-04-24T22:13:39.689Z] Removing intermediate container aabfb98cba17 [2023-04-24T22:13:39.689Z] ---> 2e84d7dad068 [2023-04-24T22:13:39.689Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-24T22:13:40.626Z] ---> 6db962245f43 [2023-04-24T22:13:40.626Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-24T22:13:40.626Z] ---> 4d0665246936 [2023-04-24T22:13:40.626Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-24T22:13:40.886Z] ---> 6fa2fec26f50 [2023-04-24T22:13:40.887Z] Step 21/26 : EXPOSE 59984 [2023-04-24T22:13:40.887Z] ---> Running in 984545ed2bd1 [2023-04-24T22:13:40.887Z] Removing intermediate container 984545ed2bd1 [2023-04-24T22:13:40.887Z] ---> 82af753fe6d0 [2023-04-24T22:13:40.887Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-24T22:13:40.887Z] ---> Running in 10e962943b97 [2023-04-24T22:13:40.887Z] Removing intermediate container 10e962943b97 [2023-04-24T22:13:40.887Z] ---> ba93668f4a84 [2023-04-24T22:13:40.887Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T22:13:41.147Z] ---> Running in 1e11536cdbe2 [2023-04-24T22:13:41.147Z] Removing intermediate container 1e11536cdbe2 [2023-04-24T22:13:41.147Z] ---> 7fcd62470d9b [2023-04-24T22:13:41.147Z] Step 24/26 : LABEL arch=amd64 [2023-04-24T22:13:41.147Z] ---> Running in 789e153864d2 [2023-04-24T22:13:41.147Z] Removing intermediate container 789e153864d2 [2023-04-24T22:13:41.147Z] ---> 63c9bce68433 [2023-04-24T22:13:41.147Z] Step 25/26 : LABEL git_sha=25335dd77dc556eea32f469c14987059476d8727 [2023-04-24T22:13:41.147Z] ---> Running in 68bbe5c226e7 [2023-04-24T22:13:41.408Z] Removing intermediate container 68bbe5c226e7 [2023-04-24T22:13:41.408Z] ---> 44bce269af86 [2023-04-24T22:13:41.408Z] Step 26/26 : LABEL version=0.0.0 [2023-04-24T22:13:41.408Z] ---> Running in 0d8deba4c430 [2023-04-24T22:13:41.408Z] Removing intermediate container 0d8deba4c430 [2023-04-24T22:13:41.408Z] ---> 35867aabddb6 [2023-04-24T22:13:41.408Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T22:13:41.408Z] Successfully built 35867aabddb6 [2023-04-24T22:13:41.408Z] 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-24T22:13:41.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T22:13:41.857Z] [2023-04-24T22:13:41.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:13:42.158Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T22:13:42.158Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T22:13:42.158Z] 5eb5b503b376: Pulling fs layer [2023-04-24T22:13:42.158Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T22:13:42.158Z] ec43610c2a17: Pulling fs layer [2023-04-24T22:13:42.158Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T22:13:42.158Z] 33b1e0a273af: Pulling fs layer [2023-04-24T22:13:42.158Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T22:13:42.158Z] 2f39f015ded8: Pulling fs layer [2023-04-24T22:13:42.158Z] 3a2ae6a8a46f: Waiting [2023-04-24T22:13:42.158Z] 33b1e0a273af: Waiting [2023-04-24T22:13:42.158Z] 5d3b04190fa2: Waiting [2023-04-24T22:13:42.158Z] 2f39f015ded8: Waiting [2023-04-24T22:13:42.158Z] 5c69ac0246d0: Verifying Checksum [2023-04-24T22:13:42.158Z] 5c69ac0246d0: Download complete [2023-04-24T22:13:42.158Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-24T22:13:42.158Z] 3a2ae6a8a46f: Download complete [2023-04-24T22:13:42.158Z] 33b1e0a273af: Verifying Checksum [2023-04-24T22:13:42.158Z] 33b1e0a273af: Download complete [2023-04-24T22:13:42.158Z] ec43610c2a17: Verifying Checksum [2023-04-24T22:13:42.158Z] ec43610c2a17: Download complete [2023-04-24T22:13:42.158Z] 5d3b04190fa2: Download complete [2023-04-24T22:13:42.416Z] 5eb5b503b376: Download complete [2023-04-24T22:13:42.985Z] 2f39f015ded8: Verifying Checksum [2023-04-24T22:13:42.985Z] 2f39f015ded8: Download complete [2023-04-24T22:13:43.920Z] 5eb5b503b376: Pull complete [2023-04-24T22:13:43.920Z] 5c69ac0246d0: Pull complete [2023-04-24T22:13:44.490Z] ec43610c2a17: Pull complete [2023-04-24T22:13:44.490Z] 3a2ae6a8a46f: Pull complete [2023-04-24T22:13:44.749Z] 33b1e0a273af: Pull complete [2023-04-24T22:13:44.749Z] 5d3b04190fa2: Pull complete [2023-04-24T22:13:50.014Z] 2f39f015ded8: Pull complete [2023-04-24T22:13:50.014Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T22:13:50.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T22:13:50.014Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:13:50.097Z] prd-ubuntu20.04-docker-8c-8g-9572 does not seem to be running inside a container [2023-04-24T22:13:50.133Z] $ 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-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T22:13:55.266Z] $ docker top 583d75c3a5febe058261a48d34e2ac8acc4ca3204cde5a183ea102da3a2e7ea7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:13:55.640Z] ---> job-cost.sh [2023-04-24T22:13:55.640Z] lf-activate-venv: SKIPPING [2023-04-24T22:13:55.640Z] INFO: No Stack... [2023-04-24T22:13:56.207Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T22:13:56.466Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T22:13:56.751Z] + cat /w/workspace/undry_device-onvif-camera_PR-319/archives/cost.csv [2023-04-24T22:13:56.751Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T22:13:56.762Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-319-3-stack-cost] [2023-04-24T22:13:56.771Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-319-3-stack-cost] did not exist. Created. [2023-04-24T22:13:56.775Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-319-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T22:13:57.084Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T22:13:57.111Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T22:13:57.117Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-319-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T22:13:57.138Z] $ docker stop --time=1 583d75c3a5febe058261a48d34e2ac8acc4ca3204cde5a183ea102da3a2e7ea7 [2023-04-24T22:13:58.299Z] $ docker rm -f --volumes 583d75c3a5febe058261a48d34e2ac8acc4ca3204cde5a183ea102da3a2e7ea7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T22:14:28.063Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9577 in /w/workspace/undry_device-onvif-camera_PR-319 [Pipeline] { [Pipeline] ws [2023-04-24T22:14:28.073Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2023-04-24T22:14:28.109Z] The recommended git tool is: git [2023-04-24T22:14:35.271Z] using credential edgex-jenkins-ssh [2023-04-24T22:14:35.289Z] Cloning the remote Git repository [2023-04-24T22:14:35.355Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T22:14:35.483Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2023-04-24T22:14:35.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T22:14:35.695Z] > git --version # timeout=10 [2023-04-24T22:14:35.721Z] > git --version # 'git version 2.25.1' [2023-04-24T22:14:35.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T22:14:35.932Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T22:14:37.494Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-24T22:14:37.518Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T22:14:38.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-24T22:14:38.635Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T22:14:38.636Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T22:14:39.255Z] Merging remotes/origin/main commit 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 into PR head commit c689ec2735047fa853b30b2758522f8f24e125e7 [2023-04-24T22:14:38.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-24T22:14:39.283Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T22:14:39.393Z] > git checkout -f c689ec2735047fa853b30b2758522f8f24e125e7 # timeout=10 [2023-04-24T22:14:39.729Z] > git remote # timeout=10 [2023-04-24T22:14:39.751Z] > git config --get remote.origin.url # timeout=10 [2023-04-24T22:14:39.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T22:14:39.784Z] > git merge 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 # timeout=10 [2023-04-24T22:14:40.306Z] Merge succeeded, producing 753508afb6d6cfa2bc01a147d08834960c45a863 [2023-04-24T22:14:40.306Z] Checking out Revision 753508afb6d6cfa2bc01a147d08834960c45a863 (PR-319) [2023-04-24T22:14:40.279Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-24T22:14:40.316Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T22:14:40.336Z] > git checkout -f 753508afb6d6cfa2bc01a147d08834960c45a863 # timeout=10 [2023-04-24T22:14:43.926Z] Commit message: "Merge commit '9cf6c2925dd31c7afe7cec00246c23f9761bb7f7' into HEAD" [2023-04-24T22:14:43.937Z] > git rev-list --no-walk c689ec2735047fa853b30b2758522f8f24e125e7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T22:14:44.938Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T22:14:44.938Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T22:14:44.938Z] Dload Upload Total Spent Left Speed [2023-04-24T22:14:44.938Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-04-24T22:14:45.743Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T22:14:46.094Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T22:14:46.094Z] + sudo tee /etc/docker/daemon.new [2023-04-24T22:14:46.094Z] { [2023-04-24T22:14:46.094Z] "registry-mirrors": [ [2023-04-24T22:14:46.094Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T22:14:46.094Z] ], [2023-04-24T22:14:46.094Z] "bip": "10.250.0.254/24", [2023-04-24T22:14:46.094Z] "hosts": [ [2023-04-24T22:14:46.094Z] "tcp://0.0.0.0:5555", [2023-04-24T22:14:46.094Z] "unix:///var/run/docker.sock" [2023-04-24T22:14:46.094Z] ], [2023-04-24T22:14:46.094Z] "mtu": 1458, [2023-04-24T22:14:46.094Z] "selinux-enabled": true, [2023-04-24T22:14:46.094Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T22:14:46.094Z] } [Pipeline] sh [2023-04-24T22:14:46.437Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T22:14:46.785Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T22:15:05.094Z] provisioning config files... [2023-04-24T22:15:05.127Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config11304553601499824147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:15:05.502Z] ---> docker-login.sh [2023-04-24T22:15:05.502Z] nexus3.edgexfoundry.org:10001 [2023-04-24T22:15:06.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:15:06.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:15:06.094Z] Configure a credential helper to remove this warning. See [2023-04-24T22:15:06.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:15:06.094Z] [2023-04-24T22:15:06.094Z] Login Succeeded [2023-04-24T22:15:06.094Z] nexus3.edgexfoundry.org:10002 [2023-04-24T22:15:06.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:15:06.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:15:06.635Z] Configure a credential helper to remove this warning. See [2023-04-24T22:15:06.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:15:06.635Z] [2023-04-24T22:15:06.635Z] Login Succeeded [2023-04-24T22:15:06.635Z] nexus3.edgexfoundry.org:10003 [2023-04-24T22:15:06.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:15:06.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:15:06.907Z] Configure a credential helper to remove this warning. See [2023-04-24T22:15:06.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:15:06.907Z] [2023-04-24T22:15:06.907Z] Login Succeeded [2023-04-24T22:15:06.907Z] nexus3.edgexfoundry.org:10004 [2023-04-24T22:15:07.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:15:07.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:15:07.454Z] Configure a credential helper to remove this warning. See [2023-04-24T22:15:07.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:15:07.454Z] [2023-04-24T22:15:07.454Z] Login Succeeded [2023-04-24T22:15:07.454Z] docker.io [2023-04-24T22:15:07.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T22:15:07.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T22:15:07.996Z] Configure a credential helper to remove this warning. See [2023-04-24T22:15:07.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T22:15:07.996Z] [2023-04-24T22:15:07.996Z] Login Succeeded [2023-04-24T22:15:07.996Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T22:15:08.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T22:15:08.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T22:15:08.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T22:15:08.317Z] ========================================================= [2023-04-24T22:15:08.317Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T22:15:08.317Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:15:08.669Z] + 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-24T22:15:09.264Z] Sending build context to Docker daemon 19.67MB [2023-04-24T22:15:09.264Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T22:15:09.264Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-24T22:15:09.538Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T22:15:09.538Z] c41833b44d91: Pulling fs layer [2023-04-24T22:15:09.538Z] ed15518f5707: Pulling fs layer [2023-04-24T22:15:09.538Z] feae8fd75edb: Pulling fs layer [2023-04-24T22:15:09.538Z] 242c74f7c9fa: Pulling fs layer [2023-04-24T22:15:09.538Z] 3cdef696dda3: Pulling fs layer [2023-04-24T22:15:09.538Z] 2ced38df9373: Pulling fs layer [2023-04-24T22:15:09.538Z] 58f1dce35555: Pulling fs layer [2023-04-24T22:15:09.538Z] 242c74f7c9fa: Waiting [2023-04-24T22:15:09.538Z] 3cdef696dda3: Waiting [2023-04-24T22:15:09.538Z] 2ced38df9373: Waiting [2023-04-24T22:15:09.538Z] 58f1dce35555: Waiting [2023-04-24T22:15:09.538Z] ed15518f5707: Download complete [2023-04-24T22:15:09.538Z] 242c74f7c9fa: Download complete [2023-04-24T22:15:09.538Z] 3cdef696dda3: Verifying Checksum [2023-04-24T22:15:09.538Z] 3cdef696dda3: Download complete [2023-04-24T22:15:09.538Z] c41833b44d91: Verifying Checksum [2023-04-24T22:15:09.538Z] c41833b44d91: Download complete [2023-04-24T22:15:10.515Z] c41833b44d91: Pull complete [2023-04-24T22:15:10.788Z] 58f1dce35555: Verifying Checksum [2023-04-24T22:15:10.788Z] 58f1dce35555: Download complete [2023-04-24T22:15:11.064Z] ed15518f5707: Pull complete [2023-04-24T22:15:12.039Z] feae8fd75edb: Verifying Checksum [2023-04-24T22:15:12.039Z] feae8fd75edb: Download complete [2023-04-24T22:15:12.312Z] 2ced38df9373: Verifying Checksum [2023-04-24T22:15:12.312Z] 2ced38df9373: Download complete [2023-04-24T22:15:24.677Z] feae8fd75edb: Pull complete [2023-04-24T22:15:24.677Z] 242c74f7c9fa: Pull complete [2023-04-24T22:15:24.677Z] 3cdef696dda3: Pull complete [2023-04-24T22:15:31.362Z] 2ced38df9373: Pull complete [2023-04-24T22:15:33.332Z] 58f1dce35555: Pull complete [2023-04-24T22:15:33.332Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-24T22:15:33.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T22:15:33.332Z] ---> fadd8f120f05 [2023-04-24T22:15:33.332Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-24T22:15:35.290Z] ---> Running in 189804a02925 [2023-04-24T22:15:35.290Z] Removing intermediate container 189804a02925 [2023-04-24T22:15:35.290Z] ---> d7f88724c09a [2023-04-24T22:15:35.290Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T22:15:35.290Z] ---> Running in f83a1fea4b07 [2023-04-24T22:15:35.560Z] Removing intermediate container f83a1fea4b07 [2023-04-24T22:15:35.560Z] ---> 2013f1c7bee2 [2023-04-24T22:15:35.560Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T22:15:35.834Z] ---> Running in a35fd881531c [2023-04-24T22:15:36.105Z] Removing intermediate container a35fd881531c [2023-04-24T22:15:36.105Z] ---> cbae51865906 [2023-04-24T22:15:36.105Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T22:15:36.105Z] ---> Running in ea2902b12222 [2023-04-24T22:15:36.373Z] Removing intermediate container ea2902b12222 [2023-04-24T22:15:36.373Z] ---> 3fc48f19f177 [2023-04-24T22:15:36.373Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-24T22:15:36.643Z] ---> Running in 2b5f52ca2295 [2023-04-24T22:15:36.913Z] Removing intermediate container 2b5f52ca2295 [2023-04-24T22:15:36.913Z] ---> 61ccebaa7785 [2023-04-24T22:15:36.913Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T22:15:36.913Z] ---> Running in 7ad17cb6c67c [2023-04-24T22:15:38.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T22:15:38.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T22:15:40.341Z] OK: 263 MiB in 53 packages [2023-04-24T22:15:42.311Z] Removing intermediate container 7ad17cb6c67c [2023-04-24T22:15:42.311Z] ---> 4c0713332763 [2023-04-24T22:15:42.311Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-24T22:15:42.593Z] ---> Running in d4b56240e6f7 [2023-04-24T22:15:42.864Z] Removing intermediate container d4b56240e6f7 [2023-04-24T22:15:42.864Z] ---> b357f35a18fb [2023-04-24T22:15:42.864Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-24T22:15:43.457Z] ---> ae986630962e [2023-04-24T22:15:43.457Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T22:15:43.457Z] ---> Running in 8573041848c1 [2023-04-24T22:16:51.393Z] Removing intermediate container 8573041848c1 [2023-04-24T22:16:51.393Z] ---> 837d1c42798d [2023-04-24T22:16:51.393Z] Step 12/13 : COPY . . [2023-04-24T22:16:51.393Z] ---> 2fc134267757 [2023-04-24T22:16:51.393Z] Step 13/13 : RUN ${MAKE} [2023-04-24T22:16:51.393Z] ---> Running in 7fa69287287c [2023-04-24T22:16:51.394Z] noop [2023-04-24T22:16:51.394Z] Removing intermediate container 7fa69287287c [2023-04-24T22:16:51.394Z] ---> d79eaf19bf67 [2023-04-24T22:16:51.394Z] Successfully built d79eaf19bf67 [2023-04-24T22:16:51.394Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:16:51.745Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T22:16:51.745Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:16:51.969Z] prd-ubuntu20.04-docker-arm64-4c-16g-9577 does not seem to be running inside a container [2023-04-24T22:16:52.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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-24T22:16:53.347Z] $ docker top 7ab02c6e197a187f408124b8b8438129c7ae392e7b8ad51f274e57146168d820 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T22:16:54.198Z] + go version [2023-04-24T22:16:54.198Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T22:16:54.227Z] $ docker stop --time=1 7ab02c6e197a187f408124b8b8438129c7ae392e7b8ad51f274e57146168d820 [2023-04-24T22:16:55.876Z] $ docker rm -f --volumes 7ab02c6e197a187f408124b8b8438129c7ae392e7b8ad51f274e57146168d820 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:16:56.429Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T22:16:56.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:16:56.631Z] prd-ubuntu20.04-docker-arm64-4c-16g-9577 does not seem to be running inside a container [2023-04-24T22:16:56.721Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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-24T22:16:57.981Z] $ docker top 7da321f3b55cd27070f2d3d6380e3917fa0c453bfea06a24b421efb54a23cecb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T22:16:58.828Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-04-24T22:16:59.486Z] + make test [2023-04-24T22:16:59.486Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T22:17:38.379Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-24T22:20:30.190Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-24T22:20:30.190Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-24T22:20:30.190Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.206s coverage: 31.6% of statements [2023-04-24T22:20:56.917Z] --- FAIL: TestIpGenerator (0.00s) [2023-04-24T22:20:56.917Z] --- FAIL: TestIpGenerator/basic_/8_subnet (30.10s) [2023-04-24T22:20:56.917Z] util_test.go:180: [2023-04-24T22:20:56.917Z] Error Trace: /w/workspace/device-onvif-camera/3/internal/netscan/util_test.go:180 [2023-04-24T22:20:56.917Z] Error: Not equal: [2023-04-24T22:20:56.917Z] expected: 0xfffffe [2023-04-24T22:20:56.917Z] actual : 0xfb4cdd [2023-04-24T22:20:56.917Z] Test: TestIpGenerator/basic_/8_subnet [2023-04-24T22:20:56.917Z] util_test.go:183: [2023-04-24T22:20:56.917Z] Error Trace: /w/workspace/device-onvif-camera/3/internal/netscan/util_test.go:183 [2023-04-24T22:20:56.917Z] Error: Not equal: [2023-04-24T22:20:56.917Z] expected: "10.255.255.254" [2023-04-24T22:20:56.917Z] actual : "10.251.76.221" [2023-04-24T22:20:56.917Z] [2023-04-24T22:20:56.917Z] Diff: [2023-04-24T22:20:56.917Z] --- Expected [2023-04-24T22:20:56.917Z] +++ Actual [2023-04-24T22:20:56.917Z] @@ -1 +1 @@ [2023-04-24T22:20:56.917Z] -10.255.255.254 [2023-04-24T22:20:56.917Z] +10.251.76.221 [2023-04-24T22:20:56.917Z] Test: TestIpGenerator/basic_/8_subnet [2023-04-24T22:20:56.917Z] FAIL [2023-04-24T22:20:56.917Z] github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements [2023-04-24T22:20:56.917Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.336s [2023-04-24T22:20:56.917Z] FAIL [2023-04-24T22:20:57.503Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-04-24T22:20:57.530Z] $ docker stop --time=1 7da321f3b55cd27070f2d3d6380e3917fa0c453bfea06a24b421efb54a23cecb [2023-04-24T22:20:59.489Z] $ docker rm -f --volumes 7da321f3b55cd27070f2d3d6380e3917fa0c453bfea06a24b421efb54a23cecb [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-24T22:21:00.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T22:21:00.812Z] [2023-04-24T22:21:00.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:21:01.153Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T22:21:01.153Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T22:21:01.153Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T22:21:01.153Z] 04944245beec: Pulling fs layer [2023-04-24T22:21:01.153Z] 699f458cf7ca: Pulling fs layer [2023-04-24T22:21:01.153Z] 765212b225bb: Pulling fs layer [2023-04-24T22:21:01.153Z] f23df028b6ca: Pulling fs layer [2023-04-24T22:21:01.153Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T22:21:01.153Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T22:21:01.153Z] f23df028b6ca: Waiting [2023-04-24T22:21:01.153Z] d65c8cfc05b1: Waiting [2023-04-24T22:21:01.153Z] 2437ff75d9bd: Waiting [2023-04-24T22:21:01.153Z] 765212b225bb: Waiting [2023-04-24T22:21:01.421Z] 04944245beec: Verifying Checksum [2023-04-24T22:21:01.421Z] 04944245beec: Download complete [2023-04-24T22:21:01.421Z] 765212b225bb: Download complete [2023-04-24T22:21:01.421Z] f23df028b6ca: Verifying Checksum [2023-04-24T22:21:01.421Z] f23df028b6ca: Download complete [2023-04-24T22:21:01.421Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T22:21:01.421Z] d65c8cfc05b1: Download complete [2023-04-24T22:21:01.798Z] 699f458cf7ca: Verifying Checksum [2023-04-24T22:21:01.798Z] 699f458cf7ca: Download complete [2023-04-24T22:21:02.402Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T22:21:02.402Z] 8998bd30e6a1: Download complete [2023-04-24T22:21:05.068Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T22:21:05.068Z] 2437ff75d9bd: Download complete [2023-04-24T22:21:06.491Z] 8998bd30e6a1: Pull complete [2023-04-24T22:21:06.758Z] 04944245beec: Pull complete [2023-04-24T22:21:08.167Z] 699f458cf7ca: Pull complete [2023-04-24T22:21:08.167Z] 765212b225bb: Pull complete [2023-04-24T22:21:09.135Z] f23df028b6ca: Pull complete [2023-04-24T22:21:09.401Z] d65c8cfc05b1: Pull complete [2023-04-24T22:21:24.435Z] 2437ff75d9bd: Pull complete [2023-04-24T22:21:24.436Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T22:21:24.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T22:21:24.436Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:21:24.634Z] prd-ubuntu20.04-docker-arm64-4c-16g-9577 does not seem to be running inside a container [2023-04-24T22:21:24.712Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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-24T22:21:27.829Z] $ docker top a7ff49fb1c6f199456d60e5b46fa5d54c1f5c116b56950c1e383f5f49c50904c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:28.665Z] ---> job-cost.sh [2023-04-24T22:21:28.666Z] lf-activate-venv: SKIPPING [2023-04-24T22:21:28.666Z] INFO: No Stack... [2023-04-24T22:21:29.249Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T22:21:29.833Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T22:21:30.482Z] + cut -d, -f6 [2023-04-24T22:21:30.482Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock [2023-04-24T22:21:30.544Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-319-3-stack-cost] [2023-04-24T22:21:30.551Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-319-3-stack-cost] did not exist. Created. [2023-04-24T22:21:30.551Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-319-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T22:21:31.218Z] /w/workspace/device-onvif-camera/3@tmp/durable-a36a87df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T22:21:31.872Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T22:21:31.894Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T22:21:32.379Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T22:21:32.386Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-319-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T22:21:32.410Z] $ docker stop --time=1 a7ff49fb1c6f199456d60e5b46fa5d54c1f5c116b56950c1e383f5f49c50904c [2023-04-24T22:21:33.929Z] $ docker rm -f --volumes a7ff49fb1c6f199456d60e5b46fa5d54c1f5c116b56950c1e383f5f49c50904c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T22:21:34.194Z] 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-24T22:21:34.853Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-319/archives ] [2023-04-24T22:21:34.853Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-319/archives [2023-04-24T22:21:34.853Z] total 16 [2023-04-24T22:21:34.853Z] drwxr-xr-x 3 root root 4096 Apr 24 22:13 . [2023-04-24T22:21:34.853Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 22:13 .. [2023-04-24T22:21:34.853Z] drwxr-xr-x 2 root root 4096 Apr 24 22:13 cost [2023-04-24T22:21:34.853Z] -rw-r--r-- 1 root root 91 Apr 24 22:13 cost.csv [2023-04-24T22:21:34.853Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-319/archives [2023-04-24T22:21:34.853Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-319/archives [2023-04-24T22:21:34.853Z] total 16 [2023-04-24T22:21:34.853Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 22:13 . [2023-04-24T22:21:34.853Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 22:13 .. [2023-04-24T22:21:34.853Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 22:13 cost [2023-04-24T22:21:34.853Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 24 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:35.143Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:35.998Z] ---> package-listing.sh [2023-04-24T22:21:35.999Z] ++ facter osfamily [2023-04-24T22:21:35.999Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T22:21:36.258Z] + OS_FAMILY=debian [2023-04-24T22:21:36.258Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-319 [2023-04-24T22:21:36.258Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T22:21:36.258Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T22:21:36.258Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T22:21:36.258Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T22:21:36.258Z] + '[' /w/workspace/undry_device-onvif-camera_PR-319 ']' [2023-04-24T22:21:36.258Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T22:21:36.258Z] + case "${OS_FAMILY}" in [2023-04-24T22:21:36.258Z] + dpkg -l [2023-04-24T22:21:36.258Z] + grep '^ii' [2023-04-24T22:21:36.258Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T22:21:36.258Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T22:21:36.258Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T22:21:36.258Z] + '[' /w/workspace/undry_device-onvif-camera_PR-319 ']' [2023-04-24T22:21:36.258Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-319/archives/ [2023-04-24T22:21:36.258Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-319/archives/ [Pipeline] echo [2023-04-24T22:21:36.269Z] 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-319/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-24T22:21:36.544Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T22:21:37.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T22:21:37.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T22:21:37.170Z] prd-ubuntu20.04-docker-8c-8g-9572 does not seem to be running inside a container [2023-04-24T22:21:37.206Z] $ 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-319/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-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T22:21:37.405Z] $ docker top 94ebb9f29fc8fb8fa12cc307d95b60f3a012e0f424c1c65aea0cc17bc5cd2888 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T22:21:37.755Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T22:21:38.039Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T22:21:38.326Z] + ls /var/log/sa-host [2023-04-24T22:21:38.326Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T22:21:38.390Z] provisioning config files... [2023-04-24T22:21:38.399Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-319@tmp/config5985885180440908851tmp [Pipeline] { [Pipeline] echo [2023-04-24T22:21:38.416Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:38.701Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T22:21:38.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:39.027Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T22:21:39.036Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:39.320Z] ---> sudo-logs.sh [2023-04-24T22:21:39.320Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T22:21:39.350Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:39.636Z] ---> job-cost.sh [2023-04-24T22:21:39.636Z] lf-activate-venv: SKIPPING [2023-04-24T22:21:39.636Z] DEBUG: total: 0.2199999988079071 [2023-04-24T22:21:39.636Z] INFO: Retrieving Stack Cost... [2023-04-24T22:21:39.896Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T22:21:40.464Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T22:21:40.475Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T22:21:40.760Z] ---> logs-deploy.sh [2023-04-24T22:21:40.760Z] lf-activate-venv: SKIPPING [2023-04-24T22:21:40.760Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-319/3 [2023-04-24T22:21:40.760Z] INFO: archiving workspace using pattern(s): [2023-04-24T22:21:41.696Z] Archives upload complete. [2023-04-24T22:21:41.696Z] INFO: archiving logs to Nexus