Pull request #373 opened 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 0c872bbe8febdc0c9add13ac0a600aadf7c89b53 rather than 29f1d5b6c7990a62574b599f6d0a21a6f866e477 Obtained Jenkinsfile from 0c872bbe8febdc0c9add13ac0a600aadf7c89b53 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-ssh13155144049032666820.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh435909119358943950.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-373/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-373/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7635843925326374606.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-373/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6650801665812802246.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15290211282217947965.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-373/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-373/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8231639920564508392.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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/v3]] ========================================================= [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/v3 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-17726 in /w/workspace/undry_device-onvif-camera_PR-373 [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-373 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0c872bbe8febdc0c9add13ac0a600aadf7c89b53 into PR head commit 29f1d5b6c7990a62574b599f6d0a21a6f866e477 Merge succeeded, producing 29f1d5b6c7990a62574b599f6d0a21a6f866e477 Checking out Revision 29f1d5b6c7990a62574b599f6d0a21a6f866e477 (PR-373) > 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/373/head:refs/remotes/origin/PR-373 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 29f1d5b6c7990a62574b599f6d0a21a6f866e477 # 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 0c872bbe8febdc0c9add13ac0a600aadf7c89b53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 29f1d5b6c7990a62574b599f6d0a21a6f866e477 # timeout=10 Commit message: "docs: change license to relative link" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-02T15:37:59.691Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-02T15:37:59.985Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-02T15:38:00.087Z] ========================================================= [2023-06-02T15:38:00.087Z] EdgeX Global Pipelines Version Info [2023-06-02T15:38:00.087Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-02T15:38:01.432Z] ------------------- [2023-06-02T15:38:01.432Z] stable info: [2023-06-02T15:38:01.432Z] ------------------- [2023-06-02T15:38:01.432Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-02T15:38:01.432Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-02T15:38:01.432Z] Message: update stable to v1.0.250 [2023-06-02T15:38:01.693Z] ------------------- [2023-06-02T15:38:01.693Z] experimental info: [2023-06-02T15:38:01.693Z] ------------------- [2023-06-02T15:38:01.693Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-02T15:38:01.693Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-02T15:38:01.693Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-02T15:38:02.060Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-06-02T15:38:02.100Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-06-02T15:38:02.142Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-02T15:38:02.188Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-02T15:38:02.236Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-02T15:38:02.279Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-02T15:38:02.322Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-02T15:38:02.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-02T15:38:02.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-02T15:38:02.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-02T15:38:02.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-02T15:38:02.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-06-02T15:38:02.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-02T15:38:02.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-02T15:38:02.655Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-02T15:38:02.699Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-02T15:38:02.740Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-02T15:38:02.783Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-02T15:38:02.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-02T15:38:02.867Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-02T15:38:02.903Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-06-02T15:38:02.944Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-06-02T15:38:02.986Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-02T15:38:03.025Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-02T15:38:03.063Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-02T15:38:03.100Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-02T15:38:03.142Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-02T15:38:03.183Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-373 [Pipeline] echo [2023-06-02T15:38:03.221Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-373 [Pipeline] echo [2023-06-02T15:38:03.259Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-373 [Pipeline] echo [2023-06-02T15:38:03.297Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 29f1d5b6c7990a62574b599f6d0a21a6f866e477 [Pipeline] echo [2023-06-02T15:38:03.335Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 29f1d5b [Pipeline] echo [2023-06-02T15:38:03.372Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-02T15:38:03.468Z] provisioning config files... [2023-06-02T15:38:03.486Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-373@tmp/config10915547739586035409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-02T15:38:03.826Z] ---> docker-login.sh [2023-06-02T15:38:03.826Z] nexus3.edgexfoundry.org:10001 [2023-06-02T15:38:04.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:38:04.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:38:04.660Z] Configure a credential helper to remove this warning. See [2023-06-02T15:38:04.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:38:04.660Z] [2023-06-02T15:38:04.660Z] Login Succeeded [2023-06-02T15:38:04.660Z] nexus3.edgexfoundry.org:10002 [2023-06-02T15:38:04.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:38:04.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:38:04.660Z] Configure a credential helper to remove this warning. See [2023-06-02T15:38:04.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:38:04.660Z] [2023-06-02T15:38:04.660Z] Login Succeeded [2023-06-02T15:38:04.660Z] nexus3.edgexfoundry.org:10003 [2023-06-02T15:38:04.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:38:04.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:38:04.924Z] Configure a credential helper to remove this warning. See [2023-06-02T15:38:04.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:38:04.924Z] [2023-06-02T15:38:04.924Z] Login Succeeded [2023-06-02T15:38:04.924Z] nexus3.edgexfoundry.org:10004 [2023-06-02T15:38:04.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:38:04.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:38:04.924Z] Configure a credential helper to remove this warning. See [2023-06-02T15:38:04.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:38:04.924Z] [2023-06-02T15:38:04.924Z] Login Succeeded [2023-06-02T15:38:04.924Z] docker.io [2023-06-02T15:38:04.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:38:05.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:38:05.184Z] Configure a credential helper to remove this warning. See [2023-06-02T15:38:05.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:38:05.184Z] [2023-06-02T15:38:05.184Z] Login Succeeded [2023-06-02T15:38:05.184Z] ---> docker-login.sh ends [Pipeline] } [2023-06-02T15:38:05.212Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-02T15:38:05.827Z] + git rev-list -1 --merges 29f1d5b6c7990a62574b599f6d0a21a6f866e477~1..29f1d5b6c7990a62574b599f6d0a21a6f866e477 [Pipeline] echo [2023-06-02T15:38:05.892Z] -----------> git rev-list -1 --merges 29f1d5b6c7990a62574b599f6d0a21a6f866e477~1..29f1d5b6c7990a62574b599f6d0a21a6f866e477 29f1d5b6c7990a62574b599f6d0a21a6f866e477 [false] [Pipeline] sh [2023-06-02T15:38:06.206Z] + git log --format=format:%s -1 29f1d5b6c7990a62574b599f6d0a21a6f866e477 [Pipeline] echo [2023-06-02T15:38:06.241Z] ========================================================= [2023-06-02T15:38:06.241Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-02T15:38:06.241Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-02T15:38:06.678Z] + git log --format=format:%s -1 29f1d5b6c7990a62574b599f6d0a21a6f866e477 [Pipeline] echo [2023-06-02T15:38:06.712Z] [semverPrep] GIT_COMMIT: 29f1d5b6c7990a62574b599f6d0a21a6f866e477, Commit Message: docs: change license to relative link [Pipeline] echo [2023-06-02T15:38:06.739Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-02T15:38:07.143Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-02T15:38:07.143Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-02T15:38:07.143Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-02T15:38:07.143Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-02T15:38:07.143Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-02T15:38:07.143Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-02T15:38:07.143Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-02T15:38:07.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-02T15:38:07.663Z] [2023-06-02T15:38:07.663Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-02T15:38:08.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-02T15:38:08.043Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-02T15:38:08.043Z] b85a868b505f: Pulling fs layer [2023-06-02T15:38:08.043Z] e2be974225ed: Pulling fs layer [2023-06-02T15:38:08.043Z] 339a4e72a1f5: Pulling fs layer [2023-06-02T15:38:08.043Z] 988bab9f4d93: Pulling fs layer [2023-06-02T15:38:08.043Z] 1469e6f7b9e6: Pulling fs layer [2023-06-02T15:38:08.043Z] eaf3925da568: Pulling fs layer [2023-06-02T15:38:08.043Z] bab4dde63d76: Pulling fs layer [2023-06-02T15:38:08.043Z] bde34c3a00c8: Pulling fs layer [2023-06-02T15:38:08.043Z] 988bab9f4d93: Waiting [2023-06-02T15:38:08.043Z] 1469e6f7b9e6: Waiting [2023-06-02T15:38:08.043Z] eaf3925da568: Waiting [2023-06-02T15:38:08.043Z] bab4dde63d76: Waiting [2023-06-02T15:38:08.043Z] bde34c3a00c8: Waiting [2023-06-02T15:38:08.043Z] b352a97aabf1: Pulling fs layer [2023-06-02T15:38:08.043Z] 4872d77fe225: Pulling fs layer [2023-06-02T15:38:08.043Z] 5851b861e8e6: Pulling fs layer [2023-06-02T15:38:08.043Z] b352a97aabf1: Waiting [2023-06-02T15:38:08.043Z] 5851b861e8e6: Waiting [2023-06-02T15:38:08.043Z] e2be974225ed: Verifying Checksum [2023-06-02T15:38:08.303Z] 988bab9f4d93: Verifying Checksum [2023-06-02T15:38:08.303Z] 988bab9f4d93: Download complete [2023-06-02T15:38:08.303Z] 1469e6f7b9e6: Verifying Checksum [2023-06-02T15:38:08.303Z] 1469e6f7b9e6: Download complete [2023-06-02T15:38:08.303Z] eaf3925da568: Verifying Checksum [2023-06-02T15:38:08.303Z] eaf3925da568: Download complete [2023-06-02T15:38:08.303Z] 339a4e72a1f5: Verifying Checksum [2023-06-02T15:38:08.303Z] 339a4e72a1f5: Download complete [2023-06-02T15:38:08.303Z] bde34c3a00c8: Download complete [2023-06-02T15:38:08.303Z] b352a97aabf1: Verifying Checksum [2023-06-02T15:38:08.303Z] b352a97aabf1: Download complete [2023-06-02T15:38:08.303Z] 4872d77fe225: Download complete [2023-06-02T15:38:08.303Z] 5851b861e8e6: Verifying Checksum [2023-06-02T15:38:08.303Z] 5851b861e8e6: Download complete [2023-06-02T15:38:08.303Z] b85a868b505f: Verifying Checksum [2023-06-02T15:38:08.303Z] b85a868b505f: Download complete [2023-06-02T15:38:08.881Z] bab4dde63d76: Verifying Checksum [2023-06-02T15:38:08.881Z] bab4dde63d76: Download complete [2023-06-02T15:38:09.817Z] b85a868b505f: Pull complete [2023-06-02T15:38:09.817Z] e2be974225ed: Pull complete [2023-06-02T15:38:10.386Z] 339a4e72a1f5: Pull complete [2023-06-02T15:38:10.386Z] 988bab9f4d93: Pull complete [2023-06-02T15:38:10.646Z] 1469e6f7b9e6: Pull complete [2023-06-02T15:38:10.646Z] eaf3925da568: Pull complete [2023-06-02T15:38:12.567Z] bab4dde63d76: Pull complete [2023-06-02T15:38:12.567Z] bde34c3a00c8: Pull complete [2023-06-02T15:38:12.827Z] b352a97aabf1: Pull complete [2023-06-02T15:38:13.087Z] 4872d77fe225: Pull complete [2023-06-02T15:38:13.087Z] 5851b861e8e6: Pull complete [2023-06-02T15:38:13.087Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-02T15:38:13.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-02T15:38:13.087Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-02T15:38:13.399Z] prd-ubuntu20.04-docker-8c-8g-17726 does not seem to be running inside a container [2023-06-02T15:38:13.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-373 -v /w/workspace/undry_device-onvif-camera_PR-373:/w/workspace/undry_device-onvif-camera_PR-373:rw,z -v /w/workspace/undry_device-onvif-camera_PR-373@tmp:/w/workspace/undry_device-onvif-camera_PR-373@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-02T15:38:19.391Z] $ docker top e90109021fe50ea541185a02b17a27f8c2e7e0b2afb9b41e11cc0852fa1606f9 -eo pid,comm [2023-06-02T15:38:19.459Z] 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-06-02T15:38:19.459Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-02T15:38:19.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-02T15:38:19.579Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-02T15:38:19.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-02T15:38:19.703Z] $ docker exec e90109021fe50ea541185a02b17a27f8c2e7e0b2afb9b41e11cc0852fa1606f9 ssh-agent [2023-06-02T15:38:19.833Z] SSH_AUTH_SOCK=/tmp/ssh-D8vyffueLP3A/agent.32 [2023-06-02T15:38:19.833Z] SSH_AGENT_PID=38 [2023-06-02T15:38:19.857Z] Running ssh-add (command line suppressed) [2023-06-02T15:38:19.980Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-373@tmp/private_key_17539779525986178476.key (/w/workspace/undry_device-onvif-camera_PR-373@tmp/private_key_17539779525986178476.key) [2023-06-02T15:38:20.009Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-02T15:38:20.346Z] + git tag --points-at HEAD [Pipeline] } [2023-06-02T15:38:20.369Z] $ docker exec --env ******** --env ******** e90109021fe50ea541185a02b17a27f8c2e7e0b2afb9b41e11cc0852fa1606f9 ssh-agent -k [2023-06-02T15:38:20.485Z] unset SSH_AUTH_SOCK; [2023-06-02T15:38:20.486Z] unset SSH_AGENT_PID; [2023-06-02T15:38:20.486Z] echo Agent pid 38 killed; [2023-06-02T15:38:20.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-02T15:38:20.597Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-02T15:38:20.597Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-02T15:38:20.710Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-02T15:38:20.708Z] $ docker exec e90109021fe50ea541185a02b17a27f8c2e7e0b2afb9b41e11cc0852fa1606f9 ssh-agent [2023-06-02T15:38:20.809Z] SSH_AUTH_SOCK=/tmp/ssh-9dmZRwHXIXa6/agent.70 [2023-06-02T15:38:20.809Z] SSH_AGENT_PID=76 [2023-06-02T15:38:20.813Z] Running ssh-add (command line suppressed) [2023-06-02T15:38:20.909Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-373@tmp/private_key_15641917308804575112.key (/w/workspace/undry_device-onvif-camera_PR-373@tmp/private_key_15641917308804575112.key) [2023-06-02T15:38:20.927Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-02T15:38:21.253Z] + git semver init [2023-06-02T15:38:21.513Z] 2023-06-02 15:38:21,460 [run_init] DEBUG init version:0.0.0 force:False [2023-06-02T15:38:21.513Z] 2023-06-02 15:38:21,461 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-373/.semver [2023-06-02T15:38:21.513Z] 2023-06-02 15:38:21,462 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-373/.semver [2023-06-02T15:38:21.513Z] 2023-06-02 15:38:21,462 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-373/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-373, universal_newlines=False, shell=None, istream=None) [2023-06-02T15:38:22.895Z] 2023-06-02 15:38:22,625 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-373/.git/info/exclude [2023-06-02T15:38:22.895Z] 2023-06-02 15:38:22,626 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-373/.semver/PR-373 with force:False [2023-06-02T15:38:22.895Z] 2023-06-02 15:38:22,626 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-373/.semver/PR-373 [2023-06-02T15:38:22.896Z] 2023-06-02 15:38:22,630 [execute] INFO git cat-file --batch-check [2023-06-02T15:38:22.896Z] 2023-06-02 15:38:22,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-373/.semver, universal_newlines=False, shell=None, istream=) [2023-06-02T15:38:22.896Z] 2023-06-02 15:38:22,635 [execute] INFO git cat-file --batch [2023-06-02T15:38:22.896Z] 2023-06-02 15:38:22,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-373/.semver, universal_newlines=False, shell=None, istream=) [2023-06-02T15:38:22.896Z] 2023-06-02 15:38:22,640 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-373/.semver/PR-373 [2023-06-02T15:38:22.896Z] 0.0.0 [Pipeline] } [2023-06-02T15:38:23.004Z] $ docker exec --env ******** --env ******** e90109021fe50ea541185a02b17a27f8c2e7e0b2afb9b41e11cc0852fa1606f9 ssh-agent -k [2023-06-02T15:38:23.109Z] unset SSH_AUTH_SOCK; [2023-06-02T15:38:23.112Z] unset SSH_AGENT_PID; [2023-06-02T15:38:23.113Z] echo Agent pid 76 killed; [2023-06-02T15:38:23.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-02T15:38:23.600Z] + git semver [Pipeline] } [2023-06-02T15:38:23.878Z] $ docker stop --time=1 e90109021fe50ea541185a02b17a27f8c2e7e0b2afb9b41e11cc0852fa1606f9 [2023-06-02T15:38:25.436Z] $ docker rm -f --volumes e90109021fe50ea541185a02b17a27f8c2e7e0b2afb9b41e11cc0852fa1606f9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-02T15:38:25.844Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-02T15:38:26.132Z] Stashed 1 file(s) [Pipeline] echo [2023-06-02T15:38:26.149Z] [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-06-02T15:38:26.710Z] provisioning config files... [2023-06-02T15:38:26.720Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-373@tmp/config18170035240543986103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-02T15:38:27.071Z] ---> docker-login.sh [2023-06-02T15:38:27.071Z] nexus3.edgexfoundry.org:10001 [2023-06-02T15:38:27.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:38:27.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:38:27.071Z] Configure a credential helper to remove this warning. See [2023-06-02T15:38:27.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:38:27.071Z] [2023-06-02T15:38:27.071Z] Login Succeeded [2023-06-02T15:38:27.071Z] nexus3.edgexfoundry.org:10002 [2023-06-02T15:38:27.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:38:27.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:38:27.071Z] Configure a credential helper to remove this warning. See [2023-06-02T15:38:27.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:38:27.071Z] [2023-06-02T15:38:27.071Z] Login Succeeded [2023-06-02T15:38:27.071Z] nexus3.edgexfoundry.org:10003 [2023-06-02T15:38:27.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:38:27.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:38:27.336Z] Configure a credential helper to remove this warning. See [2023-06-02T15:38:27.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:38:27.336Z] [2023-06-02T15:38:27.336Z] Login Succeeded [2023-06-02T15:38:27.336Z] nexus3.edgexfoundry.org:10004 [2023-06-02T15:38:27.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:38:27.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:38:27.336Z] Configure a credential helper to remove this warning. See [2023-06-02T15:38:27.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:38:27.336Z] [2023-06-02T15:38:27.336Z] Login Succeeded [2023-06-02T15:38:27.336Z] docker.io [2023-06-02T15:38:27.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:38:27.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:38:27.595Z] Configure a credential helper to remove this warning. See [2023-06-02T15:38:27.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:38:27.595Z] [2023-06-02T15:38:27.595Z] Login Succeeded [2023-06-02T15:38:27.595Z] ---> docker-login.sh ends [Pipeline] } [2023-06-02T15:38:27.625Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-02T15:38:27.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-02T15:38:27.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-02T15:38:27.916Z] ========================================================= [2023-06-02T15:38:27.916Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-02T15:38:27.916Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-02T15:38:28.375Z] + 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-06-02T15:38:28.375Z] Sending build context to Docker daemon 21.97MB [2023-06-02T15:38:28.375Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-02T15:38:28.375Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-02T15:38:28.632Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-02T15:38:28.632Z] f56be85fc22e: Pulling fs layer [2023-06-02T15:38:28.632Z] 85791d961cd3: Pulling fs layer [2023-06-02T15:38:28.632Z] d694b5ae8c79: Pulling fs layer [2023-06-02T15:38:28.632Z] 9f32a84ed3da: Pulling fs layer [2023-06-02T15:38:28.632Z] 4d19c01a9841: Pulling fs layer [2023-06-02T15:38:28.632Z] 9325e15d5711: Pulling fs layer [2023-06-02T15:38:28.632Z] 556b6ee489ea: Pulling fs layer [2023-06-02T15:38:28.632Z] c5a4b2cf53e6: Pulling fs layer [2023-06-02T15:38:28.632Z] 9f32a84ed3da: Waiting [2023-06-02T15:38:28.632Z] 556b6ee489ea: Waiting [2023-06-02T15:38:28.632Z] 4d19c01a9841: Waiting [2023-06-02T15:38:28.632Z] c5a4b2cf53e6: Waiting [2023-06-02T15:38:28.632Z] 9325e15d5711: Waiting [2023-06-02T15:38:28.632Z] 85791d961cd3: Verifying Checksum [2023-06-02T15:38:28.632Z] 85791d961cd3: Download complete [2023-06-02T15:38:28.632Z] 9f32a84ed3da: Verifying Checksum [2023-06-02T15:38:28.632Z] 9f32a84ed3da: Download complete [2023-06-02T15:38:28.632Z] 4d19c01a9841: Verifying Checksum [2023-06-02T15:38:28.632Z] 4d19c01a9841: Download complete [2023-06-02T15:38:28.632Z] f56be85fc22e: Verifying Checksum [2023-06-02T15:38:28.632Z] f56be85fc22e: Download complete [2023-06-02T15:38:28.632Z] 9325e15d5711: Verifying Checksum [2023-06-02T15:38:28.632Z] 9325e15d5711: Download complete [2023-06-02T15:38:28.891Z] f56be85fc22e: Pull complete [2023-06-02T15:38:28.891Z] 85791d961cd3: Pull complete [2023-06-02T15:38:29.149Z] c5a4b2cf53e6: Download complete [2023-06-02T15:38:29.149Z] d694b5ae8c79: Verifying Checksum [2023-06-02T15:38:29.149Z] d694b5ae8c79: Download complete [2023-06-02T15:38:29.406Z] 556b6ee489ea: Verifying Checksum [2023-06-02T15:38:29.407Z] 556b6ee489ea: Download complete [2023-06-02T15:38:33.663Z] d694b5ae8c79: Pull complete [2023-06-02T15:38:33.663Z] 9f32a84ed3da: Pull complete [2023-06-02T15:38:33.663Z] 4d19c01a9841: Pull complete [2023-06-02T15:38:33.939Z] 9325e15d5711: Pull complete [2023-06-02T15:38:41.538Z] Still waiting to schedule task [2023-06-02T15:38:41.538Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-02T15:38:49.210Z] 556b6ee489ea: Pull complete [2023-06-02T15:38:50.602Z] c5a4b2cf53e6: Pull complete [2023-06-02T15:38:50.602Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-02T15:38:50.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-02T15:38:50.602Z] ---> c4be618373d6 [2023-06-02T15:38:50.602Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-02T15:38:58.753Z] ---> Running in f9c304a27b65 [2023-06-02T15:38:58.753Z] Removing intermediate container f9c304a27b65 [2023-06-02T15:38:58.753Z] ---> 272d48e392ab [2023-06-02T15:38:58.753Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-02T15:38:58.753Z] ---> Running in f38487a8f534 [2023-06-02T15:38:58.753Z] Removing intermediate container f38487a8f534 [2023-06-02T15:38:58.753Z] ---> b5a32e48644e [2023-06-02T15:38:58.753Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-06-02T15:38:58.753Z] ---> Running in bef6f4929341 [2023-06-02T15:38:58.753Z] Removing intermediate container bef6f4929341 [2023-06-02T15:38:58.753Z] ---> 2e9868823077 [2023-06-02T15:38:58.753Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-06-02T15:38:58.753Z] ---> Running in b989b05f73f4 [2023-06-02T15:38:58.753Z] Removing intermediate container b989b05f73f4 [2023-06-02T15:38:58.753Z] ---> 519563cacb48 [2023-06-02T15:38:58.753Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-06-02T15:38:58.753Z] ---> Running in 23373554dd42 [2023-06-02T15:38:58.753Z] Removing intermediate container 23373554dd42 [2023-06-02T15:38:58.753Z] ---> 7885b6256501 [2023-06-02T15:38:58.753Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-02T15:38:58.753Z] ---> Running in db1f7ba81c71 [2023-06-02T15:38:58.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-02T15:38:58.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-02T15:38:58.753Z] OK: 265 MiB in 53 packages [2023-06-02T15:38:59.013Z] Removing intermediate container db1f7ba81c71 [2023-06-02T15:38:59.013Z] ---> 1d15970a6cb3 [2023-06-02T15:38:59.013Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-06-02T15:38:59.013Z] ---> Running in d39dc5ea002e [2023-06-02T15:38:59.013Z] Removing intermediate container d39dc5ea002e [2023-06-02T15:38:59.013Z] ---> f96584b809c9 [2023-06-02T15:38:59.013Z] Step 10/13 : COPY go.mod vendor* ./ [2023-06-02T15:38:59.272Z] ---> 117ed56e3207 [2023-06-02T15:38:59.272Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-02T15:38:59.272Z] ---> Running in fb604d3b5957 [2023-06-02T15:40:07.019Z] Removing intermediate container fb604d3b5957 [2023-06-02T15:40:07.019Z] ---> 5247ae93007f [2023-06-02T15:40:07.019Z] Step 12/13 : COPY . . [2023-06-02T15:40:07.019Z] ---> 86ed1a89311d [2023-06-02T15:40:07.020Z] Step 13/13 : RUN ${MAKE} [2023-06-02T15:40:07.020Z] ---> Running in bb1bfddf4648 [2023-06-02T15:40:07.020Z] noop [2023-06-02T15:40:07.020Z] Removing intermediate container bb1bfddf4648 [2023-06-02T15:40:07.020Z] ---> bf8a228b13a2 [2023-06-02T15:40:07.020Z] Successfully built bf8a228b13a2 [2023-06-02T15:40:07.020Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-02T15:40:07.458Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-02T15:40:07.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-02T15:40:07.614Z] prd-ubuntu20.04-docker-8c-8g-17726 does not seem to be running inside a container [2023-06-02T15:40:07.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-373 -v /w/workspace/undry_device-onvif-camera_PR-373:/w/workspace/undry_device-onvif-camera_PR-373:rw,z -v /w/workspace/undry_device-onvif-camera_PR-373@tmp:/w/workspace/undry_device-onvif-camera_PR-373@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-02T15:40:07.985Z] $ docker top 0dd62fac09491ba71e88d1887c6fd0a8d3c88421aa6c616659633c9b76056b57 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-02T15:40:08.368Z] + go version [2023-06-02T15:40:08.368Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-02T15:40:08.399Z] $ docker stop --time=1 0dd62fac09491ba71e88d1887c6fd0a8d3c88421aa6c616659633c9b76056b57 [2023-06-02T15:40:09.675Z] $ docker rm -f --volumes 0dd62fac09491ba71e88d1887c6fd0a8d3c88421aa6c616659633c9b76056b57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-02T15:40:10.362Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-02T15:40:10.362Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-02T15:40:10.508Z] prd-ubuntu20.04-docker-8c-8g-17726 does not seem to be running inside a container [2023-06-02T15:40:10.539Z] $ 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-373 -v /w/workspace/undry_device-onvif-camera_PR-373:/w/workspace/undry_device-onvif-camera_PR-373:rw,z -v /w/workspace/undry_device-onvif-camera_PR-373@tmp:/w/workspace/undry_device-onvif-camera_PR-373@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-02T15:40:10.849Z] $ docker top 87fab8a359588148281d801599a6e514d931c76c171b70aac173f8837f8e3c03 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-02T15:40:11.239Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-373 [Pipeline] fileExists [Pipeline] sh [2023-06-02T15:40:11.605Z] + make test [2023-06-02T15:40:11.605Z] go test ./... -coverprofile=coverage.out ./... [2023-06-02T15:40:16.791Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17727 in /w/workspace/undry_device-onvif-camera_PR-373 [Pipeline] { [Pipeline] ws [2023-06-02T15:40:16.848Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [2023-06-02T15:40:16.867Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [Pipeline] checkout [2023-06-02T15:40:16.931Z] The recommended git tool is: git [2023-06-02T15:40:21.985Z] using credential edgex-jenkins-ssh [2023-06-02T15:40:21.999Z] Cloning the remote Git repository [2023-06-02T15:40:22.038Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-06-02T15:40:22.122Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-06-02T15:40:22.265Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-06-02T15:40:22.266Z] > git --version # timeout=10 [2023-06-02T15:40:22.287Z] > git --version # 'git version 2.25.1' [2023-06-02T15:40:22.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-02T15:40:22.435Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-02T15:40:24.074Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-06-02T15:40:24.111Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-02T15:40:25.581Z] Merging remotes/origin/main commit 0c872bbe8febdc0c9add13ac0a600aadf7c89b53 into PR head commit 29f1d5b6c7990a62574b599f6d0a21a6f866e477 [2023-06-02T15:40:24.922Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-06-02T15:40:24.969Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-06-02T15:40:24.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-02T15:40:24.985Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/373/head:refs/remotes/origin/PR-373 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-02T15:40:25.602Z] > git config core.sparsecheckout # timeout=10 [2023-06-02T15:40:25.934Z] Merge succeeded, producing 29f1d5b6c7990a62574b599f6d0a21a6f866e477 [2023-06-02T15:40:25.935Z] Checking out Revision 29f1d5b6c7990a62574b599f6d0a21a6f866e477 (PR-373) [2023-06-02T15:40:26.827Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-06-02T15:40:26.828Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-06-02T15:40:25.670Z] > git checkout -f 29f1d5b6c7990a62574b599f6d0a21a6f866e477 # timeout=10 [2023-06-02T15:40:25.834Z] > git remote # timeout=10 [2023-06-02T15:40:25.853Z] > git config --get remote.origin.url # timeout=10 [2023-06-02T15:40:25.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-02T15:40:25.883Z] > git merge 0c872bbe8febdc0c9add13ac0a600aadf7c89b53 # timeout=10 [2023-06-02T15:40:25.908Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-02T15:40:25.942Z] > git config core.sparsecheckout # timeout=10 [2023-06-02T15:40:25.957Z] > git checkout -f 29f1d5b6c7990a62574b599f6d0a21a6f866e477 # timeout=10 [2023-06-02T15:40:29.368Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 31.4% of statements [2023-06-02T15:40:29.562Z] Commit message: "docs: change license to relative link" [2023-06-02T15:40:29.611Z] > git --version # timeout=10 [2023-06-02T15:40:29.624Z] > git --version # 'git version 2.25.1' [2023-06-02T15:40:29.637Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-02T15:40:30.877Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-02T15:40:30.877Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-02T15:40:30.877Z] Dload Upload Total Spent Left Speed [2023-06-02T15:40:30.877Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81737 [2023-06-02T15:40:31.268Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.394s coverage: 86.5% of statements [Pipeline] sh [2023-06-02T15:40:31.579Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-02T15:40:31.917Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-02T15:40:31.917Z] + sudo tee /etc/docker/daemon.new [2023-06-02T15:40:31.917Z] { [2023-06-02T15:40:31.917Z] "registry-mirrors": [ [2023-06-02T15:40:31.917Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-02T15:40:31.917Z] ], [2023-06-02T15:40:31.917Z] "bip": "10.250.0.254/24", [2023-06-02T15:40:31.917Z] "hosts": [ [2023-06-02T15:40:31.917Z] "tcp://0.0.0.0:5555", [2023-06-02T15:40:31.917Z] "unix:///var/run/docker.sock" [2023-06-02T15:40:31.917Z] ], [2023-06-02T15:40:31.917Z] "mtu": 1458, [2023-06-02T15:40:31.917Z] "selinux-enabled": true, [2023-06-02T15:40:31.917Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-02T15:40:31.917Z] } [Pipeline] sh [2023-06-02T15:40:32.249Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-02T15:40:32.591Z] + sudo service docker restart [2023-06-02T15:40:37.821Z] go vet ./... [2023-06-02T15:40:41.114Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-02T15:40:41.114Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-02T15:40:41.114Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-02T15:40:41.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-02T15:40:41.184Z] $ docker stop --time=1 87fab8a359588148281d801599a6e514d931c76c171b70aac173f8837f8e3c03 [2023-06-02T15:40:44.870Z] $ docker rm -f --volumes 87fab8a359588148281d801599a6e514d931c76c171b70aac173f8837f8e3c03 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-02T15:40:45.394Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-02T15:40:45.475Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-06-02T15:40:46.181Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-02T15:40:46.491Z] + ls -al . [2023-06-02T15:40:46.491Z] total 240 [2023-06-02T15:40:46.491Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 15:40 . [2023-06-02T15:40:46.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 15:37 .. [2023-06-02T15:40:46.491Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 15:38 .git [2023-06-02T15:40:46.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 15:37 .github [2023-06-02T15:40:46.491Z] -rw-rw-r-- 1 jenkins jenkins 496 Jun 2 15:37 .gitignore [2023-06-02T15:40:46.491Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 2 15:37 .golangci.yml [2023-06-02T15:40:46.491Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 15:38 .semver [2023-06-02T15:40:46.491Z] -rw-rw-r-- 1 jenkins jenkins 10087 Jun 2 15:37 Attribution.txt [2023-06-02T15:40:46.491Z] -rw-rw-r-- 1 jenkins jenkins 15932 Jun 2 15:37 CHANGELOG.md [2023-06-02T15:40:46.491Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jun 2 15:37 Dockerfile [2023-06-02T15:40:46.491Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 15:37 GOVERNANCE.md [2023-06-02T15:40:46.491Z] -rw-rw-r-- 1 jenkins jenkins 739 Jun 2 15:37 Jenkinsfile [2023-06-02T15:40:46.491Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 2 15:37 LICENSE [2023-06-02T15:40:46.491Z] -rw-rw-r-- 1 jenkins jenkins 2751 Jun 2 15:37 Makefile [2023-06-02T15:40:46.491Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 2 15:37 OWNERS.md [2023-06-02T15:40:46.491Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jun 2 15:37 README.md [2023-06-02T15:40:46.492Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 15:38 VERSION [2023-06-02T15:40:46.492Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 15:37 bin [2023-06-02T15:40:46.492Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 15:37 cmd [2023-06-02T15:40:46.492Z] -rw-r--r-- 1 jenkins jenkins 78459 Jun 2 15:40 coverage.out [2023-06-02T15:40:46.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 15:37 doc [2023-06-02T15:40:46.492Z] -rw-rw-r-- 1 jenkins jenkins 3594 Jun 2 15:37 go.mod [2023-06-02T15:40:46.492Z] -rw-rw-r-- 1 jenkins jenkins 33395 Jun 2 15:37 go.sum [2023-06-02T15:40:46.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 15:37 internal [2023-06-02T15:40:46.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 15:37 snap [2023-06-02T15:40:46.492Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 2 15:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-02T15:40:46.884Z] + 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=29f1d5b6c7990a62574b599f6d0a21a6f866e477 --label arch=amd64 --label version=0.0.0 . [2023-06-02T15:40:46.884Z] Sending build context to Docker daemon 22.05MB [2023-06-02T15:40:46.884Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-06-02T15:40:46.884Z] Step 2/26 : FROM ${BASE} AS builder [2023-06-02T15:40:46.884Z] ---> bf8a228b13a2 [2023-06-02T15:40:46.884Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-06-02T15:40:47.824Z] ---> Running in a7ace68e6c31 [2023-06-02T15:40:47.824Z] Removing intermediate container a7ace68e6c31 [2023-06-02T15:40:47.824Z] ---> 07b80731b65e [2023-06-02T15:40:47.824Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-02T15:40:47.824Z] ---> Running in dd090ab0773c [2023-06-02T15:40:47.824Z] Removing intermediate container dd090ab0773c [2023-06-02T15:40:47.824Z] ---> f2e70ecb8109 [2023-06-02T15:40:47.824Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-06-02T15:40:47.824Z] ---> Running in 0c96d4a9f396 [2023-06-02T15:40:47.824Z] Removing intermediate container 0c96d4a9f396 [2023-06-02T15:40:47.824Z] ---> b8cce7fed01f [2023-06-02T15:40:47.824Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-06-02T15:40:47.824Z] ---> Running in 7c01d8af7b82 [2023-06-02T15:40:47.824Z] Removing intermediate container 7c01d8af7b82 [2023-06-02T15:40:47.824Z] ---> fc11a74ca0c0 [2023-06-02T15:40:47.824Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-06-02T15:40:48.083Z] ---> Running in 6bcf50ae2a7d [2023-06-02T15:40:48.083Z] Removing intermediate container 6bcf50ae2a7d [2023-06-02T15:40:48.083Z] ---> 22f502784691 [2023-06-02T15:40:48.083Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-02T15:40:48.083Z] ---> Running in c6d19e3b811f [2023-06-02T15:40:48.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-02T15:40:48.601Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-02T15:40:48.601Z] OK: 265 MiB in 53 packages [2023-06-02T15:40:49.167Z] Removing intermediate container c6d19e3b811f [2023-06-02T15:40:49.167Z] ---> 9e106822b777 [2023-06-02T15:40:49.167Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-06-02T15:40:49.167Z] ---> Running in 6243dad1ff2c [2023-06-02T15:40:49.167Z] Removing intermediate container 6243dad1ff2c [2023-06-02T15:40:49.167Z] ---> c9b787e5bfcd [2023-06-02T15:40:49.167Z] Step 10/26 : COPY go.mod vendor* ./ [2023-06-02T15:40:49.167Z] ---> 0614441ecd6a [2023-06-02T15:40:49.167Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-02T15:40:49.167Z] ---> Running in 1de6d5fbcce9 [2023-06-02T15:40:50.100Z] Removing intermediate container 1de6d5fbcce9 [2023-06-02T15:40:50.100Z] ---> 9358e52c5410 [2023-06-02T15:40:50.100Z] Step 12/26 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-02T15:40:50.883Z] provisioning config files... [2023-06-02T15:40:50.909Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config18056944712179401176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-02T15:40:51.036Z] ---> 053ad201540e [2023-06-02T15:40:51.036Z] Step 13/26 : RUN ${MAKE} [2023-06-02T15:40:51.294Z] ---> Running in 8945e5618f5c [2023-06-02T15:40:51.298Z] ---> docker-login.sh [2023-06-02T15:40:51.298Z] nexus3.edgexfoundry.org:10001 [2023-06-02T15:40:51.552Z] 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-06-02T15:40:51.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:40:51.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:40:51.838Z] Configure a credential helper to remove this warning. See [2023-06-02T15:40:51.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:40:51.838Z] [2023-06-02T15:40:51.838Z] Login Succeeded [2023-06-02T15:40:51.838Z] nexus3.edgexfoundry.org:10002 [2023-06-02T15:40:52.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:40:52.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:40:52.107Z] Configure a credential helper to remove this warning. See [2023-06-02T15:40:52.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:40:52.107Z] [2023-06-02T15:40:52.107Z] Login Succeeded [2023-06-02T15:40:52.378Z] nexus3.edgexfoundry.org:10003 [2023-06-02T15:40:52.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:40:52.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:40:52.648Z] Configure a credential helper to remove this warning. See [2023-06-02T15:40:52.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:40:52.648Z] [2023-06-02T15:40:52.648Z] Login Succeeded [2023-06-02T15:40:52.648Z] nexus3.edgexfoundry.org:10004 [2023-06-02T15:40:52.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:40:52.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:40:52.921Z] Configure a credential helper to remove this warning. See [2023-06-02T15:40:52.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:40:52.921Z] [2023-06-02T15:40:52.921Z] Login Succeeded [2023-06-02T15:40:52.921Z] docker.io [2023-06-02T15:40:53.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-02T15:40:53.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-02T15:40:53.457Z] Configure a credential helper to remove this warning. See [2023-06-02T15:40:53.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-02T15:40:53.457Z] [2023-06-02T15:40:53.457Z] Login Succeeded [2023-06-02T15:40:53.457Z] ---> docker-login.sh ends [Pipeline] } [2023-06-02T15:40:53.487Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-02T15:40:53.851Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-02T15:40:53.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-02T15:40:53.974Z] ========================================================= [2023-06-02T15:40:53.974Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-02T15:40:53.974Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-02T15:40:54.479Z] + 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-06-02T15:40:55.069Z] Sending build context to Docker daemon 14.43MB [2023-06-02T15:40:55.069Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-02T15:40:55.069Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-02T15:40:55.069Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-02T15:40:55.069Z] c41833b44d91: Pulling fs layer [2023-06-02T15:40:55.069Z] ed15518f5707: Pulling fs layer [2023-06-02T15:40:55.069Z] feae8fd75edb: Pulling fs layer [2023-06-02T15:40:55.069Z] 242c74f7c9fa: Pulling fs layer [2023-06-02T15:40:55.069Z] 3cdef696dda3: Pulling fs layer [2023-06-02T15:40:55.069Z] 2ced38df9373: Pulling fs layer [2023-06-02T15:40:55.069Z] 58f1dce35555: Pulling fs layer [2023-06-02T15:40:55.069Z] 3cdef696dda3: Waiting [2023-06-02T15:40:55.069Z] 2ced38df9373: Waiting [2023-06-02T15:40:55.069Z] 242c74f7c9fa: Waiting [2023-06-02T15:40:55.069Z] ed15518f5707: Verifying Checksum [2023-06-02T15:40:55.069Z] ed15518f5707: Download complete [2023-06-02T15:40:55.069Z] 242c74f7c9fa: Download complete [2023-06-02T15:40:55.069Z] 3cdef696dda3: Verifying Checksum [2023-06-02T15:40:55.069Z] 3cdef696dda3: Download complete [2023-06-02T15:40:55.343Z] c41833b44d91: Verifying Checksum [2023-06-02T15:40:56.309Z] c41833b44d91: Pull complete [2023-06-02T15:40:56.586Z] 58f1dce35555: Verifying Checksum [2023-06-02T15:40:56.586Z] 58f1dce35555: Download complete [2023-06-02T15:40:56.857Z] ed15518f5707: Pull complete [2023-06-02T15:40:57.835Z] feae8fd75edb: Verifying Checksum [2023-06-02T15:40:57.835Z] 2ced38df9373: Verifying Checksum [2023-06-02T15:40:57.835Z] 2ced38df9373: Download complete [2023-06-02T15:41:07.925Z] feae8fd75edb: Pull complete [2023-06-02T15:41:08.194Z] 242c74f7c9fa: Pull complete [2023-06-02T15:41:08.462Z] 3cdef696dda3: Pull complete [2023-06-02T15:41:15.132Z] 2ced38df9373: Pull complete [2023-06-02T15:41:18.478Z] 58f1dce35555: Pull complete [2023-06-02T15:41:18.478Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-02T15:41:18.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-02T15:41:18.478Z] ---> fadd8f120f05 [2023-06-02T15:41:18.478Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-02T15:41:19.904Z] ---> Running in 6befe4c21860 [2023-06-02T15:41:20.184Z] Removing intermediate container 6befe4c21860 [2023-06-02T15:41:20.184Z] ---> 886be2716d9b [2023-06-02T15:41:20.184Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-02T15:41:20.184Z] ---> Running in 2c7521ff98cd [2023-06-02T15:41:20.453Z] Removing intermediate container 2c7521ff98cd [2023-06-02T15:41:20.453Z] ---> f1d7b234f7b6 [2023-06-02T15:41:20.453Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-06-02T15:41:20.453Z] ---> Running in 5c966dc58310 [2023-06-02T15:41:20.721Z] Removing intermediate container 5c966dc58310 [2023-06-02T15:41:20.721Z] ---> eed00988769b [2023-06-02T15:41:20.721Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-06-02T15:41:20.721Z] ---> Running in 06957111c32c [2023-06-02T15:41:21.306Z] Removing intermediate container 06957111c32c [2023-06-02T15:41:21.306Z] ---> 82230b9e71b3 [2023-06-02T15:41:21.306Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-06-02T15:41:21.306Z] ---> Running in f84097af1457 [2023-06-02T15:41:21.575Z] Removing intermediate container f84097af1457 [2023-06-02T15:41:21.575Z] ---> cc7e2673d919 [2023-06-02T15:41:21.575Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-02T15:41:21.575Z] ---> Running in 63389982a58c [2023-06-02T15:41:22.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-02T15:41:23.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-02T15:41:23.850Z] Removing intermediate container 8945e5618f5c [2023-06-02T15:41:23.850Z] ---> 88298a0feafd [2023-06-02T15:41:23.850Z] Step 14/26 : FROM alpine:3.17 [2023-06-02T15:41:23.850Z] 3.17: Pulling from library/alpine [2023-06-02T15:41:23.850Z] f56be85fc22e: Already exists [2023-06-02T15:41:24.084Z] OK: 263 MiB in 53 packages [2023-06-02T15:41:24.117Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-02T15:41:24.117Z] Status: Downloaded newer image for alpine:3.17 [2023-06-02T15:41:24.117Z] ---> 9ed4aefc74f6 [2023-06-02T15:41:24.117Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-06-02T15:41:24.117Z] ---> Running in fc69adcd62b3 [2023-06-02T15:41:24.376Z] Removing intermediate container fc69adcd62b3 [2023-06-02T15:41:24.376Z] ---> 5b493a53b6e6 [2023-06-02T15:41:24.376Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-06-02T15:41:24.376Z] ---> Running in 26d759bde398 [2023-06-02T15:41:24.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-02T15:41:24.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-02T15:41:25.054Z] Removing intermediate container 63389982a58c [2023-06-02T15:41:25.054Z] ---> de539de0f82e [2023-06-02T15:41:25.054Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-06-02T15:41:25.054Z] ---> Running in 3b4148e73fbf [2023-06-02T15:41:25.167Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-02T15:41:25.167Z] Executing busybox-1.35.0-r29.trigger [2023-06-02T15:41:25.167Z] OK: 7 MiB in 16 packages [2023-06-02T15:41:25.321Z] Removing intermediate container 3b4148e73fbf [2023-06-02T15:41:25.321Z] ---> 204b03f6ffe9 [2023-06-02T15:41:25.321Z] Step 10/13 : COPY go.mod vendor* ./ [2023-06-02T15:41:25.426Z] Removing intermediate container 26d759bde398 [2023-06-02T15:41:25.426Z] ---> 15a18efa56d2 [2023-06-02T15:41:25.426Z] Step 17/26 : WORKDIR / [2023-06-02T15:41:25.688Z] ---> Running in e6641157d9a7 [2023-06-02T15:41:25.688Z] Removing intermediate container e6641157d9a7 [2023-06-02T15:41:25.688Z] ---> 58e416ce6bda [2023-06-02T15:41:25.688Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-06-02T15:41:25.911Z] ---> 79aa917c6176 [2023-06-02T15:41:25.911Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-02T15:41:25.911Z] ---> Running in c0df57632b16 [2023-06-02T15:41:27.703Z] ---> 0cfc0f2acd4e [2023-06-02T15:41:27.703Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-06-02T15:41:27.962Z] ---> cfbd2e137f5c [2023-06-02T15:41:27.962Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-06-02T15:41:28.221Z] ---> 9595e3005845 [2023-06-02T15:41:28.221Z] Step 21/26 : EXPOSE 59984 [2023-06-02T15:41:28.221Z] ---> Running in fc1d0a12e18e [2023-06-02T15:41:28.221Z] Removing intermediate container fc1d0a12e18e [2023-06-02T15:41:28.221Z] ---> 7c283db11df8 [2023-06-02T15:41:28.221Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-06-02T15:41:28.221Z] ---> Running in d9ae5b1752ed [2023-06-02T15:41:28.488Z] Removing intermediate container d9ae5b1752ed [2023-06-02T15:41:28.488Z] ---> d64937eb12fb [2023-06-02T15:41:28.488Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-06-02T15:41:28.747Z] ---> Running in 7a7fd4a033bf [2023-06-02T15:41:28.747Z] Removing intermediate container 7a7fd4a033bf [2023-06-02T15:41:28.747Z] ---> e2a0a8dd3233 [2023-06-02T15:41:28.747Z] Step 24/26 : LABEL arch=amd64 [2023-06-02T15:41:28.747Z] ---> Running in d8752304a8fe [2023-06-02T15:41:29.007Z] Removing intermediate container d8752304a8fe [2023-06-02T15:41:29.007Z] ---> dcce39b332e2 [2023-06-02T15:41:29.007Z] Step 25/26 : LABEL git_sha=29f1d5b6c7990a62574b599f6d0a21a6f866e477 [2023-06-02T15:41:29.007Z] ---> Running in 785cc3a4279d [2023-06-02T15:41:29.007Z] Removing intermediate container 785cc3a4279d [2023-06-02T15:41:29.007Z] ---> 343a6731bb25 [2023-06-02T15:41:29.007Z] Step 26/26 : LABEL version=0.0.0 [2023-06-02T15:41:29.007Z] ---> Running in ad42a33c52eb [2023-06-02T15:41:29.265Z] Removing intermediate container ad42a33c52eb [2023-06-02T15:41:29.265Z] ---> 57bfc312a7a2 [2023-06-02T15:41:29.265Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-02T15:41:29.265Z] Successfully built 57bfc312a7a2 [2023-06-02T15:41:29.265Z] 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-06-02T15:41:30.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-02T15:41:30.116Z] [2023-06-02T15:41:30.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-02T15:41:30.499Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-02T15:41:30.499Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-02T15:41:30.499Z] 5eb5b503b376: Pulling fs layer [2023-06-02T15:41:30.499Z] 5c69ac0246d0: Pulling fs layer [2023-06-02T15:41:30.499Z] ec43610c2a17: Pulling fs layer [2023-06-02T15:41:30.499Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-02T15:41:30.499Z] 33b1e0a273af: Pulling fs layer [2023-06-02T15:41:30.499Z] 5d3b04190fa2: Pulling fs layer [2023-06-02T15:41:30.499Z] 2f39f015ded8: Pulling fs layer [2023-06-02T15:41:30.499Z] 33b1e0a273af: Waiting [2023-06-02T15:41:30.499Z] 2f39f015ded8: Waiting [2023-06-02T15:41:30.499Z] 3a2ae6a8a46f: Waiting [2023-06-02T15:41:30.499Z] 5c69ac0246d0: Verifying Checksum [2023-06-02T15:41:30.499Z] 5c69ac0246d0: Download complete [2023-06-02T15:41:30.499Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-02T15:41:30.499Z] 3a2ae6a8a46f: Download complete [2023-06-02T15:41:30.761Z] 33b1e0a273af: Verifying Checksum [2023-06-02T15:41:30.761Z] 33b1e0a273af: Download complete [2023-06-02T15:41:30.761Z] 5d3b04190fa2: Download complete [2023-06-02T15:41:30.761Z] ec43610c2a17: Verifying Checksum [2023-06-02T15:41:30.761Z] ec43610c2a17: Download complete [2023-06-02T15:41:30.761Z] 5eb5b503b376: Verifying Checksum [2023-06-02T15:41:30.761Z] 5eb5b503b376: Download complete [2023-06-02T15:41:31.709Z] 2f39f015ded8: Verifying Checksum [2023-06-02T15:41:31.709Z] 2f39f015ded8: Download complete [2023-06-02T15:41:32.646Z] 5eb5b503b376: Pull complete [2023-06-02T15:41:32.910Z] 5c69ac0246d0: Pull complete [2023-06-02T15:41:33.871Z] ec43610c2a17: Pull complete [2023-06-02T15:41:33.871Z] 3a2ae6a8a46f: Pull complete [2023-06-02T15:41:34.133Z] 33b1e0a273af: Pull complete [2023-06-02T15:41:34.133Z] 5d3b04190fa2: Pull complete [2023-06-02T15:41:40.766Z] 2f39f015ded8: Pull complete [2023-06-02T15:41:40.766Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-02T15:41:40.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-02T15:41:40.766Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-02T15:41:41.027Z] prd-ubuntu20.04-docker-8c-8g-17726 does not seem to be running inside a container [2023-06-02T15:41:41.089Z] $ 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-373 -v /w/workspace/undry_device-onvif-camera_PR-373:/w/workspace/undry_device-onvif-camera_PR-373:rw,z -v /w/workspace/undry_device-onvif-camera_PR-373@tmp:/w/workspace/undry_device-onvif-camera_PR-373@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-02T15:41:51.338Z] $ docker top e38d9b5afeb0049132ce8a19837746846f66b2c3bcea322629de7d7c14227db4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-02T15:41:51.837Z] ---> job-cost.sh [2023-06-02T15:41:51.837Z] lf-activate-venv: SKIPPING [2023-06-02T15:41:51.837Z] INFO: No Stack... [2023-06-02T15:41:52.097Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-02T15:41:52.665Z] INFO: Archiving Costs [Pipeline] sh [2023-06-02T15:41:52.987Z] + cat /w/workspace/undry_device-onvif-camera_PR-373/archives/cost.csv [2023-06-02T15:41:52.987Z] + cut -d, -f6 [Pipeline] lock [2023-06-02T15:41:53.028Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-373-1-stack-cost] [2023-06-02T15:41:53.033Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-373-1-stack-cost] did not exist. Created. [2023-06-02T15:41:53.034Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-373-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-02T15:41:53.441Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-02T15:41:53.501Z] Stashed 1 file(s) [Pipeline] } [2023-06-02T15:41:53.524Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-373-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-02T15:41:53.615Z] $ docker stop --time=1 e38d9b5afeb0049132ce8a19837746846f66b2c3bcea322629de7d7c14227db4 [2023-06-02T15:41:54.869Z] $ docker rm -f --volumes e38d9b5afeb0049132ce8a19837746846f66b2c3bcea322629de7d7c14227db4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-02T15:42:33.772Z] Removing intermediate container c0df57632b16 [2023-06-02T15:42:33.773Z] ---> 6b5896b8078c [2023-06-02T15:42:33.773Z] Step 12/13 : COPY . . [2023-06-02T15:42:33.773Z] ---> e82bf460f926 [2023-06-02T15:42:33.773Z] Step 13/13 : RUN ${MAKE} [2023-06-02T15:42:33.773Z] ---> Running in 9bdc4b9e50e1 [2023-06-02T15:42:33.773Z] noop [2023-06-02T15:42:33.773Z] Removing intermediate container 9bdc4b9e50e1 [2023-06-02T15:42:33.773Z] ---> c9528d7da0bd [2023-06-02T15:42:33.773Z] Successfully built c9528d7da0bd [2023-06-02T15:42:33.773Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-02T15:42:34.245Z] + docker inspect -f . ci-base-image-arm64 [2023-06-02T15:42:34.245Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-02T15:42:34.511Z] prd-ubuntu20.04-docker-arm64-4c-16g-17727 does not seem to be running inside a container [2023-06-02T15:42:34.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-02T15:42:35.616Z] $ docker top 3cf8704b3b17460d14be35d6fcb30f5621c64265893124d2dc8416c00f95f92b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-02T15:42:36.450Z] + go version [2023-06-02T15:42:36.450Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-02T15:42:36.486Z] $ docker stop --time=1 3cf8704b3b17460d14be35d6fcb30f5621c64265893124d2dc8416c00f95f92b [2023-06-02T15:42:38.019Z] $ docker rm -f --volumes 3cf8704b3b17460d14be35d6fcb30f5621c64265893124d2dc8416c00f95f92b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-02T15:42:38.830Z] + docker inspect -f . ci-base-image-arm64 [2023-06-02T15:42:38.830Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-02T15:42:39.060Z] prd-ubuntu20.04-docker-arm64-4c-16g-17727 does not seem to be running inside a container [2023-06-02T15:42:39.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-02T15:42:42.798Z] $ docker top b8fcb62534becbdb45b8831241d55ac4478dfde0a10327b83743396ee9a254a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-02T15:42:43.313Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-06-02T15:42:43.704Z] + make test [2023-06-02T15:42:43.704Z] go test ./... -coverprofile=coverage.out ./... [2023-06-02T15:43:15.992Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-06-02T15:45:22.681Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-06-02T15:45:22.681Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-06-02T15:45:22.681Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.246s coverage: 31.4% of statements [2023-06-02T15:45:44.781Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.968s coverage: 86.5% of statements [2023-06-02T15:45:44.781Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-02T15:45:44.781Z] go vet ./... [2023-06-02T15:46:11.484Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-02T15:46:11.484Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-02T15:46:11.484Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-02T15:46:11.525Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-02T15:46:11.553Z] $ docker stop --time=1 b8fcb62534becbdb45b8831241d55ac4478dfde0a10327b83743396ee9a254a0 [2023-06-02T15:46:13.398Z] $ docker rm -f --volumes b8fcb62534becbdb45b8831241d55ac4478dfde0a10327b83743396ee9a254a0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-02T15:46:14.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-02T15:46:14.634Z] Warning: overwriting stash ‘coverage-report’ [2023-06-02T15:46:15.119Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-02T15:46:15.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-02T15:46:16.043Z] + ls -al . [2023-06-02T15:46:16.043Z] total 236 [2023-06-02T15:46:16.043Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 2 15:42 . [2023-06-02T15:46:16.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 15:40 .. [2023-06-02T15:46:16.043Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 15:40 .git [2023-06-02T15:46:16.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 15:40 .github [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 496 Jun 2 15:40 .gitignore [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 2 15:40 .golangci.yml [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 10087 Jun 2 15:40 Attribution.txt [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 15932 Jun 2 15:40 CHANGELOG.md [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jun 2 15:40 Dockerfile [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 15:40 GOVERNANCE.md [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 739 Jun 2 15:40 Jenkinsfile [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 2 15:40 LICENSE [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 2751 Jun 2 15:40 Makefile [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 2 15:40 OWNERS.md [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jun 2 15:40 README.md [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 15:38 VERSION [2023-06-02T15:46:16.043Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 15:40 bin [2023-06-02T15:46:16.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 15:40 cmd [2023-06-02T15:46:16.043Z] -rw-r--r-- 1 jenkins jenkins 78459 Jun 2 15:45 coverage.out [2023-06-02T15:46:16.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 15:40 doc [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 3594 Jun 2 15:40 go.mod [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 33395 Jun 2 15:40 go.sum [2023-06-02T15:46:16.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 15:40 internal [2023-06-02T15:46:16.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 15:40 snap [2023-06-02T15:46:16.043Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 2 15:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-02T15:46:16.459Z] + 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=29f1d5b6c7990a62574b599f6d0a21a6f866e477 --label arch=arm64 --label version=0.0.0 . [2023-06-02T15:46:17.043Z] Sending build context to Docker daemon 14.51MB [2023-06-02T15:46:17.043Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-06-02T15:46:17.043Z] Step 2/26 : FROM ${BASE} AS builder [2023-06-02T15:46:17.043Z] ---> c9528d7da0bd [2023-06-02T15:46:17.043Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-06-02T15:46:17.043Z] ---> Running in c10e813c8a61 [2023-06-02T15:46:17.312Z] Removing intermediate container c10e813c8a61 [2023-06-02T15:46:17.312Z] ---> 8a0c3832e04f [2023-06-02T15:46:17.312Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-02T15:46:17.580Z] ---> Running in 057e67eb6555 [2023-06-02T15:46:17.849Z] Removing intermediate container 057e67eb6555 [2023-06-02T15:46:17.849Z] ---> 5ebc82629b80 [2023-06-02T15:46:17.849Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-06-02T15:46:17.849Z] ---> Running in 1308db26ca4b [2023-06-02T15:46:18.116Z] Removing intermediate container 1308db26ca4b [2023-06-02T15:46:18.116Z] ---> 335e32bc9bc5 [2023-06-02T15:46:18.116Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-06-02T15:46:18.116Z] ---> Running in c3c06cfc99ba [2023-06-02T15:46:18.387Z] Removing intermediate container c3c06cfc99ba [2023-06-02T15:46:18.387Z] ---> a781245c35ff [2023-06-02T15:46:18.387Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-06-02T15:46:18.387Z] ---> Running in db6651065fea [2023-06-02T15:46:18.655Z] Removing intermediate container db6651065fea [2023-06-02T15:46:18.655Z] ---> 36add6b8c3c1 [2023-06-02T15:46:18.655Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-02T15:46:18.925Z] ---> Running in f94bc17afde7 [2023-06-02T15:46:19.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-02T15:46:20.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-02T15:46:21.424Z] OK: 263 MiB in 53 packages [2023-06-02T15:46:22.010Z] Removing intermediate container f94bc17afde7 [2023-06-02T15:46:22.010Z] ---> 27f840bbd731 [2023-06-02T15:46:22.010Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-06-02T15:46:22.010Z] ---> Running in d41e96fa711f [2023-06-02T15:46:22.277Z] Removing intermediate container d41e96fa711f [2023-06-02T15:46:22.277Z] ---> 4739e5eac2f7 [2023-06-02T15:46:22.277Z] Step 10/26 : COPY go.mod vendor* ./ [2023-06-02T15:46:22.862Z] ---> f736518403f4 [2023-06-02T15:46:22.862Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-02T15:46:22.862Z] ---> Running in 8a3cf0fadc3a [2023-06-02T15:46:25.436Z] Removing intermediate container 8a3cf0fadc3a [2023-06-02T15:46:25.436Z] ---> 74c1531909a4 [2023-06-02T15:46:25.436Z] Step 12/26 : COPY . . [2023-06-02T15:46:26.841Z] ---> 720f7fdf87ce [2023-06-02T15:46:26.841Z] Step 13/26 : RUN ${MAKE} [2023-06-02T15:46:26.841Z] ---> Running in 09f086d59d83 [2023-06-02T15:46:27.803Z] 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-06-02T15:48:34.461Z] Removing intermediate container 09f086d59d83 [2023-06-02T15:48:34.461Z] ---> d981f32dde6d [2023-06-02T15:48:34.461Z] Step 14/26 : FROM alpine:3.17 [2023-06-02T15:48:35.040Z] 3.17: Pulling from library/alpine [2023-06-02T15:48:35.040Z] c41833b44d91: Already exists [2023-06-02T15:48:35.304Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-02T15:48:35.304Z] Status: Downloaded newer image for alpine:3.17 [2023-06-02T15:48:35.304Z] ---> 51e60588ff2c [2023-06-02T15:48:35.304Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-06-02T15:48:35.304Z] ---> Running in 77716d00fbfa [2023-06-02T15:48:35.573Z] Removing intermediate container 77716d00fbfa [2023-06-02T15:48:35.573Z] ---> 403f1bf8ccf9 [2023-06-02T15:48:35.573Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-06-02T15:48:35.573Z] ---> Running in b999d593b569 [2023-06-02T15:48:36.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-02T15:48:37.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-02T15:48:38.075Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-02T15:48:38.075Z] Executing busybox-1.35.0-r29.trigger [2023-06-02T15:48:38.075Z] OK: 8 MiB in 16 packages [2023-06-02T15:48:39.031Z] Removing intermediate container b999d593b569 [2023-06-02T15:48:39.031Z] ---> 9ddb3f498e0f [2023-06-02T15:48:39.031Z] Step 17/26 : WORKDIR / [2023-06-02T15:48:39.031Z] ---> Running in 1629685e2114 [2023-06-02T15:48:39.297Z] Removing intermediate container 1629685e2114 [2023-06-02T15:48:39.297Z] ---> 4518e4fae89b [2023-06-02T15:48:39.297Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-06-02T15:48:41.236Z] ---> 271249cb19a9 [2023-06-02T15:48:41.236Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-06-02T15:48:41.822Z] ---> 64d6b1d215c7 [2023-06-02T15:48:41.822Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-06-02T15:48:42.406Z] ---> 73b4c57b5d6b [2023-06-02T15:48:42.406Z] Step 21/26 : EXPOSE 59984 [2023-06-02T15:48:42.406Z] ---> Running in 672f5df5524c [2023-06-02T15:48:42.674Z] Removing intermediate container 672f5df5524c [2023-06-02T15:48:42.674Z] ---> d519c19dfa68 [2023-06-02T15:48:42.674Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-06-02T15:48:42.674Z] ---> Running in 55ade9783653 [2023-06-02T15:48:42.940Z] Removing intermediate container 55ade9783653 [2023-06-02T15:48:42.940Z] ---> 1d311bc8e78e [2023-06-02T15:48:42.940Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-06-02T15:48:42.940Z] ---> Running in eb45c376b646 [2023-06-02T15:48:43.208Z] Removing intermediate container eb45c376b646 [2023-06-02T15:48:43.208Z] ---> e6e9558d529f [2023-06-02T15:48:43.208Z] Step 24/26 : LABEL arch=arm64 [2023-06-02T15:48:43.208Z] ---> Running in fa3933156c86 [2023-06-02T15:48:43.475Z] Removing intermediate container fa3933156c86 [2023-06-02T15:48:43.475Z] ---> 7bb1c83e8442 [2023-06-02T15:48:43.475Z] Step 25/26 : LABEL git_sha=29f1d5b6c7990a62574b599f6d0a21a6f866e477 [2023-06-02T15:48:43.743Z] ---> Running in 304f8c4a7723 [2023-06-02T15:48:44.008Z] Removing intermediate container 304f8c4a7723 [2023-06-02T15:48:44.008Z] ---> b65b046f6a25 [2023-06-02T15:48:44.008Z] Step 26/26 : LABEL version=0.0.0 [2023-06-02T15:48:44.008Z] ---> Running in 9fca8115bc5b [2023-06-02T15:48:44.273Z] Removing intermediate container 9fca8115bc5b [2023-06-02T15:48:44.273Z] ---> bae6c20a90bc [2023-06-02T15:48:44.273Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-02T15:48:44.273Z] Successfully built bae6c20a90bc [2023-06-02T15:48:44.273Z] 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-06-02T15:48:45.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-02T15:48:45.107Z] [2023-06-02T15:48:45.107Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-02T15:48:45.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-02T15:48:45.532Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-02T15:48:45.532Z] 8998bd30e6a1: Pulling fs layer [2023-06-02T15:48:45.532Z] 04944245beec: Pulling fs layer [2023-06-02T15:48:45.532Z] 699f458cf7ca: Pulling fs layer [2023-06-02T15:48:45.532Z] 765212b225bb: Pulling fs layer [2023-06-02T15:48:45.532Z] f23df028b6ca: Pulling fs layer [2023-06-02T15:48:45.532Z] d65c8cfc05b1: Pulling fs layer [2023-06-02T15:48:45.532Z] 2437ff75d9bd: Pulling fs layer [2023-06-02T15:48:45.532Z] 765212b225bb: Waiting [2023-06-02T15:48:45.532Z] f23df028b6ca: Waiting [2023-06-02T15:48:45.532Z] d65c8cfc05b1: Waiting [2023-06-02T15:48:45.532Z] 2437ff75d9bd: Waiting [2023-06-02T15:48:45.802Z] 04944245beec: Verifying Checksum [2023-06-02T15:48:45.802Z] 04944245beec: Download complete [2023-06-02T15:48:45.802Z] 765212b225bb: Download complete [2023-06-02T15:48:45.802Z] f23df028b6ca: Download complete [2023-06-02T15:48:45.802Z] d65c8cfc05b1: Verifying Checksum [2023-06-02T15:48:45.802Z] d65c8cfc05b1: Download complete [2023-06-02T15:48:45.802Z] 699f458cf7ca: Verifying Checksum [2023-06-02T15:48:45.802Z] 699f458cf7ca: Download complete [2023-06-02T15:48:46.387Z] 8998bd30e6a1: Verifying Checksum [2023-06-02T15:48:46.387Z] 8998bd30e6a1: Download complete [2023-06-02T15:48:48.329Z] 2437ff75d9bd: Verifying Checksum [2023-06-02T15:48:48.329Z] 2437ff75d9bd: Download complete [2023-06-02T15:48:50.270Z] 8998bd30e6a1: Pull complete [2023-06-02T15:48:50.536Z] 04944245beec: Pull complete [2023-06-02T15:48:51.942Z] 699f458cf7ca: Pull complete [2023-06-02T15:48:51.942Z] 765212b225bb: Pull complete [2023-06-02T15:48:54.514Z] f23df028b6ca: Pull complete [2023-06-02T15:48:54.514Z] d65c8cfc05b1: Pull complete [2023-06-02T15:49:09.493Z] 2437ff75d9bd: Pull complete [2023-06-02T15:49:09.493Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-02T15:49:09.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-02T15:49:09.493Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-02T15:49:09.815Z] prd-ubuntu20.04-docker-arm64-4c-16g-17727 does not seem to be running inside a container [2023-06-02T15:49:09.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-06-02T15:49:12.461Z] $ docker top d3d9c1fc21c72aa310bfc5337b8135bc379b8c0cfdedd403f81426e7acc7a957 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-02T15:49:13.028Z] ---> job-cost.sh [2023-06-02T15:49:13.293Z] lf-activate-venv: SKIPPING [2023-06-02T15:49:13.293Z] INFO: No Stack... [2023-06-02T15:49:13.557Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-02T15:49:14.509Z] INFO: Archiving Costs [Pipeline] sh [2023-06-02T15:49:14.851Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-06-02T15:49:14.851Z] + cut -d, -f6 [Pipeline] lock [2023-06-02T15:49:14.899Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-373-1-stack-cost] [2023-06-02T15:49:14.903Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-373-1-stack-cost] did not exist. Created. [2023-06-02T15:49:14.903Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-373-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-02T15:49:15.304Z] /w/workspace/device-onvif-camera/1@tmp/durable-3cd17465/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-02T15:49:15.647Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-02T15:49:15.680Z] Warning: overwriting stash ‘stack-cost’ [2023-06-02T15:49:15.729Z] Stashed 1 file(s) [Pipeline] } [2023-06-02T15:49:15.743Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-373-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-02T15:49:15.823Z] $ docker stop --time=1 d3d9c1fc21c72aa310bfc5337b8135bc379b8c0cfdedd403f81426e7acc7a957 [2023-06-02T15:49:17.293Z] $ docker rm -f --volumes d3d9c1fc21c72aa310bfc5337b8135bc379b8c0cfdedd403f81426e7acc7a957 [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-06-02T15:49:18.268Z] provisioning config files... [2023-06-02T15:49:18.274Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-373@tmp/config11977014960805473119tmp [Pipeline] { [Pipeline] sh [2023-06-02T15:49:18.619Z] + set +x [2023-06-02T15:49:18.619Z] + curl -s https://codecov.io/bash [2023-06-02T15:49:18.619Z] + bash -s -- [2023-06-02T15:49:18.619Z] [2023-06-02T15:49:18.619Z] _____ _ [2023-06-02T15:49:18.619Z] / ____| | | [2023-06-02T15:49:18.619Z] | | ___ __| | ___ ___ _____ __ [2023-06-02T15:49:18.619Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-02T15:49:18.619Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-02T15:49:18.619Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-02T15:49:18.619Z] Bash-1.0.6 [2023-06-02T15:49:18.619Z] [2023-06-02T15:49:18.619Z] [2023-06-02T15:49:18.619Z] ==> git version 2.25.1 found [2023-06-02T15:49:18.619Z] ==> 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-06-02T15:49:18.619Z] Release-Date: 2020-01-08 [2023-06-02T15:49:18.619Z] 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-06-02T15:49:18.619Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-02T15:49:18.619Z] ==> Jenkins CI detected. [2023-06-02T15:49:18.619Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-373 [2023-06-02T15:49:18.619Z] project root: . [2023-06-02T15:49:18.619Z] --> token set from env [2023-06-02T15:49:18.619Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-02T15:49:18.619Z] ==> Running gcov in . (disable via -X gcov) [2023-06-02T15:49:18.619Z] ==> Python coveragepy not found [2023-06-02T15:49:18.619Z] ==> Searching for coverage reports in: [2023-06-02T15:49:18.619Z] + . [2023-06-02T15:49:18.619Z] -> Found 1 reports [2023-06-02T15:49:18.619Z] ==> Detecting git/mercurial file structure [2023-06-02T15:49:18.619Z] ==> Reading reports [2023-06-02T15:49:18.619Z] + ./coverage.out bytes=78459 [2023-06-02T15:49:18.878Z] ==> Appending adjustments [2023-06-02T15:49:18.878Z] https://docs.codecov.io/docs/fixing-reports [2023-06-02T15:49:18.878Z] + Found adjustments [2023-06-02T15:49:18.878Z] ==> Gzipping contents [2023-06-02T15:49:18.878Z] 12K /tmp/codecov.xcBCPk.gz [2023-06-02T15:49:18.878Z] ==> Uploading reports [2023-06-02T15:49:18.878Z] url: https://codecov.io [2023-06-02T15:49:18.878Z] query: branch=PR-373&commit=29f1d5b6c7990a62574b599f6d0a21a6f866e477&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-373%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=373&job=&cmd_args= [2023-06-02T15:49:18.878Z] -> Pinging Codecov [2023-06-02T15:49:18.878Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-373&commit=29f1d5b6c7990a62574b599f6d0a21a6f866e477&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-373%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=373&job=&cmd_args= [2023-06-02T15:49:19.139Z] -> Uploading to [2023-06-02T15:49:19.139Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-02/F29A59C45E3A92E06B3E522C9905F8EF/29f1d5b6c7990a62574b599f6d0a21a6f866e477/7f01c72e-511e-4319-b3dc-e60bd17e84e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230602T154918Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e68efaf074ae6b0a8c550636df90dadb16d3104fd5ae0203fe59ec8460f52a82 [2023-06-02T15:49:19.139Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-02T15:49:19.139Z] Dload Upload Total Spent Left Speed [2023-06-02T15:49:19.399Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 57688 --:--:-- --:--:-- --:--:-- 57688 [2023-06-02T15:49:19.399Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/29f1d5b6c7990a62574b599f6d0a21a6f866e477 [Pipeline] } [2023-06-02T15:49:19.426Z] 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-06-02T15:49:21.171Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-373/archives ] [2023-06-02T15:49:21.171Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-373/archives [2023-06-02T15:49:21.171Z] total 16 [2023-06-02T15:49:21.171Z] drwxr-xr-x 3 root root 4096 Jun 2 15:41 . [2023-06-02T15:49:21.171Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 2 15:41 .. [2023-06-02T15:49:21.171Z] drwxr-xr-x 2 root root 4096 Jun 2 15:41 cost [2023-06-02T15:49:21.171Z] -rw-r--r-- 1 root root 91 Jun 2 15:41 cost.csv [2023-06-02T15:49:21.171Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-373/archives [2023-06-02T15:49:21.171Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-373/archives [2023-06-02T15:49:21.171Z] total 16 [2023-06-02T15:49:21.171Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 15:41 . [2023-06-02T15:49:21.171Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 2 15:41 .. [2023-06-02T15:49:21.171Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 15:41 cost [2023-06-02T15:49:21.171Z] -rw-r--r-- 1 jenkins jenkins 91 Jun 2 15:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-02T15:49:21.503Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-02T15:49:22.387Z] ---> package-listing.sh [2023-06-02T15:49:22.387Z] ++ facter osfamily [2023-06-02T15:49:22.387Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-02T15:49:22.646Z] + OS_FAMILY=debian [2023-06-02T15:49:22.646Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-373 [2023-06-02T15:49:22.646Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-02T15:49:22.646Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-02T15:49:22.646Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-02T15:49:22.646Z] + PACKAGES=/tmp/packages_start.txt [2023-06-02T15:49:22.646Z] + '[' /w/workspace/undry_device-onvif-camera_PR-373 ']' [2023-06-02T15:49:22.646Z] + PACKAGES=/tmp/packages_end.txt [2023-06-02T15:49:22.646Z] + case "${OS_FAMILY}" in [2023-06-02T15:49:22.646Z] + dpkg -l [2023-06-02T15:49:22.646Z] + grep '^ii' [2023-06-02T15:49:22.646Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-02T15:49:22.646Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-02T15:49:22.646Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-02T15:49:22.646Z] + '[' /w/workspace/undry_device-onvif-camera_PR-373 ']' [2023-06-02T15:49:22.646Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-373/archives/ [2023-06-02T15:49:22.646Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-373/archives/ [Pipeline] echo [2023-06-02T15:49:22.695Z] 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-373/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-02T15:49:22.985Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-02T15:49:23.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-02T15:49:23.608Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-02T15:49:23.766Z] prd-ubuntu20.04-docker-8c-8g-17726 does not seem to be running inside a container [2023-06-02T15:49:23.809Z] $ 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-373/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-373 -v /w/workspace/undry_device-onvif-camera_PR-373:/w/workspace/undry_device-onvif-camera_PR-373:rw,z -v /w/workspace/undry_device-onvif-camera_PR-373@tmp:/w/workspace/undry_device-onvif-camera_PR-373@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-02T15:49:25.101Z] $ docker top fb157e7cbd82fffdd5eb571367d5a0dafed2762b83a08ef5909ed67a19d0cfa6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-02T15:49:25.493Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-02T15:49:25.801Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-02T15:49:26.125Z] + ls /var/log/sa-host [2023-06-02T15:49:26.125Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-02T15:49:26.352Z] provisioning config files... [2023-06-02T15:49:26.361Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-373@tmp/config17922648443609954547tmp [Pipeline] { [Pipeline] echo [2023-06-02T15:49:26.412Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-02T15:49:26.726Z] ---> create-netrc.sh [Pipeline] } [2023-06-02T15:49:26.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-02T15:49:27.151Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-02T15:49:27.184Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-02T15:49:27.495Z] ---> sudo-logs.sh [2023-06-02T15:49:27.495Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-02T15:49:27.583Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-02T15:49:27.903Z] ---> job-cost.sh [2023-06-02T15:49:27.903Z] lf-activate-venv: SKIPPING [2023-06-02T15:49:27.903Z] DEBUG: total: 0.2199999988079071 [2023-06-02T15:49:27.903Z] INFO: Retrieving Stack Cost... [2023-06-02T15:49:28.162Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-02T15:49:28.731Z] INFO: Archiving Costs [Pipeline] echo [2023-06-02T15:49:28.764Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-02T15:49:29.069Z] ---> logs-deploy.sh [2023-06-02T15:49:29.069Z] lf-activate-venv: SKIPPING [2023-06-02T15:49:29.069Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-373/1 [2023-06-02T15:49:29.069Z] INFO: archiving workspace using pattern(s): [2023-06-02T15:49:30.006Z] Archives upload complete. [2023-06-02T15:49:30.264Z] INFO: archiving logs to Nexus