Branch indexing 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 main at b3088f74b80dce78a876441a0c72d3538a65c555 rather than 9417a408ce0dd123d9b41ebb3d9d9592367da6ea Obtained Jenkinsfile from b3088f74b80dce78a876441a0c72d3538a65c555 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-ssh10877925370024634240.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-ssh13869546832152487598.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-305/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-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8020633087161763892.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-ssh2134050029170635693.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-305/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-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8225624164271674380.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8804 in /w/workspace/undry_device-onvif-camera_PR-305 [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-305 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b3088f74b80dce78a876441a0c72d3538a65c555 into PR head commit 9417a408ce0dd123d9b41ebb3d9d9592367da6ea Merge succeeded, producing 03319e75bd3f4f182eb79dbc4299c92653f30aac Checking out Revision 03319e75bd3f4f182eb79dbc4299c92653f30aac (PR-305) > git config core.sparsecheckout # timeout=10 > git checkout -f 9417a408ce0dd123d9b41ebb3d9d9592367da6ea # 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 b3088f74b80dce78a876441a0c72d3538a65c555 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03319e75bd3f4f182eb79dbc4299c92653f30aac # timeout=10 Commit message: "Merge commit 'b3088f74b80dce78a876441a0c72d3538a65c555' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T22:10:54.638Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T22:10:54.695Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T22:10:54.712Z] ========================================================= [2023-04-17T22:10:54.712Z] EdgeX Global Pipelines Version Info [2023-04-17T22:10:54.712Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T22:10:55.416Z] ------------------- [2023-04-17T22:10:55.416Z] stable info: [2023-04-17T22:10:55.416Z] ------------------- [2023-04-17T22:10:55.416Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T22:10:55.416Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T22:10:55.416Z] Message: update stable to v1.0.248 > git rev-list --no-walk 9c666929ac46b110a6b88e202ed2cf0095bee2c2 # timeout=10 [2023-04-17T22:10:55.989Z] ------------------- [2023-04-17T22:10:55.989Z] experimental info: [2023-04-17T22:10:55.989Z] ------------------- [2023-04-17T22:10:55.989Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T22:10:55.989Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T22:10:55.989Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T22:10:56.173Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-17T22:10:56.181Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-17T22:10:56.190Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T22:10:56.202Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T22:10:56.219Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T22:10:56.228Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T22:10:56.242Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T22:10:56.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T22:10:56.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T22:10:56.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T22:10:56.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T22:10:56.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-17T22:10:56.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T22:10:56.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T22:10:56.355Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T22:10:56.364Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T22:10:56.372Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T22:10:56.380Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T22:10:56.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T22:10:56.397Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T22:10:56.405Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-17T22:10:56.413Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-17T22:10:56.421Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T22:10:56.429Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T22:10:56.438Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T22:10:56.446Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T22:10:56.454Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T22:10:56.462Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo [2023-04-17T22:10:56.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo [2023-04-17T22:10:56.479Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo [2023-04-17T22:10:56.488Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03319e75bd3f4f182eb79dbc4299c92653f30aac [Pipeline] echo [2023-04-17T22:10:56.496Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03319e7 [Pipeline] echo [2023-04-17T22:10:56.504Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T22:10:56.546Z] provisioning config files... [2023-04-17T22:10:56.564Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config11763484543808122840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T22:10:56.866Z] ---> docker-login.sh [2023-04-17T22:10:56.866Z] nexus3.edgexfoundry.org:10001 [2023-04-17T22:10:57.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:10:57.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:10:57.128Z] Configure a credential helper to remove this warning. See [2023-04-17T22:10:57.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:10:57.128Z] [2023-04-17T22:10:57.128Z] Login Succeeded [2023-04-17T22:10:57.128Z] nexus3.edgexfoundry.org:10002 [2023-04-17T22:10:57.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:10:57.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:10:57.128Z] Configure a credential helper to remove this warning. See [2023-04-17T22:10:57.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:10:57.128Z] [2023-04-17T22:10:57.128Z] Login Succeeded [2023-04-17T22:10:57.128Z] nexus3.edgexfoundry.org:10003 [2023-04-17T22:10:57.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:10:57.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:10:57.387Z] Configure a credential helper to remove this warning. See [2023-04-17T22:10:57.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:10:57.388Z] [2023-04-17T22:10:57.388Z] Login Succeeded [2023-04-17T22:10:57.388Z] nexus3.edgexfoundry.org:10004 [2023-04-17T22:10:57.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:10:57.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:10:57.388Z] Configure a credential helper to remove this warning. See [2023-04-17T22:10:57.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:10:57.388Z] [2023-04-17T22:10:57.388Z] Login Succeeded [2023-04-17T22:10:57.388Z] docker.io [2023-04-17T22:10:57.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:10:57.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:10:57.647Z] Configure a credential helper to remove this warning. See [2023-04-17T22:10:57.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:10:57.647Z] [2023-04-17T22:10:57.647Z] Login Succeeded [2023-04-17T22:10:57.647Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T22:10:57.654Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T22:10:58.014Z] + git rev-list -1 --merges 03319e75bd3f4f182eb79dbc4299c92653f30aac~1..03319e75bd3f4f182eb79dbc4299c92653f30aac [Pipeline] echo [2023-04-17T22:10:58.056Z] -----------> git rev-list -1 --merges 03319e75bd3f4f182eb79dbc4299c92653f30aac~1..03319e75bd3f4f182eb79dbc4299c92653f30aac 03319e75bd3f4f182eb79dbc4299c92653f30aac [2023-04-17T22:10:58.056Z] 03319e75bd3f4f182eb79dbc4299c92653f30aac [false] [Pipeline] sh [2023-04-17T22:10:58.342Z] + git log --format=format:%s -1 03319e75bd3f4f182eb79dbc4299c92653f30aac [Pipeline] echo [2023-04-17T22:10:58.356Z] ========================================================= [2023-04-17T22:10:58.356Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T22:10:58.356Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T22:10:58.679Z] + git log --format=format:%s -1 03319e75bd3f4f182eb79dbc4299c92653f30aac [Pipeline] echo [2023-04-17T22:10:58.689Z] [semverPrep] GIT_COMMIT: 03319e75bd3f4f182eb79dbc4299c92653f30aac, Commit Message: Merge commit 'b3088f74b80dce78a876441a0c72d3538a65c555' into HEAD [Pipeline] echo [2023-04-17T22:10:58.697Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T22:10:59.043Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T22:10:59.043Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T22:10:59.043Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T22:10:59.043Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T22:10:59.043Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-17T22:10:59.043Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T22:10:59.043Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T22:10:59.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T22:10:59.383Z] [2023-04-17T22:10:59.383Z] 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-17T22:10:59.682Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T22:10:59.682Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T22:10:59.682Z] b85a868b505f: Pulling fs layer [2023-04-17T22:10:59.682Z] e2be974225ed: Pulling fs layer [2023-04-17T22:10:59.682Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T22:10:59.682Z] 988bab9f4d93: Pulling fs layer [2023-04-17T22:10:59.682Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T22:10:59.682Z] eaf3925da568: Pulling fs layer [2023-04-17T22:10:59.682Z] bab4dde63d76: Pulling fs layer [2023-04-17T22:10:59.682Z] bde34c3a00c8: Pulling fs layer [2023-04-17T22:10:59.682Z] b352a97aabf1: Pulling fs layer [2023-04-17T22:10:59.682Z] 4872d77fe225: Pulling fs layer [2023-04-17T22:10:59.682Z] 5851b861e8e6: Pulling fs layer [2023-04-17T22:10:59.682Z] 988bab9f4d93: Waiting [2023-04-17T22:10:59.682Z] 1469e6f7b9e6: Waiting [2023-04-17T22:10:59.682Z] eaf3925da568: Waiting [2023-04-17T22:10:59.682Z] bab4dde63d76: Waiting [2023-04-17T22:10:59.682Z] bde34c3a00c8: Waiting [2023-04-17T22:10:59.682Z] b352a97aabf1: Waiting [2023-04-17T22:10:59.682Z] 4872d77fe225: Waiting [2023-04-17T22:10:59.682Z] 5851b861e8e6: Waiting [2023-04-17T22:10:59.682Z] e2be974225ed: Verifying Checksum [2023-04-17T22:10:59.682Z] e2be974225ed: Download complete [2023-04-17T22:10:59.682Z] 988bab9f4d93: Verifying Checksum [2023-04-17T22:10:59.682Z] 988bab9f4d93: Download complete [2023-04-17T22:10:59.940Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T22:10:59.940Z] 1469e6f7b9e6: Download complete [2023-04-17T22:10:59.940Z] eaf3925da568: Verifying Checksum [2023-04-17T22:10:59.940Z] eaf3925da568: Download complete [2023-04-17T22:10:59.940Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T22:10:59.940Z] 339a4e72a1f5: Download complete [2023-04-17T22:10:59.940Z] bde34c3a00c8: Download complete [2023-04-17T22:10:59.940Z] b352a97aabf1: Download complete [2023-04-17T22:10:59.940Z] 4872d77fe225: Verifying Checksum [2023-04-17T22:10:59.940Z] 4872d77fe225: Download complete [2023-04-17T22:10:59.940Z] 5851b861e8e6: Verifying Checksum [2023-04-17T22:10:59.940Z] 5851b861e8e6: Download complete [2023-04-17T22:10:59.940Z] b85a868b505f: Verifying Checksum [2023-04-17T22:10:59.940Z] b85a868b505f: Download complete [2023-04-17T22:11:00.200Z] bab4dde63d76: Verifying Checksum [2023-04-17T22:11:00.200Z] bab4dde63d76: Download complete [2023-04-17T22:11:01.134Z] b85a868b505f: Pull complete [2023-04-17T22:11:01.395Z] e2be974225ed: Pull complete [2023-04-17T22:11:01.654Z] 339a4e72a1f5: Pull complete [2023-04-17T22:11:01.913Z] 988bab9f4d93: Pull complete [2023-04-17T22:11:02.171Z] 1469e6f7b9e6: Pull complete [2023-04-17T22:11:02.171Z] eaf3925da568: Pull complete [2023-04-17T22:11:04.104Z] bab4dde63d76: Pull complete [2023-04-17T22:11:04.104Z] bde34c3a00c8: Pull complete [2023-04-17T22:11:04.104Z] b352a97aabf1: Pull complete [2023-04-17T22:11:04.104Z] 4872d77fe225: Pull complete [2023-04-17T22:11:04.104Z] 5851b861e8e6: Pull complete [2023-04-17T22:11:04.104Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T22:11:04.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T22:11:04.365Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T22:11:04.466Z] prd-ubuntu20.04-docker-8c-8g-8804 does not seem to be running inside a container [2023-04-17T22:11:04.456Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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-17T22:11:06.917Z] $ docker top c428eb3939c385e79f01ede8590425dc18075711dec47af8b8532c4f79ec26bd -eo pid,comm [2023-04-17T22:11:07.008Z] 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-17T22:11:07.008Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T22:11:07.041Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T22:11:07.041Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T22:11:07.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T22:11:07.123Z] $ docker exec c428eb3939c385e79f01ede8590425dc18075711dec47af8b8532c4f79ec26bd ssh-agent [2023-04-17T22:11:07.258Z] SSH_AUTH_SOCK=/tmp/ssh-JRrHXLU9Dyjw/agent.32 [2023-04-17T22:11:07.258Z] SSH_AGENT_PID=38 [2023-04-17T22:11:07.265Z] Running ssh-add (command line suppressed) [2023-04-17T22:11:07.327Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_267792583299293578.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_267792583299293578.key) [2023-04-17T22:11:07.373Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T22:11:07.662Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T22:11:07.649Z] $ docker exec --env ******** --env ******** c428eb3939c385e79f01ede8590425dc18075711dec47af8b8532c4f79ec26bd ssh-agent -k [2023-04-17T22:11:07.739Z] unset SSH_AUTH_SOCK; [2023-04-17T22:11:07.739Z] unset SSH_AGENT_PID; [2023-04-17T22:11:07.740Z] echo Agent pid 38 killed; [2023-04-17T22:11:07.780Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T22:11:07.811Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T22:11:07.811Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T22:11:07.925Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T22:11:07.896Z] $ docker exec c428eb3939c385e79f01ede8590425dc18075711dec47af8b8532c4f79ec26bd ssh-agent [2023-04-17T22:11:08.031Z] SSH_AUTH_SOCK=/tmp/ssh-pYH7tAFzqVVo/agent.71 [2023-04-17T22:11:08.031Z] SSH_AGENT_PID=78 [2023-04-17T22:11:08.035Z] Running ssh-add (command line suppressed) [2023-04-17T22:11:08.099Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_4797764436652719551.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_4797764436652719551.key) [2023-04-17T22:11:08.142Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T22:11:08.430Z] + git semver init [2023-04-17T22:11:08.687Z] 2023-04-17 22:11:08,560 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T22:11:08.687Z] 2023-04-17 22:11:08,561 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-305/.semver [2023-04-17T22:11:08.687Z] 2023-04-17 22:11:08,561 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-305/.semver [2023-04-17T22:11:08.687Z] 2023-04-17 22:11:08,562 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-305/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-305, universal_newlines=False, shell=None, istream=None) [2023-04-17T22:11:09.628Z] 2023-04-17 22:11:09,472 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-305/.git/info/exclude [2023-04-17T22:11:09.628Z] 2023-04-17 22:11:09,473 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 with force:False [2023-04-17T22:11:09.628Z] 2023-04-17 22:11:09,473 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 [2023-04-17T22:11:09.628Z] 2023-04-17 22:11:09,477 [execute] INFO git cat-file --batch-check [2023-04-17T22:11:09.628Z] 2023-04-17 22:11:09,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-305/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T22:11:09.628Z] 2023-04-17 22:11:09,484 [execute] INFO git cat-file --batch [2023-04-17T22:11:09.628Z] 2023-04-17 22:11:09,484 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-305/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T22:11:09.628Z] 2023-04-17 22:11:09,490 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 [2023-04-17T22:11:09.628Z] 0.0.0 [Pipeline] } [2023-04-17T22:11:09.614Z] $ docker exec --env ******** --env ******** c428eb3939c385e79f01ede8590425dc18075711dec47af8b8532c4f79ec26bd ssh-agent -k [2023-04-17T22:11:09.721Z] unset SSH_AUTH_SOCK; [2023-04-17T22:11:09.722Z] unset SSH_AGENT_PID; [2023-04-17T22:11:09.722Z] echo Agent pid 78 killed; [2023-04-17T22:11:09.758Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T22:11:10.058Z] + git semver [Pipeline] } [2023-04-17T22:11:10.308Z] $ docker stop --time=1 c428eb3939c385e79f01ede8590425dc18075711dec47af8b8532c4f79ec26bd [2023-04-17T22:11:11.609Z] $ docker rm -f --volumes c428eb3939c385e79f01ede8590425dc18075711dec47af8b8532c4f79ec26bd [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T22:11:11.972Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T22:11:12.172Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T22:11:12.176Z] [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-17T22:11:12.289Z] provisioning config files... [2023-04-17T22:11:12.298Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config6441440698539286119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T22:11:12.596Z] ---> docker-login.sh [2023-04-17T22:11:12.596Z] nexus3.edgexfoundry.org:10001 [2023-04-17T22:11:12.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:11:12.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:11:12.596Z] Configure a credential helper to remove this warning. See [2023-04-17T22:11:12.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:11:12.596Z] [2023-04-17T22:11:12.596Z] Login Succeeded [2023-04-17T22:11:12.596Z] nexus3.edgexfoundry.org:10002 [2023-04-17T22:11:12.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:11:12.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:11:12.858Z] Configure a credential helper to remove this warning. See [2023-04-17T22:11:12.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:11:12.858Z] [2023-04-17T22:11:12.858Z] Login Succeeded [2023-04-17T22:11:12.858Z] nexus3.edgexfoundry.org:10003 [2023-04-17T22:11:12.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:11:12.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:11:12.858Z] Configure a credential helper to remove this warning. See [2023-04-17T22:11:12.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:11:12.858Z] [2023-04-17T22:11:12.858Z] Login Succeeded [2023-04-17T22:11:12.858Z] nexus3.edgexfoundry.org:10004 [2023-04-17T22:11:12.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:11:13.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:11:13.118Z] Configure a credential helper to remove this warning. See [2023-04-17T22:11:13.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:11:13.118Z] [2023-04-17T22:11:13.118Z] Login Succeeded [2023-04-17T22:11:13.118Z] docker.io [2023-04-17T22:11:13.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:11:13.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:11:13.378Z] Configure a credential helper to remove this warning. See [2023-04-17T22:11:13.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:11:13.378Z] [2023-04-17T22:11:13.378Z] Login Succeeded [2023-04-17T22:11:13.378Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T22:11:13.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T22:11:13.457Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T22:11:13.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T22:11:13.474Z] ========================================================= [2023-04-17T22:11:13.474Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T22:11:13.474Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T22:11:13.774Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T22:11:13.774Z] Sending build context to Docker daemon 21.46MB [2023-04-17T22:11:13.774Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T22:11:13.774Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-17T22:11:14.035Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T22:11:14.035Z] 63b65145d645: Pulling fs layer [2023-04-17T22:11:14.035Z] a2d21d5440eb: Pulling fs layer [2023-04-17T22:11:14.035Z] 935e6c44a52c: Pulling fs layer [2023-04-17T22:11:14.035Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T22:11:14.035Z] 30dea6a524f1: Pulling fs layer [2023-04-17T22:11:14.035Z] a2aff8979fd8: Pulling fs layer [2023-04-17T22:11:14.035Z] 6808be2612f2: Pulling fs layer [2023-04-17T22:11:14.035Z] f25807f1079a: Pulling fs layer [2023-04-17T22:11:14.035Z] 94cc34f8dd06: Waiting [2023-04-17T22:11:14.035Z] 30dea6a524f1: Waiting [2023-04-17T22:11:14.035Z] a2aff8979fd8: Waiting [2023-04-17T22:11:14.035Z] 6808be2612f2: Waiting [2023-04-17T22:11:14.035Z] f25807f1079a: Waiting [2023-04-17T22:11:14.035Z] a2d21d5440eb: Download complete [2023-04-17T22:11:14.036Z] 30dea6a524f1: Download complete [2023-04-17T22:11:14.036Z] 63b65145d645: Verifying Checksum [2023-04-17T22:11:14.036Z] 63b65145d645: Download complete [2023-04-17T22:11:14.036Z] a2aff8979fd8: Verifying Checksum [2023-04-17T22:11:14.036Z] a2aff8979fd8: Download complete [2023-04-17T22:11:14.036Z] 63b65145d645: Pull complete [2023-04-17T22:11:14.307Z] a2d21d5440eb: Pull complete [2023-04-17T22:11:14.307Z] f25807f1079a: Verifying Checksum [2023-04-17T22:11:14.307Z] f25807f1079a: Download complete [2023-04-17T22:11:14.568Z] 935e6c44a52c: Verifying Checksum [2023-04-17T22:11:14.568Z] 935e6c44a52c: Download complete [2023-04-17T22:11:14.825Z] 6808be2612f2: Verifying Checksum [2023-04-17T22:11:14.825Z] 6808be2612f2: Download complete [2023-04-17T22:11:18.104Z] 935e6c44a52c: Pull complete [2023-04-17T22:11:18.104Z] 94cc34f8dd06: Pull complete [2023-04-17T22:11:18.104Z] 30dea6a524f1: Pull complete [2023-04-17T22:11:18.104Z] a2aff8979fd8: Pull complete [2023-04-17T22:11:20.005Z] 6808be2612f2: Pull complete [2023-04-17T22:11:20.605Z] f25807f1079a: Pull complete [2023-04-17T22:11:20.605Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T22:11:20.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T22:11:20.605Z] ---> 3b553350e43f [2023-04-17T22:11:20.605Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-17T22:11:24.818Z] ---> Running in ec6c0650d1bd [2023-04-17T22:11:24.818Z] Removing intermediate container ec6c0650d1bd [2023-04-17T22:11:24.818Z] ---> 812baaa5ba21 [2023-04-17T22:11:24.818Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T22:11:24.818Z] ---> Running in bf9ee8fd291f [2023-04-17T22:11:24.818Z] Removing intermediate container bf9ee8fd291f [2023-04-17T22:11:24.818Z] ---> e96e6158cff9 [2023-04-17T22:11:24.818Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-17T22:11:24.818Z] ---> Running in 4aef0156cc2c [2023-04-17T22:11:24.818Z] Removing intermediate container 4aef0156cc2c [2023-04-17T22:11:24.818Z] ---> c4c4e1111058 [2023-04-17T22:11:24.818Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T22:11:24.818Z] ---> Running in c884ee98ff26 [2023-04-17T22:11:25.075Z] Removing intermediate container c884ee98ff26 [2023-04-17T22:11:25.075Z] ---> 35aa3548f7a0 [2023-04-17T22:11:25.075Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-17T22:11:25.075Z] ---> Running in a43061b4479f [2023-04-17T22:11:25.075Z] Removing intermediate container a43061b4479f [2023-04-17T22:11:25.075Z] ---> 76886434b1d6 [2023-04-17T22:11:25.075Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T22:11:25.075Z] ---> Running in 253474f06bbb [2023-04-17T22:11:25.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T22:11:25.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T22:11:25.592Z] OK: 265 MiB in 53 packages [2023-04-17T22:11:26.158Z] Removing intermediate container 253474f06bbb [2023-04-17T22:11:26.158Z] ---> 009130463377 [2023-04-17T22:11:26.158Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-17T22:11:26.158Z] ---> Running in 8e883d48fdcd [2023-04-17T22:11:26.158Z] Removing intermediate container 8e883d48fdcd [2023-04-17T22:11:26.158Z] ---> 6a2a3202919f [2023-04-17T22:11:26.158Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-17T22:11:26.158Z] ---> 7e4cc47d3750 [2023-04-17T22:11:26.158Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T22:11:26.158Z] ---> Running in 92d51f2b654e [2023-04-17T22:11:27.254Z] Still waiting to schedule task [2023-04-17T22:11:27.255Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-17T22:11:52.726Z] Removing intermediate container 92d51f2b654e [2023-04-17T22:11:52.726Z] ---> 94d069786e03 [2023-04-17T22:11:52.726Z] Step 12/13 : COPY . . [2023-04-17T22:11:52.726Z] ---> 8815f5133271 [2023-04-17T22:11:52.726Z] Step 13/13 : RUN ${MAKE} [2023-04-17T22:11:52.726Z] ---> Running in 9390dcd65d9b [2023-04-17T22:11:52.985Z] noop [2023-04-17T22:11:53.244Z] Removing intermediate container 9390dcd65d9b [2023-04-17T22:11:53.244Z] ---> 0b87c23aa449 [2023-04-17T22:11:53.244Z] Successfully built 0b87c23aa449 [2023-04-17T22:11:53.244Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T22:11:53.570Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T22:11:53.570Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T22:11:53.643Z] prd-ubuntu20.04-docker-8c-8g-8804 does not seem to be running inside a container [2023-04-17T22:11:53.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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-17T22:11:53.994Z] $ docker top b9ed0f0b8df28ba0d408c00583094ea6aa7fbcf225bebabe5b1894d529f2571e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T22:11:54.332Z] + go version [2023-04-17T22:11:54.332Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T22:11:54.339Z] $ docker stop --time=1 b9ed0f0b8df28ba0d408c00583094ea6aa7fbcf225bebabe5b1894d529f2571e [2023-04-17T22:11:55.596Z] $ docker rm -f --volumes b9ed0f0b8df28ba0d408c00583094ea6aa7fbcf225bebabe5b1894d529f2571e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T22:11:55.975Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T22:11:55.975Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T22:11:56.046Z] prd-ubuntu20.04-docker-8c-8g-8804 does not seem to be running inside a container [2023-04-17T22:11:56.069Z] $ 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-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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-17T22:11:56.390Z] $ docker top 3b17c8c7110d6985e606e52e06fec8a714ac3936376c09ca13bc5b46c60738b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T22:11:56.734Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] fileExists [Pipeline] sh [2023-04-17T22:11:57.029Z] + make test [2023-04-17T22:11:57.029Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T22:12:02.299Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-17T22:12:12.268Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-17T22:12:12.268Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-17T22:12:13.643Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.6% of statements [2023-04-17T22:12:13.900Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.282s coverage: 86.5% of statements [2023-04-17T22:12:22.010Z] go vet ./... [2023-04-17T22:12:25.292Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T22:12:25.292Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T22:12:25.292Z] ./bin/test-attribution-txt.sh [2023-04-17T22:12:25.292Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T22:12:25.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T22:12:25.324Z] $ docker stop --time=1 3b17c8c7110d6985e606e52e06fec8a714ac3936376c09ca13bc5b46c60738b9 [2023-04-17T22:12:29.171Z] $ docker rm -f --volumes 3b17c8c7110d6985e606e52e06fec8a714ac3936376c09ca13bc5b46c60738b9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T22:12:29.659Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T22:12:29.708Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-17T22:12:30.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T22:12:30.528Z] + ls -al . [2023-04-17T22:12:30.528Z] total 236 [2023-04-17T22:12:30.528Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 22:11 . [2023-04-17T22:12:30.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:10 .. [2023-04-17T22:12:30.528Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 22:11 .git [2023-04-17T22:12:30.528Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 22:10 .github [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 17 22:10 .gitignore [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 22:10 .golangci.yml [2023-04-17T22:12:30.528Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 22:11 .semver [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 9732 Apr 17 22:10 Attribution.txt [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 17 22:10 CHANGELOG.md [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 17 22:10 Dockerfile [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 22:10 GOVERNANCE.md [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 17 22:10 Jenkinsfile [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 17 22:10 LICENSE [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 17 22:10 Makefile [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 17 22:10 OWNERS.md [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 5462 Apr 17 22:10 README.md [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 22:11 VERSION [2023-04-17T22:12:30.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 22:10 bin [2023-04-17T22:12:30.528Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 22:10 cmd [2023-04-17T22:12:30.528Z] -rw-r--r-- 1 jenkins jenkins 78835 Apr 17 22:12 coverage.out [2023-04-17T22:12:30.528Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 22:10 doc [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 17 22:10 go.mod [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 33057 Apr 17 22:10 go.sum [2023-04-17T22:12:30.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:10 internal [2023-04-17T22:12:30.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:10 snap [2023-04-17T22:12:30.528Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 17 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T22:12:30.831Z] + 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=03319e75bd3f4f182eb79dbc4299c92653f30aac --label arch=amd64 --label version=0.0.0 . [2023-04-17T22:12:30.831Z] Sending build context to Docker daemon 21.54MB [2023-04-17T22:12:30.831Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T22:12:30.831Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-17T22:12:30.831Z] ---> 0b87c23aa449 [2023-04-17T22:12:30.831Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-17T22:12:31.398Z] ---> Running in 4f901c7fa4bc [2023-04-17T22:12:31.398Z] Removing intermediate container 4f901c7fa4bc [2023-04-17T22:12:31.398Z] ---> 988b232f08e1 [2023-04-17T22:12:31.398Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T22:12:31.398Z] ---> Running in dfad93877340 [2023-04-17T22:12:31.398Z] Removing intermediate container dfad93877340 [2023-04-17T22:12:31.398Z] ---> a6427d29d399 [2023-04-17T22:12:31.398Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-17T22:12:31.398Z] ---> Running in 0b6647b3b396 [2023-04-17T22:12:31.398Z] Removing intermediate container 0b6647b3b396 [2023-04-17T22:12:31.398Z] ---> c1119919b7af [2023-04-17T22:12:31.398Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T22:12:31.657Z] ---> Running in b491acb64aba [2023-04-17T22:12:31.657Z] Removing intermediate container b491acb64aba [2023-04-17T22:12:31.657Z] ---> 2f4f99ab61e6 [2023-04-17T22:12:31.657Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-17T22:12:31.657Z] ---> Running in 7484adebd82c [2023-04-17T22:12:31.657Z] Removing intermediate container 7484adebd82c [2023-04-17T22:12:31.657Z] ---> 30d2be1f64d0 [2023-04-17T22:12:31.657Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T22:12:31.657Z] ---> Running in 43014580947a [2023-04-17T22:12:31.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T22:12:32.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T22:12:32.434Z] OK: 265 MiB in 53 packages [2023-04-17T22:12:32.691Z] Removing intermediate container 43014580947a [2023-04-17T22:12:32.691Z] ---> 81eaf2ff6b3f [2023-04-17T22:12:32.691Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-17T22:12:32.691Z] ---> Running in 864bc1b99af5 [2023-04-17T22:12:32.950Z] Removing intermediate container 864bc1b99af5 [2023-04-17T22:12:32.950Z] ---> e3c96d1679d3 [2023-04-17T22:12:32.950Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-17T22:12:32.950Z] ---> 8742a815a682 [2023-04-17T22:12:32.950Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T22:12:32.950Z] ---> Running in 06861032d795 [2023-04-17T22:12:33.885Z] Removing intermediate container 06861032d795 [2023-04-17T22:12:33.885Z] ---> 7d8ab4e18e58 [2023-04-17T22:12:33.885Z] Step 12/26 : COPY . . [2023-04-17T22:12:34.818Z] ---> b12a2046fd2e [2023-04-17T22:12:34.818Z] Step 13/26 : RUN ${MAKE} [2023-04-17T22:12:34.818Z] ---> Running in e254b81322b8 [2023-04-17T22:12:34.818Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-17T22:12:56.743Z] Removing intermediate container e254b81322b8 [2023-04-17T22:12:56.743Z] ---> b802a0371b89 [2023-04-17T22:12:56.743Z] Step 14/26 : FROM alpine:3.17 [2023-04-17T22:12:56.743Z] 3.17: Pulling from library/alpine [2023-04-17T22:12:56.743Z] f56be85fc22e: Pulling fs layer [2023-04-17T22:12:56.743Z] f56be85fc22e: Verifying Checksum [2023-04-17T22:12:56.743Z] f56be85fc22e: Pull complete [2023-04-17T22:12:56.743Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T22:12:56.743Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T22:12:56.743Z] ---> 9ed4aefc74f6 [2023-04-17T22:12:56.743Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-17T22:12:56.743Z] ---> Running in d03ea6e716f8 [2023-04-17T22:12:56.743Z] Removing intermediate container d03ea6e716f8 [2023-04-17T22:12:56.743Z] ---> 68cf996e410c [2023-04-17T22:12:56.743Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-17T22:12:56.743Z] ---> Running in 79b7e5ff4e33 [2023-04-17T22:12:56.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T22:12:56.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T22:12:56.743Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T22:12:56.743Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T22:12:56.743Z] OK: 7 MiB in 16 packages [2023-04-17T22:12:57.001Z] Removing intermediate container 79b7e5ff4e33 [2023-04-17T22:12:57.001Z] ---> aba48852bcbd [2023-04-17T22:12:57.001Z] Step 17/26 : WORKDIR / [2023-04-17T22:12:57.001Z] ---> Running in 9a844ee63790 [2023-04-17T22:12:57.001Z] Removing intermediate container 9a844ee63790 [2023-04-17T22:12:57.001Z] ---> b983c4cd1f00 [2023-04-17T22:12:57.001Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-17T22:12:57.992Z] ---> 159cfd689b5e [2023-04-17T22:12:57.992Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-17T22:12:57.992Z] ---> 1481a196724c [2023-04-17T22:12:57.992Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-17T22:12:57.992Z] ---> 25109871d2a0 [2023-04-17T22:12:57.992Z] Step 21/26 : EXPOSE 59984 [2023-04-17T22:12:57.992Z] ---> Running in 7a7ab6b556d1 [2023-04-17T22:12:57.992Z] Removing intermediate container 7a7ab6b556d1 [2023-04-17T22:12:57.992Z] ---> cae8cf4c3593 [2023-04-17T22:12:57.992Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-17T22:12:57.992Z] ---> Running in c6fc18e06b30 [2023-04-17T22:12:58.249Z] Removing intermediate container c6fc18e06b30 [2023-04-17T22:12:58.250Z] ---> 5426cff182bb [2023-04-17T22:12:58.250Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-17T22:12:58.250Z] ---> Running in 9fa72b81caac [2023-04-17T22:12:58.250Z] Removing intermediate container 9fa72b81caac [2023-04-17T22:12:58.250Z] ---> b7f4e14e2784 [2023-04-17T22:12:58.250Z] Step 24/26 : LABEL arch=amd64 [2023-04-17T22:12:58.250Z] ---> Running in d4add9ab4a9c [2023-04-17T22:12:58.250Z] Removing intermediate container d4add9ab4a9c [2023-04-17T22:12:58.250Z] ---> 9afc3c4929bd [2023-04-17T22:12:58.250Z] Step 25/26 : LABEL git_sha=03319e75bd3f4f182eb79dbc4299c92653f30aac [2023-04-17T22:12:58.250Z] ---> Running in 2b96b389dce2 [2023-04-17T22:12:58.508Z] Removing intermediate container 2b96b389dce2 [2023-04-17T22:12:58.508Z] ---> 53406161f54d [2023-04-17T22:12:58.508Z] Step 26/26 : LABEL version=0.0.0 [2023-04-17T22:12:58.508Z] ---> Running in 4f801494e7fc [2023-04-17T22:12:58.508Z] Removing intermediate container 4f801494e7fc [2023-04-17T22:12:58.508Z] ---> 7e6ca6020b30 [2023-04-17T22:12:58.508Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T22:12:58.508Z] Successfully built 7e6ca6020b30 [2023-04-17T22:12:58.508Z] 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-17T22:12:58.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T22:12:58.952Z] [2023-04-17T22:12:58.952Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T22:12:59.245Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T22:12:59.245Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T22:12:59.245Z] 5eb5b503b376: Pulling fs layer [2023-04-17T22:12:59.245Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T22:12:59.245Z] ec43610c2a17: Pulling fs layer [2023-04-17T22:12:59.245Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T22:12:59.245Z] 33b1e0a273af: Pulling fs layer [2023-04-17T22:12:59.245Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T22:12:59.245Z] 2f39f015ded8: Pulling fs layer [2023-04-17T22:12:59.245Z] 33b1e0a273af: Waiting [2023-04-17T22:12:59.245Z] 5d3b04190fa2: Waiting [2023-04-17T22:12:59.245Z] 3a2ae6a8a46f: Waiting [2023-04-17T22:12:59.245Z] 2f39f015ded8: Waiting [2023-04-17T22:12:59.245Z] 5c69ac0246d0: Verifying Checksum [2023-04-17T22:12:59.245Z] 5c69ac0246d0: Download complete [2023-04-17T22:12:59.245Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-17T22:12:59.245Z] 3a2ae6a8a46f: Download complete [2023-04-17T22:12:59.245Z] 33b1e0a273af: Verifying Checksum [2023-04-17T22:12:59.245Z] 33b1e0a273af: Download complete [2023-04-17T22:12:59.245Z] ec43610c2a17: Verifying Checksum [2023-04-17T22:12:59.245Z] ec43610c2a17: Download complete [2023-04-17T22:12:59.245Z] 5d3b04190fa2: Verifying Checksum [2023-04-17T22:12:59.245Z] 5d3b04190fa2: Download complete [2023-04-17T22:12:59.503Z] 5eb5b503b376: Verifying Checksum [2023-04-17T22:12:59.503Z] 5eb5b503b376: Download complete [2023-04-17T22:13:00.070Z] 2f39f015ded8: Download complete [2023-04-17T22:13:00.635Z] 5eb5b503b376: Pull complete [2023-04-17T22:13:00.893Z] 5c69ac0246d0: Pull complete [2023-04-17T22:13:01.152Z] ec43610c2a17: Pull complete [2023-04-17T22:13:01.152Z] 3a2ae6a8a46f: Pull complete [2023-04-17T22:13:01.411Z] 33b1e0a273af: Pull complete [2023-04-17T22:13:01.411Z] 5d3b04190fa2: Pull complete [2023-04-17T22:13:05.594Z] 2f39f015ded8: Pull complete [2023-04-17T22:13:05.594Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T22:13:05.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T22:13:05.594Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T22:13:05.669Z] prd-ubuntu20.04-docker-8c-8g-8804 does not seem to be running inside a container [2023-04-17T22:13:05.705Z] $ 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-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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-17T22:13:09.015Z] $ docker top 56f5efdba764fd4df85073c73b595e492d4e04c1e1dc12f960bfafe22534af86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T22:13:09.377Z] ---> job-cost.sh [2023-04-17T22:13:09.377Z] lf-activate-venv: SKIPPING [2023-04-17T22:13:09.377Z] INFO: No Stack... [2023-04-17T22:13:09.637Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T22:13:09.896Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T22:13:10.188Z] + cat /w/workspace/undry_device-onvif-camera_PR-305/archives/cost.csv [2023-04-17T22:13:10.188Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T22:13:10.203Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-2-stack-cost] [2023-04-17T22:13:10.215Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-2-stack-cost] did not exist. Created. [2023-04-17T22:13:10.215Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T22:13:10.521Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T22:13:10.558Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T22:13:10.565Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T22:13:10.594Z] $ docker stop --time=1 56f5efdba764fd4df85073c73b595e492d4e04c1e1dc12f960bfafe22534af86 [2023-04-17T22:13:11.744Z] $ docker rm -f --volumes 56f5efdba764fd4df85073c73b595e492d4e04c1e1dc12f960bfafe22534af86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T22:13:48.120Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8807 in /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] { [Pipeline] ws [2023-04-17T22:13:48.132Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-04-17T22:13:48.167Z] The recommended git tool is: git [2023-04-17T22:13:53.469Z] using credential edgex-jenkins-ssh [2023-04-17T22:13:53.483Z] Cloning the remote Git repository [2023-04-17T22:13:53.527Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-17T22:13:53.617Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-04-17T22:13:53.747Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-17T22:13:53.748Z] > git --version # timeout=10 [2023-04-17T22:13:53.768Z] > git --version # 'git version 2.25.1' [2023-04-17T22:13:53.770Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T22:13:53.909Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T22:13:55.360Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-17T22:13:55.378Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T22:13:56.854Z] Merging remotes/origin/main commit b3088f74b80dce78a876441a0c72d3538a65c555 into PR head commit 9417a408ce0dd123d9b41ebb3d9d9592367da6ea [2023-04-17T22:13:56.171Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-17T22:13:56.222Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-17T22:13:56.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T22:13:56.238Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-17T22:13:56.876Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T22:13:56.954Z] > git checkout -f 9417a408ce0dd123d9b41ebb3d9d9592367da6ea # timeout=10 [2023-04-17T22:13:57.476Z] Merge succeeded, producing 2fe4024c4462f94174de9a249616962efb0eb08a [2023-04-17T22:13:57.477Z] Checking out Revision 2fe4024c4462f94174de9a249616962efb0eb08a (PR-305) [2023-04-17T22:13:57.126Z] > git remote # timeout=10 [2023-04-17T22:13:57.152Z] > git config --get remote.origin.url # timeout=10 [2023-04-17T22:13:57.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T22:13:57.180Z] > git merge b3088f74b80dce78a876441a0c72d3538a65c555 # timeout=10 [2023-04-17T22:13:57.462Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-17T22:13:57.485Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T22:13:57.513Z] > git checkout -f 2fe4024c4462f94174de9a249616962efb0eb08a # timeout=10 [2023-04-17T22:14:01.090Z] Commit message: "Merge commit 'b3088f74b80dce78a876441a0c72d3538a65c555' into HEAD" [2023-04-17T22:14:01.114Z] First time build. Skipping changelog. [2023-04-17T22:14:01.100Z] > git rev-list --no-walk 9c666929ac46b110a6b88e202ed2cf0095bee2c2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T22:14:01.996Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T22:14:01.996Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T22:14:01.996Z] Dload Upload Total Spent Left Speed [2023-04-17T22:14:01.996Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-04-17T22:14:02.751Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T22:14:03.076Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-17T22:14:03.076Z] + sudo tee /etc/docker/daemon.new [2023-04-17T22:14:08.430Z] { [2023-04-17T22:14:08.430Z] "registry-mirrors": [ [2023-04-17T22:14:08.430Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T22:14:08.430Z] ], [2023-04-17T22:14:08.430Z] "bip": "10.250.0.254/24", [2023-04-17T22:14:08.430Z] "hosts": [ [2023-04-17T22:14:08.430Z] "tcp://0.0.0.0:5555", [2023-04-17T22:14:08.430Z] "unix:///var/run/docker.sock" [2023-04-17T22:14:08.430Z] ], [2023-04-17T22:14:08.430Z] "mtu": 1458, [2023-04-17T22:14:08.430Z] "selinux-enabled": true, [2023-04-17T22:14:08.430Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T22:14:08.430Z] } [Pipeline] sh [2023-04-17T22:14:08.760Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T22:14:09.087Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T22:14:27.340Z] provisioning config files... [2023-04-17T22:14:27.367Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config5632033394655714659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T22:14:27.717Z] ---> docker-login.sh [2023-04-17T22:14:27.718Z] nexus3.edgexfoundry.org:10001 [2023-04-17T22:14:27.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:14:28.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:14:28.265Z] Configure a credential helper to remove this warning. See [2023-04-17T22:14:28.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:14:28.265Z] [2023-04-17T22:14:28.265Z] Login Succeeded [2023-04-17T22:14:28.265Z] nexus3.edgexfoundry.org:10002 [2023-04-17T22:14:28.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:14:28.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:14:28.816Z] Configure a credential helper to remove this warning. See [2023-04-17T22:14:28.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:14:28.816Z] [2023-04-17T22:14:28.816Z] Login Succeeded [2023-04-17T22:14:28.816Z] nexus3.edgexfoundry.org:10003 [2023-04-17T22:14:28.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:14:29.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:14:29.090Z] Configure a credential helper to remove this warning. See [2023-04-17T22:14:29.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:14:29.090Z] [2023-04-17T22:14:29.090Z] Login Succeeded [2023-04-17T22:14:29.090Z] nexus3.edgexfoundry.org:10004 [2023-04-17T22:14:29.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:14:29.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:14:29.359Z] Configure a credential helper to remove this warning. See [2023-04-17T22:14:29.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:14:29.359Z] [2023-04-17T22:14:29.359Z] Login Succeeded [2023-04-17T22:14:29.359Z] docker.io [2023-04-17T22:14:29.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T22:14:29.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T22:14:29.899Z] Configure a credential helper to remove this warning. See [2023-04-17T22:14:29.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T22:14:29.899Z] [2023-04-17T22:14:29.899Z] Login Succeeded [2023-04-17T22:14:29.899Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T22:14:29.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T22:14:30.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T22:14:30.201Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T22:14:30.213Z] ========================================================= [2023-04-17T22:14:30.213Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T22:14:30.213Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T22:14:30.556Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T22:14:31.148Z] Sending build context to Docker daemon 14.19MB [2023-04-17T22:14:31.148Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T22:14:31.148Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-17T22:14:31.148Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T22:14:31.148Z] af6eaf76a39c: Pulling fs layer [2023-04-17T22:14:31.148Z] 55522c791124: Pulling fs layer [2023-04-17T22:14:31.148Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T22:14:31.148Z] 169dfbe0d373: Pulling fs layer [2023-04-17T22:14:31.148Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T22:14:31.148Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T22:14:31.148Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T22:14:31.148Z] 169dfbe0d373: Waiting [2023-04-17T22:14:31.148Z] e1ff8fa3b103: Waiting [2023-04-17T22:14:31.148Z] 52ebb69f0ebf: Waiting [2023-04-17T22:14:31.148Z] 5abe8eddf0d5: Waiting [2023-04-17T22:14:31.420Z] 55522c791124: Download complete [2023-04-17T22:14:31.420Z] 169dfbe0d373: Verifying Checksum [2023-04-17T22:14:31.420Z] 169dfbe0d373: Download complete [2023-04-17T22:14:31.420Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T22:14:31.420Z] e1ff8fa3b103: Download complete [2023-04-17T22:14:31.420Z] af6eaf76a39c: Verifying Checksum [2023-04-17T22:14:31.420Z] af6eaf76a39c: Download complete [2023-04-17T22:14:32.393Z] af6eaf76a39c: Pull complete [2023-04-17T22:14:32.393Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T22:14:32.393Z] 5abe8eddf0d5: Download complete [2023-04-17T22:14:32.983Z] 55522c791124: Pull complete [2023-04-17T22:14:33.956Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T22:14:33.956Z] ce5c4a1c91eb: Download complete [2023-04-17T22:14:33.956Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T22:14:33.956Z] 52ebb69f0ebf: Download complete [2023-04-17T22:14:46.302Z] ce5c4a1c91eb: Pull complete [2023-04-17T22:14:46.302Z] 169dfbe0d373: Pull complete [2023-04-17T22:14:46.302Z] e1ff8fa3b103: Pull complete [2023-04-17T22:14:53.056Z] 52ebb69f0ebf: Pull complete [2023-04-17T22:14:55.009Z] 5abe8eddf0d5: Pull complete [2023-04-17T22:14:55.009Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T22:14:55.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T22:14:55.009Z] ---> 6cb57ee374ae [2023-04-17T22:14:55.009Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-17T22:14:56.955Z] ---> Running in 294da222d51b [2023-04-17T22:14:57.223Z] Removing intermediate container 294da222d51b [2023-04-17T22:14:57.223Z] ---> cc2ceb4e7b78 [2023-04-17T22:14:57.223Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T22:14:57.223Z] ---> Running in 262034e903a8 [2023-04-17T22:14:57.494Z] Removing intermediate container 262034e903a8 [2023-04-17T22:14:57.494Z] ---> 6c09971d4b7f [2023-04-17T22:14:57.494Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-17T22:14:57.761Z] ---> Running in c411f1346bc9 [2023-04-17T22:14:58.032Z] Removing intermediate container c411f1346bc9 [2023-04-17T22:14:58.032Z] ---> da6a4127c83e [2023-04-17T22:14:58.032Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T22:14:58.032Z] ---> Running in 0824b59ebeab [2023-04-17T22:14:58.302Z] Removing intermediate container 0824b59ebeab [2023-04-17T22:14:58.302Z] ---> 3c24f2d09bb1 [2023-04-17T22:14:58.302Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-17T22:14:58.576Z] ---> Running in bce669432063 [2023-04-17T22:14:58.845Z] Removing intermediate container bce669432063 [2023-04-17T22:14:58.845Z] ---> 554225298d11 [2023-04-17T22:14:58.845Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T22:14:58.845Z] ---> Running in f22d8f11c978 [2023-04-17T22:15:00.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T22:15:00.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T22:15:01.534Z] OK: 263 MiB in 53 packages [2023-04-17T22:15:02.497Z] Removing intermediate container f22d8f11c978 [2023-04-17T22:15:02.497Z] ---> 019bfb0774ab [2023-04-17T22:15:02.497Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-17T22:15:02.765Z] ---> Running in 213751545bf8 [2023-04-17T22:15:03.032Z] Removing intermediate container 213751545bf8 [2023-04-17T22:15:03.032Z] ---> ca7c93429c17 [2023-04-17T22:15:03.032Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-17T22:15:03.617Z] ---> 8d70c67411f6 [2023-04-17T22:15:03.617Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T22:15:03.617Z] ---> Running in f15a980529c6 [2023-04-17T22:16:11.516Z] Removing intermediate container f15a980529c6 [2023-04-17T22:16:11.516Z] ---> f69b3dfe4527 [2023-04-17T22:16:11.516Z] Step 12/13 : COPY . . [2023-04-17T22:16:11.516Z] ---> 4180703b42b6 [2023-04-17T22:16:11.516Z] Step 13/13 : RUN ${MAKE} [2023-04-17T22:16:11.516Z] ---> Running in 49d40aa3b623 [2023-04-17T22:16:12.112Z] noop [2023-04-17T22:16:14.700Z] Removing intermediate container 49d40aa3b623 [2023-04-17T22:16:14.700Z] ---> 8c0e7b316440 [2023-04-17T22:16:14.700Z] Successfully built 8c0e7b316440 [2023-04-17T22:16:14.700Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T22:16:15.065Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T22:16:15.065Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T22:16:15.252Z] prd-ubuntu20.04-docker-arm64-4c-16g-8807 does not seem to be running inside a container [2023-04-17T22:16:15.318Z] $ 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-17T22:16:16.594Z] $ docker top bb4d88adaa69eed78cd2f4e5b0a59e8e32fef57eb67816aecd4a4e603f014715 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T22:16:17.441Z] + go version [2023-04-17T22:16:17.441Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T22:16:17.460Z] $ docker stop --time=1 bb4d88adaa69eed78cd2f4e5b0a59e8e32fef57eb67816aecd4a4e603f014715 [2023-04-17T22:16:19.126Z] $ docker rm -f --volumes bb4d88adaa69eed78cd2f4e5b0a59e8e32fef57eb67816aecd4a4e603f014715 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T22:16:19.667Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T22:16:19.667Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T22:16:19.874Z] prd-ubuntu20.04-docker-arm64-4c-16g-8807 does not seem to be running inside a container [2023-04-17T22:16:19.965Z] $ 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-17T22:16:21.232Z] $ docker top 4a464a3c311f0eadc521e52eecb9efa4fe7b3555858e35ea64350c6d8aea1e2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T22:16:22.086Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-04-17T22:16:22.746Z] + make test [2023-04-17T22:16:22.746Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T22:17:01.657Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-17T22:19:38.731Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-17T22:19:38.731Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-17T22:19:38.731Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.246s coverage: 31.6% of statements [2023-04-17T22:20:05.483Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.660s coverage: 86.5% of statements [2023-04-17T22:20:05.483Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-17T22:20:05.483Z] go vet ./... [2023-04-17T22:20:37.732Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T22:20:37.732Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T22:20:37.732Z] ./bin/test-attribution-txt.sh [2023-04-17T22:20:37.732Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T22:20:37.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T22:20:37.768Z] $ docker stop --time=1 4a464a3c311f0eadc521e52eecb9efa4fe7b3555858e35ea64350c6d8aea1e2a [2023-04-17T22:20:39.637Z] $ docker rm -f --volumes 4a464a3c311f0eadc521e52eecb9efa4fe7b3555858e35ea64350c6d8aea1e2a [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T22:20:40.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T22:20:40.816Z] Warning: overwriting stash ‘coverage-report’ [2023-04-17T22:20:41.329Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T22:20:41.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T22:20:42.039Z] + ls -al . [2023-04-17T22:20:42.039Z] total 232 [2023-04-17T22:20:42.039Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 22:16 . [2023-04-17T22:20:42.039Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:13 .. [2023-04-17T22:20:42.039Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 22:13 .git [2023-04-17T22:20:42.039Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 22:13 .github [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 17 22:13 .gitignore [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 22:13 .golangci.yml [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 9732 Apr 17 22:13 Attribution.txt [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 17 22:13 CHANGELOG.md [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 17 22:13 Dockerfile [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 22:13 GOVERNANCE.md [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 17 22:13 Jenkinsfile [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 17 22:13 LICENSE [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 17 22:13 Makefile [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 17 22:13 OWNERS.md [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 5462 Apr 17 22:13 README.md [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 22:11 VERSION [2023-04-17T22:20:42.039Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 22:13 bin [2023-04-17T22:20:42.039Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 22:13 cmd [2023-04-17T22:20:42.039Z] -rw-r--r-- 1 jenkins jenkins 78835 Apr 17 22:20 coverage.out [2023-04-17T22:20:42.039Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 22:13 doc [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 17 22:13 go.mod [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 33057 Apr 17 22:13 go.sum [2023-04-17T22:20:42.039Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:13 internal [2023-04-17T22:20:42.039Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:13 snap [2023-04-17T22:20:42.039Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 17 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T22:20:42.373Z] + 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=2fe4024c4462f94174de9a249616962efb0eb08a --label arch=arm64 --label version=0.0.0 . [2023-04-17T22:20:42.956Z] Sending build context to Docker daemon 14.27MB [2023-04-17T22:20:42.956Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T22:20:42.956Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-17T22:20:42.956Z] ---> 8c0e7b316440 [2023-04-17T22:20:42.956Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-17T22:20:42.956Z] ---> Running in 98107175860c [2023-04-17T22:20:43.225Z] Removing intermediate container 98107175860c [2023-04-17T22:20:43.225Z] ---> e472c564bd6d [2023-04-17T22:20:43.225Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T22:20:43.493Z] ---> Running in baf7a6522dae [2023-04-17T22:20:43.763Z] Removing intermediate container baf7a6522dae [2023-04-17T22:20:43.763Z] ---> 81aacdd26ee4 [2023-04-17T22:20:43.763Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-17T22:20:43.763Z] ---> Running in 57c1883cba40 [2023-04-17T22:20:44.031Z] Removing intermediate container 57c1883cba40 [2023-04-17T22:20:44.031Z] ---> 0b0e5a399e6a [2023-04-17T22:20:44.031Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T22:20:44.031Z] ---> Running in 076c8a1ddb5e [2023-04-17T22:20:44.298Z] Removing intermediate container 076c8a1ddb5e [2023-04-17T22:20:44.298Z] ---> 4e21637ea3e0 [2023-04-17T22:20:44.298Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-17T22:20:44.298Z] ---> Running in ca215c4d2588 [2023-04-17T22:20:44.565Z] Removing intermediate container ca215c4d2588 [2023-04-17T22:20:44.565Z] ---> bfd5ee3fc6cd [2023-04-17T22:20:44.565Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T22:20:44.832Z] ---> Running in 77a3bc2e40b1 [2023-04-17T22:20:45.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T22:20:46.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T22:20:47.728Z] OK: 263 MiB in 53 packages [2023-04-17T22:20:48.693Z] Removing intermediate container 77a3bc2e40b1 [2023-04-17T22:20:48.693Z] ---> b8f54aa7ab40 [2023-04-17T22:20:48.693Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-17T22:20:48.693Z] ---> Running in 81c6411dbf3d [2023-04-17T22:20:49.279Z] Removing intermediate container 81c6411dbf3d [2023-04-17T22:20:49.279Z] ---> d17aa84aa11a [2023-04-17T22:20:49.279Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-17T22:20:49.547Z] ---> 68055e7e4ce2 [2023-04-17T22:20:49.547Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T22:20:49.815Z] ---> Running in 05dd1d1a6d01 [2023-04-17T22:20:52.395Z] Removing intermediate container 05dd1d1a6d01 [2023-04-17T22:20:52.395Z] ---> 3fe836b9a1ac [2023-04-17T22:20:52.395Z] Step 12/26 : COPY . . [2023-04-17T22:20:54.977Z] ---> 9029d8009ecd [2023-04-17T22:20:54.977Z] Step 13/26 : RUN ${MAKE} [2023-04-17T22:20:55.248Z] ---> Running in eda1f7dd179f [2023-04-17T22:20:56.208Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-17T22:23:17.909Z] Removing intermediate container eda1f7dd179f [2023-04-17T22:23:17.909Z] ---> bb6e788400fc [2023-04-17T22:23:17.909Z] Step 14/26 : FROM alpine:3.17 [2023-04-17T22:23:17.909Z] 3.17: Pulling from library/alpine [2023-04-17T22:23:17.909Z] c41833b44d91: Pulling fs layer [2023-04-17T22:23:17.909Z] c41833b44d91: Verifying Checksum [2023-04-17T22:23:17.909Z] c41833b44d91: Download complete [2023-04-17T22:23:17.909Z] c41833b44d91: Pull complete [2023-04-17T22:23:17.909Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T22:23:17.909Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T22:23:17.909Z] ---> 51e60588ff2c [2023-04-17T22:23:17.909Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-17T22:23:17.909Z] ---> Running in 4d3ceda00bd7 [2023-04-17T22:23:17.909Z] Removing intermediate container 4d3ceda00bd7 [2023-04-17T22:23:17.909Z] ---> 50fb821bf120 [2023-04-17T22:23:17.909Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-17T22:23:17.909Z] ---> Running in 904e08cc8fd6 [2023-04-17T22:23:17.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T22:23:17.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T22:23:17.909Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T22:23:17.909Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T22:23:17.909Z] OK: 8 MiB in 16 packages [2023-04-17T22:23:17.909Z] Removing intermediate container 904e08cc8fd6 [2023-04-17T22:23:17.909Z] ---> ef2ff31852e8 [2023-04-17T22:23:17.909Z] Step 17/26 : WORKDIR / [2023-04-17T22:23:17.909Z] ---> Running in f1711cb21359 [2023-04-17T22:23:17.909Z] Removing intermediate container f1711cb21359 [2023-04-17T22:23:17.909Z] ---> 50086efc932f [2023-04-17T22:23:17.909Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-17T22:23:19.317Z] ---> cb24c88f6c6c [2023-04-17T22:23:19.317Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-17T22:23:19.911Z] ---> ccc7ee612b2f [2023-04-17T22:23:19.911Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-17T22:23:20.179Z] ---> 7c24e720e9de [2023-04-17T22:23:20.179Z] Step 21/26 : EXPOSE 59984 [2023-04-17T22:23:20.446Z] ---> Running in 90b21fb911da [2023-04-17T22:23:20.715Z] Removing intermediate container 90b21fb911da [2023-04-17T22:23:20.715Z] ---> 1a1886b2b6a4 [2023-04-17T22:23:20.715Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-17T22:23:20.715Z] ---> Running in b95d476dadc7 [2023-04-17T22:23:20.983Z] Removing intermediate container b95d476dadc7 [2023-04-17T22:23:20.983Z] ---> ea33c7ea8d2d [2023-04-17T22:23:20.983Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-17T22:23:20.983Z] ---> Running in d4172bbc9197 [2023-04-17T22:23:21.251Z] Removing intermediate container d4172bbc9197 [2023-04-17T22:23:21.251Z] ---> 9b76817d6a9f [2023-04-17T22:23:21.251Z] Step 24/26 : LABEL arch=arm64 [2023-04-17T22:23:21.524Z] ---> Running in fb82baae2ac1 [2023-04-17T22:23:21.524Z] Removing intermediate container fb82baae2ac1 [2023-04-17T22:23:21.524Z] ---> d050f5a4ce9e [2023-04-17T22:23:21.524Z] Step 25/26 : LABEL git_sha=2fe4024c4462f94174de9a249616962efb0eb08a [2023-04-17T22:23:21.790Z] ---> Running in f5107748cdc5 [2023-04-17T22:23:22.058Z] Removing intermediate container f5107748cdc5 [2023-04-17T22:23:22.058Z] ---> 800ed99b2f10 [2023-04-17T22:23:22.058Z] Step 26/26 : LABEL version=0.0.0 [2023-04-17T22:23:22.058Z] ---> Running in 8a7fd9e19949 [2023-04-17T22:23:22.324Z] Removing intermediate container 8a7fd9e19949 [2023-04-17T22:23:22.324Z] ---> 0b19f4f1e1aa [2023-04-17T22:23:22.324Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T22:23:22.324Z] Successfully built 0b19f4f1e1aa [2023-04-17T22:23:22.324Z] 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-17T22:23:22.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T22:23:22.772Z] [2023-04-17T22:23:22.772Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T22:23:23.097Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T22:23:23.097Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T22:23:23.097Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T22:23:23.097Z] 04944245beec: Pulling fs layer [2023-04-17T22:23:23.097Z] 699f458cf7ca: Pulling fs layer [2023-04-17T22:23:23.097Z] 765212b225bb: Pulling fs layer [2023-04-17T22:23:23.097Z] f23df028b6ca: Pulling fs layer [2023-04-17T22:23:23.097Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T22:23:23.097Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T22:23:23.097Z] 765212b225bb: Waiting [2023-04-17T22:23:23.097Z] d65c8cfc05b1: Waiting [2023-04-17T22:23:23.097Z] 2437ff75d9bd: Waiting [2023-04-17T22:23:23.364Z] 04944245beec: Verifying Checksum [2023-04-17T22:23:23.364Z] 04944245beec: Download complete [2023-04-17T22:23:23.364Z] 765212b225bb: Verifying Checksum [2023-04-17T22:23:23.364Z] 765212b225bb: Download complete [2023-04-17T22:23:23.364Z] f23df028b6ca: Download complete [2023-04-17T22:23:23.364Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T22:23:23.364Z] d65c8cfc05b1: Download complete [2023-04-17T22:23:23.632Z] 699f458cf7ca: Verifying Checksum [2023-04-17T22:23:23.632Z] 699f458cf7ca: Download complete [2023-04-17T22:23:23.901Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T22:23:23.901Z] 8998bd30e6a1: Download complete [2023-04-17T22:23:26.485Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T22:23:26.485Z] 2437ff75d9bd: Download complete [2023-04-17T22:23:27.893Z] 8998bd30e6a1: Pull complete [2023-04-17T22:23:28.476Z] 04944245beec: Pull complete [2023-04-17T22:23:33.816Z] 699f458cf7ca: Pull complete [2023-04-17T22:23:33.816Z] 765212b225bb: Pull complete [2023-04-17T22:23:34.083Z] f23df028b6ca: Pull complete [2023-04-17T22:23:34.351Z] d65c8cfc05b1: Pull complete [2023-04-17T22:23:49.343Z] 2437ff75d9bd: Pull complete [2023-04-17T22:23:49.343Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T22:23:49.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T22:23:49.343Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T22:23:49.521Z] prd-ubuntu20.04-docker-arm64-4c-16g-8807 does not seem to be running inside a container [2023-04-17T22:23:49.584Z] $ 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-17T22:23:52.132Z] $ docker top d1b05994cd782078fb1a456511199cb3ffce7f6d46c32f4a7e51047612feb9c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T22:23:52.987Z] ---> job-cost.sh [2023-04-17T22:23:52.987Z] lf-activate-venv: SKIPPING [2023-04-17T22:23:52.987Z] INFO: No Stack... [2023-04-17T22:23:53.569Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T22:23:54.151Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T22:23:54.467Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-04-17T22:23:54.467Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T22:23:54.762Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-2-stack-cost] [2023-04-17T22:23:54.768Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-2-stack-cost] did not exist. Created. [2023-04-17T22:23:54.768Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T22:23:55.418Z] /w/workspace/device-onvif-camera/2@tmp/durable-3ec29027/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T22:23:56.064Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T22:23:56.086Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T22:23:56.135Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T22:23:56.145Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T22:23:56.158Z] $ docker stop --time=1 d1b05994cd782078fb1a456511199cb3ffce7f6d46c32f4a7e51047612feb9c7 [2023-04-17T22:23:57.669Z] $ docker rm -f --volumes d1b05994cd782078fb1a456511199cb3ffce7f6d46c32f4a7e51047612feb9c7 [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-17T22:23:58.061Z] provisioning config files... [2023-04-17T22:23:58.069Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config10487624940819012786tmp [Pipeline] { [Pipeline] sh [2023-04-17T22:23:58.366Z] + set +x [2023-04-17T22:23:58.366Z] + bash -s -- [2023-04-17T22:23:58.366Z] + curl -s https://codecov.io/bash [2023-04-17T22:23:58.366Z] [2023-04-17T22:23:58.366Z] _____ _ [2023-04-17T22:23:58.366Z] / ____| | | [2023-04-17T22:23:58.366Z] | | ___ __| | ___ ___ _____ __ [2023-04-17T22:23:58.366Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-17T22:23:58.366Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-17T22:23:58.366Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-17T22:23:58.367Z] Bash-1.0.6 [2023-04-17T22:23:58.367Z] [2023-04-17T22:23:58.367Z] [2023-04-17T22:23:58.367Z] ==> git version 2.25.1 found [2023-04-17T22:23:58.367Z] ==> 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-17T22:23:58.367Z] Release-Date: 2020-01-08 [2023-04-17T22:23:58.367Z] 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-17T22:23:58.367Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-17T22:23:58.367Z] ==> Jenkins CI detected. [2023-04-17T22:23:58.367Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-305 [2023-04-17T22:23:58.367Z] project root: . [2023-04-17T22:23:58.367Z] --> token set from env [2023-04-17T22:23:58.367Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-17T22:23:58.367Z] ==> Running gcov in . (disable via -X gcov) [2023-04-17T22:23:58.367Z] ==> Python coveragepy not found [2023-04-17T22:23:58.367Z] ==> Searching for coverage reports in: [2023-04-17T22:23:58.367Z] + . [2023-04-17T22:23:58.626Z] -> Found 1 reports [2023-04-17T22:23:58.626Z] ==> Detecting git/mercurial file structure [2023-04-17T22:23:58.626Z] ==> Reading reports [2023-04-17T22:23:58.626Z] + ./coverage.out bytes=78835 [2023-04-17T22:23:58.626Z] ==> Appending adjustments [2023-04-17T22:23:58.626Z] https://docs.codecov.io/docs/fixing-reports [2023-04-17T22:23:58.626Z] + Found adjustments [2023-04-17T22:23:58.626Z] ==> Gzipping contents [2023-04-17T22:23:58.626Z] 12K /tmp/codecov.Dz1QGN.gz [2023-04-17T22:23:58.626Z] ==> Uploading reports [2023-04-17T22:23:58.626Z] url: https://codecov.io [2023-04-17T22:23:58.626Z] query: branch=PR-305&commit=03319e75bd3f4f182eb79dbc4299c92653f30aac&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= [2023-04-17T22:23:58.626Z] -> Pinging Codecov [2023-04-17T22:23:58.626Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-305&commit=03319e75bd3f4f182eb79dbc4299c92653f30aac&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= [2023-04-17T22:23:58.884Z] -> Uploading to [2023-04-17T22:23:58.884Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-17/F29A59C45E3A92E06B3E522C9905F8EF/03319e75bd3f4f182eb79dbc4299c92653f30aac/1bc135af-8434-485b-8e9a-007d9ca9d143.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T222358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f7fac7d4cde38f28508f2e17a18596258ed9582e3872236e2640fd108259ced [2023-04-17T22:23:58.884Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T22:23:58.884Z] Dload Upload Total Spent Left Speed [2023-04-17T22:23:59.144Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10491 0 0 100 10491 0 43172 --:--:-- --:--:-- --:--:-- 43172 [2023-04-17T22:23:59.144Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/03319e75bd3f4f182eb79dbc4299c92653f30aac [Pipeline] } [2023-04-17T22:23:59.153Z] 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-17T22:23:59.796Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-305/archives ] [2023-04-17T22:23:59.796Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives [2023-04-17T22:23:59.796Z] total 16 [2023-04-17T22:23:59.796Z] drwxr-xr-x 3 root root 4096 Apr 17 22:13 . [2023-04-17T22:23:59.796Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 22:13 .. [2023-04-17T22:23:59.796Z] drwxr-xr-x 2 root root 4096 Apr 17 22:13 cost [2023-04-17T22:23:59.796Z] -rw-r--r-- 1 root root 91 Apr 17 22:13 cost.csv [2023-04-17T22:23:59.796Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-305/archives [2023-04-17T22:23:59.796Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives [2023-04-17T22:23:59.796Z] total 16 [2023-04-17T22:23:59.796Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 22:13 . [2023-04-17T22:23:59.796Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 22:13 .. [2023-04-17T22:23:59.796Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 22:13 cost [2023-04-17T22:23:59.796Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 17 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T22:24:00.092Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T22:24:00.961Z] ---> package-listing.sh [2023-04-17T22:24:00.961Z] ++ facter osfamily [2023-04-17T22:24:00.961Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T22:24:01.220Z] + OS_FAMILY=debian [2023-04-17T22:24:01.220Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-305 [2023-04-17T22:24:01.220Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T22:24:01.220Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T22:24:01.220Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T22:24:01.220Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T22:24:01.220Z] + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' [2023-04-17T22:24:01.220Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T22:24:01.220Z] + case "${OS_FAMILY}" in [2023-04-17T22:24:01.220Z] + dpkg -l [2023-04-17T22:24:01.220Z] + grep '^ii' [2023-04-17T22:24:01.220Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T22:24:01.220Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T22:24:01.220Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T22:24:01.220Z] + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' [2023-04-17T22:24:01.220Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-305/archives/ [2023-04-17T22:24:01.221Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-305/archives/ [Pipeline] echo [2023-04-17T22:24:01.231Z] 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-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-17T22:24:01.508Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T22:24:02.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T22:24:02.062Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T22:24:02.129Z] prd-ubuntu20.04-docker-8c-8g-8804 does not seem to be running inside a container [2023-04-17T22:24:02.171Z] $ 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-305/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-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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-17T22:24:02.391Z] $ docker top fa2e57f4397c2754e48182c88caab6d06c4e7384bb418d2bba506be51671deb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T22:24:02.716Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T22:24:03.000Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T22:24:03.285Z] + ls /var/log/sa-host [2023-04-17T22:24:03.285Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T22:24:03.352Z] provisioning config files... [2023-04-17T22:24:03.359Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config8700882654736166179tmp [Pipeline] { [Pipeline] echo [2023-04-17T22:24:03.372Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T22:24:03.652Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T22:24:03.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T22:24:03.984Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T22:24:03.992Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T22:24:04.280Z] ---> sudo-logs.sh [2023-04-17T22:24:04.280Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T22:24:04.299Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T22:24:04.579Z] ---> job-cost.sh [2023-04-17T22:24:04.579Z] lf-activate-venv: SKIPPING [2023-04-17T22:24:04.579Z] DEBUG: total: 0.2199999988079071 [2023-04-17T22:24:04.579Z] INFO: Retrieving Stack Cost... [2023-04-17T22:24:04.837Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T22:24:05.406Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T22:24:05.417Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T22:24:05.702Z] ---> logs-deploy.sh [2023-04-17T22:24:05.702Z] lf-activate-venv: SKIPPING [2023-04-17T22:24:05.702Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-305/2 [2023-04-17T22:24:05.702Z] INFO: archiving workspace using pattern(s): [2023-04-17T22:24:06.638Z] Archives upload complete. [2023-04-17T22:24:06.638Z] INFO: archiving logs to Nexus