Pull request #304 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch levski at 4d60271c1a122ad73ad4ab446ee385de813631e9 rather than a1952d58cc79031288275be91c62b396b9595faa Obtained Jenkinsfile from 4d60271c1a122ad73ad4ab446ee385de813631e9 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-ssh16421399886496445043.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-ssh12094911865300582764.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-304/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-304/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6081980318482681284.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-ssh3053387041480325844.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-304/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-304/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3410171202962752774.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, goVersion:1.18, 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.18 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 ‘prd-centos7-blackbox-4c-2g-8594’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8595’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8929’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-8927’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8930 in /w/workspace/undry_device-onvif-camera_PR-304 [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-304 # 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 Merging remotes/origin/levski commit 4d60271c1a122ad73ad4ab446ee385de813631e9 into PR head commit a1952d58cc79031288275be91c62b396b9595faa Merge succeeded, producing a1952d58cc79031288275be91c62b396b9595faa Checking out Revision a1952d58cc79031288275be91c62b396b9595faa (PR-304) > 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/304/head:refs/remotes/origin/PR-304 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1952d58cc79031288275be91c62b396b9595faa # 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 4d60271c1a122ad73ad4ab446ee385de813631e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1952d58cc79031288275be91c62b396b9595faa # timeout=10 Commit message: "docs: remove broken links" > git rev-list --no-walk ec48d607c070a8acc44daa594edc59cbb38205db # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T15:02:30.722Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T15:02:30.798Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T15:02:30.812Z] ========================================================= [2023-04-18T15:02:30.812Z] EdgeX Global Pipelines Version Info [2023-04-18T15:02:30.812Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:02:31.918Z] ------------------- [2023-04-18T15:02:31.918Z] stable info: [2023-04-18T15:02:31.918Z] ------------------- [2023-04-18T15:02:31.918Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T15:02:31.918Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T15:02:31.918Z] Message: update stable to v1.0.248 [2023-04-18T15:02:32.193Z] ------------------- [2023-04-18T15:02:32.193Z] experimental info: [2023-04-18T15:02:32.193Z] ------------------- [2023-04-18T15:02:32.193Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T15:02:32.193Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T15:02:32.193Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T15:02:32.368Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-18T15:02:32.377Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-18T15:02:32.387Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T15:02:32.404Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T15:02:32.416Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T15:02:32.427Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-04-18T15:02:32.439Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T15:02:32.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T15:02:32.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T15:02:32.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T15:02:32.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T15:02:32.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-18T15:02:32.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T15:02:32.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T15:02:32.545Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T15:02:32.557Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T15:02:32.569Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T15:02:32.580Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T15:02:32.591Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T15:02:32.601Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T15:02:32.610Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-18T15:02:32.620Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-18T15:02:32.631Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T15:02:32.641Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T15:02:32.653Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T15:02:32.665Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T15:02:32.679Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T15:02:32.695Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-304 [Pipeline] echo [2023-04-18T15:02:32.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-304 [Pipeline] echo [2023-04-18T15:02:32.717Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-304 [Pipeline] echo [2023-04-18T15:02:32.733Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1952d58cc79031288275be91c62b396b9595faa [Pipeline] echo [2023-04-18T15:02:32.748Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1952d5 [Pipeline] echo [2023-04-18T15:02:32.758Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T15:02:32.797Z] provisioning config files... [2023-04-18T15:02:32.810Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-304@tmp/config1988724588820462388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:02:33.107Z] ---> docker-login.sh [2023-04-18T15:02:33.108Z] nexus3.edgexfoundry.org:10001 [2023-04-18T15:02:35.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:02:35.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:02:35.018Z] Configure a credential helper to remove this warning. See [2023-04-18T15:02:35.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:02:35.018Z] [2023-04-18T15:02:35.018Z] Login Succeeded [2023-04-18T15:02:35.018Z] nexus3.edgexfoundry.org:10002 [2023-04-18T15:02:35.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:02:35.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:02:35.018Z] Configure a credential helper to remove this warning. See [2023-04-18T15:02:35.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:02:35.018Z] [2023-04-18T15:02:35.018Z] Login Succeeded [2023-04-18T15:02:35.018Z] nexus3.edgexfoundry.org:10003 [2023-04-18T15:02:35.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:02:35.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:02:35.280Z] Configure a credential helper to remove this warning. See [2023-04-18T15:02:35.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:02:35.280Z] [2023-04-18T15:02:35.280Z] Login Succeeded [2023-04-18T15:02:35.280Z] nexus3.edgexfoundry.org:10004 [2023-04-18T15:02:35.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:02:35.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:02:35.280Z] Configure a credential helper to remove this warning. See [2023-04-18T15:02:35.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:02:35.280Z] [2023-04-18T15:02:35.280Z] Login Succeeded [2023-04-18T15:02:35.280Z] docker.io [2023-04-18T15:02:35.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:02:35.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:02:35.542Z] Configure a credential helper to remove this warning. See [2023-04-18T15:02:35.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:02:35.542Z] [2023-04-18T15:02:35.542Z] Login Succeeded [2023-04-18T15:02:35.542Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T15:02:35.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T15:02:35.911Z] + git rev-list -1 --merges a1952d58cc79031288275be91c62b396b9595faa~1..a1952d58cc79031288275be91c62b396b9595faa [Pipeline] echo [2023-04-18T15:02:35.980Z] -----------> git rev-list -1 --merges a1952d58cc79031288275be91c62b396b9595faa~1..a1952d58cc79031288275be91c62b396b9595faa a1952d58cc79031288275be91c62b396b9595faa [false] [Pipeline] sh [2023-04-18T15:02:36.289Z] + git log --format=format:%s -1 a1952d58cc79031288275be91c62b396b9595faa [Pipeline] echo [2023-04-18T15:02:36.303Z] ========================================================= [2023-04-18T15:02:36.303Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T15:02:36.303Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T15:02:36.661Z] + git log --format=format:%s -1 a1952d58cc79031288275be91c62b396b9595faa [Pipeline] echo [2023-04-18T15:02:36.671Z] [semverPrep] GIT_COMMIT: a1952d58cc79031288275be91c62b396b9595faa, Commit Message: docs: remove broken links [Pipeline] echo [2023-04-18T15:02:36.682Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T15:02:37.042Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T15:02:37.042Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T15:02:37.042Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T15:02:37.042Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T15:02:37.042Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T15:02:37.042Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T15:02:37.042Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:02:37.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T15:02:37.410Z] [2023-04-18T15:02:37.410Z] 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-18T15:02:37.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T15:02:37.713Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T15:02:37.713Z] b85a868b505f: Pulling fs layer [2023-04-18T15:02:37.713Z] e2be974225ed: Pulling fs layer [2023-04-18T15:02:37.713Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T15:02:37.713Z] 988bab9f4d93: Pulling fs layer [2023-04-18T15:02:37.713Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T15:02:37.713Z] eaf3925da568: Pulling fs layer [2023-04-18T15:02:37.713Z] bab4dde63d76: Pulling fs layer [2023-04-18T15:02:37.713Z] bde34c3a00c8: Pulling fs layer [2023-04-18T15:02:37.713Z] b352a97aabf1: Pulling fs layer [2023-04-18T15:02:37.713Z] 4872d77fe225: Pulling fs layer [2023-04-18T15:02:37.713Z] 5851b861e8e6: Pulling fs layer [2023-04-18T15:02:37.713Z] bab4dde63d76: Waiting [2023-04-18T15:02:37.713Z] bde34c3a00c8: Waiting [2023-04-18T15:02:37.713Z] b352a97aabf1: Waiting [2023-04-18T15:02:37.713Z] 4872d77fe225: Waiting [2023-04-18T15:02:37.713Z] 5851b861e8e6: Waiting [2023-04-18T15:02:37.713Z] 988bab9f4d93: Waiting [2023-04-18T15:02:37.713Z] 1469e6f7b9e6: Waiting [2023-04-18T15:02:37.713Z] eaf3925da568: Waiting [2023-04-18T15:02:37.713Z] e2be974225ed: Download complete [2023-04-18T15:02:37.713Z] 988bab9f4d93: Verifying Checksum [2023-04-18T15:02:37.713Z] 988bab9f4d93: Download complete [2023-04-18T15:02:37.974Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T15:02:37.974Z] 1469e6f7b9e6: Download complete [2023-04-18T15:02:37.974Z] eaf3925da568: Verifying Checksum [2023-04-18T15:02:37.974Z] eaf3925da568: Download complete [2023-04-18T15:02:37.974Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T15:02:37.974Z] 339a4e72a1f5: Download complete [2023-04-18T15:02:37.974Z] bde34c3a00c8: Verifying Checksum [2023-04-18T15:02:37.974Z] bde34c3a00c8: Download complete [2023-04-18T15:02:37.974Z] b352a97aabf1: Verifying Checksum [2023-04-18T15:02:37.974Z] b352a97aabf1: Download complete [2023-04-18T15:02:37.974Z] 4872d77fe225: Verifying Checksum [2023-04-18T15:02:37.974Z] 4872d77fe225: Download complete [2023-04-18T15:02:37.974Z] 5851b861e8e6: Verifying Checksum [2023-04-18T15:02:37.974Z] 5851b861e8e6: Download complete [2023-04-18T15:02:37.974Z] b85a868b505f: Verifying Checksum [2023-04-18T15:02:37.974Z] b85a868b505f: Download complete [2023-04-18T15:02:38.238Z] bab4dde63d76: Verifying Checksum [2023-04-18T15:02:38.238Z] bab4dde63d76: Download complete [2023-04-18T15:02:39.616Z] b85a868b505f: Pull complete [2023-04-18T15:02:39.616Z] e2be974225ed: Pull complete [2023-04-18T15:02:40.183Z] 339a4e72a1f5: Pull complete [2023-04-18T15:02:40.183Z] 988bab9f4d93: Pull complete [2023-04-18T15:02:40.752Z] 1469e6f7b9e6: Pull complete [2023-04-18T15:02:40.752Z] eaf3925da568: Pull complete [2023-04-18T15:02:42.686Z] bab4dde63d76: Pull complete [2023-04-18T15:02:42.686Z] bde34c3a00c8: Pull complete [2023-04-18T15:02:42.686Z] b352a97aabf1: Pull complete [2023-04-18T15:02:42.686Z] 4872d77fe225: Pull complete [2023-04-18T15:02:42.686Z] 5851b861e8e6: Pull complete [2023-04-18T15:02:42.686Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T15:02:42.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T15:02:42.686Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:02:42.778Z] prd-ubuntu20.04-docker-8c-8g-8930 does not seem to be running inside a container [2023-04-18T15:02:42.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T15:02:47.137Z] $ docker top 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d -eo pid,comm [2023-04-18T15:02:47.186Z] 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-18T15:02:47.186Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T15:02:47.220Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T15:02:47.220Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T15:02:47.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T15:02:47.338Z] $ docker exec 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d ssh-agent [2023-04-18T15:02:47.454Z] SSH_AUTH_SOCK=/tmp/ssh-3VGPiGjeDfIn/agent.33 [2023-04-18T15:02:47.454Z] SSH_AGENT_PID=39 [2023-04-18T15:02:47.461Z] Running ssh-add (command line suppressed) [2023-04-18T15:02:47.568Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-304@tmp/private_key_9839239030855346891.key (/w/workspace/undry_device-onvif-camera_PR-304@tmp/private_key_9839239030855346891.key) [2023-04-18T15:02:47.579Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T15:02:47.867Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T15:02:47.881Z] $ docker exec --env ******** --env ******** 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d ssh-agent -k [2023-04-18T15:02:47.974Z] unset SSH_AUTH_SOCK; [2023-04-18T15:02:47.974Z] unset SSH_AGENT_PID; [2023-04-18T15:02:47.974Z] echo Agent pid 39 killed; [2023-04-18T15:02:47.980Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T15:02:48.010Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T15:02:48.010Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T15:02:48.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T15:02:48.134Z] $ docker exec 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d ssh-agent [2023-04-18T15:02:48.239Z] SSH_AUTH_SOCK=/tmp/ssh-mLyq6Yq8JvEI/agent.71 [2023-04-18T15:02:48.239Z] SSH_AGENT_PID=77 [2023-04-18T15:02:48.244Z] Running ssh-add (command line suppressed) [2023-04-18T15:02:48.357Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-304@tmp/private_key_920950142119902291.key (/w/workspace/undry_device-onvif-camera_PR-304@tmp/private_key_920950142119902291.key) [2023-04-18T15:02:48.366Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T15:02:48.654Z] + git semver init [2023-04-18T15:02:48.913Z] 2023-04-18 15:02:48,837 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T15:02:48.913Z] 2023-04-18 15:02:48,838 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-304/.semver [2023-04-18T15:02:48.913Z] 2023-04-18 15:02:48,838 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-304/.semver [2023-04-18T15:02:48.913Z] 2023-04-18 15:02:48,838 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-304/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-304, universal_newlines=False, shell=None, istream=None) [2023-04-18T15:02:49.849Z] 2023-04-18 15:02:49,830 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-304/.git/info/exclude [2023-04-18T15:02:49.849Z] 2023-04-18 15:02:49,830 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-304/.semver/PR-304 with force:False [2023-04-18T15:02:49.849Z] 2023-04-18 15:02:49,830 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-304/.semver/PR-304 [2023-04-18T15:02:49.849Z] 2023-04-18 15:02:49,833 [execute] INFO git cat-file --batch-check [2023-04-18T15:02:49.849Z] 2023-04-18 15:02:49,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-304/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T15:02:49.849Z] 2023-04-18 15:02:49,839 [execute] INFO git cat-file --batch [2023-04-18T15:02:49.849Z] 2023-04-18 15:02:49,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-304/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T15:02:49.849Z] 2023-04-18 15:02:49,843 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-304/.semver/PR-304 [2023-04-18T15:02:49.849Z] 0.0.0 [Pipeline] } [2023-04-18T15:02:50.122Z] $ docker exec --env ******** --env ******** 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d ssh-agent -k [2023-04-18T15:02:50.212Z] unset SSH_AUTH_SOCK; [2023-04-18T15:02:50.212Z] unset SSH_AGENT_PID; [2023-04-18T15:02:50.213Z] echo Agent pid 77 killed; [2023-04-18T15:02:50.218Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T15:02:50.526Z] + git semver [Pipeline] } [2023-04-18T15:02:50.803Z] $ docker stop --time=1 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d [2023-04-18T15:02:52.380Z] $ docker rm -f --volumes 74cd2ef3506d40cabf39412c070a8f1e3a3b36138e2e8ff66be438931a63e59d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T15:02:52.707Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T15:02:52.979Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T15:02:52.981Z] [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-18T15:02:53.118Z] provisioning config files... [2023-04-18T15:02:53.144Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-304@tmp/config14379924439256181269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:02:53.438Z] ---> docker-login.sh [2023-04-18T15:02:53.439Z] nexus3.edgexfoundry.org:10001 [2023-04-18T15:02:53.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:02:53.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:02:53.439Z] Configure a credential helper to remove this warning. See [2023-04-18T15:02:53.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:02:53.439Z] [2023-04-18T15:02:53.439Z] Login Succeeded [2023-04-18T15:02:53.439Z] nexus3.edgexfoundry.org:10002 [2023-04-18T15:02:53.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:02:53.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:02:53.439Z] Configure a credential helper to remove this warning. See [2023-04-18T15:02:53.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:02:53.439Z] [2023-04-18T15:02:53.439Z] Login Succeeded [2023-04-18T15:02:53.439Z] nexus3.edgexfoundry.org:10003 [2023-04-18T15:02:53.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:02:53.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:02:53.715Z] Configure a credential helper to remove this warning. See [2023-04-18T15:02:53.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:02:53.715Z] [2023-04-18T15:02:53.715Z] Login Succeeded [2023-04-18T15:02:53.715Z] nexus3.edgexfoundry.org:10004 [2023-04-18T15:02:53.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:02:53.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:02:53.715Z] Configure a credential helper to remove this warning. See [2023-04-18T15:02:53.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:02:53.715Z] [2023-04-18T15:02:53.715Z] Login Succeeded [2023-04-18T15:02:53.715Z] docker.io [2023-04-18T15:02:53.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:02:53.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:02:53.976Z] Configure a credential helper to remove this warning. See [2023-04-18T15:02:53.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:02:53.976Z] [2023-04-18T15:02:53.976Z] Login Succeeded [2023-04-18T15:02:53.976Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T15:02:53.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T15:02:54.040Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T15:02:54.051Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T15:02:54.057Z] ========================================================= [2023-04-18T15:02:54.057Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-04-18T15:02:54.057Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:02:54.359Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T15:02:54.360Z] Sending build context to Docker daemon 21.48MB [2023-04-18T15:02:54.360Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-04-18T15:02:54.360Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-18T15:02:54.619Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T15:02:54.619Z] 213ec9aee27d: Pulling fs layer [2023-04-18T15:02:54.619Z] 4583459ba037: Pulling fs layer [2023-04-18T15:02:54.619Z] 93c1e223e6f2: Pulling fs layer [2023-04-18T15:02:54.619Z] 53926ce57604: Pulling fs layer [2023-04-18T15:02:54.619Z] 21b2b0c7a3f4: Pulling fs layer [2023-04-18T15:02:54.619Z] 22ff95d597cd: Pulling fs layer [2023-04-18T15:02:54.619Z] 12d6caf4c0d1: Pulling fs layer [2023-04-18T15:02:54.619Z] 96b7cbca73a9: Pulling fs layer [2023-04-18T15:02:54.619Z] a7acece74701: Pulling fs layer [2023-04-18T15:02:54.619Z] 22ff95d597cd: Waiting [2023-04-18T15:02:54.619Z] 96b7cbca73a9: Waiting [2023-04-18T15:02:54.619Z] a7acece74701: Waiting [2023-04-18T15:02:54.619Z] 53926ce57604: Waiting [2023-04-18T15:02:54.619Z] 12d6caf4c0d1: Waiting [2023-04-18T15:02:54.619Z] 93c1e223e6f2: Verifying Checksum [2023-04-18T15:02:54.619Z] 93c1e223e6f2: Download complete [2023-04-18T15:02:54.619Z] 4583459ba037: Download complete [2023-04-18T15:02:54.619Z] 21b2b0c7a3f4: Download complete [2023-04-18T15:02:54.619Z] 213ec9aee27d: Download complete [2023-04-18T15:02:54.619Z] 22ff95d597cd: Verifying Checksum [2023-04-18T15:02:54.619Z] 22ff95d597cd: Download complete [2023-04-18T15:02:54.619Z] 12d6caf4c0d1: Verifying Checksum [2023-04-18T15:02:54.879Z] 213ec9aee27d: Pull complete [2023-04-18T15:02:55.144Z] 4583459ba037: Pull complete [2023-04-18T15:02:55.144Z] 93c1e223e6f2: Pull complete [2023-04-18T15:02:55.144Z] a7acece74701: Verifying Checksum [2023-04-18T15:02:55.144Z] a7acece74701: Download complete [2023-04-18T15:02:55.404Z] 96b7cbca73a9: Verifying Checksum [2023-04-18T15:02:55.404Z] 96b7cbca73a9: Download complete [2023-04-18T15:02:55.404Z] 53926ce57604: Verifying Checksum [2023-04-18T15:02:55.404Z] 53926ce57604: Download complete [2023-04-18T15:02:59.582Z] 53926ce57604: Pull complete [2023-04-18T15:02:59.582Z] 21b2b0c7a3f4: Pull complete [2023-04-18T15:02:59.582Z] 22ff95d597cd: Pull complete [2023-04-18T15:02:59.840Z] 12d6caf4c0d1: Pull complete [2023-04-18T15:03:02.371Z] 96b7cbca73a9: Pull complete [2023-04-18T15:03:03.365Z] a7acece74701: Pull complete [2023-04-18T15:03:03.365Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-04-18T15:03:03.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-04-18T15:03:03.365Z] ---> db6d94c90886 [2023-04-18T15:03:03.365Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-18T15:03:08.080Z] Still waiting to schedule task [2023-04-18T15:03:08.081Z] ‘prd-centos7-blackbox-4c-2g-8594’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-18T15:03:08.081Z] ‘prd-centos7-blackbox-4c-2g-8595’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-18T15:03:08.081Z] ‘prd-ubuntu20.04-docker-8c-8g-8926’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-18T15:03:08.081Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8927’ is offline [2023-04-18T15:03:08.081Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8931’ is offline [2023-04-18T15:03:11.579Z] ---> Running in 1d579f8d7ff0 [2023-04-18T15:03:11.579Z] Removing intermediate container 1d579f8d7ff0 [2023-04-18T15:03:11.579Z] ---> 6ddd3f27d903 [2023-04-18T15:03:11.579Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T15:03:11.579Z] ---> Running in 8e216f1c3f1d [2023-04-18T15:03:11.579Z] Removing intermediate container 8e216f1c3f1d [2023-04-18T15:03:11.579Z] ---> cc022c3c3d5d [2023-04-18T15:03:11.579Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-04-18T15:03:11.579Z] ---> Running in cd9afc415d11 [2023-04-18T15:03:11.579Z] Removing intermediate container cd9afc415d11 [2023-04-18T15:03:11.579Z] ---> 501f0e4bffff [2023-04-18T15:03:11.579Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T15:03:11.579Z] ---> Running in e22ca8c7cb39 [2023-04-18T15:03:11.579Z] Removing intermediate container e22ca8c7cb39 [2023-04-18T15:03:11.579Z] ---> 9c09406079cd [2023-04-18T15:03:11.579Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-18T15:03:11.579Z] ---> Running in f7fc8190583b [2023-04-18T15:03:11.579Z] Removing intermediate container f7fc8190583b [2023-04-18T15:03:11.579Z] ---> 257937085bdf [2023-04-18T15:03:11.579Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T15:03:11.579Z] ---> Running in b75872445b3e [2023-04-18T15:03:11.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-18T15:03:11.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-04-18T15:03:12.097Z] OK: 211 MiB in 51 packages [2023-04-18T15:03:12.355Z] Removing intermediate container b75872445b3e [2023-04-18T15:03:12.355Z] ---> 56d1f8186f86 [2023-04-18T15:03:12.355Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-18T15:03:12.613Z] ---> Running in 6498f1a200a3 [2023-04-18T15:03:12.613Z] Removing intermediate container 6498f1a200a3 [2023-04-18T15:03:12.613Z] ---> e9544f7df6ef [2023-04-18T15:03:12.613Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-18T15:03:12.613Z] ---> d21179b546cd [2023-04-18T15:03:12.613Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T15:03:12.613Z] ---> Running in dcdbb263ce97 [2023-04-18T15:03:51.408Z] Removing intermediate container dcdbb263ce97 [2023-04-18T15:03:51.408Z] ---> bd5649c42ca4 [2023-04-18T15:03:51.408Z] Step 12/13 : COPY . . [2023-04-18T15:03:51.408Z] ---> 30a449a82c82 [2023-04-18T15:03:51.408Z] Step 13/13 : RUN ${MAKE} [2023-04-18T15:03:51.408Z] ---> Running in 223ddfa79ab7 [2023-04-18T15:03:51.666Z] noop [2023-04-18T15:03:52.602Z] Removing intermediate container 223ddfa79ab7 [2023-04-18T15:03:52.602Z] ---> ef026476a218 [2023-04-18T15:03:52.602Z] Successfully built ef026476a218 [2023-04-18T15:03:52.602Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:03:52.939Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T15:03:52.939Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:03:53.009Z] prd-ubuntu20.04-docker-8c-8g-8930 does not seem to be running inside a container [2023-04-18T15:03:53.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@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 ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T15:03:53.743Z] $ docker top 9495d2a041fe24646d5af24f8a51d1f8a52a0f6dd37b2c06f2df5a18a61ca10e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:03:54.088Z] + go version [2023-04-18T15:03:54.088Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-04-18T15:03:54.103Z] $ docker stop --time=1 9495d2a041fe24646d5af24f8a51d1f8a52a0f6dd37b2c06f2df5a18a61ca10e [2023-04-18T15:03:55.449Z] $ docker rm -f --volumes 9495d2a041fe24646d5af24f8a51d1f8a52a0f6dd37b2c06f2df5a18a61ca10e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:03:55.851Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T15:03:55.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:03:55.931Z] prd-ubuntu20.04-docker-8c-8g-8930 does not seem to be running inside a container [2023-04-18T15:03:55.967Z] $ 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-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@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 ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T15:03:56.291Z] $ docker top 9e05d5c4fda5fae6e2881ed2c68e7ed1a49619c57889b892253ad74cf15d04d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:03:56.637Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-304 [Pipeline] fileExists [Pipeline] sh [2023-04-18T15:03:56.980Z] + make test [2023-04-18T15:03:56.980Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-04-18T15:03:57.237Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-18T15:04:09.484Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-18T15:04:12.770Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.043s coverage: 29.3% of statements [2023-04-18T15:04:12.770Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-18T15:04:12.770Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.392s coverage: 86.5% of statements [2023-04-18T15:04:20.910Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-04-18T15:04:20.910Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-04-18T15:04:25.100Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T15:04:25.100Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T15:04:25.100Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T15:04:25.115Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T15:04:25.130Z] $ docker stop --time=1 9e05d5c4fda5fae6e2881ed2c68e7ed1a49619c57889b892253ad74cf15d04d0 [2023-04-18T15:04:27.914Z] $ docker rm -f --volumes 9e05d5c4fda5fae6e2881ed2c68e7ed1a49619c57889b892253ad74cf15d04d0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T15:04:28.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T15:04:28.440Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T15:04:28.871Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T15:04:29.159Z] + ls -al . [2023-04-18T15:04:29.159Z] total 248 [2023-04-18T15:04:29.159Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 15:03 . [2023-04-18T15:04:29.159Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:02 .. [2023-04-18T15:04:29.159Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 15:04 .git [2023-04-18T15:04:29.159Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:02 .github [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 18 15:02 .gitignore [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 15:02 .golangci.yml [2023-04-18T15:04:29.159Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 15:02 .semver [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 9739 Apr 18 15:02 Attribution.txt [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 6535 Apr 18 15:02 CHANGELOG.md [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 1637 Apr 18 15:02 Dockerfile [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 15:02 GOVERNANCE.md [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 762 Apr 18 15:02 Jenkinsfile [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 18 15:02 LICENSE [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 2997 Apr 18 15:02 Makefile [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 18 15:02 OWNERS.md [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 4875 Apr 18 15:02 README.md [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 15:02 VERSION [2023-04-18T15:04:29.159Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:02 bin [2023-04-18T15:04:29.159Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:02 cmd [2023-04-18T15:04:29.159Z] -rw-r--r-- 1 jenkins jenkins 79184 Apr 18 15:04 coverage.out [2023-04-18T15:04:29.159Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 15:02 doc [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 3687 Apr 18 15:02 go.mod [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 46105 Apr 18 15:02 go.sum [2023-04-18T15:04:29.159Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:02 internal [2023-04-18T15:04:29.159Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:02 snap [2023-04-18T15:04:29.159Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 18 15:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:04:29.463Z] + 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=a1952d58cc79031288275be91c62b396b9595faa --label arch=amd64 --label version=0.0.0 . [2023-04-18T15:04:29.463Z] Sending build context to Docker daemon 21.56MB [2023-04-18T15:04:29.463Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-04-18T15:04:29.463Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-18T15:04:29.463Z] ---> ef026476a218 [2023-04-18T15:04:29.463Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-18T15:04:29.722Z] ---> Running in b1451fa65c38 [2023-04-18T15:04:29.722Z] Removing intermediate container b1451fa65c38 [2023-04-18T15:04:29.722Z] ---> aaf4c2c2312c [2023-04-18T15:04:29.722Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T15:04:29.722Z] ---> Running in 8336b87767b3 [2023-04-18T15:04:29.722Z] Removing intermediate container 8336b87767b3 [2023-04-18T15:04:29.722Z] ---> a4534b453f43 [2023-04-18T15:04:29.722Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-04-18T15:04:29.987Z] ---> Running in ab0f9e7fb03e [2023-04-18T15:04:29.987Z] Removing intermediate container ab0f9e7fb03e [2023-04-18T15:04:29.987Z] ---> a889ac39405a [2023-04-18T15:04:29.987Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T15:04:29.987Z] ---> Running in 06ee37b6c795 [2023-04-18T15:04:29.987Z] Removing intermediate container 06ee37b6c795 [2023-04-18T15:04:29.987Z] ---> 47e3550899d9 [2023-04-18T15:04:29.987Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-18T15:04:30.247Z] ---> Running in c5710f282cea [2023-04-18T15:04:30.247Z] Removing intermediate container c5710f282cea [2023-04-18T15:04:30.247Z] ---> e75d816fa9e5 [2023-04-18T15:04:30.247Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T15:04:30.247Z] ---> Running in fff1e7adafcd [2023-04-18T15:04:30.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-18T15:04:30.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-04-18T15:04:31.031Z] OK: 211 MiB in 51 packages [2023-04-18T15:04:31.291Z] Removing intermediate container fff1e7adafcd [2023-04-18T15:04:31.291Z] ---> e71ebf8b21ad [2023-04-18T15:04:31.291Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-18T15:04:31.291Z] ---> Running in 93760012071c [2023-04-18T15:04:31.550Z] Removing intermediate container 93760012071c [2023-04-18T15:04:31.550Z] ---> cbf1cff93721 [2023-04-18T15:04:31.550Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-18T15:04:31.550Z] ---> 715a3247a60d [2023-04-18T15:04:31.550Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T15:04:31.550Z] ---> Running in 87b5048f067c [2023-04-18T15:04:32.487Z] Removing intermediate container 87b5048f067c [2023-04-18T15:04:32.487Z] ---> a0bb7ea689f5 [2023-04-18T15:04:32.487Z] Step 12/26 : COPY . . [2023-04-18T15:04:33.423Z] ---> 9c94e1ad5c46 [2023-04-18T15:04:33.423Z] Step 13/26 : RUN ${MAKE} [2023-04-18T15:04:33.423Z] ---> Running in 8d7feac81384 [2023-04-18T15:04:33.681Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-04-18T15:05:00.223Z] Removing intermediate container 8d7feac81384 [2023-04-18T15:05:00.223Z] ---> cdd7837d661e [2023-04-18T15:05:00.223Z] Step 14/26 : FROM alpine:3.16 [2023-04-18T15:05:00.223Z] 3.16: Pulling from library/alpine [2023-04-18T15:05:00.223Z] 91d30c5bc195: Pulling fs layer [2023-04-18T15:05:00.520Z] 91d30c5bc195: Download complete [2023-04-18T15:05:00.520Z] 91d30c5bc195: Pull complete [2023-04-18T15:05:00.520Z] Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f [2023-04-18T15:05:00.520Z] Status: Downloaded newer image for alpine:3.16 [2023-04-18T15:05:00.520Z] ---> 8471affe5de5 [2023-04-18T15:05:00.520Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-18T15:05:00.778Z] ---> Running in fdd7e4f27e69 [2023-04-18T15:05:00.778Z] Removing intermediate container fdd7e4f27e69 [2023-04-18T15:05:00.779Z] ---> 62756e22ab2e [2023-04-18T15:05:00.779Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-04-18T15:05:00.779Z] ---> Running in 235ae2c00f2e [2023-04-18T15:05:01.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-18T15:05:01.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-04-18T15:05:01.297Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-04-18T15:05:01.297Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-04-18T15:05:01.297Z] (3/6) Installing libsodium (1.0.18-r0) [2023-04-18T15:05:01.297Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-04-18T15:05:01.297Z] (5/6) Installing libzmq (4.3.4-r0) [2023-04-18T15:05:01.297Z] (6/6) Installing zeromq (4.3.4-r0) [2023-04-18T15:05:01.557Z] Executing busybox-1.35.0-r17.trigger [2023-04-18T15:05:01.557Z] OK: 8 MiB in 20 packages [2023-04-18T15:05:01.817Z] Removing intermediate container 235ae2c00f2e [2023-04-18T15:05:01.817Z] ---> 5edb4439cf4c [2023-04-18T15:05:01.817Z] Step 17/26 : WORKDIR / [2023-04-18T15:05:01.817Z] ---> Running in 67ad5dadac2a [2023-04-18T15:05:02.076Z] Removing intermediate container 67ad5dadac2a [2023-04-18T15:05:02.076Z] ---> 96a6ab78e178 [2023-04-18T15:05:02.076Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-18T15:05:03.018Z] ---> 86ce096d3a9a [2023-04-18T15:05:03.018Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-18T15:05:03.018Z] ---> cd6141eabf7c [2023-04-18T15:05:03.018Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-18T15:05:03.018Z] ---> 7b7866cc3a46 [2023-04-18T15:05:03.018Z] Step 21/26 : EXPOSE 59984 [2023-04-18T15:05:03.018Z] ---> Running in 80946e08ef3e [2023-04-18T15:05:03.276Z] Removing intermediate container 80946e08ef3e [2023-04-18T15:05:03.276Z] ---> f9a9f0256476 [2023-04-18T15:05:03.276Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-18T15:05:03.276Z] ---> Running in 6c44ed97cd23 [2023-04-18T15:05:03.276Z] Removing intermediate container 6c44ed97cd23 [2023-04-18T15:05:03.276Z] ---> 70d6543fad3d [2023-04-18T15:05:03.276Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-04-18T15:05:03.276Z] ---> Running in 5d30cbe5de72 [2023-04-18T15:05:03.276Z] Removing intermediate container 5d30cbe5de72 [2023-04-18T15:05:03.276Z] ---> c418e755e744 [2023-04-18T15:05:03.276Z] Step 24/26 : LABEL arch=amd64 [2023-04-18T15:05:03.276Z] ---> Running in a9b0caaef769 [2023-04-18T15:05:03.535Z] Removing intermediate container a9b0caaef769 [2023-04-18T15:05:03.535Z] ---> 532571f4c031 [2023-04-18T15:05:03.535Z] Step 25/26 : LABEL git_sha=a1952d58cc79031288275be91c62b396b9595faa [2023-04-18T15:05:03.535Z] ---> Running in 80b6f3f8037c [2023-04-18T15:05:03.535Z] Removing intermediate container 80b6f3f8037c [2023-04-18T15:05:03.535Z] ---> d1528a4800bb [2023-04-18T15:05:03.535Z] Step 26/26 : LABEL version=0.0.0 [2023-04-18T15:05:03.535Z] ---> Running in b50190261478 [2023-04-18T15:05:03.535Z] Removing intermediate container b50190261478 [2023-04-18T15:05:03.535Z] ---> b52dfad7484b [2023-04-18T15:05:03.535Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T15:05:03.792Z] Successfully built b52dfad7484b [2023-04-18T15:05:03.792Z] 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-18T15:05:04.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T15:05:04.224Z] [2023-04-18T15:05:04.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:05:04.521Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T15:05:04.521Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T15:05:04.521Z] 5eb5b503b376: Pulling fs layer [2023-04-18T15:05:04.521Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T15:05:04.521Z] ec43610c2a17: Pulling fs layer [2023-04-18T15:05:04.521Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T15:05:04.521Z] 33b1e0a273af: Pulling fs layer [2023-04-18T15:05:04.521Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T15:05:04.521Z] 2f39f015ded8: Pulling fs layer [2023-04-18T15:05:04.521Z] 33b1e0a273af: Waiting [2023-04-18T15:05:04.521Z] 5d3b04190fa2: Waiting [2023-04-18T15:05:04.521Z] 3a2ae6a8a46f: Waiting [2023-04-18T15:05:04.521Z] 2f39f015ded8: Waiting [2023-04-18T15:05:04.521Z] 5c69ac0246d0: Verifying Checksum [2023-04-18T15:05:04.521Z] 5c69ac0246d0: Download complete [2023-04-18T15:05:04.521Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T15:05:04.521Z] 3a2ae6a8a46f: Download complete [2023-04-18T15:05:04.521Z] 33b1e0a273af: Verifying Checksum [2023-04-18T15:05:04.521Z] 33b1e0a273af: Download complete [2023-04-18T15:05:04.521Z] ec43610c2a17: Verifying Checksum [2023-04-18T15:05:04.521Z] ec43610c2a17: Download complete [2023-04-18T15:05:04.521Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T15:05:04.521Z] 5d3b04190fa2: Download complete [2023-04-18T15:05:04.780Z] 5eb5b503b376: Verifying Checksum [2023-04-18T15:05:04.780Z] 5eb5b503b376: Download complete [2023-04-18T15:05:05.345Z] 2f39f015ded8: Download complete [2023-04-18T15:05:06.279Z] 5eb5b503b376: Pull complete [2023-04-18T15:05:06.279Z] 5c69ac0246d0: Pull complete [2023-04-18T15:05:06.537Z] ec43610c2a17: Pull complete [2023-04-18T15:05:06.794Z] 3a2ae6a8a46f: Pull complete [2023-04-18T15:05:07.051Z] 33b1e0a273af: Pull complete [2023-04-18T15:05:07.051Z] 5d3b04190fa2: Pull complete [2023-04-18T15:05:12.314Z] 2f39f015ded8: Pull complete [2023-04-18T15:05:12.314Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T15:05:12.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T15:05:12.314Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:05:12.405Z] prd-ubuntu20.04-docker-8c-8g-8930 does not seem to be running inside a container [2023-04-18T15:05:12.437Z] $ 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-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T15:05:13.884Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8933 in /w/workspace/undry_device-onvif-camera_PR-304 [2023-04-18T15:05:16.618Z] $ docker top 268b3e7f8fd1e9fe8fead6f8637d7dd9beb362b3235e7c4fafe4c639baad204d -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-04-18T15:05:16.748Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-04-18T15:05:16.814Z] The recommended git tool is: git [2023-04-18T15:05:17.001Z] ---> job-cost.sh [2023-04-18T15:05:17.001Z] lf-activate-venv: SKIPPING [2023-04-18T15:05:17.001Z] INFO: No Stack... [2023-04-18T15:05:17.260Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T15:05:17.826Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T15:05:18.110Z] + cat /w/workspace/undry_device-onvif-camera_PR-304/archives/cost.csv [2023-04-18T15:05:18.110Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T15:05:18.123Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] [2023-04-18T15:05:18.131Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] did not exist. Created. [2023-04-18T15:05:18.131Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T15:05:18.434Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T15:05:18.461Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T15:05:18.467Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T15:05:18.491Z] $ docker stop --time=1 268b3e7f8fd1e9fe8fead6f8637d7dd9beb362b3235e7c4fafe4c639baad204d [2023-04-18T15:05:19.645Z] $ docker rm -f --volumes 268b3e7f8fd1e9fe8fead6f8637d7dd9beb362b3235e7c4fafe4c639baad204d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T15:05:22.356Z] using credential edgex-jenkins-ssh [2023-04-18T15:05:22.409Z] Cloning the remote Git repository [2023-04-18T15:05:22.478Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-18T15:05:22.594Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-04-18T15:05:22.757Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-18T15:05:22.758Z] > git --version # timeout=10 [2023-04-18T15:05:22.785Z] > git --version # 'git version 2.25.1' [2023-04-18T15:05:22.788Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T15:05:22.955Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T15:05:24.426Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-18T15:05:24.470Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T15:05:25.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-18T15:05:25.415Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-18T15:05:25.416Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T15:05:25.433Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/304/head:refs/remotes/origin/PR-304 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-04-18T15:05:26.035Z] Merging remotes/origin/levski commit 4d60271c1a122ad73ad4ab446ee385de813631e9 into PR head commit a1952d58cc79031288275be91c62b396b9595faa [2023-04-18T15:05:26.446Z] Merge succeeded, producing a1952d58cc79031288275be91c62b396b9595faa [2023-04-18T15:05:26.446Z] Checking out Revision a1952d58cc79031288275be91c62b396b9595faa (PR-304) [2023-04-18T15:05:26.059Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T15:05:26.149Z] > git checkout -f a1952d58cc79031288275be91c62b396b9595faa # timeout=10 [2023-04-18T15:05:26.343Z] > git remote # timeout=10 [2023-04-18T15:05:26.361Z] > git config --get remote.origin.url # timeout=10 [2023-04-18T15:05:26.381Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T15:05:26.398Z] > git merge 4d60271c1a122ad73ad4ab446ee385de813631e9 # timeout=10 [2023-04-18T15:05:26.428Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-18T15:05:26.457Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T15:05:26.473Z] > git checkout -f a1952d58cc79031288275be91c62b396b9595faa # timeout=10 [2023-04-18T15:05:30.182Z] Commit message: "docs: remove broken links" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T15:05:31.214Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T15:05:31.214Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T15:05:31.214Z] Dload Upload Total Spent Left Speed [2023-04-18T15:05:31.214Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-04-18T15:05:32.063Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T15:05:32.403Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T15:05:32.404Z] + sudo tee /etc/docker/daemon.new [2023-04-18T15:05:32.404Z] { [2023-04-18T15:05:32.404Z] "registry-mirrors": [ [2023-04-18T15:05:32.404Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T15:05:32.404Z] ], [2023-04-18T15:05:32.404Z] "bip": "10.250.0.254/24", [2023-04-18T15:05:32.404Z] "hosts": [ [2023-04-18T15:05:32.404Z] "tcp://0.0.0.0:5555", [2023-04-18T15:05:32.404Z] "unix:///var/run/docker.sock" [2023-04-18T15:05:32.404Z] ], [2023-04-18T15:05:32.404Z] "mtu": 1458, [2023-04-18T15:05:32.404Z] "selinux-enabled": true, [2023-04-18T15:05:32.404Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T15:05:32.404Z] } [Pipeline] sh [2023-04-18T15:05:32.744Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T15:05:33.084Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T15:05:51.375Z] provisioning config files... [2023-04-18T15:05:51.403Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config16542360244642106751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:05:51.760Z] ---> docker-login.sh [2023-04-18T15:05:51.760Z] nexus3.edgexfoundry.org:10001 [2023-04-18T15:05:52.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:05:52.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:05:52.302Z] Configure a credential helper to remove this warning. See [2023-04-18T15:05:52.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:05:52.302Z] [2023-04-18T15:05:52.302Z] Login Succeeded [2023-04-18T15:05:52.302Z] nexus3.edgexfoundry.org:10002 [2023-04-18T15:05:52.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:05:52.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:05:52.570Z] Configure a credential helper to remove this warning. See [2023-04-18T15:05:52.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:05:52.570Z] [2023-04-18T15:05:52.570Z] Login Succeeded [2023-04-18T15:05:52.838Z] nexus3.edgexfoundry.org:10003 [2023-04-18T15:05:52.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:05:53.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:05:53.108Z] Configure a credential helper to remove this warning. See [2023-04-18T15:05:53.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:05:53.108Z] [2023-04-18T15:05:53.108Z] Login Succeeded [2023-04-18T15:05:53.108Z] nexus3.edgexfoundry.org:10004 [2023-04-18T15:05:53.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:05:53.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:05:53.377Z] Configure a credential helper to remove this warning. See [2023-04-18T15:05:53.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:05:53.377Z] [2023-04-18T15:05:53.377Z] Login Succeeded [2023-04-18T15:05:53.377Z] docker.io [2023-04-18T15:05:53.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:05:53.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:05:53.919Z] Configure a credential helper to remove this warning. See [2023-04-18T15:05:53.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:05:53.919Z] [2023-04-18T15:05:53.919Z] Login Succeeded [2023-04-18T15:05:53.919Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T15:05:53.933Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T15:05:54.231Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T15:05:54.249Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T15:05:54.263Z] ========================================================= [2023-04-18T15:05:54.263Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-04-18T15:05:54.263Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:05:54.611Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T15:05:55.204Z] Sending build context to Docker daemon 14.21MB [2023-04-18T15:05:55.204Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-04-18T15:05:55.204Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-18T15:05:55.204Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T15:05:55.204Z] 9b18e9b68314: Pulling fs layer [2023-04-18T15:05:55.204Z] 35d82f9e3411: Pulling fs layer [2023-04-18T15:05:55.204Z] e16973657156: Pulling fs layer [2023-04-18T15:05:55.204Z] fc693d55d65f: Pulling fs layer [2023-04-18T15:05:55.204Z] 7e9fc2657dce: Pulling fs layer [2023-04-18T15:05:55.204Z] dda99020689f: Pulling fs layer [2023-04-18T15:05:55.204Z] db1c61fa0a46: Pulling fs layer [2023-04-18T15:05:55.204Z] 891c053d2c06: Pulling fs layer [2023-04-18T15:05:55.204Z] 7e9fc2657dce: Waiting [2023-04-18T15:05:55.204Z] dda99020689f: Waiting [2023-04-18T15:05:55.204Z] db1c61fa0a46: Waiting [2023-04-18T15:05:55.204Z] 891c053d2c06: Waiting [2023-04-18T15:05:55.204Z] fc693d55d65f: Waiting [2023-04-18T15:05:55.476Z] e16973657156: Verifying Checksum [2023-04-18T15:05:55.476Z] e16973657156: Download complete [2023-04-18T15:05:55.476Z] 35d82f9e3411: Download complete [2023-04-18T15:05:55.476Z] 7e9fc2657dce: Verifying Checksum [2023-04-18T15:05:55.476Z] 7e9fc2657dce: Download complete [2023-04-18T15:05:55.476Z] 9b18e9b68314: Verifying Checksum [2023-04-18T15:05:55.476Z] 9b18e9b68314: Download complete [2023-04-18T15:05:55.476Z] dda99020689f: Download complete [2023-04-18T15:05:56.454Z] 9b18e9b68314: Pull complete [2023-04-18T15:05:56.454Z] 891c053d2c06: Verifying Checksum [2023-04-18T15:05:56.454Z] 891c053d2c06: Download complete [2023-04-18T15:05:56.726Z] 35d82f9e3411: Pull complete [2023-04-18T15:05:56.998Z] e16973657156: Pull complete [2023-04-18T15:05:57.629Z] db1c61fa0a46: Verifying Checksum [2023-04-18T15:05:57.629Z] db1c61fa0a46: Download complete [2023-04-18T15:05:58.218Z] fc693d55d65f: Verifying Checksum [2023-04-18T15:05:58.218Z] fc693d55d65f: Download complete [2023-04-18T15:06:10.556Z] fc693d55d65f: Pull complete [2023-04-18T15:06:10.556Z] 7e9fc2657dce: Pull complete [2023-04-18T15:06:10.556Z] dda99020689f: Pull complete [2023-04-18T15:06:15.914Z] db1c61fa0a46: Pull complete [2023-04-18T15:06:17.865Z] 891c053d2c06: Pull complete [2023-04-18T15:06:17.865Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-04-18T15:06:17.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-04-18T15:06:17.865Z] ---> f96f9c87975a [2023-04-18T15:06:17.865Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-18T15:06:19.815Z] ---> Running in 2752390809ed [2023-04-18T15:06:20.082Z] Removing intermediate container 2752390809ed [2023-04-18T15:06:20.082Z] ---> fd8b94dd77b2 [2023-04-18T15:06:20.082Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T15:06:20.082Z] ---> Running in febe7ad87802 [2023-04-18T15:06:20.349Z] Removing intermediate container febe7ad87802 [2023-04-18T15:06:20.349Z] ---> 33480f43646e [2023-04-18T15:06:20.349Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-04-18T15:06:20.615Z] ---> Running in 7d72a7e68305 [2023-04-18T15:06:20.881Z] Removing intermediate container 7d72a7e68305 [2023-04-18T15:06:20.881Z] ---> 0bd65a26898c [2023-04-18T15:06:20.881Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T15:06:20.881Z] ---> Running in dff4ed16a611 [2023-04-18T15:06:21.148Z] Removing intermediate container dff4ed16a611 [2023-04-18T15:06:21.148Z] ---> 5c382bd79357 [2023-04-18T15:06:21.148Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-18T15:06:21.415Z] ---> Running in 8faebc614524 [2023-04-18T15:06:21.682Z] Removing intermediate container 8faebc614524 [2023-04-18T15:06:21.682Z] ---> 1d16bace2883 [2023-04-18T15:06:21.682Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T15:06:21.682Z] ---> Running in 5e9c0da60d21 [2023-04-18T15:06:23.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-18T15:06:23.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-04-18T15:06:24.054Z] OK: 221 MiB in 51 packages [2023-04-18T15:06:25.029Z] Removing intermediate container 5e9c0da60d21 [2023-04-18T15:06:25.029Z] ---> 1952c0599661 [2023-04-18T15:06:25.029Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-18T15:06:25.029Z] ---> Running in 09cd3f88442f [2023-04-18T15:06:25.296Z] Removing intermediate container 09cd3f88442f [2023-04-18T15:06:25.296Z] ---> 2bb3e91fdaaf [2023-04-18T15:06:25.296Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-18T15:06:25.880Z] ---> 7624e0bb2105 [2023-04-18T15:06:25.880Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T15:06:26.147Z] ---> Running in 430fa0b97755 [2023-04-18T15:07:22.561Z] Removing intermediate container 430fa0b97755 [2023-04-18T15:07:22.561Z] ---> f3b54a32ed5a [2023-04-18T15:07:22.561Z] Step 12/13 : COPY . . [2023-04-18T15:07:22.831Z] ---> c46d46313836 [2023-04-18T15:07:22.831Z] Step 13/13 : RUN ${MAKE} [2023-04-18T15:07:22.831Z] ---> Running in 83a8b5a8e383 [2023-04-18T15:07:23.800Z] noop [2023-04-18T15:07:24.390Z] Removing intermediate container 83a8b5a8e383 [2023-04-18T15:07:24.390Z] ---> 4b98e532f10a [2023-04-18T15:07:24.390Z] Successfully built 4b98e532f10a [2023-04-18T15:07:24.390Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:07:24.747Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T15:07:24.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:07:24.978Z] prd-ubuntu20.04-docker-arm64-4c-16g-8933 does not seem to be running inside a container [2023-04-18T15:07:25.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T15:07:26.298Z] $ docker top 8062d942eddbdba9be4be030cb50861ed03b62d793aea37bcc72e3388926b4c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:07:27.138Z] + go version [2023-04-18T15:07:27.138Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-04-18T15:07:27.157Z] $ docker stop --time=1 8062d942eddbdba9be4be030cb50861ed03b62d793aea37bcc72e3388926b4c3 [2023-04-18T15:07:28.838Z] $ docker rm -f --volumes 8062d942eddbdba9be4be030cb50861ed03b62d793aea37bcc72e3388926b4c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:07:29.379Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T15:07:29.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:07:29.580Z] prd-ubuntu20.04-docker-arm64-4c-16g-8933 does not seem to be running inside a container [2023-04-18T15:07:29.654Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T15:07:30.914Z] $ docker top a99d1c0edfe80d745b05e0d723d9339914bf7c4770e89977d1eb009f9adcd20b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:07:31.760Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-04-18T15:07:32.413Z] + make test [2023-04-18T15:07:32.413Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-04-18T15:07:34.385Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-18T15:09:26.085Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-18T15:09:26.085Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.220s coverage: 29.3% of statements [2023-04-18T15:09:26.085Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-18T15:09:44.351Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.366s coverage: 86.5% of statements [2023-04-18T15:09:44.351Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T15:09:44.351Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-04-18T15:10:11.055Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T15:10:11.055Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T15:10:11.055Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T15:10:11.075Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T15:10:11.083Z] $ docker stop --time=1 a99d1c0edfe80d745b05e0d723d9339914bf7c4770e89977d1eb009f9adcd20b [2023-04-18T15:10:13.121Z] $ docker rm -f --volumes a99d1c0edfe80d745b05e0d723d9339914bf7c4770e89977d1eb009f9adcd20b [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T15:10:14.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T15:10:14.183Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T15:10:14.790Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T15:10:15.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T15:10:15.482Z] + ls -al . [2023-04-18T15:10:15.482Z] total 244 [2023-04-18T15:10:15.482Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 15:07 . [2023-04-18T15:10:15.482Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:05 .. [2023-04-18T15:10:15.482Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 15:05 .git [2023-04-18T15:10:15.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:05 .github [2023-04-18T15:10:15.482Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 18 15:05 .gitignore [2023-04-18T15:10:15.482Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 15:05 .golangci.yml [2023-04-18T15:10:15.482Z] -rw-rw-r-- 1 jenkins jenkins 9739 Apr 18 15:05 Attribution.txt [2023-04-18T15:10:15.482Z] -rw-rw-r-- 1 jenkins jenkins 6535 Apr 18 15:05 CHANGELOG.md [2023-04-18T15:10:15.482Z] -rw-rw-r-- 1 jenkins jenkins 1637 Apr 18 15:05 Dockerfile [2023-04-18T15:10:15.482Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 15:05 GOVERNANCE.md [2023-04-18T15:10:15.482Z] -rw-rw-r-- 1 jenkins jenkins 762 Apr 18 15:05 Jenkinsfile [2023-04-18T15:10:15.482Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 18 15:05 LICENSE [2023-04-18T15:10:15.482Z] -rw-rw-r-- 1 jenkins jenkins 2997 Apr 18 15:05 Makefile [2023-04-18T15:10:15.482Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 18 15:05 OWNERS.md [2023-04-18T15:10:15.482Z] -rw-rw-r-- 1 jenkins jenkins 4875 Apr 18 15:05 README.md [2023-04-18T15:10:15.482Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 15:02 VERSION [2023-04-18T15:10:15.482Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:05 bin [2023-04-18T15:10:15.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:05 cmd [2023-04-18T15:10:15.482Z] -rw-r--r-- 1 jenkins jenkins 79184 Apr 18 15:09 coverage.out [2023-04-18T15:10:15.482Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 15:05 doc [2023-04-18T15:10:15.483Z] -rw-rw-r-- 1 jenkins jenkins 3687 Apr 18 15:05 go.mod [2023-04-18T15:10:15.483Z] -rw-rw-r-- 1 jenkins jenkins 46105 Apr 18 15:05 go.sum [2023-04-18T15:10:15.483Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:05 internal [2023-04-18T15:10:15.483Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:05 snap [2023-04-18T15:10:15.483Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 18 15:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:10:15.818Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a1952d58cc79031288275be91c62b396b9595faa --label arch=arm64 --label version=0.0.0 . [2023-04-18T15:10:16.793Z] Sending build context to Docker daemon 14.29MB [2023-04-18T15:10:16.793Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-04-18T15:10:16.793Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-18T15:10:16.793Z] ---> 4b98e532f10a [2023-04-18T15:10:16.793Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-18T15:10:16.793Z] ---> Running in fa8ca186eec0 [2023-04-18T15:10:17.756Z] Removing intermediate container fa8ca186eec0 [2023-04-18T15:10:17.756Z] ---> 2aa55b982ba5 [2023-04-18T15:10:17.756Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T15:10:18.025Z] ---> Running in bdbaced28646 [2023-04-18T15:10:18.293Z] Removing intermediate container bdbaced28646 [2023-04-18T15:10:18.293Z] ---> 9424cafef70d [2023-04-18T15:10:18.293Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-04-18T15:10:18.293Z] ---> Running in a37213802423 [2023-04-18T15:10:18.562Z] Removing intermediate container a37213802423 [2023-04-18T15:10:18.562Z] ---> bdeb18f92a53 [2023-04-18T15:10:18.562Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T15:10:18.831Z] ---> Running in afcdae1f105a [2023-04-18T15:10:19.100Z] Removing intermediate container afcdae1f105a [2023-04-18T15:10:19.100Z] ---> 63cbf50c5eb7 [2023-04-18T15:10:19.100Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-18T15:10:19.100Z] ---> Running in bff87e4b639a [2023-04-18T15:10:19.370Z] Removing intermediate container bff87e4b639a [2023-04-18T15:10:19.370Z] ---> f1776fcd6f2e [2023-04-18T15:10:19.370Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T15:10:19.644Z] ---> Running in 2d2c6dde5a93 [2023-04-18T15:10:21.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-18T15:10:22.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-04-18T15:10:23.146Z] OK: 221 MiB in 51 packages [2023-04-18T15:10:24.555Z] Removing intermediate container 2d2c6dde5a93 [2023-04-18T15:10:24.555Z] ---> 0b5a5eeb2834 [2023-04-18T15:10:24.555Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-18T15:10:24.555Z] ---> Running in 779fe5a947ad [2023-04-18T15:10:24.823Z] Removing intermediate container 779fe5a947ad [2023-04-18T15:10:24.824Z] ---> cd50461d64e1 [2023-04-18T15:10:24.824Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-18T15:10:28.180Z] ---> 66ac70ae46d6 [2023-04-18T15:10:28.180Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T15:10:28.180Z] ---> Running in dfeee5531c9d [2023-04-18T15:10:31.531Z] Removing intermediate container dfeee5531c9d [2023-04-18T15:10:31.531Z] ---> 594268769ab4 [2023-04-18T15:10:31.531Z] Step 12/26 : COPY . . [2023-04-18T15:10:32.952Z] ---> e97656865d97 [2023-04-18T15:10:32.952Z] Step 13/26 : RUN ${MAKE} [2023-04-18T15:10:32.952Z] ---> Running in a0175f1dc40f [2023-04-18T15:10:33.915Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-04-18T15:13:10.770Z] Removing intermediate container a0175f1dc40f [2023-04-18T15:13:10.770Z] ---> 76a236257f12 [2023-04-18T15:13:10.770Z] Step 14/26 : FROM alpine:3.16 [2023-04-18T15:13:10.770Z] 3.16: Pulling from library/alpine [2023-04-18T15:13:10.770Z] 547446be3368: Pulling fs layer [2023-04-18T15:13:10.770Z] 547446be3368: Verifying Checksum [2023-04-18T15:13:10.770Z] 547446be3368: Download complete [2023-04-18T15:13:10.770Z] 547446be3368: Pull complete [2023-04-18T15:13:10.770Z] Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f [2023-04-18T15:13:10.770Z] Status: Downloaded newer image for alpine:3.16 [2023-04-18T15:13:10.770Z] ---> 3b5033019969 [2023-04-18T15:13:10.770Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-18T15:13:10.770Z] ---> Running in 98578ca8b482 [2023-04-18T15:13:10.770Z] Removing intermediate container 98578ca8b482 [2023-04-18T15:13:10.770Z] ---> c283d7dd4679 [2023-04-18T15:13:10.770Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-04-18T15:13:10.770Z] ---> Running in 5db8d67afbaf [2023-04-18T15:13:10.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-18T15:13:10.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-04-18T15:13:10.770Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-04-18T15:13:10.770Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-04-18T15:13:10.770Z] (3/6) Installing libsodium (1.0.18-r0) [2023-04-18T15:13:10.770Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-04-18T15:13:10.770Z] (5/6) Installing libzmq (4.3.4-r0) [2023-04-18T15:13:10.770Z] (6/6) Installing zeromq (4.3.4-r0) [2023-04-18T15:13:10.770Z] Executing busybox-1.35.0-r17.trigger [2023-04-18T15:13:10.770Z] OK: 8 MiB in 20 packages [2023-04-18T15:13:10.770Z] Removing intermediate container 5db8d67afbaf [2023-04-18T15:13:10.770Z] ---> 9fe1f5961655 [2023-04-18T15:13:10.770Z] Step 17/26 : WORKDIR / [2023-04-18T15:13:10.770Z] ---> Running in 4ef33de836df [2023-04-18T15:13:10.770Z] Removing intermediate container 4ef33de836df [2023-04-18T15:13:10.770Z] ---> 0bc158083530 [2023-04-18T15:13:10.770Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-18T15:13:10.770Z] ---> d73c5f30ca4f [2023-04-18T15:13:10.770Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-18T15:13:10.770Z] ---> f5c191110418 [2023-04-18T15:13:10.770Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-18T15:13:10.770Z] ---> 9fb132ea3f94 [2023-04-18T15:13:10.770Z] Step 21/26 : EXPOSE 59984 [2023-04-18T15:13:10.770Z] ---> Running in f63cc62602c3 [2023-04-18T15:13:10.770Z] Removing intermediate container f63cc62602c3 [2023-04-18T15:13:10.770Z] ---> 4382d642ef91 [2023-04-18T15:13:10.770Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-18T15:13:10.770Z] ---> Running in e0b31ed040c2 [2023-04-18T15:13:10.770Z] Removing intermediate container e0b31ed040c2 [2023-04-18T15:13:10.770Z] ---> 55f3ece9c051 [2023-04-18T15:13:10.770Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-04-18T15:13:10.770Z] ---> Running in 2bacd29e8755 [2023-04-18T15:13:10.770Z] Removing intermediate container 2bacd29e8755 [2023-04-18T15:13:10.770Z] ---> 978e636d4664 [2023-04-18T15:13:10.770Z] Step 24/26 : LABEL arch=arm64 [2023-04-18T15:13:10.770Z] ---> Running in e5226d4a3388 [2023-04-18T15:13:10.770Z] Removing intermediate container e5226d4a3388 [2023-04-18T15:13:10.770Z] ---> 9736b916a108 [2023-04-18T15:13:10.770Z] Step 25/26 : LABEL git_sha=a1952d58cc79031288275be91c62b396b9595faa [2023-04-18T15:13:10.770Z] ---> Running in 15a6738ed3d4 [2023-04-18T15:13:10.770Z] Removing intermediate container 15a6738ed3d4 [2023-04-18T15:13:10.770Z] ---> a60d25068784 [2023-04-18T15:13:10.770Z] Step 26/26 : LABEL version=0.0.0 [2023-04-18T15:13:10.770Z] ---> Running in 311acccce0fb [2023-04-18T15:13:10.770Z] Removing intermediate container 311acccce0fb [2023-04-18T15:13:10.770Z] ---> dd6d4682862e [2023-04-18T15:13:10.770Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T15:13:10.770Z] Successfully built dd6d4682862e [2023-04-18T15:13:10.770Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:13:11.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T15:13:11.215Z] [2023-04-18T15:13:11.215Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:13:11.557Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T15:13:11.557Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T15:13:11.557Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T15:13:11.557Z] 04944245beec: Pulling fs layer [2023-04-18T15:13:11.557Z] 699f458cf7ca: Pulling fs layer [2023-04-18T15:13:11.557Z] 765212b225bb: Pulling fs layer [2023-04-18T15:13:11.557Z] f23df028b6ca: Pulling fs layer [2023-04-18T15:13:11.557Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T15:13:11.557Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T15:13:11.557Z] 765212b225bb: Waiting [2023-04-18T15:13:11.557Z] f23df028b6ca: Waiting [2023-04-18T15:13:11.557Z] d65c8cfc05b1: Waiting [2023-04-18T15:13:11.557Z] 2437ff75d9bd: Waiting [2023-04-18T15:13:11.848Z] 04944245beec: Verifying Checksum [2023-04-18T15:13:11.848Z] 04944245beec: Download complete [2023-04-18T15:13:11.848Z] 765212b225bb: Verifying Checksum [2023-04-18T15:13:11.848Z] 765212b225bb: Download complete [2023-04-18T15:13:11.848Z] f23df028b6ca: Verifying Checksum [2023-04-18T15:13:11.848Z] f23df028b6ca: Download complete [2023-04-18T15:13:11.848Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T15:13:11.848Z] d65c8cfc05b1: Download complete [2023-04-18T15:13:12.124Z] 699f458cf7ca: Verifying Checksum [2023-04-18T15:13:12.124Z] 699f458cf7ca: Download complete [2023-04-18T15:13:12.397Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T15:13:12.397Z] 8998bd30e6a1: Download complete [2023-04-18T15:13:15.001Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T15:13:15.001Z] 2437ff75d9bd: Download complete [2023-04-18T15:13:16.943Z] 8998bd30e6a1: Pull complete [2023-04-18T15:13:17.210Z] 04944245beec: Pull complete [2023-04-18T15:13:18.618Z] 699f458cf7ca: Pull complete [2023-04-18T15:13:18.618Z] 765212b225bb: Pull complete [2023-04-18T15:13:19.578Z] f23df028b6ca: Pull complete [2023-04-18T15:13:19.578Z] d65c8cfc05b1: Pull complete [2023-04-18T15:13:34.570Z] 2437ff75d9bd: Pull complete [2023-04-18T15:13:34.570Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T15:13:34.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T15:13:34.570Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:13:34.766Z] prd-ubuntu20.04-docker-arm64-4c-16g-8933 does not seem to be running inside a container [2023-04-18T15:13:34.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-18T15:13:37.481Z] $ docker top ed94885379d60e03723a56794c8fb425cd94bd328486b1d5df8166acf582aba8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:13:38.304Z] ---> job-cost.sh [2023-04-18T15:13:38.304Z] lf-activate-venv: SKIPPING [2023-04-18T15:13:38.304Z] INFO: No Stack... [2023-04-18T15:13:38.573Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T15:13:39.533Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T15:13:40.168Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-04-18T15:13:40.168Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T15:13:40.229Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] [2023-04-18T15:13:40.237Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] did not exist. Created. [2023-04-18T15:13:40.237Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T15:13:40.891Z] /w/workspace/device-onvif-camera/2@tmp/durable-49a442f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T15:13:41.537Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T15:13:41.561Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T15:13:41.615Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T15:13:41.626Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-304-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T15:13:41.639Z] $ docker stop --time=1 ed94885379d60e03723a56794c8fb425cd94bd328486b1d5df8166acf582aba8 [2023-04-18T15:13:43.141Z] $ docker rm -f --volumes ed94885379d60e03723a56794c8fb425cd94bd328486b1d5df8166acf582aba8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-18T15:13:43.583Z] provisioning config files... [2023-04-18T15:13:43.590Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-304@tmp/config15455829957930669200tmp [Pipeline] { [Pipeline] sh [2023-04-18T15:13:43.881Z] + set +x [2023-04-18T15:13:43.881Z] + curl -s https://codecov.io/bash [2023-04-18T15:13:43.881Z] + bash -s -- [2023-04-18T15:13:43.881Z] [2023-04-18T15:13:43.881Z] _____ _ [2023-04-18T15:13:43.881Z] / ____| | | [2023-04-18T15:13:43.881Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T15:13:43.881Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T15:13:43.881Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T15:13:43.881Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T15:13:43.881Z] Bash-1.0.6 [2023-04-18T15:13:43.881Z] [2023-04-18T15:13:43.881Z] [2023-04-18T15:13:43.881Z] ==> git version 2.25.1 found [2023-04-18T15:13:43.881Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-18T15:13:43.881Z] Release-Date: 2020-01-08 [2023-04-18T15:13:43.881Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-18T15:13:43.881Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T15:13:43.881Z] ==> Jenkins CI detected. [2023-04-18T15:13:43.881Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-304 [2023-04-18T15:13:43.881Z] project root: . [2023-04-18T15:13:43.881Z] --> token set from env [2023-04-18T15:13:43.881Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T15:13:43.881Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T15:13:43.881Z] ==> Python coveragepy not found [2023-04-18T15:13:43.881Z] ==> Searching for coverage reports in: [2023-04-18T15:13:43.881Z] + . [2023-04-18T15:13:43.881Z] -> Found 1 reports [2023-04-18T15:13:43.881Z] ==> Detecting git/mercurial file structure [2023-04-18T15:13:43.881Z] ==> Reading reports [2023-04-18T15:13:43.881Z] + ./coverage.out bytes=79184 [2023-04-18T15:13:43.881Z] ==> Appending adjustments [2023-04-18T15:13:43.881Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T15:13:44.139Z] + Found adjustments [2023-04-18T15:13:44.139Z] ==> Gzipping contents [2023-04-18T15:13:44.139Z] 12K /tmp/codecov.rbo0iJ.gz [2023-04-18T15:13:44.139Z] ==> Uploading reports [2023-04-18T15:13:44.139Z] url: https://codecov.io [2023-04-18T15:13:44.139Z] query: branch=PR-304&commit=a1952d58cc79031288275be91c62b396b9595faa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-304%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=304&job=&cmd_args= [2023-04-18T15:13:44.139Z] -> Pinging Codecov [2023-04-18T15:13:44.139Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-304&commit=a1952d58cc79031288275be91c62b396b9595faa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-304%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=304&job=&cmd_args= [2023-04-18T15:13:44.397Z] -> Uploading to [2023-04-18T15:13:44.397Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/F29A59C45E3A92E06B3E522C9905F8EF/a1952d58cc79031288275be91c62b396b9595faa/30ec6d20-317a-47f5-9a7a-09149041f089.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T151344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2af4da84e81f3bbf8ae587688b8f1df76e0ad03f6ad5083c36884695e3c5c89e [2023-04-18T15:13:44.397Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T15:13:44.397Z] Dload Upload Total Spent Left Speed [2023-04-18T15:13:44.656Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10894 0 0 100 10894 0 53930 --:--:-- --:--:-- --:--:-- 53665 100 10894 0 0 100 10894 0 49518 --:--:-- --:--:-- --:--:-- 49294 [2023-04-18T15:13:44.656Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/a1952d58cc79031288275be91c62b396b9595faa [Pipeline] } [2023-04-18T15:13:44.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-18T15:13:45.324Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-304/archives ] [2023-04-18T15:13:45.324Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-304/archives [2023-04-18T15:13:45.324Z] total 16 [2023-04-18T15:13:45.324Z] drwxr-xr-x 3 root root 4096 Apr 18 15:05 . [2023-04-18T15:13:45.324Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 15:05 .. [2023-04-18T15:13:45.324Z] drwxr-xr-x 2 root root 4096 Apr 18 15:05 cost [2023-04-18T15:13:45.324Z] -rw-r--r-- 1 root root 91 Apr 18 15:05 cost.csv [2023-04-18T15:13:45.324Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-304/archives [2023-04-18T15:13:45.324Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-304/archives [2023-04-18T15:13:45.324Z] total 16 [2023-04-18T15:13:45.324Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 15:05 . [2023-04-18T15:13:45.324Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 15:05 .. [2023-04-18T15:13:45.324Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 15:05 cost [2023-04-18T15:13:45.324Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 18 15:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:13:45.612Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:13:46.469Z] ---> package-listing.sh [2023-04-18T15:13:46.469Z] ++ facter osfamily [2023-04-18T15:13:46.469Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T15:13:46.728Z] + OS_FAMILY=debian [2023-04-18T15:13:46.728Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-304 [2023-04-18T15:13:46.728Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T15:13:46.728Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T15:13:46.728Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T15:13:46.728Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T15:13:46.728Z] + '[' /w/workspace/undry_device-onvif-camera_PR-304 ']' [2023-04-18T15:13:46.728Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T15:13:46.728Z] + case "${OS_FAMILY}" in [2023-04-18T15:13:46.728Z] + dpkg -l [2023-04-18T15:13:46.728Z] + grep '^ii' [2023-04-18T15:13:46.728Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T15:13:46.728Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T15:13:46.728Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T15:13:46.728Z] + '[' /w/workspace/undry_device-onvif-camera_PR-304 ']' [2023-04-18T15:13:46.728Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-304/archives/ [2023-04-18T15:13:46.728Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-304/archives/ [Pipeline] echo [2023-04-18T15:13:46.738Z] 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-304/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T15:13:47.013Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:13:47.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T15:13:47.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:13:47.638Z] prd-ubuntu20.04-docker-8c-8g-8930 does not seem to be running inside a container [2023-04-18T15:13:47.661Z] $ 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-304/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-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@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-18T15:13:47.932Z] $ docker top 236adf9b7567a5bf84b1e7a42bc6986508d4e6204e07b0adbe564277b73392a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:13:48.275Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T15:13:48.553Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T15:13:48.831Z] + ls /var/log/sa-host [2023-04-18T15:13:48.831Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T15:13:48.906Z] provisioning config files... [2023-04-18T15:13:48.913Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-304@tmp/config17110512378949442234tmp [Pipeline] { [Pipeline] echo [2023-04-18T15:13:48.922Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:13:49.199Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T15:13:49.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:13:49.529Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T15:13:49.535Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:13:49.815Z] ---> sudo-logs.sh [2023-04-18T15:13:49.815Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T15:13:49.845Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:13:50.127Z] ---> job-cost.sh [2023-04-18T15:13:50.127Z] lf-activate-venv: SKIPPING [2023-04-18T15:13:50.127Z] DEBUG: total: 0.2199999988079071 [2023-04-18T15:13:50.127Z] INFO: Retrieving Stack Cost... [2023-04-18T15:13:50.385Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T15:13:50.951Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T15:13:50.960Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:13:51.238Z] ---> logs-deploy.sh [2023-04-18T15:13:51.238Z] lf-activate-venv: SKIPPING [2023-04-18T15:13:51.238Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-304/2 [2023-04-18T15:13:51.238Z] INFO: archiving workspace using pattern(s): [2023-04-18T15:13:52.187Z] Archives upload complete. [2023-04-18T15:13:52.187Z] INFO: archiving logs to Nexus