Pull request #238 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 4a9e67fa37862f83ef90b637e6c765491ff37d3a rather than aea9ada17b17f984460171250450ab67dc1e7213 Obtained Jenkinsfile from 4a9e67fa37862f83ef90b637e6c765491ff37d3a 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-ssh5566579157563780490.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh9062482978013993956.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-238/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-238/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11176121403301564757.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1650165434841139561.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-238/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-238/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17749508730559866875.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8109 in /w/workspace/undry_device-onvif-camera_PR-238 [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-238 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit aea9ada17b17f984460171250450ab67dc1e7213 Merge succeeded, producing aea9ada17b17f984460171250450ab67dc1e7213 Checking out Revision aea9ada17b17f984460171250450ab67dc1e7213 (PR-238) > git config core.sparsecheckout # timeout=10 > git checkout -f aea9ada17b17f984460171250450ab67dc1e7213 # 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 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aea9ada17b17f984460171250450ab67dc1e7213 # timeout=10 Commit message: "refactor!: Update secrets to SecretData for insecureSecrets" > git rev-list --no-walk a4de59f48072e4e421019fd5e1a198f90eb5d63e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-02T17:41:16.876Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-02T17:41:16.929Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-02T17:41:16.942Z] ========================================================= [2023-03-02T17:41:16.943Z] EdgeX Global Pipelines Version Info [2023-03-02T17:41:16.943Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-02T17:41:18.043Z] ------------------- [2023-03-02T17:41:18.044Z] stable info: [2023-03-02T17:41:18.044Z] ------------------- [2023-03-02T17:41:18.044Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-02T17:41:18.044Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T17:41:18.044Z] Message: update stable to v1.0.244 [2023-03-02T17:41:18.303Z] ------------------- [2023-03-02T17:41:18.303Z] experimental info: [2023-03-02T17:41:18.303Z] ------------------- [2023-03-02T17:41:18.303Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-02T17:41:18.303Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T17:41:18.303Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-02T17:41:18.536Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-02T17:41:18.547Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-02T17:41:18.562Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-02T17:41:18.579Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-02T17:41:18.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-02T17:41:18.599Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-02T17:41:18.609Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-02T17:41:18.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-02T17:41:18.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-02T17:41:18.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-02T17:41:18.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-02T17:41:18.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-02T17:41:18.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-02T17:41:18.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-02T17:41:18.741Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-02T17:41:18.749Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-02T17:41:18.758Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T17:41:18.769Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T17:41:18.780Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-02T17:41:18.791Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-02T17:41:18.804Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-02T17:41:18.815Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-02T17:41:18.823Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-02T17:41:18.832Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-02T17:41:18.841Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-02T17:41:18.850Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-02T17:41:18.867Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-02T17:41:18.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-238 [Pipeline] echo [2023-03-02T17:41:18.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-238 [Pipeline] echo [2023-03-02T17:41:18.920Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-238 [Pipeline] echo [2023-03-02T17:41:18.940Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aea9ada17b17f984460171250450ab67dc1e7213 [Pipeline] echo [2023-03-02T17:41:18.957Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aea9ada [Pipeline] echo [2023-03-02T17:41:18.974Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T17:41:19.012Z] provisioning config files... [2023-03-02T17:41:19.027Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config14780817520538171659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T17:41:19.328Z] ---> docker-login.sh [2023-03-02T17:41:19.328Z] nexus3.edgexfoundry.org:10001 [2023-03-02T17:41:20.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:41:20.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:41:20.714Z] Configure a credential helper to remove this warning. See [2023-03-02T17:41:20.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:41:20.714Z] [2023-03-02T17:41:20.714Z] Login Succeeded [2023-03-02T17:41:20.714Z] nexus3.edgexfoundry.org:10002 [2023-03-02T17:41:20.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:41:21.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:41:21.001Z] Configure a credential helper to remove this warning. See [2023-03-02T17:41:21.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:41:21.001Z] [2023-03-02T17:41:21.001Z] Login Succeeded [2023-03-02T17:41:21.001Z] nexus3.edgexfoundry.org:10003 [2023-03-02T17:41:21.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:41:21.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:41:21.001Z] Configure a credential helper to remove this warning. See [2023-03-02T17:41:21.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:41:21.001Z] [2023-03-02T17:41:21.001Z] Login Succeeded [2023-03-02T17:41:21.001Z] nexus3.edgexfoundry.org:10004 [2023-03-02T17:41:21.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:41:21.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:41:21.001Z] Configure a credential helper to remove this warning. See [2023-03-02T17:41:21.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:41:21.001Z] [2023-03-02T17:41:21.001Z] Login Succeeded [2023-03-02T17:41:21.001Z] docker.io [2023-03-02T17:41:21.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:41:21.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:41:21.268Z] Configure a credential helper to remove this warning. See [2023-03-02T17:41:21.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:41:21.268Z] [2023-03-02T17:41:21.268Z] Login Succeeded [2023-03-02T17:41:21.268Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T17:41:21.278Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-02T17:41:21.654Z] + git rev-list -1 --merges aea9ada17b17f984460171250450ab67dc1e7213~1..aea9ada17b17f984460171250450ab67dc1e7213 [Pipeline] echo [2023-03-02T17:41:21.706Z] -----------> git rev-list -1 --merges aea9ada17b17f984460171250450ab67dc1e7213~1..aea9ada17b17f984460171250450ab67dc1e7213 aea9ada17b17f984460171250450ab67dc1e7213 [false] [Pipeline] sh [2023-03-02T17:41:21.996Z] + git log --format=format:%s -1 aea9ada17b17f984460171250450ab67dc1e7213 [Pipeline] echo [2023-03-02T17:41:22.011Z] ========================================================= [2023-03-02T17:41:22.011Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-02T17:41:22.011Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T17:41:22.382Z] + git log --format=format:%s -1 aea9ada17b17f984460171250450ab67dc1e7213 [Pipeline] echo [2023-03-02T17:41:22.393Z] [semverPrep] GIT_COMMIT: aea9ada17b17f984460171250450ab67dc1e7213, Commit Message: refactor!: Update secrets to SecretData for insecureSecrets [Pipeline] echo [2023-03-02T17:41:22.401Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-02T17:41:22.757Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-02T17:41:22.757Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-02T17:41:22.757Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-02T17:41:22.757Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-02T17:41:22.757Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-02T17:41:22.757Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-02T17:41:22.757Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T17:41:23.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T17:41:23.106Z] [2023-03-02T17:41:23.106Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T17:41:23.409Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T17:41:23.671Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-02T17:41:23.671Z] b85a868b505f: Pulling fs layer [2023-03-02T17:41:23.672Z] e2be974225ed: Pulling fs layer [2023-03-02T17:41:23.672Z] 339a4e72a1f5: Pulling fs layer [2023-03-02T17:41:23.672Z] 988bab9f4d93: Pulling fs layer [2023-03-02T17:41:23.672Z] 1469e6f7b9e6: Pulling fs layer [2023-03-02T17:41:23.672Z] eaf3925da568: Pulling fs layer [2023-03-02T17:41:23.672Z] bab4dde63d76: Pulling fs layer [2023-03-02T17:41:23.672Z] bde34c3a00c8: Pulling fs layer [2023-03-02T17:41:23.672Z] b352a97aabf1: Pulling fs layer [2023-03-02T17:41:23.672Z] 4872d77fe225: Pulling fs layer [2023-03-02T17:41:23.672Z] 5851b861e8e6: Pulling fs layer [2023-03-02T17:41:23.672Z] 988bab9f4d93: Waiting [2023-03-02T17:41:23.672Z] 1469e6f7b9e6: Waiting [2023-03-02T17:41:23.672Z] eaf3925da568: Waiting [2023-03-02T17:41:23.672Z] bab4dde63d76: Waiting [2023-03-02T17:41:23.672Z] bde34c3a00c8: Waiting [2023-03-02T17:41:23.672Z] b352a97aabf1: Waiting [2023-03-02T17:41:23.672Z] 4872d77fe225: Waiting [2023-03-02T17:41:23.672Z] 5851b861e8e6: Waiting [2023-03-02T17:41:23.672Z] e2be974225ed: Download complete [2023-03-02T17:41:23.672Z] 988bab9f4d93: Verifying Checksum [2023-03-02T17:41:23.672Z] 988bab9f4d93: Download complete [2023-03-02T17:41:23.931Z] 1469e6f7b9e6: Verifying Checksum [2023-03-02T17:41:23.931Z] 1469e6f7b9e6: Download complete [2023-03-02T17:41:23.931Z] 339a4e72a1f5: Verifying Checksum [2023-03-02T17:41:23.931Z] 339a4e72a1f5: Download complete [2023-03-02T17:41:23.931Z] eaf3925da568: Download complete [2023-03-02T17:41:23.931Z] bde34c3a00c8: Verifying Checksum [2023-03-02T17:41:23.931Z] bde34c3a00c8: Download complete [2023-03-02T17:41:23.931Z] b352a97aabf1: Download complete [2023-03-02T17:41:23.931Z] 4872d77fe225: Verifying Checksum [2023-03-02T17:41:23.931Z] 4872d77fe225: Download complete [2023-03-02T17:41:23.931Z] 5851b861e8e6: Verifying Checksum [2023-03-02T17:41:23.931Z] 5851b861e8e6: Download complete [2023-03-02T17:41:23.931Z] b85a868b505f: Download complete [2023-03-02T17:41:24.498Z] bab4dde63d76: Verifying Checksum [2023-03-02T17:41:24.498Z] bab4dde63d76: Download complete [2023-03-02T17:41:25.435Z] b85a868b505f: Pull complete [2023-03-02T17:41:25.693Z] e2be974225ed: Pull complete [2023-03-02T17:41:25.952Z] 339a4e72a1f5: Pull complete [2023-03-02T17:41:26.211Z] 988bab9f4d93: Pull complete [2023-03-02T17:41:26.469Z] 1469e6f7b9e6: Pull complete [2023-03-02T17:41:26.469Z] eaf3925da568: Pull complete [2023-03-02T17:41:29.004Z] bab4dde63d76: Pull complete [2023-03-02T17:41:29.004Z] bde34c3a00c8: Pull complete [2023-03-02T17:41:29.262Z] b352a97aabf1: Pull complete [2023-03-02T17:41:29.262Z] 4872d77fe225: Pull complete [2023-03-02T17:41:29.262Z] 5851b861e8e6: Pull complete [2023-03-02T17:41:29.522Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-02T17:41:29.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T17:41:29.522Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T17:41:29.609Z] prd-ubuntu20.04-docker-8c-8g-8109 does not seem to be running inside a container [2023-03-02T17:41:29.638Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-02T17:41:33.811Z] $ docker top c114941c8110d161f65c371dbdd6af70aac78c729b2a4199122a4c3e86da7f14 -eo pid,comm [2023-03-02T17:41:33.876Z] 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-03-02T17:41:33.876Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-02T17:41:33.916Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T17:41:33.916Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T17:41:34.020Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T17:41:34.026Z] $ docker exec c114941c8110d161f65c371dbdd6af70aac78c729b2a4199122a4c3e86da7f14 ssh-agent [2023-03-02T17:41:34.147Z] SSH_AUTH_SOCK=/tmp/ssh-OYst0sCFy2MM/agent.32 [2023-03-02T17:41:34.147Z] SSH_AGENT_PID=38 [2023-03-02T17:41:34.153Z] Running ssh-add (command line suppressed) [2023-03-02T17:41:34.282Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_3463723041350119814.key (/w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_3463723041350119814.key) [2023-03-02T17:41:34.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T17:41:34.579Z] + git tag --points-at HEAD [Pipeline] } [2023-03-02T17:41:34.594Z] $ docker exec --env ******** --env ******** c114941c8110d161f65c371dbdd6af70aac78c729b2a4199122a4c3e86da7f14 ssh-agent -k [2023-03-02T17:41:34.703Z] unset SSH_AUTH_SOCK; [2023-03-02T17:41:34.703Z] unset SSH_AGENT_PID; [2023-03-02T17:41:34.704Z] echo Agent pid 38 killed; [2023-03-02T17:41:34.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-02T17:41:34.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T17:41:34.730Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T17:41:34.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T17:41:34.855Z] $ docker exec c114941c8110d161f65c371dbdd6af70aac78c729b2a4199122a4c3e86da7f14 ssh-agent [2023-03-02T17:41:34.962Z] SSH_AUTH_SOCK=/tmp/ssh-p6Kap8xeagaO/agent.70 [2023-03-02T17:41:34.962Z] SSH_AGENT_PID=76 [2023-03-02T17:41:34.966Z] Running ssh-add (command line suppressed) [2023-03-02T17:41:35.080Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_10690213606864906716.key (/w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_10690213606864906716.key) [2023-03-02T17:41:35.090Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T17:41:35.375Z] + git semver init [2023-03-02T17:41:35.944Z] 2023-03-02 17:41:35,643 [run_init] DEBUG init version:0.0.0 force:False [2023-03-02T17:41:35.944Z] 2023-03-02 17:41:35,645 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-238/.semver [2023-03-02T17:41:35.944Z] 2023-03-02 17:41:35,646 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-238/.semver [2023-03-02T17:41:35.944Z] 2023-03-02 17:41:35,646 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-238/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-238, universal_newlines=False, shell=None, istream=None) [2023-03-02T17:41:37.327Z] 2023-03-02 17:41:36,968 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-238/.git/info/exclude [2023-03-02T17:41:37.327Z] 2023-03-02 17:41:36,968 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-238/.semver/PR-238 with force:False [2023-03-02T17:41:37.327Z] 2023-03-02 17:41:36,968 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-238/.semver/PR-238 [2023-03-02T17:41:37.327Z] 2023-03-02 17:41:36,972 [execute] INFO git cat-file --batch-check [2023-03-02T17:41:37.327Z] 2023-03-02 17:41:36,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-238/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T17:41:37.327Z] 2023-03-02 17:41:36,979 [execute] INFO git cat-file --batch [2023-03-02T17:41:37.328Z] 2023-03-02 17:41:36,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-238/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T17:41:37.328Z] 2023-03-02 17:41:36,985 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-238/.semver/PR-238 [2023-03-02T17:41:37.328Z] 0.0.0 [Pipeline] } [2023-03-02T17:41:37.342Z] $ docker exec --env ******** --env ******** c114941c8110d161f65c371dbdd6af70aac78c729b2a4199122a4c3e86da7f14 ssh-agent -k [2023-03-02T17:41:37.435Z] unset SSH_AUTH_SOCK; [2023-03-02T17:41:37.436Z] unset SSH_AGENT_PID; [2023-03-02T17:41:37.436Z] echo Agent pid 76 killed; [2023-03-02T17:41:37.443Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-02T17:41:37.753Z] + git semver [Pipeline] } [2023-03-02T17:41:38.030Z] $ docker stop --time=1 c114941c8110d161f65c371dbdd6af70aac78c729b2a4199122a4c3e86da7f14 [2023-03-02T17:41:39.735Z] $ docker rm -f --volumes c114941c8110d161f65c371dbdd6af70aac78c729b2a4199122a4c3e86da7f14 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-02T17:41:40.071Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-02T17:41:40.320Z] Stashed 1 file(s) [Pipeline] echo [2023-03-02T17:41:40.323Z] [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-03-02T17:41:40.446Z] provisioning config files... [2023-03-02T17:41:40.455Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config10015823369133971399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T17:41:40.753Z] ---> docker-login.sh [2023-03-02T17:41:40.753Z] nexus3.edgexfoundry.org:10001 [2023-03-02T17:41:40.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:41:40.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:41:40.753Z] Configure a credential helper to remove this warning. See [2023-03-02T17:41:40.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:41:40.753Z] [2023-03-02T17:41:40.753Z] Login Succeeded [2023-03-02T17:41:40.753Z] nexus3.edgexfoundry.org:10002 [2023-03-02T17:41:40.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:41:40.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:41:40.753Z] Configure a credential helper to remove this warning. See [2023-03-02T17:41:40.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:41:40.753Z] [2023-03-02T17:41:40.753Z] Login Succeeded [2023-03-02T17:41:40.753Z] nexus3.edgexfoundry.org:10003 [2023-03-02T17:41:41.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:41:41.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:41:41.013Z] Configure a credential helper to remove this warning. See [2023-03-02T17:41:41.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:41:41.013Z] [2023-03-02T17:41:41.013Z] Login Succeeded [2023-03-02T17:41:41.013Z] nexus3.edgexfoundry.org:10004 [2023-03-02T17:41:41.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:41:41.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:41:41.013Z] Configure a credential helper to remove this warning. See [2023-03-02T17:41:41.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:41:41.013Z] [2023-03-02T17:41:41.013Z] Login Succeeded [2023-03-02T17:41:41.013Z] docker.io [2023-03-02T17:41:41.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:41:41.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:41:41.274Z] Configure a credential helper to remove this warning. See [2023-03-02T17:41:41.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:41:41.274Z] [2023-03-02T17:41:41.274Z] Login Succeeded [2023-03-02T17:41:41.274Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T17:41:41.281Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T17:41:41.353Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T17:41:41.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T17:41:41.379Z] ========================================================= [2023-03-02T17:41:41.379Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-02T17:41:41.379Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T17:41:41.694Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-02T17:41:41.694Z] Sending build context to Docker daemon 28.02MB [2023-03-02T17:41:41.694Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-02T17:41:41.694Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-02T17:41:41.957Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-02T17:41:41.957Z] 213ec9aee27d: Pulling fs layer [2023-03-02T17:41:41.957Z] 4583459ba037: Pulling fs layer [2023-03-02T17:41:41.957Z] 93c1e223e6f2: Pulling fs layer [2023-03-02T17:41:41.957Z] 53926ce57604: Pulling fs layer [2023-03-02T17:41:41.957Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-02T17:41:41.957Z] 22ff95d597cd: Pulling fs layer [2023-03-02T17:41:41.957Z] 12d6caf4c0d1: Pulling fs layer [2023-03-02T17:41:41.957Z] 96b7cbca73a9: Pulling fs layer [2023-03-02T17:41:41.957Z] a7acece74701: Pulling fs layer [2023-03-02T17:41:41.957Z] 53926ce57604: Waiting [2023-03-02T17:41:41.957Z] 21b2b0c7a3f4: Waiting [2023-03-02T17:41:41.957Z] 22ff95d597cd: Waiting [2023-03-02T17:41:41.957Z] 12d6caf4c0d1: Waiting [2023-03-02T17:41:41.957Z] 96b7cbca73a9: Waiting [2023-03-02T17:41:41.957Z] a7acece74701: Waiting [2023-03-02T17:41:41.957Z] 93c1e223e6f2: Verifying Checksum [2023-03-02T17:41:41.957Z] 93c1e223e6f2: Download complete [2023-03-02T17:41:41.957Z] 4583459ba037: Verifying Checksum [2023-03-02T17:41:41.957Z] 4583459ba037: Download complete [2023-03-02T17:41:41.957Z] 21b2b0c7a3f4: Download complete [2023-03-02T17:41:41.957Z] 22ff95d597cd: Verifying Checksum [2023-03-02T17:41:41.957Z] 22ff95d597cd: Download complete [2023-03-02T17:41:41.957Z] 213ec9aee27d: Verifying Checksum [2023-03-02T17:41:41.957Z] 213ec9aee27d: Download complete [2023-03-02T17:41:41.957Z] 12d6caf4c0d1: Verifying Checksum [2023-03-02T17:41:41.957Z] 12d6caf4c0d1: Download complete [2023-03-02T17:41:42.220Z] 213ec9aee27d: Pull complete [2023-03-02T17:41:42.220Z] 4583459ba037: Pull complete [2023-03-02T17:41:42.481Z] 93c1e223e6f2: Pull complete [2023-03-02T17:41:42.481Z] a7acece74701: Verifying Checksum [2023-03-02T17:41:42.481Z] a7acece74701: Download complete [2023-03-02T17:41:42.739Z] 96b7cbca73a9: Verifying Checksum [2023-03-02T17:41:42.739Z] 96b7cbca73a9: Download complete [2023-03-02T17:41:42.997Z] 53926ce57604: Verifying Checksum [2023-03-02T17:41:42.997Z] 53926ce57604: Download complete [2023-03-02T17:41:47.192Z] 53926ce57604: Pull complete [2023-03-02T17:41:47.192Z] 21b2b0c7a3f4: Pull complete [2023-03-02T17:41:47.192Z] 22ff95d597cd: Pull complete [2023-03-02T17:41:47.192Z] 12d6caf4c0d1: Pull complete [2023-03-02T17:41:49.096Z] 96b7cbca73a9: Pull complete [2023-03-02T17:41:50.037Z] a7acece74701: Pull complete [2023-03-02T17:41:50.037Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-02T17:41:50.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-02T17:41:50.037Z] ---> db6d94c90886 [2023-03-02T17:41:50.037Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-02T17:41:55.400Z] Still waiting to schedule task [2023-03-02T17:41:55.400Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-02T17:41:58.160Z] ---> Running in 858b3efdea5c [2023-03-02T17:41:58.160Z] Removing intermediate container 858b3efdea5c [2023-03-02T17:41:58.160Z] ---> 3a932d6046c0 [2023-03-02T17:41:58.160Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-02T17:41:58.160Z] ---> Running in 3e3a4d9e4317 [2023-03-02T17:41:58.160Z] Removing intermediate container 3e3a4d9e4317 [2023-03-02T17:41:58.160Z] ---> 5c3d3cde61c8 [2023-03-02T17:41:58.160Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-02T17:41:58.420Z] ---> Running in e5a24d114e5f [2023-03-02T17:41:58.420Z] Removing intermediate container e5a24d114e5f [2023-03-02T17:41:58.420Z] ---> 083c25329ff9 [2023-03-02T17:41:58.420Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-02T17:41:58.420Z] ---> Running in a6a7db04783e [2023-03-02T17:41:58.680Z] Removing intermediate container a6a7db04783e [2023-03-02T17:41:58.680Z] ---> 3ae164de584b [2023-03-02T17:41:58.680Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-02T17:41:58.680Z] ---> Running in dfc31c530867 [2023-03-02T17:41:58.680Z] Removing intermediate container dfc31c530867 [2023-03-02T17:41:58.680Z] ---> 66252da53a83 [2023-03-02T17:41:58.680Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-02T17:41:58.680Z] ---> Running in 3477e295ca5b [2023-03-02T17:41:59.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T17:41:59.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T17:41:59.509Z] OK: 211 MiB in 51 packages [2023-03-02T17:42:00.079Z] Removing intermediate container 3477e295ca5b [2023-03-02T17:42:00.079Z] ---> 146f37c7610c [2023-03-02T17:42:00.079Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-02T17:42:00.079Z] ---> Running in 3ec46ae8699a [2023-03-02T17:42:00.079Z] Removing intermediate container 3ec46ae8699a [2023-03-02T17:42:00.079Z] ---> 53a2fc38bd31 [2023-03-02T17:42:00.079Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-02T17:42:00.647Z] ---> cb390022d17b [2023-03-02T17:42:00.647Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-02T17:42:00.647Z] ---> Running in 634c33555fb7 [2023-03-02T17:42:47.414Z] Removing intermediate container 634c33555fb7 [2023-03-02T17:42:47.414Z] ---> cb6097ba1fc9 [2023-03-02T17:42:47.414Z] Step 12/13 : COPY . . [2023-03-02T17:42:47.414Z] ---> 18e8fb981433 [2023-03-02T17:42:47.414Z] Step 13/13 : RUN ${MAKE} [2023-03-02T17:42:47.414Z] ---> Running in 8b64d34ca185 [2023-03-02T17:42:47.414Z] noop [2023-03-02T17:42:47.675Z] Removing intermediate container 8b64d34ca185 [2023-03-02T17:42:47.675Z] ---> 7c231b3d8114 [2023-03-02T17:42:47.675Z] Successfully built 7c231b3d8114 [2023-03-02T17:42:47.675Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T17:42:47.981Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-02T17:42:47.981Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T17:42:48.055Z] prd-ubuntu20.04-docker-8c-8g-8109 does not seem to be running inside a container [2023-03-02T17:42:48.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-02T17:42:48.441Z] $ docker top 4ce30f79a180ec3c7cec59439986975550f43af75d01a7df8ef86ec4c9ff2199 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T17:42:48.778Z] + go version [2023-03-02T17:42:48.778Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-02T17:42:48.793Z] $ docker stop --time=1 4ce30f79a180ec3c7cec59439986975550f43af75d01a7df8ef86ec4c9ff2199 [2023-03-02T17:42:50.072Z] $ docker rm -f --volumes 4ce30f79a180ec3c7cec59439986975550f43af75d01a7df8ef86ec4c9ff2199 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T17:42:50.479Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-02T17:42:50.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T17:42:50.562Z] prd-ubuntu20.04-docker-8c-8g-8109 does not seem to be running inside a container [2023-03-02T17:42:50.601Z] $ 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-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-02T17:42:50.973Z] $ docker top 689a20075b912b02587259f8d08f97977cc10e7370c9033135e8550a33c6d108 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T17:42:51.318Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-238 [Pipeline] fileExists [Pipeline] sh [2023-03-02T17:42:51.617Z] + make test [2023-03-02T17:42:51.617Z] go test ./... -coverprofile=coverage.out ./... [2023-03-02T17:42:51.874Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-02T17:43:04.082Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-02T17:43:06.620Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 29.3% of statements [2023-03-02T17:43:06.620Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-02T17:43:06.620Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.659s coverage: 86.5% of statements [2023-03-02T17:43:16.600Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-02T17:43:16.600Z] go vet ./... [2023-03-02T17:43:19.146Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-02T17:43:19.146Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-02T17:43:19.146Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-02T17:43:19.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-02T17:43:19.174Z] $ docker stop --time=1 689a20075b912b02587259f8d08f97977cc10e7370c9033135e8550a33c6d108 [2023-03-02T17:43:22.228Z] $ docker rm -f --volumes 689a20075b912b02587259f8d08f97977cc10e7370c9033135e8550a33c6d108 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-02T17:43:22.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-02T17:43:22.799Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-02T17:43:23.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-02T17:43:23.586Z] + ls -al . [2023-03-02T17:43:23.586Z] total 236 [2023-03-02T17:43:23.587Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 17:42 . [2023-03-02T17:43:23.587Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 17:41 .. [2023-03-02T17:43:23.587Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 17:43 .git [2023-03-02T17:43:23.587Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 17:41 .github [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 2 17:41 .gitignore [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 2 17:41 .golangci.yml [2023-03-02T17:43:23.587Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 17:41 .semver [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 2 17:41 Attribution.txt [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 2 17:41 CHANGELOG.md [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 2 17:41 Dockerfile [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 2 17:41 GOVERNANCE.md [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 2 17:41 Jenkinsfile [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 2 17:41 LICENSE [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 2577 Mar 2 17:41 Makefile [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 2 17:41 OWNERS.md [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 6595 Mar 2 17:41 README.md [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 2 17:41 VERSION [2023-03-02T17:43:23.587Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 17:41 bin [2023-03-02T17:43:23.587Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 17:41 cmd [2023-03-02T17:43:23.587Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 2 17:43 coverage.out [2023-03-02T17:43:23.587Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 2 17:41 doc [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 2 17:41 go.mod [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 34676 Mar 2 17:41 go.sum [2023-03-02T17:43:23.587Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 17:41 internal [2023-03-02T17:43:23.587Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 17:41 snap [2023-03-02T17:43:23.587Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 2 17:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T17:43:23.886Z] + 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=aea9ada17b17f984460171250450ab67dc1e7213 --label arch=amd64 --label version=0.0.0 . [2023-03-02T17:43:23.886Z] Sending build context to Docker daemon 28.1MB [2023-03-02T17:43:23.886Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-02T17:43:23.886Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-02T17:43:23.886Z] ---> 7c231b3d8114 [2023-03-02T17:43:23.886Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-02T17:43:25.270Z] ---> Running in a2d87bbbbe43 [2023-03-02T17:43:25.270Z] Removing intermediate container a2d87bbbbe43 [2023-03-02T17:43:25.270Z] ---> 512b2d186fd8 [2023-03-02T17:43:25.270Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-02T17:43:25.845Z] ---> Running in ebfb390aeed3 [2023-03-02T17:43:26.105Z] Removing intermediate container ebfb390aeed3 [2023-03-02T17:43:26.105Z] ---> c32dfefe74cd [2023-03-02T17:43:26.105Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-02T17:43:26.105Z] ---> Running in 2a9a1d515930 [2023-03-02T17:43:26.105Z] Removing intermediate container 2a9a1d515930 [2023-03-02T17:43:26.105Z] ---> cddd500b02ac [2023-03-02T17:43:26.105Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-02T17:43:26.105Z] ---> Running in fd52471341c2 [2023-03-02T17:43:26.105Z] Removing intermediate container fd52471341c2 [2023-03-02T17:43:26.105Z] ---> adc60360e123 [2023-03-02T17:43:26.105Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-02T17:43:26.105Z] ---> Running in 5f9b6040c519 [2023-03-02T17:43:26.373Z] Removing intermediate container 5f9b6040c519 [2023-03-02T17:43:26.373Z] ---> d0bc808ce979 [2023-03-02T17:43:26.373Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-02T17:43:26.373Z] ---> Running in b4a6011beea8 [2023-03-02T17:43:26.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T17:43:26.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T17:43:27.151Z] OK: 211 MiB in 51 packages [2023-03-02T17:43:27.410Z] Removing intermediate container b4a6011beea8 [2023-03-02T17:43:27.410Z] ---> 5c6203d8c35b [2023-03-02T17:43:27.410Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-02T17:43:27.410Z] ---> Running in 496bfed975fc [2023-03-02T17:43:27.410Z] Removing intermediate container 496bfed975fc [2023-03-02T17:43:27.410Z] ---> e88c74dceb95 [2023-03-02T17:43:27.411Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-02T17:43:27.670Z] ---> 429171606858 [2023-03-02T17:43:27.670Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-02T17:43:27.670Z] ---> Running in db3516b91997 [2023-03-02T17:43:28.602Z] Removing intermediate container db3516b91997 [2023-03-02T17:43:28.602Z] ---> 79c5fe73e1a9 [2023-03-02T17:43:28.602Z] Step 12/26 : COPY . . [2023-03-02T17:43:29.992Z] ---> c4f9f21e9c83 [2023-03-02T17:43:29.992Z] Step 13/26 : RUN ${MAKE} [2023-03-02T17:43:29.992Z] ---> Running in 082832cec7c5 [2023-03-02T17:43:29.992Z] 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-03-02T17:43:32.578Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8110 in /w/workspace/undry_device-onvif-camera_PR-238 [Pipeline] { [Pipeline] ws [2023-03-02T17:43:32.593Z] Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout [2023-03-02T17:43:32.629Z] The recommended git tool is: git [2023-03-02T17:43:37.281Z] using credential edgex-jenkins-ssh [2023-03-02T17:43:37.388Z] Cloning the remote Git repository [2023-03-02T17:43:37.423Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-02T17:43:37.511Z] > git init /w/workspace/device-onvif-camera/9 # timeout=10 [2023-03-02T17:43:37.677Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-02T17:43:37.678Z] > git --version # timeout=10 [2023-03-02T17:43:37.701Z] > git --version # 'git version 2.25.1' [2023-03-02T17:43:37.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T17:43:37.767Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T17:43:39.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-02T17:43:39.180Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T17:43:39.930Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-02T17:43:40.701Z] Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit aea9ada17b17f984460171250450ab67dc1e7213 [2023-03-02T17:43:41.141Z] Merge succeeded, producing aea9ada17b17f984460171250450ab67dc1e7213 [2023-03-02T17:43:41.141Z] Checking out Revision aea9ada17b17f984460171250450ab67dc1e7213 (PR-238) [2023-03-02T17:43:39.971Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-02T17:43:39.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T17:43:39.986Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-02T17:43:40.714Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T17:43:40.735Z] > git checkout -f aea9ada17b17f984460171250450ab67dc1e7213 # timeout=10 [2023-03-02T17:43:41.019Z] > git remote # timeout=10 [2023-03-02T17:43:41.038Z] > git config --get remote.origin.url # timeout=10 [2023-03-02T17:43:41.070Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T17:43:41.087Z] > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 [2023-03-02T17:43:41.115Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-02T17:43:41.142Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T17:43:41.156Z] > git checkout -f aea9ada17b17f984460171250450ab67dc1e7213 # timeout=10 [2023-03-02T17:43:45.049Z] Commit message: "refactor!: Update secrets to SecretData for insecureSecrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T17:43:45.970Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-02T17:43:45.970Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-02T17:43:45.970Z] Dload Upload Total Spent Left Speed [2023-03-02T17:43:45.970Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh [2023-03-02T17:43:46.622Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-02T17:43:46.947Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-02T17:43:46.947Z] + sudo tee /etc/docker/daemon.new [2023-03-02T17:43:46.947Z] { [2023-03-02T17:43:46.947Z] "registry-mirrors": [ [2023-03-02T17:43:46.947Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-02T17:43:46.947Z] ], [2023-03-02T17:43:46.947Z] "bip": "10.250.0.254/24", [2023-03-02T17:43:46.947Z] "hosts": [ [2023-03-02T17:43:46.947Z] "tcp://0.0.0.0:5555", [2023-03-02T17:43:46.947Z] "unix:///var/run/docker.sock" [2023-03-02T17:43:46.947Z] ], [2023-03-02T17:43:46.947Z] "mtu": 1458, [2023-03-02T17:43:46.947Z] "selinux-enabled": true, [2023-03-02T17:43:46.947Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-02T17:43:46.947Z] } [Pipeline] sh [2023-03-02T17:43:47.273Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-02T17:43:47.602Z] + sudo service docker restart [2023-03-02T17:43:51.900Z] Removing intermediate container 082832cec7c5 [2023-03-02T17:43:51.900Z] ---> 7ab8ca759b86 [2023-03-02T17:43:51.900Z] Step 14/26 : FROM alpine:3.16 [2023-03-02T17:43:52.158Z] 3.16: Pulling from library/alpine [2023-03-02T17:43:52.417Z] ef5531b6e74e: Pulling fs layer [2023-03-02T17:43:52.707Z] ef5531b6e74e: Verifying Checksum [2023-03-02T17:43:52.707Z] ef5531b6e74e: Download complete [2023-03-02T17:43:52.707Z] ef5531b6e74e: Pull complete [2023-03-02T17:43:52.707Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-02T17:43:52.707Z] Status: Downloaded newer image for alpine:3.16 [2023-03-02T17:43:52.707Z] ---> dfd21b5a31f5 [2023-03-02T17:43:52.707Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-02T17:43:52.966Z] ---> Running in 62c41cd05220 [2023-03-02T17:43:52.966Z] Removing intermediate container 62c41cd05220 [2023-03-02T17:43:52.966Z] ---> 5ba0fe085687 [2023-03-02T17:43:52.966Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-02T17:43:52.966Z] ---> Running in 8c48845d1eae [2023-03-02T17:43:53.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T17:43:53.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T17:43:53.743Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-02T17:43:53.743Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T17:43:53.743Z] OK: 6 MiB in 15 packages [2023-03-02T17:43:54.682Z] Removing intermediate container 8c48845d1eae [2023-03-02T17:43:54.682Z] ---> aeb43ae07892 [2023-03-02T17:43:54.682Z] Step 17/26 : WORKDIR / [2023-03-02T17:43:54.682Z] ---> Running in b8b15ed15661 [2023-03-02T17:43:54.940Z] Removing intermediate container b8b15ed15661 [2023-03-02T17:43:54.940Z] ---> ffc6306dfef8 [2023-03-02T17:43:54.940Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-02T17:43:56.336Z] ---> 223ee51f5a84 [2023-03-02T17:43:56.336Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-02T17:43:57.280Z] ---> 81736d8ffa9c [2023-03-02T17:43:57.280Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-02T17:43:58.260Z] ---> c0044e487a87 [2023-03-02T17:43:58.260Z] Step 21/26 : EXPOSE 59984 [2023-03-02T17:43:58.520Z] ---> Running in 7b1d16359a2b [2023-03-02T17:43:58.780Z] Removing intermediate container 7b1d16359a2b [2023-03-02T17:43:58.780Z] ---> c50bb7468e87 [2023-03-02T17:43:58.780Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-02T17:43:59.044Z] ---> Running in 84a35bf8e88c [2023-03-02T17:43:59.044Z] Removing intermediate container 84a35bf8e88c [2023-03-02T17:43:59.044Z] ---> ab70fa65a691 [2023-03-02T17:43:59.044Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-02T17:43:59.044Z] ---> Running in b8e4f3c6f907 [2023-03-02T17:43:59.303Z] Removing intermediate container b8e4f3c6f907 [2023-03-02T17:43:59.303Z] ---> 4ce6cce6efac [2023-03-02T17:43:59.303Z] Step 24/26 : LABEL arch=amd64 [2023-03-02T17:43:59.303Z] ---> Running in 057ccb444fa7 [2023-03-02T17:43:59.563Z] Removing intermediate container 057ccb444fa7 [2023-03-02T17:43:59.563Z] ---> 177e0e85d9a5 [2023-03-02T17:43:59.563Z] Step 25/26 : LABEL git_sha=aea9ada17b17f984460171250450ab67dc1e7213 [2023-03-02T17:43:59.563Z] ---> Running in 9b90664f76d3 [2023-03-02T17:43:59.563Z] Removing intermediate container 9b90664f76d3 [2023-03-02T17:43:59.563Z] ---> d64ec7eb129b [2023-03-02T17:43:59.563Z] Step 26/26 : LABEL version=0.0.0 [2023-03-02T17:43:59.563Z] ---> Running in f86c4490e3ff [2023-03-02T17:43:59.563Z] Removing intermediate container f86c4490e3ff [2023-03-02T17:43:59.563Z] ---> 4674adbc726d [2023-03-02T17:43:59.563Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-02T17:43:59.563Z] Successfully built 4674adbc726d [2023-03-02T17:43:59.563Z] 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-03-02T17:44:00.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T17:44:00.006Z] [2023-03-02T17:44:00.006Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T17:44:00.316Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T17:44:00.317Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-02T17:44:00.317Z] 5eb5b503b376: Pulling fs layer [2023-03-02T17:44:00.317Z] 5c69ac0246d0: Pulling fs layer [2023-03-02T17:44:00.317Z] ec43610c2a17: Pulling fs layer [2023-03-02T17:44:00.317Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-02T17:44:00.317Z] 33b1e0a273af: Pulling fs layer [2023-03-02T17:44:00.317Z] 5d3b04190fa2: Pulling fs layer [2023-03-02T17:44:00.317Z] 2f39f015ded8: Pulling fs layer [2023-03-02T17:44:00.317Z] 3a2ae6a8a46f: Waiting [2023-03-02T17:44:00.317Z] 5d3b04190fa2: Waiting [2023-03-02T17:44:00.317Z] 33b1e0a273af: Waiting [2023-03-02T17:44:00.317Z] 2f39f015ded8: Waiting [2023-03-02T17:44:00.317Z] 5c69ac0246d0: Verifying Checksum [2023-03-02T17:44:00.317Z] 5c69ac0246d0: Download complete [2023-03-02T17:44:00.317Z] 3a2ae6a8a46f: Download complete [2023-03-02T17:44:00.577Z] 33b1e0a273af: Verifying Checksum [2023-03-02T17:44:00.577Z] 33b1e0a273af: Download complete [2023-03-02T17:44:00.577Z] 5d3b04190fa2: Verifying Checksum [2023-03-02T17:44:00.577Z] 5d3b04190fa2: Download complete [2023-03-02T17:44:00.577Z] ec43610c2a17: Verifying Checksum [2023-03-02T17:44:00.577Z] ec43610c2a17: Download complete [2023-03-02T17:44:00.577Z] 5eb5b503b376: Verifying Checksum [2023-03-02T17:44:00.577Z] 5eb5b503b376: Download complete [2023-03-02T17:44:01.511Z] 2f39f015ded8: Download complete [2023-03-02T17:44:01.769Z] 5eb5b503b376: Pull complete [2023-03-02T17:44:02.027Z] 5c69ac0246d0: Pull complete [2023-03-02T17:44:02.595Z] ec43610c2a17: Pull complete [2023-03-02T17:44:02.595Z] 3a2ae6a8a46f: Pull complete [2023-03-02T17:44:02.854Z] 33b1e0a273af: Pull complete [2023-03-02T17:44:02.854Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T17:44:05.861Z] provisioning config files... [2023-03-02T17:44:05.884Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config8408865391549443465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T17:44:06.231Z] ---> docker-login.sh [2023-03-02T17:44:06.231Z] nexus3.edgexfoundry.org:10001 [2023-03-02T17:44:06.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:44:06.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:44:06.819Z] Configure a credential helper to remove this warning. See [2023-03-02T17:44:06.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:44:06.819Z] [2023-03-02T17:44:06.819Z] Login Succeeded [2023-03-02T17:44:06.819Z] nexus3.edgexfoundry.org:10002 [2023-03-02T17:44:07.037Z] 2f39f015ded8: Pull complete [2023-03-02T17:44:07.037Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-02T17:44:07.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T17:44:07.037Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T17:44:07.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:44:07.122Z] prd-ubuntu20.04-docker-8c-8g-8109 does not seem to be running inside a container [2023-03-02T17:44:07.155Z] $ 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-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-02T17:44:07.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:44:07.358Z] Configure a credential helper to remove this warning. See [2023-03-02T17:44:07.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:44:07.359Z] [2023-03-02T17:44:07.359Z] Login Succeeded [2023-03-02T17:44:07.359Z] nexus3.edgexfoundry.org:10003 [2023-03-02T17:44:07.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:44:07.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:44:07.629Z] Configure a credential helper to remove this warning. See [2023-03-02T17:44:07.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:44:07.629Z] [2023-03-02T17:44:07.629Z] Login Succeeded [2023-03-02T17:44:07.629Z] nexus3.edgexfoundry.org:10004 [2023-03-02T17:44:07.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:44:07.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:44:07.900Z] Configure a credential helper to remove this warning. See [2023-03-02T17:44:07.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:44:07.900Z] [2023-03-02T17:44:07.900Z] Login Succeeded [2023-03-02T17:44:07.900Z] docker.io [2023-03-02T17:44:08.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T17:44:08.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T17:44:08.439Z] Configure a credential helper to remove this warning. See [2023-03-02T17:44:08.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T17:44:08.439Z] [2023-03-02T17:44:08.439Z] Login Succeeded [2023-03-02T17:44:08.439Z] ---> docker-login.sh ends [2023-03-02T17:44:11.350Z] $ docker top e227e867ccd87190224f74dd8be92e6da90af9c6c7f34b0e83d134ff743f9eb0 -eo pid,comm [Pipeline] { [Pipeline] } [2023-03-02T17:44:11.413Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T17:44:11.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2023-03-02T17:44:11.751Z] ---> job-cost.sh [2023-03-02T17:44:11.751Z] lf-activate-venv: SKIPPING [2023-03-02T17:44:11.751Z] INFO: No Stack... [Pipeline] echo [2023-03-02T17:44:11.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T17:44:11.776Z] ========================================================= [2023-03-02T17:44:11.776Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-02T17:44:11.776Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T17:44:12.009Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T17:44:12.131Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-02T17:44:12.575Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T17:44:12.719Z] Sending build context to Docker daemon 20.84MB [2023-03-02T17:44:12.719Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-02T17:44:12.719Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-02T17:44:12.864Z] + cat /w/workspace/undry_device-onvif-camera_PR-238/archives/cost.csv [2023-03-02T17:44:12.864Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T17:44:12.879Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-238-9-stack-cost] [2023-03-02T17:44:12.888Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-9-stack-cost] did not exist. Created. [2023-03-02T17:44:12.888Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-238-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T17:44:12.991Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-02T17:44:12.991Z] 9b18e9b68314: Pulling fs layer [2023-03-02T17:44:12.991Z] 35d82f9e3411: Pulling fs layer [2023-03-02T17:44:12.991Z] e16973657156: Pulling fs layer [2023-03-02T17:44:12.991Z] fc693d55d65f: Pulling fs layer [2023-03-02T17:44:12.991Z] 7e9fc2657dce: Pulling fs layer [2023-03-02T17:44:12.991Z] dda99020689f: Pulling fs layer [2023-03-02T17:44:12.991Z] db1c61fa0a46: Pulling fs layer [2023-03-02T17:44:12.991Z] fc693d55d65f: Waiting [2023-03-02T17:44:12.991Z] 7e9fc2657dce: Waiting [2023-03-02T17:44:12.991Z] dda99020689f: Waiting [2023-03-02T17:44:12.991Z] 891c053d2c06: Pulling fs layer [2023-03-02T17:44:12.991Z] db1c61fa0a46: Waiting [2023-03-02T17:44:12.991Z] 891c053d2c06: Waiting [2023-03-02T17:44:12.991Z] e16973657156: Verifying Checksum [2023-03-02T17:44:12.991Z] e16973657156: Download complete [2023-03-02T17:44:12.991Z] 35d82f9e3411: Verifying Checksum [2023-03-02T17:44:12.991Z] 35d82f9e3411: Download complete [2023-03-02T17:44:12.991Z] 7e9fc2657dce: Verifying Checksum [2023-03-02T17:44:12.991Z] 7e9fc2657dce: Download complete [2023-03-02T17:44:12.991Z] dda99020689f: Verifying Checksum [2023-03-02T17:44:12.991Z] dda99020689f: Download complete [2023-03-02T17:44:12.991Z] 9b18e9b68314: Verifying Checksum [2023-03-02T17:44:12.991Z] 9b18e9b68314: Download complete [2023-03-02T17:44:13.195Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-02T17:44:13.224Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T17:44:13.230Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T17:44:13.323Z] $ docker stop --time=1 e227e867ccd87190224f74dd8be92e6da90af9c6c7f34b0e83d134ff743f9eb0 [2023-03-02T17:44:14.141Z] 9b18e9b68314: Pull complete [2023-03-02T17:44:14.432Z] 891c053d2c06: Verifying Checksum [2023-03-02T17:44:14.432Z] 891c053d2c06: Download complete [2023-03-02T17:44:14.702Z] 35d82f9e3411: Pull complete [2023-03-02T17:44:14.975Z] e16973657156: Pull complete [2023-03-02T17:44:15.391Z] $ docker rm -f --volumes e227e867ccd87190224f74dd8be92e6da90af9c6c7f34b0e83d134ff743f9eb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2023-03-02T17:44:15.562Z] db1c61fa0a46: Verifying Checksum [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-02T17:44:16.146Z] fc693d55d65f: Verifying Checksum [2023-03-02T17:44:16.146Z] fc693d55d65f: Download complete [2023-03-02T17:44:28.474Z] fc693d55d65f: Pull complete [2023-03-02T17:44:28.474Z] 7e9fc2657dce: Pull complete [2023-03-02T17:44:28.474Z] dda99020689f: Pull complete [2023-03-02T17:44:33.838Z] db1c61fa0a46: Pull complete [2023-03-02T17:44:35.790Z] 891c053d2c06: Pull complete [2023-03-02T17:44:35.790Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-02T17:44:35.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-02T17:44:35.790Z] ---> f96f9c87975a [2023-03-02T17:44:35.790Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-02T17:44:37.737Z] ---> Running in c3cf985bfc46 [2023-03-02T17:44:37.737Z] Removing intermediate container c3cf985bfc46 [2023-03-02T17:44:37.737Z] ---> 192306addb2f [2023-03-02T17:44:37.737Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-02T17:44:37.737Z] ---> Running in bb7a745c204f [2023-03-02T17:44:38.006Z] Removing intermediate container bb7a745c204f [2023-03-02T17:44:38.006Z] ---> e30befe35594 [2023-03-02T17:44:38.006Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-02T17:44:38.006Z] ---> Running in 061393d2cc58 [2023-03-02T17:44:38.273Z] Removing intermediate container 061393d2cc58 [2023-03-02T17:44:38.273Z] ---> 20ea299e9779 [2023-03-02T17:44:38.273Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-02T17:44:38.540Z] ---> Running in 115f7929cce4 [2023-03-02T17:44:38.808Z] Removing intermediate container 115f7929cce4 [2023-03-02T17:44:38.808Z] ---> 8f3efa764fcb [2023-03-02T17:44:38.808Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-02T17:44:38.808Z] ---> Running in 13b0abc01b0a [2023-03-02T17:44:39.079Z] Removing intermediate container 13b0abc01b0a [2023-03-02T17:44:39.079Z] ---> 4ca5d2d1002f [2023-03-02T17:44:39.079Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-02T17:44:39.079Z] ---> Running in 6a2ab3f29aa6 [2023-03-02T17:44:40.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T17:44:40.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T17:44:41.462Z] OK: 221 MiB in 51 packages [2023-03-02T17:44:42.428Z] Removing intermediate container 6a2ab3f29aa6 [2023-03-02T17:44:42.428Z] ---> 143b060bbb17 [2023-03-02T17:44:42.428Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-02T17:44:42.428Z] ---> Running in 090479effc55 [2023-03-02T17:44:42.695Z] Removing intermediate container 090479effc55 [2023-03-02T17:44:42.695Z] ---> b1fb9f8fe2e1 [2023-03-02T17:44:42.695Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-02T17:44:42.964Z] ---> 38037e3bdfc5 [2023-03-02T17:44:42.964Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-02T17:44:43.232Z] ---> Running in edfe3cea381d [2023-03-02T17:45:51.122Z] Removing intermediate container edfe3cea381d [2023-03-02T17:45:51.122Z] ---> e5faa17a2b36 [2023-03-02T17:45:51.122Z] Step 12/13 : COPY . . [2023-03-02T17:45:51.122Z] ---> 2477c53d8695 [2023-03-02T17:45:51.122Z] Step 13/13 : RUN ${MAKE} [2023-03-02T17:45:51.122Z] ---> Running in 42b0c9f2e32b [2023-03-02T17:45:51.122Z] noop [2023-03-02T17:45:51.122Z] Removing intermediate container 42b0c9f2e32b [2023-03-02T17:45:51.122Z] ---> 6ad08a58cd98 [2023-03-02T17:45:51.122Z] Successfully built 6ad08a58cd98 [2023-03-02T17:45:51.122Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T17:45:51.470Z] + docker inspect -f . ci-base-image-arm64 [2023-03-02T17:45:51.470Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T17:45:51.633Z] prd-ubuntu20.04-docker-arm64-4c-16g-8110 does not seem to be running inside a container [2023-03-02T17:45:51.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-02T17:45:52.751Z] $ docker top 0d1277c4d2c2a21c8b43f52aafb6b47d1cc0f8bc08047964c5b18cb3ce4465b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T17:45:53.554Z] + go version [2023-03-02T17:45:53.554Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-02T17:45:53.570Z] $ docker stop --time=1 0d1277c4d2c2a21c8b43f52aafb6b47d1cc0f8bc08047964c5b18cb3ce4465b1 [2023-03-02T17:45:55.137Z] $ docker rm -f --volumes 0d1277c4d2c2a21c8b43f52aafb6b47d1cc0f8bc08047964c5b18cb3ce4465b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T17:45:55.658Z] + docker inspect -f . ci-base-image-arm64 [2023-03-02T17:45:55.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T17:45:55.831Z] prd-ubuntu20.04-docker-arm64-4c-16g-8110 does not seem to be running inside a container [2023-03-02T17:45:55.891Z] $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-02T17:45:57.040Z] $ docker top 0a839dda830a3700043c14975af398c15a7fbd64681b0fb1c803eb3813bcdf57 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T17:45:57.543Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/9 [Pipeline] fileExists [Pipeline] sh [2023-03-02T17:45:58.458Z] + make test [2023-03-02T17:45:58.458Z] go test ./... -coverprofile=coverage.out ./... [2023-03-02T17:46:00.399Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-02T17:47:37.050Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-02T17:47:37.050Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.189s coverage: 29.3% of statements [2023-03-02T17:47:37.050Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-02T17:47:52.074Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.393s coverage: 86.5% of statements [2023-03-02T17:47:52.345Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-02T17:47:52.345Z] go vet ./... [2023-03-02T17:48:24.606Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-02T17:48:24.606Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-02T17:48:24.606Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-02T17:48:24.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-02T17:48:24.640Z] $ docker stop --time=1 0a839dda830a3700043c14975af398c15a7fbd64681b0fb1c803eb3813bcdf57 [2023-03-02T17:48:26.661Z] $ docker rm -f --volumes 0a839dda830a3700043c14975af398c15a7fbd64681b0fb1c803eb3813bcdf57 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-02T17:48:27.682Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-02T17:48:27.706Z] Warning: overwriting stash ‘coverage-report’ [2023-03-02T17:48:28.363Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T17:48:28.733Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-02T17:48:29.078Z] + ls -al . [2023-03-02T17:48:29.078Z] total 232 [2023-03-02T17:48:29.078Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 2 17:45 . [2023-03-02T17:48:29.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 17:43 .. [2023-03-02T17:48:29.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 17:43 .git [2023-03-02T17:48:29.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 17:43 .github [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 2 17:43 .gitignore [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 2 17:43 .golangci.yml [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 2 17:43 Attribution.txt [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 2 17:43 CHANGELOG.md [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 2 17:43 Dockerfile [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 2 17:43 GOVERNANCE.md [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 2 17:43 Jenkinsfile [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 2 17:43 LICENSE [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 2577 Mar 2 17:43 Makefile [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 2 17:43 OWNERS.md [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 6595 Mar 2 17:43 README.md [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 2 17:41 VERSION [2023-03-02T17:48:29.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 17:43 bin [2023-03-02T17:48:29.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 17:43 cmd [2023-03-02T17:48:29.078Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 2 17:47 coverage.out [2023-03-02T17:48:29.078Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 2 17:43 doc [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 2 17:43 go.mod [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 34676 Mar 2 17:43 go.sum [2023-03-02T17:48:29.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 17:43 internal [2023-03-02T17:48:29.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 17:43 snap [2023-03-02T17:48:29.078Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 2 17:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T17:48:29.422Z] + 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=aea9ada17b17f984460171250450ab67dc1e7213 --label arch=arm64 --label version=0.0.0 . [2023-03-02T17:48:30.395Z] Sending build context to Docker daemon 20.92MB [2023-03-02T17:48:30.395Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-02T17:48:30.395Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-02T17:48:30.395Z] ---> 6ad08a58cd98 [2023-03-02T17:48:30.395Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-02T17:48:30.395Z] ---> Running in 48088c6d8d8a [2023-03-02T17:48:30.665Z] Removing intermediate container 48088c6d8d8a [2023-03-02T17:48:30.665Z] ---> 1c6a9a4e3ef0 [2023-03-02T17:48:30.665Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-02T17:48:30.932Z] ---> Running in 04874ec2ee02 [2023-03-02T17:48:31.199Z] Removing intermediate container 04874ec2ee02 [2023-03-02T17:48:31.199Z] ---> cb9bfb0b7d73 [2023-03-02T17:48:31.199Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-02T17:48:31.199Z] ---> Running in 56665a5c2a31 [2023-03-02T17:48:31.471Z] Removing intermediate container 56665a5c2a31 [2023-03-02T17:48:31.471Z] ---> b843e6e80e39 [2023-03-02T17:48:31.471Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-02T17:48:31.739Z] ---> Running in 48a62b8abf24 [2023-03-02T17:48:32.006Z] Removing intermediate container 48a62b8abf24 [2023-03-02T17:48:32.006Z] ---> f87192428037 [2023-03-02T17:48:32.006Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-02T17:48:32.006Z] ---> Running in 78a6f0a79fba [2023-03-02T17:48:32.390Z] Removing intermediate container 78a6f0a79fba [2023-03-02T17:48:32.390Z] ---> 03df01fd8277 [2023-03-02T17:48:32.390Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-02T17:48:32.689Z] ---> Running in 498a3fdcfc2d [2023-03-02T17:48:33.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T17:48:33.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T17:48:34.981Z] OK: 221 MiB in 51 packages [2023-03-02T17:48:36.422Z] Removing intermediate container 498a3fdcfc2d [2023-03-02T17:48:36.422Z] ---> f6dc6924153b [2023-03-02T17:48:36.422Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-02T17:48:36.422Z] ---> Running in 5267e39b631b [2023-03-02T17:48:37.017Z] Removing intermediate container 5267e39b631b [2023-03-02T17:48:37.017Z] ---> bc971e62f76a [2023-03-02T17:48:37.017Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-02T17:48:37.605Z] ---> 7c14109f82dc [2023-03-02T17:48:37.605Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-02T17:48:37.605Z] ---> Running in 32bae6789805 [2023-03-02T17:48:40.982Z] Removing intermediate container 32bae6789805 [2023-03-02T17:48:40.982Z] ---> 6dd5042cb3aa [2023-03-02T17:48:40.982Z] Step 12/26 : COPY . . [2023-03-02T17:48:42.932Z] ---> 78fea6912f97 [2023-03-02T17:48:42.932Z] Step 13/26 : RUN ${MAKE} [2023-03-02T17:48:43.201Z] ---> Running in 963de489fe52 [2023-03-02T17:48:44.167Z] 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-03-02T17:51:05.922Z] Removing intermediate container 963de489fe52 [2023-03-02T17:51:05.922Z] ---> 45d2f3cb0aaf [2023-03-02T17:51:05.922Z] Step 14/26 : FROM alpine:3.16 [2023-03-02T17:51:05.922Z] 3.16: Pulling from library/alpine [2023-03-02T17:51:05.922Z] 3760b48202b3: Pulling fs layer [2023-03-02T17:51:05.922Z] 3760b48202b3: Verifying Checksum [2023-03-02T17:51:05.922Z] 3760b48202b3: Download complete [2023-03-02T17:51:05.922Z] 3760b48202b3: Pull complete [2023-03-02T17:51:05.922Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-02T17:51:05.922Z] Status: Downloaded newer image for alpine:3.16 [2023-03-02T17:51:05.922Z] ---> 4c81e5bf8899 [2023-03-02T17:51:05.922Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-02T17:51:05.922Z] ---> Running in 1bcf8e1ea7bf [2023-03-02T17:51:05.922Z] Removing intermediate container 1bcf8e1ea7bf [2023-03-02T17:51:05.922Z] ---> 09c347629ff5 [2023-03-02T17:51:05.922Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-02T17:51:05.922Z] ---> Running in b0c6084127c8 [2023-03-02T17:51:05.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T17:51:05.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T17:51:05.922Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-02T17:51:05.922Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T17:51:05.922Z] OK: 5 MiB in 15 packages [2023-03-02T17:51:05.922Z] Removing intermediate container b0c6084127c8 [2023-03-02T17:51:05.922Z] ---> 7b86c329f14d [2023-03-02T17:51:05.922Z] Step 17/26 : WORKDIR / [2023-03-02T17:51:05.922Z] ---> Running in c88e6e06e0e3 [2023-03-02T17:51:05.922Z] Removing intermediate container c88e6e06e0e3 [2023-03-02T17:51:05.922Z] ---> 3afda747c675 [2023-03-02T17:51:05.922Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-02T17:51:05.922Z] ---> 086d2537b3bf [2023-03-02T17:51:05.922Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-02T17:51:05.922Z] ---> 15996a002a3f [2023-03-02T17:51:05.922Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-02T17:51:05.922Z] ---> f202782f8250 [2023-03-02T17:51:05.922Z] Step 21/26 : EXPOSE 59984 [2023-03-02T17:51:05.922Z] ---> Running in bcd02f000906 [2023-03-02T17:51:06.190Z] Removing intermediate container bcd02f000906 [2023-03-02T17:51:06.190Z] ---> 084d24bd0264 [2023-03-02T17:51:06.190Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-02T17:51:06.190Z] ---> Running in 20353ee8376a [2023-03-02T17:51:06.458Z] Removing intermediate container 20353ee8376a [2023-03-02T17:51:06.458Z] ---> 14059f261ef9 [2023-03-02T17:51:06.458Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-02T17:51:06.458Z] ---> Running in 4bf019b0d122 [2023-03-02T17:51:06.732Z] Removing intermediate container 4bf019b0d122 [2023-03-02T17:51:06.732Z] ---> 8c0a15cdf8f7 [2023-03-02T17:51:06.732Z] Step 24/26 : LABEL arch=arm64 [2023-03-02T17:51:06.999Z] ---> Running in 0c39391cf750 [2023-03-02T17:51:07.267Z] Removing intermediate container 0c39391cf750 [2023-03-02T17:51:07.267Z] ---> 1c490cfb0f41 [2023-03-02T17:51:07.267Z] Step 25/26 : LABEL git_sha=aea9ada17b17f984460171250450ab67dc1e7213 [2023-03-02T17:51:07.267Z] ---> Running in 23516bc88e6b [2023-03-02T17:51:07.540Z] Removing intermediate container 23516bc88e6b [2023-03-02T17:51:07.540Z] ---> 6e9b6f31346b [2023-03-02T17:51:07.540Z] Step 26/26 : LABEL version=0.0.0 [2023-03-02T17:51:07.540Z] ---> Running in 6aedd00cb70a [2023-03-02T17:51:07.810Z] Removing intermediate container 6aedd00cb70a [2023-03-02T17:51:07.810Z] ---> 701530037482 [2023-03-02T17:51:07.810Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-02T17:51:08.077Z] Successfully built 701530037482 [2023-03-02T17:51:08.077Z] 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-03-02T17:51:08.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T17:51:08.503Z] [2023-03-02T17:51:08.503Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T17:51:08.829Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T17:51:08.829Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-02T17:51:08.829Z] 8998bd30e6a1: Pulling fs layer [2023-03-02T17:51:08.829Z] 04944245beec: Pulling fs layer [2023-03-02T17:51:08.829Z] 699f458cf7ca: Pulling fs layer [2023-03-02T17:51:08.829Z] 765212b225bb: Pulling fs layer [2023-03-02T17:51:08.829Z] f23df028b6ca: Pulling fs layer [2023-03-02T17:51:08.829Z] d65c8cfc05b1: Pulling fs layer [2023-03-02T17:51:08.829Z] 2437ff75d9bd: Pulling fs layer [2023-03-02T17:51:08.829Z] 765212b225bb: Waiting [2023-03-02T17:51:08.829Z] f23df028b6ca: Waiting [2023-03-02T17:51:08.829Z] d65c8cfc05b1: Waiting [2023-03-02T17:51:08.829Z] 2437ff75d9bd: Waiting [2023-03-02T17:51:09.097Z] 04944245beec: Verifying Checksum [2023-03-02T17:51:09.097Z] 04944245beec: Download complete [2023-03-02T17:51:09.097Z] 765212b225bb: Download complete [2023-03-02T17:51:09.097Z] f23df028b6ca: Verifying Checksum [2023-03-02T17:51:09.097Z] f23df028b6ca: Download complete [2023-03-02T17:51:09.097Z] d65c8cfc05b1: Verifying Checksum [2023-03-02T17:51:09.097Z] d65c8cfc05b1: Download complete [2023-03-02T17:51:09.368Z] 699f458cf7ca: Verifying Checksum [2023-03-02T17:51:09.368Z] 699f458cf7ca: Download complete [2023-03-02T17:51:09.637Z] 8998bd30e6a1: Verifying Checksum [2023-03-02T17:51:09.637Z] 8998bd30e6a1: Download complete [2023-03-02T17:51:12.220Z] 2437ff75d9bd: Verifying Checksum [2023-03-02T17:51:12.220Z] 2437ff75d9bd: Download complete [2023-03-02T17:51:13.631Z] 8998bd30e6a1: Pull complete [2023-03-02T17:51:14.216Z] 04944245beec: Pull complete [2023-03-02T17:51:15.630Z] 699f458cf7ca: Pull complete [2023-03-02T17:51:15.630Z] 765212b225bb: Pull complete [2023-03-02T17:51:16.592Z] f23df028b6ca: Pull complete [2023-03-02T17:51:16.592Z] d65c8cfc05b1: Pull complete [2023-03-02T17:51:31.589Z] 2437ff75d9bd: Pull complete [2023-03-02T17:51:31.589Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-02T17:51:31.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T17:51:31.589Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T17:51:31.785Z] prd-ubuntu20.04-docker-arm64-4c-16g-8110 does not seem to be running inside a container [2023-03-02T17:51:31.854Z] $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-02T17:51:34.421Z] $ docker top 7a51d2685a34936ccf51b92cbb84e71ac2dfcee7a665a4a01939b1ca8078a70e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T17:51:35.258Z] ---> job-cost.sh [2023-03-02T17:51:35.258Z] lf-activate-venv: SKIPPING [2023-03-02T17:51:35.258Z] INFO: No Stack... [2023-03-02T17:51:35.840Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-02T17:51:36.422Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T17:51:37.055Z] + cat /w/workspace/device-onvif-camera/9/archives/cost.csv [2023-03-02T17:51:37.055Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T17:51:37.118Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-238-9-stack-cost] [2023-03-02T17:51:37.126Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-9-stack-cost] did not exist. Created. [2023-03-02T17:51:37.126Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-238-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T17:51:37.775Z] /w/workspace/device-onvif-camera/9@tmp/durable-0ce77a69/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-02T17:51:38.423Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-02T17:51:38.446Z] Warning: overwriting stash ‘stack-cost’ [2023-03-02T17:51:38.502Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T17:51:38.510Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T17:51:38.529Z] $ docker stop --time=1 7a51d2685a34936ccf51b92cbb84e71ac2dfcee7a665a4a01939b1ca8078a70e [2023-03-02T17:51:40.034Z] $ docker rm -f --volumes 7a51d2685a34936ccf51b92cbb84e71ac2dfcee7a665a4a01939b1ca8078a70e [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-03-02T17:51:40.455Z] provisioning config files... [2023-03-02T17:51:40.462Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config13653175472407430418tmp [Pipeline] { [Pipeline] sh [2023-03-02T17:51:40.751Z] + set +x [2023-03-02T17:51:40.751Z] + bash -s -- [2023-03-02T17:51:40.751Z] + curl -s https://codecov.io/bash [2023-03-02T17:51:40.751Z] [2023-03-02T17:51:40.751Z] _____ _ [2023-03-02T17:51:40.751Z] / ____| | | [2023-03-02T17:51:40.751Z] | | ___ __| | ___ ___ _____ __ [2023-03-02T17:51:40.751Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-02T17:51:40.751Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-02T17:51:40.751Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-02T17:51:40.751Z] Bash-1.0.6 [2023-03-02T17:51:40.751Z] [2023-03-02T17:51:40.751Z] [2023-03-02T17:51:40.751Z] ==> git version 2.25.1 found [2023-03-02T17:51:40.751Z] ==> 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-03-02T17:51:40.751Z] Release-Date: 2020-01-08 [2023-03-02T17:51:40.751Z] 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-03-02T17:51:40.751Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-02T17:51:40.751Z] ==> Jenkins CI detected. [2023-03-02T17:51:40.751Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-238 [2023-03-02T17:51:40.751Z] project root: . [2023-03-02T17:51:40.751Z] --> token set from env [2023-03-02T17:51:40.751Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-02T17:51:40.751Z] ==> Running gcov in . (disable via -X gcov) [2023-03-02T17:51:40.751Z] ==> Python coveragepy not found [2023-03-02T17:51:40.751Z] ==> Searching for coverage reports in: [2023-03-02T17:51:40.751Z] + . [2023-03-02T17:51:40.751Z] -> Found 1 reports [2023-03-02T17:51:40.751Z] ==> Detecting git/mercurial file structure [2023-03-02T17:51:40.751Z] ==> Reading reports [2023-03-02T17:51:40.751Z] + ./coverage.out bytes=79184 [2023-03-02T17:51:41.010Z] ==> Appending adjustments [2023-03-02T17:51:41.010Z] https://docs.codecov.io/docs/fixing-reports [2023-03-02T17:51:41.010Z] + Found adjustments [2023-03-02T17:51:41.010Z] ==> Gzipping contents [2023-03-02T17:51:41.010Z] 12K /tmp/codecov.79PL2t.gz [2023-03-02T17:51:41.010Z] ==> Uploading reports [2023-03-02T17:51:41.010Z] url: https://codecov.io [2023-03-02T17:51:41.010Z] query: branch=PR-238&commit=aea9ada17b17f984460171250450ab67dc1e7213&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-238%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=238&job=&cmd_args= [2023-03-02T17:51:41.010Z] -> Pinging Codecov [2023-03-02T17:51:41.010Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-238&commit=aea9ada17b17f984460171250450ab67dc1e7213&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-238%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=238&job=&cmd_args= [2023-03-02T17:51:41.268Z] -> Uploading to [2023-03-02T17:51:41.269Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-02/F29A59C45E3A92E06B3E522C9905F8EF/aea9ada17b17f984460171250450ab67dc1e7213/6fb8e0b2-23a9-423d-b61b-7a2686663482.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230302%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230302T175141Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=574078d5ae6f0125be81e439ea56e6a0d0d495a597f9b88bda03365ea9ca0429 [2023-03-02T17:51:41.269Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-02T17:51:41.269Z] Dload Upload Total Spent Left Speed [2023-03-02T17:51:41.527Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10850 0 0 100 10850 0 36531 --:--:-- --:--:-- --:--:-- 36531 [2023-03-02T17:51:41.527Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/aea9ada17b17f984460171250450ab67dc1e7213 [Pipeline] } [2023-03-02T17:51:41.534Z] 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-03-02T17:51:42.236Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-238/archives ] [2023-03-02T17:51:42.236Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-238/archives [2023-03-02T17:51:42.236Z] total 16 [2023-03-02T17:51:42.236Z] drwxr-xr-x 3 root root 4096 Mar 2 17:44 . [2023-03-02T17:51:42.236Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 2 17:44 .. [2023-03-02T17:51:42.236Z] drwxr-xr-x 2 root root 4096 Mar 2 17:44 cost [2023-03-02T17:51:42.236Z] -rw-r--r-- 1 root root 91 Mar 2 17:44 cost.csv [2023-03-02T17:51:42.236Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-238/archives [2023-03-02T17:51:42.236Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-238/archives [2023-03-02T17:51:42.236Z] total 16 [2023-03-02T17:51:42.236Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 17:44 . [2023-03-02T17:51:42.236Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 2 17:44 .. [2023-03-02T17:51:42.236Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 2 17:44 cost [2023-03-02T17:51:42.236Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 2 17:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-02T17:51:42.527Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T17:51:43.386Z] ---> package-listing.sh [2023-03-02T17:51:43.386Z] ++ facter osfamily [2023-03-02T17:51:43.386Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-02T17:51:43.645Z] + OS_FAMILY=debian [2023-03-02T17:51:43.645Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-238 [2023-03-02T17:51:43.645Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-02T17:51:43.645Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-02T17:51:43.645Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-02T17:51:43.645Z] + PACKAGES=/tmp/packages_start.txt [2023-03-02T17:51:43.645Z] + '[' /w/workspace/undry_device-onvif-camera_PR-238 ']' [2023-03-02T17:51:43.645Z] + PACKAGES=/tmp/packages_end.txt [2023-03-02T17:51:43.645Z] + case "${OS_FAMILY}" in [2023-03-02T17:51:43.645Z] + dpkg -l [2023-03-02T17:51:43.645Z] + grep '^ii' [2023-03-02T17:51:43.645Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-02T17:51:43.645Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-02T17:51:43.645Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-02T17:51:43.645Z] + '[' /w/workspace/undry_device-onvif-camera_PR-238 ']' [2023-03-02T17:51:43.645Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-238/archives/ [2023-03-02T17:51:43.646Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-238/archives/ [Pipeline] echo [2023-03-02T17:51:43.657Z] 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-238/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-02T17:51:43.952Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T17:51:44.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T17:51:44.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T17:51:44.586Z] prd-ubuntu20.04-docker-8c-8g-8109 does not seem to be running inside a container [2023-03-02T17:51:44.614Z] $ 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-238/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-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-02T17:51:44.854Z] $ docker top 714574c8bb2ca31f384c2ce2059611340d512c203e89e58de5210adf6c508695 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T17:51:45.208Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-02T17:51:45.493Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-02T17:51:45.778Z] + ls /var/log/sa-host [2023-03-02T17:51:45.778Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T17:51:45.849Z] provisioning config files... [2023-03-02T17:51:45.857Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config538323812351200373tmp [Pipeline] { [Pipeline] echo [2023-03-02T17:51:45.869Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T17:51:46.153Z] ---> create-netrc.sh [Pipeline] } [2023-03-02T17:51:46.160Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-02T17:51:46.482Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-02T17:51:46.491Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T17:51:46.776Z] ---> sudo-logs.sh [2023-03-02T17:51:46.776Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-02T17:51:46.796Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T17:51:47.078Z] ---> job-cost.sh [2023-03-02T17:51:47.078Z] lf-activate-venv: SKIPPING [2023-03-02T17:51:47.078Z] DEBUG: total: 0.2199999988079071 [2023-03-02T17:51:47.078Z] INFO: Retrieving Stack Cost... [2023-03-02T17:51:47.336Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T17:51:47.903Z] INFO: Archiving Costs [Pipeline] echo [2023-03-02T17:51:47.916Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T17:51:48.197Z] ---> logs-deploy.sh [2023-03-02T17:51:48.198Z] lf-activate-venv: SKIPPING [2023-03-02T17:51:48.198Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-238/9 [2023-03-02T17:51:48.198Z] INFO: archiving workspace using pattern(s): [2023-03-02T17:51:49.134Z] Archives upload complete. [2023-03-02T17:51:49.134Z] INFO: archiving logs to Nexus