Pull request #187 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 ejlee3 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 48aac476b513547f736cc1fa92662379694eca8e rather than 6821847dde9ba5e4918863646a112a7c02faa42b Obtained Jenkinsfile from 48aac476b513547f736cc1fa92662379694eca8e 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-ssh17903353983976960391.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh6505808649856314034.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-187/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-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5655664814306379928.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh11258699166850235074.key Verifying host key using known hosts file > 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-187/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-187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2656296647167062629.key Verifying host key using known hosts file > 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117182 in /w/workspace/undry_device-onvif-camera_PR-187 [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-187 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 6821847dde9ba5e4918863646a112a7c02faa42b Merge succeeded, producing 6821847dde9ba5e4918863646a112a7c02faa42b Checking out Revision 6821847dde9ba5e4918863646a112a7c02faa42b (PR-187) > git config core.sparsecheckout # timeout=10 > git checkout -f 6821847dde9ba5e4918863646a112a7c02faa42b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6821847dde9ba5e4918863646a112a7c02faa42b # timeout=10 Commit message: "update versions, address feedback" > git rev-list --no-walk 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T16:29:59.665Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T16:29:59.709Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T16:29:59.723Z] ========================================================= [2022-10-26T16:29:59.723Z] EdgeX Global Pipelines Version Info [2022-10-26T16:29:59.723Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:30:00.422Z] ------------------- [2022-10-26T16:30:00.422Z] stable info: [2022-10-26T16:30:00.422Z] ------------------- [2022-10-26T16:30:00.422Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T16:30:00.422Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T16:30:00.422Z] Message: update stable to v1.0.243 [2022-10-26T16:30:00.991Z] ------------------- [2022-10-26T16:30:00.991Z] experimental info: [2022-10-26T16:30:00.991Z] ------------------- [2022-10-26T16:30:00.991Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T16:30:00.991Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T16:30:00.991Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T16:30:01.164Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-26T16:30:01.179Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-26T16:30:01.189Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T16:30:01.203Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T16:30:01.214Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T16:30:01.223Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T16:30:01.231Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T16:30:01.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T16:30:01.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T16:30:01.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T16:30:01.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T16:30:01.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-26T16:30:01.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T16:30:01.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T16:30:01.324Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T16:30:01.338Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T16:30:01.347Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T16:30:01.361Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T16:30:01.374Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T16:30:01.386Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T16:30:01.397Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-26T16:30:01.413Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-26T16:30:01.423Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T16:30:01.436Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T16:30:01.456Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T16:30:01.472Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T16:30:01.482Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T16:30:01.494Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo [2022-10-26T16:30:01.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo [2022-10-26T16:30:01.527Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo [2022-10-26T16:30:01.536Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6821847dde9ba5e4918863646a112a7c02faa42b [Pipeline] echo [2022-10-26T16:30:01.547Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6821847 [Pipeline] echo [2022-10-26T16:30:01.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T16:30:01.602Z] provisioning config files... [2022-10-26T16:30:01.612Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config9296332212746761428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:30:01.908Z] ---> docker-login.sh [2022-10-26T16:30:01.908Z] nexus3.edgexfoundry.org:10001 [2022-10-26T16:30:02.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:30:02.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:30:02.424Z] Configure a credential helper to remove this warning. See [2022-10-26T16:30:02.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:30:02.424Z] [2022-10-26T16:30:02.424Z] Login Succeeded [2022-10-26T16:30:02.424Z] nexus3.edgexfoundry.org:10002 [2022-10-26T16:30:02.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:30:02.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:30:02.424Z] Configure a credential helper to remove this warning. See [2022-10-26T16:30:02.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:30:02.424Z] [2022-10-26T16:30:02.424Z] Login Succeeded [2022-10-26T16:30:02.424Z] nexus3.edgexfoundry.org:10003 [2022-10-26T16:30:02.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:30:02.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:30:02.424Z] Configure a credential helper to remove this warning. See [2022-10-26T16:30:02.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:30:02.424Z] [2022-10-26T16:30:02.424Z] Login Succeeded [2022-10-26T16:30:02.424Z] nexus3.edgexfoundry.org:10004 [2022-10-26T16:30:02.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:30:02.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:30:02.682Z] Configure a credential helper to remove this warning. See [2022-10-26T16:30:02.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:30:02.682Z] [2022-10-26T16:30:02.682Z] Login Succeeded [2022-10-26T16:30:02.682Z] docker.io [2022-10-26T16:30:02.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:30:04.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:30:04.060Z] Configure a credential helper to remove this warning. See [2022-10-26T16:30:04.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:30:04.060Z] [2022-10-26T16:30:04.060Z] Login Succeeded [2022-10-26T16:30:04.060Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T16:30:04.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T16:30:04.439Z] + git rev-list -1 --merges 6821847dde9ba5e4918863646a112a7c02faa42b~1..6821847dde9ba5e4918863646a112a7c02faa42b [Pipeline] echo [2022-10-26T16:30:04.473Z] -----------> git rev-list -1 --merges 6821847dde9ba5e4918863646a112a7c02faa42b~1..6821847dde9ba5e4918863646a112a7c02faa42b 6821847dde9ba5e4918863646a112a7c02faa42b [false] [Pipeline] sh [2022-10-26T16:30:04.762Z] + git log --format=format:%s -1 6821847dde9ba5e4918863646a112a7c02faa42b [Pipeline] echo [2022-10-26T16:30:04.773Z] ========================================================= [2022-10-26T16:30:04.773Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T16:30:04.773Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T16:30:05.103Z] + git log --format=format:%s -1 6821847dde9ba5e4918863646a112a7c02faa42b [Pipeline] echo [2022-10-26T16:30:05.114Z] [semverPrep] GIT_COMMIT: 6821847dde9ba5e4918863646a112a7c02faa42b, Commit Message: update versions, address feedback [Pipeline] echo [2022-10-26T16:30:05.121Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T16:30:05.461Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T16:30:05.461Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T16:30:05.461Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T16:30:05.461Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T16:30:05.461Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T16:30:05.461Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T16:30:05.461Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:30:05.816Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T16:30:05.816Z] [2022-10-26T16:30:05.816Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:30:06.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T16:30:06.114Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T16:30:06.114Z] b85a868b505f: Pulling fs layer [2022-10-26T16:30:06.114Z] e2be974225ed: Pulling fs layer [2022-10-26T16:30:06.114Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T16:30:06.114Z] 988bab9f4d93: Pulling fs layer [2022-10-26T16:30:06.114Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T16:30:06.114Z] eaf3925da568: Pulling fs layer [2022-10-26T16:30:06.114Z] bab4dde63d76: Pulling fs layer [2022-10-26T16:30:06.114Z] bde34c3a00c8: Pulling fs layer [2022-10-26T16:30:06.114Z] b352a97aabf1: Pulling fs layer [2022-10-26T16:30:06.114Z] 4872d77fe225: Pulling fs layer [2022-10-26T16:30:06.114Z] 5851b861e8e6: Pulling fs layer [2022-10-26T16:30:06.114Z] b352a97aabf1: Waiting [2022-10-26T16:30:06.114Z] 988bab9f4d93: Waiting [2022-10-26T16:30:06.114Z] 1469e6f7b9e6: Waiting [2022-10-26T16:30:06.114Z] 4872d77fe225: Waiting [2022-10-26T16:30:06.114Z] eaf3925da568: Waiting [2022-10-26T16:30:06.114Z] bde34c3a00c8: Waiting [2022-10-26T16:30:06.114Z] bab4dde63d76: Waiting [2022-10-26T16:30:06.114Z] 5851b861e8e6: Waiting [2022-10-26T16:30:06.114Z] e2be974225ed: Download complete [2022-10-26T16:30:06.114Z] 988bab9f4d93: Verifying Checksum [2022-10-26T16:30:06.114Z] 988bab9f4d93: Download complete [2022-10-26T16:30:06.374Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T16:30:06.374Z] 339a4e72a1f5: Download complete [2022-10-26T16:30:06.374Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T16:30:06.374Z] 1469e6f7b9e6: Download complete [2022-10-26T16:30:06.374Z] eaf3925da568: Verifying Checksum [2022-10-26T16:30:06.374Z] eaf3925da568: Download complete [2022-10-26T16:30:06.374Z] bde34c3a00c8: Verifying Checksum [2022-10-26T16:30:06.374Z] bde34c3a00c8: Download complete [2022-10-26T16:30:06.374Z] b352a97aabf1: Download complete [2022-10-26T16:30:06.374Z] 4872d77fe225: Verifying Checksum [2022-10-26T16:30:06.374Z] 4872d77fe225: Download complete [2022-10-26T16:30:06.374Z] 5851b861e8e6: Verifying Checksum [2022-10-26T16:30:06.374Z] 5851b861e8e6: Download complete [2022-10-26T16:30:06.374Z] b85a868b505f: Download complete [2022-10-26T16:30:06.631Z] bab4dde63d76: Verifying Checksum [2022-10-26T16:30:06.631Z] bab4dde63d76: Download complete [2022-10-26T16:30:07.569Z] b85a868b505f: Pull complete [2022-10-26T16:30:07.569Z] e2be974225ed: Pull complete [2022-10-26T16:30:08.138Z] 339a4e72a1f5: Pull complete [2022-10-26T16:30:08.138Z] 988bab9f4d93: Pull complete [2022-10-26T16:30:08.396Z] 1469e6f7b9e6: Pull complete [2022-10-26T16:30:08.396Z] eaf3925da568: Pull complete [2022-10-26T16:30:10.334Z] bab4dde63d76: Pull complete [2022-10-26T16:30:10.334Z] bde34c3a00c8: Pull complete [2022-10-26T16:30:10.334Z] b352a97aabf1: Pull complete [2022-10-26T16:30:10.334Z] 4872d77fe225: Pull complete [2022-10-26T16:30:10.594Z] 5851b861e8e6: Pull complete [2022-10-26T16:30:10.594Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T16:30:10.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T16:30:10.594Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T16:30:10.680Z] prd-ubuntu20.04-docker-8c-8g-117182 does not seem to be running inside a container [2022-10-26T16:30:10.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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 [2022-10-26T16:30:12.903Z] $ docker top d45b8d3d81534744e8a43f30c9284ae6c19e84fe88c0fa61bf2e0cf4a2222bcd -eo pid,comm [2022-10-26T16:30:12.955Z] 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). [2022-10-26T16:30:12.955Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T16:30:12.987Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T16:30:12.987Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T16:30:13.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T16:30:13.142Z] $ docker exec d45b8d3d81534744e8a43f30c9284ae6c19e84fe88c0fa61bf2e0cf4a2222bcd ssh-agent [2022-10-26T16:30:13.252Z] SSH_AUTH_SOCK=/tmp/ssh-01q72CaBBc3a/agent.31 [2022-10-26T16:30:13.252Z] SSH_AGENT_PID=37 [2022-10-26T16:30:13.258Z] Running ssh-add (command line suppressed) [2022-10-26T16:30:13.370Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_3916280681772515037.key (/w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_3916280681772515037.key) [2022-10-26T16:30:13.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T16:30:13.674Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T16:30:13.687Z] $ docker exec --env ******** --env ******** d45b8d3d81534744e8a43f30c9284ae6c19e84fe88c0fa61bf2e0cf4a2222bcd ssh-agent -k [2022-10-26T16:30:13.775Z] unset SSH_AUTH_SOCK; [2022-10-26T16:30:13.776Z] unset SSH_AGENT_PID; [2022-10-26T16:30:13.776Z] echo Agent pid 37 killed; [2022-10-26T16:30:13.783Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T16:30:13.807Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T16:30:13.807Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T16:30:13.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T16:30:13.922Z] $ docker exec d45b8d3d81534744e8a43f30c9284ae6c19e84fe88c0fa61bf2e0cf4a2222bcd ssh-agent [2022-10-26T16:30:14.032Z] SSH_AUTH_SOCK=/tmp/ssh-rFHdxHHjo6r2/agent.70 [2022-10-26T16:30:14.032Z] SSH_AGENT_PID=76 [2022-10-26T16:30:14.036Z] Running ssh-add (command line suppressed) [2022-10-26T16:30:14.136Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_17494234684259646037.key (/w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_17494234684259646037.key) [2022-10-26T16:30:14.147Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T16:30:14.432Z] + git semver init [2022-10-26T16:30:14.691Z] 2022-10-26 16:30:14,614 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T16:30:14.691Z] 2022-10-26 16:30:14,614 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-187/.semver [2022-10-26T16:30:14.691Z] 2022-10-26 16:30:14,615 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-187/.semver [2022-10-26T16:30:14.691Z] 2022-10-26 16:30:14,615 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-187/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-187, universal_newlines=False, shell=None, istream=None) [2022-10-26T16:30:16.073Z] 2022-10-26 16:30:15,665 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-187/.git/info/exclude [2022-10-26T16:30:16.073Z] 2022-10-26 16:30:15,665 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 with force:False [2022-10-26T16:30:16.073Z] 2022-10-26 16:30:15,665 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 [2022-10-26T16:30:16.073Z] 2022-10-26 16:30:15,669 [execute] INFO git cat-file --batch-check [2022-10-26T16:30:16.073Z] 2022-10-26 16:30:15,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T16:30:16.073Z] 2022-10-26 16:30:15,675 [execute] INFO git cat-file --batch [2022-10-26T16:30:16.073Z] 2022-10-26 16:30:15,675 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T16:30:16.073Z] 2022-10-26 16:30:15,680 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 [2022-10-26T16:30:16.073Z] 0.0.0 [Pipeline] } [2022-10-26T16:30:16.084Z] $ docker exec --env ******** --env ******** d45b8d3d81534744e8a43f30c9284ae6c19e84fe88c0fa61bf2e0cf4a2222bcd ssh-agent -k [2022-10-26T16:30:16.178Z] unset SSH_AUTH_SOCK; [2022-10-26T16:30:16.179Z] unset SSH_AGENT_PID; [2022-10-26T16:30:16.179Z] echo Agent pid 76 killed; [2022-10-26T16:30:16.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T16:30:16.495Z] + git semver [Pipeline] } [2022-10-26T16:30:16.768Z] $ docker stop --time=1 d45b8d3d81534744e8a43f30c9284ae6c19e84fe88c0fa61bf2e0cf4a2222bcd [2022-10-26T16:30:18.089Z] $ docker rm -f d45b8d3d81534744e8a43f30c9284ae6c19e84fe88c0fa61bf2e0cf4a2222bcd [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T16:30:18.418Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T16:30:18.578Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T16:30:18.580Z] [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 [2022-10-26T16:30:18.725Z] provisioning config files... [2022-10-26T16:30:18.734Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config18259796118068832441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:30:19.026Z] ---> docker-login.sh [2022-10-26T16:30:19.026Z] nexus3.edgexfoundry.org:10001 [2022-10-26T16:30:19.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:30:19.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:30:19.026Z] Configure a credential helper to remove this warning. See [2022-10-26T16:30:19.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:30:19.026Z] [2022-10-26T16:30:19.026Z] Login Succeeded [2022-10-26T16:30:19.026Z] nexus3.edgexfoundry.org:10002 [2022-10-26T16:30:19.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:30:19.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:30:19.026Z] Configure a credential helper to remove this warning. See [2022-10-26T16:30:19.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:30:19.026Z] [2022-10-26T16:30:19.026Z] Login Succeeded [2022-10-26T16:30:19.026Z] nexus3.edgexfoundry.org:10003 [2022-10-26T16:30:19.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:30:19.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:30:19.286Z] Configure a credential helper to remove this warning. See [2022-10-26T16:30:19.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:30:19.286Z] [2022-10-26T16:30:19.286Z] Login Succeeded [2022-10-26T16:30:19.286Z] nexus3.edgexfoundry.org:10004 [2022-10-26T16:30:19.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:30:19.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:30:19.286Z] Configure a credential helper to remove this warning. See [2022-10-26T16:30:19.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:30:19.286Z] [2022-10-26T16:30:19.286Z] Login Succeeded [2022-10-26T16:30:19.286Z] docker.io [2022-10-26T16:30:19.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:30:19.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:30:19.803Z] Configure a credential helper to remove this warning. See [2022-10-26T16:30:19.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:30:19.803Z] [2022-10-26T16:30:19.803Z] Login Succeeded [2022-10-26T16:30:19.803Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T16:30:19.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T16:30:19.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T16:30:19.889Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T16:30:19.897Z] ========================================================= [2022-10-26T16:30:19.897Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T16:30:19.897Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:30:20.209Z] + 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 . [2022-10-26T16:30:20.209Z] Sending build context to Docker daemon 21.52MB [2022-10-26T16:30:20.209Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T16:30:20.209Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-26T16:30:20.480Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T16:30:20.480Z] 213ec9aee27d: Pulling fs layer [2022-10-26T16:30:20.480Z] 4583459ba037: Pulling fs layer [2022-10-26T16:30:20.480Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T16:30:20.480Z] 53926ce57604: Pulling fs layer [2022-10-26T16:30:20.480Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T16:30:20.480Z] 30f14e443154: Pulling fs layer [2022-10-26T16:30:20.480Z] 801331c1e519: Pulling fs layer [2022-10-26T16:30:20.480Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T16:30:20.480Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T16:30:20.480Z] 21b2b0c7a3f4: Waiting [2022-10-26T16:30:20.480Z] 801331c1e519: Waiting [2022-10-26T16:30:20.480Z] 30f14e443154: Waiting [2022-10-26T16:30:20.480Z] 99cc6dd402b0: Waiting [2022-10-26T16:30:20.480Z] 7d9ed39f4882: Waiting [2022-10-26T16:30:20.481Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T16:30:20.481Z] 93c1e223e6f2: Download complete [2022-10-26T16:30:20.481Z] 4583459ba037: Download complete [2022-10-26T16:30:20.481Z] 21b2b0c7a3f4: Download complete [2022-10-26T16:30:20.481Z] 213ec9aee27d: Verifying Checksum [2022-10-26T16:30:20.481Z] 213ec9aee27d: Download complete [2022-10-26T16:30:20.481Z] 30f14e443154: Download complete [2022-10-26T16:30:20.481Z] 801331c1e519: Download complete [2022-10-26T16:30:20.763Z] 213ec9aee27d: Pull complete [2022-10-26T16:30:21.032Z] 4583459ba037: Pull complete [2022-10-26T16:30:21.305Z] 93c1e223e6f2: Pull complete [2022-10-26T16:30:21.567Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T16:30:21.567Z] 99cc6dd402b0: Download complete [2022-10-26T16:30:21.567Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T16:30:21.567Z] 7d9ed39f4882: Download complete [2022-10-26T16:30:21.567Z] 53926ce57604: Verifying Checksum [2022-10-26T16:30:21.567Z] 53926ce57604: Download complete [2022-10-26T16:30:25.756Z] 53926ce57604: Pull complete [2022-10-26T16:30:25.756Z] 21b2b0c7a3f4: Pull complete [2022-10-26T16:30:25.756Z] 30f14e443154: Pull complete [2022-10-26T16:30:25.756Z] 801331c1e519: Pull complete [2022-10-26T16:30:27.659Z] 99cc6dd402b0: Pull complete [2022-10-26T16:30:28.250Z] 7d9ed39f4882: Pull complete [2022-10-26T16:30:28.250Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T16:30:28.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T16:30:28.250Z] ---> 1dedd983c030 [2022-10-26T16:30:28.250Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-26T16:30:32.479Z] ---> Running in 62d506093984 [2022-10-26T16:30:32.479Z] Removing intermediate container 62d506093984 [2022-10-26T16:30:32.479Z] ---> 7958ec59f901 [2022-10-26T16:30:32.479Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T16:30:32.479Z] ---> Running in 7fa7d7712b0e [2022-10-26T16:30:32.479Z] Removing intermediate container 7fa7d7712b0e [2022-10-26T16:30:32.479Z] ---> 0bb4bcd7bd53 [2022-10-26T16:30:32.479Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T16:30:32.479Z] ---> Running in 723e1aa7ac05 [2022-10-26T16:30:32.479Z] Removing intermediate container 723e1aa7ac05 [2022-10-26T16:30:32.479Z] ---> 1f7f304979ec [2022-10-26T16:30:32.479Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T16:30:32.479Z] ---> Running in a4f5fa2fbf39 [2022-10-26T16:30:32.479Z] Removing intermediate container a4f5fa2fbf39 [2022-10-26T16:30:32.479Z] ---> a75e31518e0e [2022-10-26T16:30:32.479Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-26T16:30:32.736Z] ---> Running in 19b3f63de37d [2022-10-26T16:30:32.736Z] Removing intermediate container 19b3f63de37d [2022-10-26T16:30:32.736Z] ---> ed08296485c8 [2022-10-26T16:30:32.736Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T16:30:32.736Z] ---> Running in 365da2419e46 [2022-10-26T16:30:32.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T16:30:32.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T16:30:33.253Z] OK: 211 MiB in 51 packages [2022-10-26T16:30:33.511Z] Removing intermediate container 365da2419e46 [2022-10-26T16:30:33.511Z] ---> 194cc2569a82 [2022-10-26T16:30:33.511Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-26T16:30:33.511Z] ---> Running in 19d6e14e2137 [2022-10-26T16:30:33.678Z] Still waiting to schedule task [2022-10-26T16:30:33.678Z] ‘prd-centos7-builder-2c-1g-117178’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T16:30:33.678Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117185’ is offline [2022-10-26T16:30:33.768Z] Removing intermediate container 19d6e14e2137 [2022-10-26T16:30:33.768Z] ---> f28303747def [2022-10-26T16:30:33.768Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-26T16:30:33.768Z] ---> ee6f384a8d89 [2022-10-26T16:30:33.768Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T16:30:33.768Z] ---> Running in 2881b13881a3 [2022-10-26T16:31:05.858Z] Removing intermediate container 2881b13881a3 [2022-10-26T16:31:05.858Z] ---> 960d7e6cdc58 [2022-10-26T16:31:05.858Z] Step 12/13 : COPY . . [2022-10-26T16:31:05.858Z] ---> 262a8ff00426 [2022-10-26T16:31:05.858Z] Step 13/13 : RUN ${MAKE} [2022-10-26T16:31:05.858Z] ---> Running in 409cd8f92906 [2022-10-26T16:31:05.858Z] noop [2022-10-26T16:31:05.858Z] Removing intermediate container 409cd8f92906 [2022-10-26T16:31:05.858Z] ---> c3c66330dd34 [2022-10-26T16:31:05.858Z] Successfully built c3c66330dd34 [2022-10-26T16:31:05.858Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:31:06.161Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T16:31:06.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T16:31:06.222Z] prd-ubuntu20.04-docker-8c-8g-117182 does not seem to be running inside a container [2022-10-26T16:31:06.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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 [2022-10-26T16:31:06.719Z] $ docker top be417e4ec852a9278d4bfe33befbc7a210dc6611b7a0ab6df9dce46acb9cf43d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T16:31:07.048Z] + go version [2022-10-26T16:31:07.048Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T16:31:07.061Z] $ docker stop --time=1 be417e4ec852a9278d4bfe33befbc7a210dc6611b7a0ab6df9dce46acb9cf43d [2022-10-26T16:31:08.308Z] $ docker rm -f be417e4ec852a9278d4bfe33befbc7a210dc6611b7a0ab6df9dce46acb9cf43d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:31:08.695Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T16:31:08.696Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T16:31:08.763Z] prd-ubuntu20.04-docker-8c-8g-117182 does not seem to be running inside a container [2022-10-26T16:31:09.024Z] $ 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-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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 [2022-10-26T16:31:09.779Z] $ docker top a680d1ee1084c46f03dbf0274acdd068b2b3b0d870a5016d1557f02d014d15f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T16:31:10.117Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-187 [Pipeline] fileExists [Pipeline] sh [2022-10-26T16:31:10.415Z] + make test [2022-10-26T16:31:10.415Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T16:31:10.677Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T16:31:22.869Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T16:31:22.869Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.036s coverage: 28.2% of statements [2022-10-26T16:31:22.869Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T16:31:22.869Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.527s coverage: 86.5% of statements [2022-10-26T16:31:30.978Z] 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." [2022-10-26T16:31:30.978Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T16:31:34.258Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T16:31:34.258Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T16:31:34.258Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T16:31:34.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T16:31:34.287Z] $ docker stop --time=1 a680d1ee1084c46f03dbf0274acdd068b2b3b0d870a5016d1557f02d014d15f5 [2022-10-26T16:31:36.105Z] $ docker rm -f a680d1ee1084c46f03dbf0274acdd068b2b3b0d870a5016d1557f02d014d15f5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T16:31:36.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T16:31:36.615Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T16:31:37.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T16:31:37.333Z] + ls -al . [2022-10-26T16:31:37.333Z] total 244 [2022-10-26T16:31:37.333Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 16:31 . [2022-10-26T16:31:37.333Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:29 .. [2022-10-26T16:31:37.333Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 16:31 .git [2022-10-26T16:31:37.333Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:29 .github [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 16:29 .gitignore [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 16:29 .golangci.yml [2022-10-26T16:31:37.333Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 16:30 .semver [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 16:29 Attribution.txt [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 16:29 CHANGELOG.md [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 26 16:29 Dockerfile [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 16:29 GOVERNANCE.md [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 16:29 Jenkinsfile [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 16:29 LICENSE [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 16:29 Makefile [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 16:29 OWNERS.md [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 16:29 README.md [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 16:30 VERSION [2022-10-26T16:31:37.333Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 16:29 bin [2022-10-26T16:31:37.333Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:29 cmd [2022-10-26T16:31:37.333Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 16:31 coverage.out [2022-10-26T16:31:37.333Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 16:29 doc [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 26 16:29 go.mod [2022-10-26T16:31:37.333Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 26 16:29 go.sum [2022-10-26T16:31:37.333Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:29 internal [2022-10-26T16:31:37.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:29 snap [2022-10-26T16:31:37.334Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 16:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:31:37.645Z] + 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=6821847dde9ba5e4918863646a112a7c02faa42b --label arch=amd64 --label version=0.0.0 . [2022-10-26T16:31:37.645Z] Sending build context to Docker daemon 21.6MB [2022-10-26T16:31:37.645Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T16:31:37.645Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T16:31:37.645Z] ---> c3c66330dd34 [2022-10-26T16:31:37.645Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T16:31:37.903Z] ---> Running in 0d926d426263 [2022-10-26T16:31:37.903Z] Removing intermediate container 0d926d426263 [2022-10-26T16:31:37.903Z] ---> 44b44d95147f [2022-10-26T16:31:37.903Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T16:31:37.903Z] ---> Running in e39f0498d9ea [2022-10-26T16:31:38.165Z] Removing intermediate container e39f0498d9ea [2022-10-26T16:31:38.165Z] ---> 18a7fe156778 [2022-10-26T16:31:38.165Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T16:31:38.165Z] ---> Running in 672eb5fa2275 [2022-10-26T16:31:38.165Z] Removing intermediate container 672eb5fa2275 [2022-10-26T16:31:38.165Z] ---> c69fb3414425 [2022-10-26T16:31:38.165Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T16:31:38.165Z] ---> Running in d86c1dcbb134 [2022-10-26T16:31:38.423Z] Removing intermediate container d86c1dcbb134 [2022-10-26T16:31:38.423Z] ---> 76392f50a226 [2022-10-26T16:31:38.423Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-26T16:31:38.423Z] ---> Running in 3f8ee6335286 [2022-10-26T16:31:38.423Z] Removing intermediate container 3f8ee6335286 [2022-10-26T16:31:38.423Z] ---> 529d6880c22d [2022-10-26T16:31:38.423Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T16:31:38.423Z] ---> Running in 42b31b35b0b9 [2022-10-26T16:31:38.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T16:31:38.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T16:31:39.199Z] OK: 211 MiB in 51 packages [2022-10-26T16:31:39.457Z] Removing intermediate container 42b31b35b0b9 [2022-10-26T16:31:39.457Z] ---> 59084443c1d5 [2022-10-26T16:31:39.457Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-26T16:31:39.457Z] ---> Running in 8209ead68a0f [2022-10-26T16:31:39.716Z] Removing intermediate container 8209ead68a0f [2022-10-26T16:31:39.716Z] ---> 58b2bdb799e0 [2022-10-26T16:31:39.716Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-26T16:31:39.716Z] ---> 1c9786b204ff [2022-10-26T16:31:39.716Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T16:31:39.716Z] ---> Running in bc2a7f4afaf8 [2022-10-26T16:31:40.652Z] Removing intermediate container bc2a7f4afaf8 [2022-10-26T16:31:40.652Z] ---> 8d067eb65311 [2022-10-26T16:31:40.652Z] Step 12/26 : COPY . . [2022-10-26T16:31:41.217Z] ---> 8153170634ca [2022-10-26T16:31:41.218Z] Step 13/26 : RUN ${MAKE} [2022-10-26T16:31:41.218Z] ---> Running in e0b20a5eca62 [2022-10-26T16:31:41.476Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-26T16:32:08.009Z] Removing intermediate container e0b20a5eca62 [2022-10-26T16:32:08.009Z] ---> a3f51ef28097 [2022-10-26T16:32:08.009Z] Step 14/26 : FROM alpine:3.16 [2022-10-26T16:32:08.009Z] 3.16: Pulling from library/alpine [2022-10-26T16:32:08.009Z] 213ec9aee27d: Already exists [2022-10-26T16:32:08.009Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T16:32:08.009Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T16:32:08.009Z] ---> 9c6f07244728 [2022-10-26T16:32:08.009Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T16:32:08.009Z] ---> Running in ac723deccb1f [2022-10-26T16:32:08.009Z] Removing intermediate container ac723deccb1f [2022-10-26T16:32:08.009Z] ---> 79c919ff20ce [2022-10-26T16:32:08.009Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T16:32:08.009Z] ---> Running in 9cfa284c5ff6 [2022-10-26T16:32:08.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T16:32:08.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T16:32:08.009Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T16:32:08.009Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T16:32:08.009Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T16:32:08.009Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T16:32:08.009Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T16:32:08.009Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T16:32:08.009Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T16:32:08.009Z] OK: 8 MiB in 20 packages [2022-10-26T16:32:08.009Z] Removing intermediate container 9cfa284c5ff6 [2022-10-26T16:32:08.009Z] ---> b564a9da2459 [2022-10-26T16:32:08.009Z] Step 17/26 : WORKDIR / [2022-10-26T16:32:08.009Z] ---> Running in 190d70088cad [2022-10-26T16:32:08.009Z] Removing intermediate container 190d70088cad [2022-10-26T16:32:08.009Z] ---> 8727f689fa0a [2022-10-26T16:32:08.009Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T16:32:08.009Z] ---> 54ba5a4f86f6 [2022-10-26T16:32:08.009Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T16:32:08.009Z] ---> 222846fd7b6a [2022-10-26T16:32:08.009Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T16:32:08.009Z] ---> 23b507fb8175 [2022-10-26T16:32:08.009Z] Step 21/26 : EXPOSE 59984 [2022-10-26T16:32:08.009Z] ---> Running in 7922c1cf0c9b [2022-10-26T16:32:08.009Z] Removing intermediate container 7922c1cf0c9b [2022-10-26T16:32:08.009Z] ---> 21acbf21f8e6 [2022-10-26T16:32:08.009Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T16:32:08.009Z] ---> Running in 9fd7ca5e3610 [2022-10-26T16:32:08.274Z] Removing intermediate container 9fd7ca5e3610 [2022-10-26T16:32:08.274Z] ---> 8030da3874b0 [2022-10-26T16:32:08.274Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T16:32:08.274Z] ---> Running in c720ff28ee6c [2022-10-26T16:32:08.274Z] Removing intermediate container c720ff28ee6c [2022-10-26T16:32:08.274Z] ---> 87e092ef9ea8 [2022-10-26T16:32:08.274Z] Step 24/26 : LABEL arch=amd64 [2022-10-26T16:32:08.274Z] ---> Running in c0d1c5869e0b [2022-10-26T16:32:08.533Z] Removing intermediate container c0d1c5869e0b [2022-10-26T16:32:08.533Z] ---> 2ad984f978f9 [2022-10-26T16:32:08.533Z] Step 25/26 : LABEL git_sha=6821847dde9ba5e4918863646a112a7c02faa42b [2022-10-26T16:32:08.533Z] ---> Running in b4c708589ecf [2022-10-26T16:32:08.533Z] Removing intermediate container b4c708589ecf [2022-10-26T16:32:08.533Z] ---> be1ac978872e [2022-10-26T16:32:08.533Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T16:32:08.533Z] ---> Running in 976f13c64fb9 [2022-10-26T16:32:08.793Z] Removing intermediate container 976f13c64fb9 [2022-10-26T16:32:08.793Z] ---> dc8136a7b500 [2022-10-26T16:32:08.793Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T16:32:08.793Z] Successfully built dc8136a7b500 [2022-10-26T16:32:08.793Z] 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 [2022-10-26T16:32:09.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T16:32:09.199Z] [2022-10-26T16:32:09.199Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:32:09.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T16:32:09.506Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T16:32:09.506Z] 5eb5b503b376: Pulling fs layer [2022-10-26T16:32:09.506Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T16:32:09.506Z] ec43610c2a17: Pulling fs layer [2022-10-26T16:32:09.506Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T16:32:09.506Z] 33b1e0a273af: Pulling fs layer [2022-10-26T16:32:09.506Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T16:32:09.506Z] 2f39f015ded8: Pulling fs layer [2022-10-26T16:32:09.506Z] 2f39f015ded8: Waiting [2022-10-26T16:32:09.506Z] 5d3b04190fa2: Waiting [2022-10-26T16:32:09.506Z] 33b1e0a273af: Waiting [2022-10-26T16:32:09.506Z] 3a2ae6a8a46f: Waiting [2022-10-26T16:32:09.506Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T16:32:09.506Z] 5c69ac0246d0: Download complete [2022-10-26T16:32:09.506Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T16:32:09.506Z] 3a2ae6a8a46f: Download complete [2022-10-26T16:32:09.506Z] 33b1e0a273af: Verifying Checksum [2022-10-26T16:32:09.506Z] 33b1e0a273af: Download complete [2022-10-26T16:32:09.506Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T16:32:09.506Z] 5d3b04190fa2: Download complete [2022-10-26T16:32:09.506Z] ec43610c2a17: Verifying Checksum [2022-10-26T16:32:09.506Z] ec43610c2a17: Download complete [2022-10-26T16:32:09.764Z] 5eb5b503b376: Verifying Checksum [2022-10-26T16:32:09.764Z] 5eb5b503b376: Download complete [2022-10-26T16:32:10.342Z] 2f39f015ded8: Download complete [2022-10-26T16:32:10.917Z] 5eb5b503b376: Pull complete [2022-10-26T16:32:11.176Z] 5c69ac0246d0: Pull complete [2022-10-26T16:32:11.435Z] ec43610c2a17: Pull complete [2022-10-26T16:32:11.693Z] 3a2ae6a8a46f: Pull complete [2022-10-26T16:32:11.693Z] 33b1e0a273af: Pull complete [2022-10-26T16:32:11.957Z] 5d3b04190fa2: Pull complete [2022-10-26T16:32:16.147Z] 2f39f015ded8: Pull complete [2022-10-26T16:32:16.147Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T16:32:16.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T16:32:16.147Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T16:32:16.220Z] prd-ubuntu20.04-docker-8c-8g-117182 does not seem to be running inside a container [2022-10-26T16:32:16.252Z] $ 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-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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 [2022-10-26T16:32:19.977Z] $ docker top 4b74db88084e881ad13074a1ccc3fd609ed7e8c1506d5941430ca0f4b6a61044 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:32:20.341Z] ---> job-cost.sh [2022-10-26T16:32:20.341Z] lf-activate-venv: SKIPPING [2022-10-26T16:32:20.341Z] INFO: No Stack... [2022-10-26T16:32:20.600Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T16:32:21.168Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T16:32:21.458Z] + cat /w/workspace/undry_device-onvif-camera_PR-187/archives/cost.csv [2022-10-26T16:32:21.458Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T16:32:21.472Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-187-2-stack-cost] [2022-10-26T16:32:21.482Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-2-stack-cost] did not exist. Created. [2022-10-26T16:32:21.482Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-187-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T16:32:21.779Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T16:32:21.808Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T16:32:21.815Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T16:32:21.833Z] $ docker stop --time=1 4b74db88084e881ad13074a1ccc3fd609ed7e8c1506d5941430ca0f4b6a61044 [2022-10-26T16:32:23.247Z] $ docker rm -f 4b74db88084e881ad13074a1ccc3fd609ed7e8c1506d5941430ca0f4b6a61044 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T16:40:32.242Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117193 in /w/workspace/undry_device-onvif-camera_PR-187 [Pipeline] { [Pipeline] ws [2022-10-26T16:40:32.255Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-10-26T16:40:32.289Z] The recommended git tool is: git [2022-10-26T16:40:37.494Z] using credential edgex-jenkins-ssh [2022-10-26T16:40:37.516Z] Cloning the remote Git repository [2022-10-26T16:40:37.561Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T16:40:37.622Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-10-26T16:40:37.742Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T16:40:37.743Z] > git --version # timeout=10 [2022-10-26T16:40:37.762Z] > git --version # 'git version 2.25.1' [2022-10-26T16:40:37.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T16:40:37.805Z] Verifying host key using known hosts file [2022-10-26T16:40:37.976Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T16:40:37.987Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T16:40:39.309Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-26T16:40:39.327Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T16:40:40.828Z] Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 6821847dde9ba5e4918863646a112a7c02faa42b [2022-10-26T16:40:40.131Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-26T16:40:40.170Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T16:40:40.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T16:40:40.177Z] Verifying host key using known hosts file [2022-10-26T16:40:40.183Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T16:40:40.195Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T16:40:40.847Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T16:40:40.872Z] > git checkout -f 6821847dde9ba5e4918863646a112a7c02faa42b # timeout=10 [2022-10-26T16:40:41.206Z] Merge succeeded, producing 6821847dde9ba5e4918863646a112a7c02faa42b [2022-10-26T16:40:41.207Z] Checking out Revision 6821847dde9ba5e4918863646a112a7c02faa42b (PR-187) [2022-10-26T16:40:41.099Z] > git remote # timeout=10 [2022-10-26T16:40:41.122Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T16:40:41.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T16:40:41.149Z] Verifying host key using known hosts file [2022-10-26T16:40:41.153Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T16:40:41.161Z] > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 [2022-10-26T16:40:41.184Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T16:40:41.216Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T16:40:41.227Z] > git checkout -f 6821847dde9ba5e4918863646a112a7c02faa42b # timeout=10 [2022-10-26T16:40:44.745Z] Commit message: "update versions, address feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T16:40:45.593Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T16:40:45.593Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T16:40:45.593Z] Dload Upload Total Spent Left Speed [2022-10-26T16:40:45.593Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98453 0 --:--:-- --:--:-- --:--:-- 98453 [Pipeline] sh [2022-10-26T16:40:46.242Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T16:40:46.579Z] + sudo tee /etc/docker/daemon.new [2022-10-26T16:40:46.579Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T16:40:46.579Z] { [2022-10-26T16:40:46.579Z] "registry-mirrors": [ [2022-10-26T16:40:46.579Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T16:40:46.579Z] ], [2022-10-26T16:40:46.579Z] "bip": "10.250.0.254/24", [2022-10-26T16:40:46.579Z] "hosts": [ [2022-10-26T16:40:46.579Z] "tcp://0.0.0.0:5555", [2022-10-26T16:40:46.579Z] "unix:///var/run/docker.sock" [2022-10-26T16:40:46.579Z] ], [2022-10-26T16:40:46.579Z] "mtu": 1458, [2022-10-26T16:40:46.579Z] "selinux-enabled": true, [2022-10-26T16:40:46.579Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T16:40:46.579Z] } [Pipeline] sh [2022-10-26T16:40:47.036Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T16:40:47.361Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T16:41:05.615Z] provisioning config files... [2022-10-26T16:41:05.638Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config16536989992890889361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:41:05.995Z] ---> docker-login.sh [2022-10-26T16:41:05.995Z] nexus3.edgexfoundry.org:10001 [2022-10-26T16:41:06.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:41:06.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:41:06.534Z] Configure a credential helper to remove this warning. See [2022-10-26T16:41:06.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:41:06.534Z] [2022-10-26T16:41:06.534Z] Login Succeeded [2022-10-26T16:41:06.534Z] nexus3.edgexfoundry.org:10002 [2022-10-26T16:41:06.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:41:07.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:41:07.074Z] Configure a credential helper to remove this warning. See [2022-10-26T16:41:07.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:41:07.074Z] [2022-10-26T16:41:07.074Z] Login Succeeded [2022-10-26T16:41:07.074Z] nexus3.edgexfoundry.org:10003 [2022-10-26T16:41:07.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:41:07.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:41:07.350Z] Configure a credential helper to remove this warning. See [2022-10-26T16:41:07.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:41:07.350Z] [2022-10-26T16:41:07.350Z] Login Succeeded [2022-10-26T16:41:07.350Z] nexus3.edgexfoundry.org:10004 [2022-10-26T16:41:07.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:41:07.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:41:07.619Z] Configure a credential helper to remove this warning. See [2022-10-26T16:41:07.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:41:07.619Z] [2022-10-26T16:41:07.619Z] Login Succeeded [2022-10-26T16:41:07.619Z] docker.io [2022-10-26T16:41:07.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:41:08.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:41:08.471Z] Configure a credential helper to remove this warning. See [2022-10-26T16:41:08.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:41:08.471Z] [2022-10-26T16:41:08.471Z] Login Succeeded [2022-10-26T16:41:08.471Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T16:41:08.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T16:41:08.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T16:41:08.646Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T16:41:08.653Z] ========================================================= [2022-10-26T16:41:08.653Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T16:41:08.653Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:41:08.993Z] + 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 . [2022-10-26T16:41:10.945Z] Sending build context to Docker daemon 14.83MB [2022-10-26T16:41:10.945Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T16:41:10.945Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-26T16:41:10.945Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T16:41:10.945Z] 9b18e9b68314: Pulling fs layer [2022-10-26T16:41:10.945Z] d32db5db7311: Pulling fs layer [2022-10-26T16:41:10.945Z] d0c4b47475fc: Pulling fs layer [2022-10-26T16:41:10.945Z] 5831b945b038: Pulling fs layer [2022-10-26T16:41:10.945Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T16:41:10.945Z] e10730c5d714: Pulling fs layer [2022-10-26T16:41:10.945Z] 5dd5c2283517: Pulling fs layer [2022-10-26T16:41:10.945Z] d5ac0230b979: Pulling fs layer [2022-10-26T16:41:10.945Z] 5831b945b038: Waiting [2022-10-26T16:41:10.945Z] 86bbec2aaacd: Waiting [2022-10-26T16:41:10.945Z] e10730c5d714: Waiting [2022-10-26T16:41:10.945Z] 5dd5c2283517: Waiting [2022-10-26T16:41:10.945Z] d5ac0230b979: Waiting [2022-10-26T16:41:10.945Z] d0c4b47475fc: Verifying Checksum [2022-10-26T16:41:10.945Z] d0c4b47475fc: Download complete [2022-10-26T16:41:10.945Z] d32db5db7311: Verifying Checksum [2022-10-26T16:41:10.945Z] d32db5db7311: Download complete [2022-10-26T16:41:10.945Z] 86bbec2aaacd: Download complete [2022-10-26T16:41:10.945Z] e10730c5d714: Download complete [2022-10-26T16:41:10.945Z] 9b18e9b68314: Verifying Checksum [2022-10-26T16:41:10.945Z] 9b18e9b68314: Download complete [2022-10-26T16:41:11.916Z] 9b18e9b68314: Pull complete [2022-10-26T16:41:11.916Z] d5ac0230b979: Verifying Checksum [2022-10-26T16:41:11.916Z] d5ac0230b979: Download complete [2022-10-26T16:41:12.503Z] d32db5db7311: Pull complete [2022-10-26T16:41:12.770Z] d0c4b47475fc: Pull complete [2022-10-26T16:41:13.039Z] 5dd5c2283517: Verifying Checksum [2022-10-26T16:41:13.039Z] 5dd5c2283517: Download complete [2022-10-26T16:41:13.621Z] 5831b945b038: Verifying Checksum [2022-10-26T16:41:13.621Z] 5831b945b038: Download complete [2022-10-26T16:41:25.946Z] 5831b945b038: Pull complete [2022-10-26T16:41:25.946Z] 86bbec2aaacd: Pull complete [2022-10-26T16:41:25.946Z] e10730c5d714: Pull complete [2022-10-26T16:41:31.309Z] 5dd5c2283517: Pull complete [2022-10-26T16:41:33.909Z] d5ac0230b979: Pull complete [2022-10-26T16:41:33.909Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T16:41:33.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T16:41:33.909Z] ---> 59b3b1a385d4 [2022-10-26T16:41:33.909Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-26T16:41:35.328Z] ---> Running in 3225d5409216 [2022-10-26T16:41:35.596Z] Removing intermediate container 3225d5409216 [2022-10-26T16:41:35.596Z] ---> bb8df9281232 [2022-10-26T16:41:35.596Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T16:41:35.596Z] ---> Running in 783f403e5f21 [2022-10-26T16:41:35.872Z] Removing intermediate container 783f403e5f21 [2022-10-26T16:41:35.872Z] ---> 228820e52864 [2022-10-26T16:41:35.872Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T16:41:36.139Z] ---> Running in fd8d1931edc0 [2022-10-26T16:41:36.408Z] Removing intermediate container fd8d1931edc0 [2022-10-26T16:41:36.408Z] ---> 17deb32ff793 [2022-10-26T16:41:36.408Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T16:41:36.408Z] ---> Running in 1b4098f52a40 [2022-10-26T16:41:36.676Z] Removing intermediate container 1b4098f52a40 [2022-10-26T16:41:36.676Z] ---> 0732de8c4f8b [2022-10-26T16:41:36.676Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-26T16:41:36.676Z] ---> Running in dcb912a85668 [2022-10-26T16:41:36.945Z] Removing intermediate container dcb912a85668 [2022-10-26T16:41:36.945Z] ---> f92d953046e6 [2022-10-26T16:41:36.945Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T16:41:37.220Z] ---> Running in 200bbf2231e2 [2022-10-26T16:41:38.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T16:41:38.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T16:41:39.404Z] OK: 221 MiB in 51 packages [2022-10-26T16:41:40.368Z] Removing intermediate container 200bbf2231e2 [2022-10-26T16:41:40.368Z] ---> 1fbdacaef845 [2022-10-26T16:41:40.368Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-26T16:41:40.368Z] ---> Running in 0701baedd8f3 [2022-10-26T16:41:40.635Z] Removing intermediate container 0701baedd8f3 [2022-10-26T16:41:40.635Z] ---> ecd0a4becdc3 [2022-10-26T16:41:40.635Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-26T16:41:41.222Z] ---> 9e786713e4c1 [2022-10-26T16:41:41.222Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T16:41:41.222Z] ---> Running in 0f103555100d [2022-10-26T16:42:37.624Z] Removing intermediate container 0f103555100d [2022-10-26T16:42:37.624Z] ---> 9d43f8e0852e [2022-10-26T16:42:37.624Z] Step 12/13 : COPY . . [2022-10-26T16:42:37.624Z] ---> 02aebb9eff97 [2022-10-26T16:42:37.624Z] Step 13/13 : RUN ${MAKE} [2022-10-26T16:42:37.624Z] ---> Running in b67ab8d1ad86 [2022-10-26T16:42:37.624Z] noop [2022-10-26T16:42:37.624Z] Removing intermediate container b67ab8d1ad86 [2022-10-26T16:42:37.624Z] ---> ceaaff3d401a [2022-10-26T16:42:37.624Z] Successfully built ceaaff3d401a [2022-10-26T16:42:37.624Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:42:37.966Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T16:42:37.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T16:42:38.129Z] prd-ubuntu20.04-docker-arm64-4c-16g-117193 does not seem to be running inside a container [2022-10-26T16:42:38.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T16:42:39.307Z] $ docker top 3340c5855777f602643bbfe1a38b79c7f0ba227e8125db917da1d0ac37cf51c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T16:42:40.118Z] + go version [2022-10-26T16:42:40.118Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T16:42:40.139Z] $ docker stop --time=1 3340c5855777f602643bbfe1a38b79c7f0ba227e8125db917da1d0ac37cf51c8 [2022-10-26T16:42:41.742Z] $ docker rm -f 3340c5855777f602643bbfe1a38b79c7f0ba227e8125db917da1d0ac37cf51c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:42:42.300Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T16:42:42.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T16:42:42.464Z] prd-ubuntu20.04-docker-arm64-4c-16g-117193 does not seem to be running inside a container [2022-10-26T16:42:42.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T16:42:43.613Z] $ docker top de5e200661263da081b6ceb38034a1bdaecb5cfd3caa9a232e46cfb030347aaf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T16:42:44.092Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-10-26T16:42:44.678Z] + make test [2022-10-26T16:42:44.678Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T16:42:46.618Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T16:44:23.255Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T16:44:23.255Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.204s coverage: 28.2% of statements [2022-10-26T16:44:23.255Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T16:44:41.468Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.949s coverage: 86.5% of statements [2022-10-26T16:44:41.468Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T16:44:41.468Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T16:45:08.162Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T16:45:08.162Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T16:45:08.162Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T16:45:08.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T16:45:08.193Z] $ docker stop --time=1 de5e200661263da081b6ceb38034a1bdaecb5cfd3caa9a232e46cfb030347aaf [2022-10-26T16:45:10.343Z] $ docker rm -f de5e200661263da081b6ceb38034a1bdaecb5cfd3caa9a232e46cfb030347aaf [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T16:45:11.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T16:45:11.405Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T16:45:12.182Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T16:45:12.586Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T16:45:12.914Z] + ls -al . [2022-10-26T16:45:12.914Z] total 240 [2022-10-26T16:45:12.914Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 16:42 . [2022-10-26T16:45:12.914Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:40 .. [2022-10-26T16:45:12.914Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 16:40 .git [2022-10-26T16:45:12.914Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:40 .github [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 16:40 .gitignore [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 16:40 .golangci.yml [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 16:40 Attribution.txt [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 16:40 CHANGELOG.md [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 26 16:40 Dockerfile [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 16:40 GOVERNANCE.md [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 16:40 Jenkinsfile [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 16:40 LICENSE [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 16:40 Makefile [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 16:40 OWNERS.md [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 16:40 README.md [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 16:30 VERSION [2022-10-26T16:45:12.914Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 16:40 bin [2022-10-26T16:45:12.914Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:40 cmd [2022-10-26T16:45:12.914Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 16:44 coverage.out [2022-10-26T16:45:12.914Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 16:40 doc [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 26 16:40 go.mod [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 26 16:40 go.sum [2022-10-26T16:45:12.914Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:40 internal [2022-10-26T16:45:12.914Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:40 snap [2022-10-26T16:45:12.914Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 16:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:45:13.258Z] + 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=6821847dde9ba5e4918863646a112a7c02faa42b --label arch=arm64 --label version=0.0.0 . [2022-10-26T16:45:13.843Z] Sending build context to Docker daemon 14.91MB [2022-10-26T16:45:13.843Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T16:45:13.843Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T16:45:13.843Z] ---> ceaaff3d401a [2022-10-26T16:45:13.843Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T16:45:14.111Z] ---> Running in 51ceada152b2 [2022-10-26T16:45:14.380Z] Removing intermediate container 51ceada152b2 [2022-10-26T16:45:14.380Z] ---> a801386dd56d [2022-10-26T16:45:14.380Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T16:45:14.380Z] ---> Running in f3bdfe7c6213 [2022-10-26T16:45:14.647Z] Removing intermediate container f3bdfe7c6213 [2022-10-26T16:45:14.647Z] ---> dc374a0979d7 [2022-10-26T16:45:14.647Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T16:45:14.915Z] ---> Running in 659adfad0852 [2022-10-26T16:45:15.183Z] Removing intermediate container 659adfad0852 [2022-10-26T16:45:15.183Z] ---> b7027ae06498 [2022-10-26T16:45:15.183Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T16:45:15.183Z] ---> Running in 6fb0002791b2 [2022-10-26T16:45:15.452Z] Removing intermediate container 6fb0002791b2 [2022-10-26T16:45:15.452Z] ---> 024af48df181 [2022-10-26T16:45:15.452Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-26T16:45:15.452Z] ---> Running in 675cdbb4f3e4 [2022-10-26T16:45:15.720Z] Removing intermediate container 675cdbb4f3e4 [2022-10-26T16:45:15.720Z] ---> 738dba8473e0 [2022-10-26T16:45:15.720Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T16:45:16.116Z] ---> Running in ec0dd956e671 [2022-10-26T16:45:17.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T16:45:17.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T16:45:18.113Z] OK: 221 MiB in 51 packages [2022-10-26T16:45:19.202Z] Removing intermediate container ec0dd956e671 [2022-10-26T16:45:19.202Z] ---> c696d87a4aed [2022-10-26T16:45:19.202Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-26T16:45:19.472Z] ---> Running in f0cc6fced5fe [2022-10-26T16:45:19.743Z] Removing intermediate container f0cc6fced5fe [2022-10-26T16:45:19.743Z] ---> 7c4be3e858b1 [2022-10-26T16:45:19.743Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-26T16:45:20.335Z] ---> c8008ea70fd2 [2022-10-26T16:45:20.335Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T16:45:20.335Z] ---> Running in 516875488f6a [2022-10-26T16:45:22.929Z] Removing intermediate container 516875488f6a [2022-10-26T16:45:22.929Z] ---> 326bb06124eb [2022-10-26T16:45:22.929Z] Step 12/26 : COPY . . [2022-10-26T16:45:24.346Z] ---> 8a1bffc2606e [2022-10-26T16:45:24.346Z] Step 13/26 : RUN ${MAKE} [2022-10-26T16:45:24.346Z] ---> Running in 29f8ec3338b9 [2022-10-26T16:45:25.767Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-26T16:48:02.513Z] Removing intermediate container 29f8ec3338b9 [2022-10-26T16:48:02.513Z] ---> 10547faaaa7b [2022-10-26T16:48:02.513Z] Step 14/26 : FROM alpine:3.16 [2022-10-26T16:48:02.513Z] 3.16: Pulling from library/alpine [2022-10-26T16:48:02.513Z] 9b18e9b68314: Already exists [2022-10-26T16:48:02.513Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T16:48:02.513Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T16:48:02.513Z] ---> a6215f271958 [2022-10-26T16:48:02.513Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T16:48:02.513Z] ---> Running in 88d7fe1d2cf8 [2022-10-26T16:48:02.513Z] Removing intermediate container 88d7fe1d2cf8 [2022-10-26T16:48:02.513Z] ---> 4fb939910592 [2022-10-26T16:48:02.513Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T16:48:02.513Z] ---> Running in 8d44bb023e0f [2022-10-26T16:48:02.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T16:48:02.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T16:48:02.513Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T16:48:02.513Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T16:48:02.513Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T16:48:02.513Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T16:48:02.513Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T16:48:02.513Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T16:48:02.513Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T16:48:02.513Z] OK: 8 MiB in 20 packages [2022-10-26T16:48:02.513Z] Removing intermediate container 8d44bb023e0f [2022-10-26T16:48:02.513Z] ---> 9af07b618453 [2022-10-26T16:48:02.513Z] Step 17/26 : WORKDIR / [2022-10-26T16:48:02.513Z] ---> Running in c6632d71032f [2022-10-26T16:48:02.513Z] Removing intermediate container c6632d71032f [2022-10-26T16:48:02.513Z] ---> 81d17943377b [2022-10-26T16:48:02.513Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T16:48:02.513Z] ---> 724f1fa1c1f6 [2022-10-26T16:48:02.513Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T16:48:02.513Z] ---> 029a90d4e2a3 [2022-10-26T16:48:02.513Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T16:48:02.513Z] ---> 9de6afda3a0b [2022-10-26T16:48:02.513Z] Step 21/26 : EXPOSE 59984 [2022-10-26T16:48:02.513Z] ---> Running in 01d031c7ca9e [2022-10-26T16:48:02.513Z] Removing intermediate container 01d031c7ca9e [2022-10-26T16:48:02.513Z] ---> 0fd5c78d3723 [2022-10-26T16:48:02.513Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T16:48:02.513Z] ---> Running in 8f115322deef [2022-10-26T16:48:02.513Z] Removing intermediate container 8f115322deef [2022-10-26T16:48:02.513Z] ---> d37371d1e9e8 [2022-10-26T16:48:02.513Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T16:48:02.513Z] ---> Running in d8a4655b505b [2022-10-26T16:48:02.513Z] Removing intermediate container d8a4655b505b [2022-10-26T16:48:02.513Z] ---> 484b6dfe46fd [2022-10-26T16:48:02.513Z] Step 24/26 : LABEL arch=arm64 [2022-10-26T16:48:02.513Z] ---> Running in 7ce25a4fac68 [2022-10-26T16:48:02.513Z] Removing intermediate container 7ce25a4fac68 [2022-10-26T16:48:02.513Z] ---> ae0b37f7e8da [2022-10-26T16:48:02.513Z] Step 25/26 : LABEL git_sha=6821847dde9ba5e4918863646a112a7c02faa42b [2022-10-26T16:48:02.513Z] ---> Running in 89c6da22f8d6 [2022-10-26T16:48:02.513Z] Removing intermediate container 89c6da22f8d6 [2022-10-26T16:48:02.513Z] ---> ba979b3837c2 [2022-10-26T16:48:02.513Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T16:48:02.513Z] ---> Running in f99f310320c2 [2022-10-26T16:48:02.513Z] Removing intermediate container f99f310320c2 [2022-10-26T16:48:02.513Z] ---> ac65b9d7d4b4 [2022-10-26T16:48:02.513Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T16:48:02.513Z] Successfully built ac65b9d7d4b4 [2022-10-26T16:48:02.513Z] 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 [2022-10-26T16:48:02.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T16:48:02.926Z] [2022-10-26T16:48:02.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:48:03.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T16:48:03.255Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T16:48:03.255Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T16:48:03.255Z] 04944245beec: Pulling fs layer [2022-10-26T16:48:03.255Z] 699f458cf7ca: Pulling fs layer [2022-10-26T16:48:03.255Z] 765212b225bb: Pulling fs layer [2022-10-26T16:48:03.255Z] f23df028b6ca: Pulling fs layer [2022-10-26T16:48:03.255Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T16:48:03.255Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T16:48:03.255Z] f23df028b6ca: Waiting [2022-10-26T16:48:03.255Z] d65c8cfc05b1: Waiting [2022-10-26T16:48:03.255Z] 765212b225bb: Waiting [2022-10-26T16:48:03.255Z] 2437ff75d9bd: Waiting [2022-10-26T16:48:03.521Z] 04944245beec: Verifying Checksum [2022-10-26T16:48:03.521Z] 04944245beec: Download complete [2022-10-26T16:48:03.521Z] 765212b225bb: Verifying Checksum [2022-10-26T16:48:03.521Z] 765212b225bb: Download complete [2022-10-26T16:48:03.521Z] f23df028b6ca: Download complete [2022-10-26T16:48:03.521Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T16:48:03.521Z] d65c8cfc05b1: Download complete [2022-10-26T16:48:03.521Z] 699f458cf7ca: Verifying Checksum [2022-10-26T16:48:03.521Z] 699f458cf7ca: Download complete [2022-10-26T16:48:04.107Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T16:48:06.050Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T16:48:06.050Z] 2437ff75d9bd: Download complete [2022-10-26T16:48:07.998Z] 8998bd30e6a1: Pull complete [2022-10-26T16:48:08.275Z] 04944245beec: Pull complete [2022-10-26T16:48:09.682Z] 699f458cf7ca: Pull complete [2022-10-26T16:48:09.682Z] 765212b225bb: Pull complete [2022-10-26T16:48:11.094Z] f23df028b6ca: Pull complete [2022-10-26T16:48:11.361Z] d65c8cfc05b1: Pull complete [2022-10-26T16:48:26.347Z] 2437ff75d9bd: Pull complete [2022-10-26T16:48:26.347Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T16:48:26.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T16:48:26.347Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T16:48:26.514Z] prd-ubuntu20.04-docker-arm64-4c-16g-117193 does not seem to be running inside a container [2022-10-26T16:48:26.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T16:48:29.048Z] $ docker top 5cc0eb2af870c8128e634c4835ff37a3e0e4c0030ca55942b9e71952b1517400 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:48:29.543Z] ---> job-cost.sh [2022-10-26T16:48:29.806Z] lf-activate-venv: SKIPPING [2022-10-26T16:48:29.806Z] INFO: No Stack... [2022-10-26T16:48:30.070Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T16:48:31.024Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T16:48:31.341Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2022-10-26T16:48:31.341Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T16:48:31.403Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-187-2-stack-cost] [2022-10-26T16:48:31.409Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-2-stack-cost] did not exist. Created. [2022-10-26T16:48:31.409Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-187-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T16:48:31.738Z] /w/workspace/device-onvif-camera/2@tmp/durable-3429194e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T16:48:32.332Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T16:48:32.353Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T16:48:32.406Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T16:48:32.412Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T16:48:32.428Z] $ docker stop --time=1 5cc0eb2af870c8128e634c4835ff37a3e0e4c0030ca55942b9e71952b1517400 [2022-10-26T16:48:33.892Z] $ docker rm -f 5cc0eb2af870c8128e634c4835ff37a3e0e4c0030ca55942b9e71952b1517400 [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 [2022-10-26T16:48:34.241Z] provisioning config files... [2022-10-26T16:48:34.248Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config13066760972861482265tmp [Pipeline] { [Pipeline] sh [2022-10-26T16:48:34.543Z] + set +x [2022-10-26T16:48:34.543Z] + + curl -s https://codecov.io/bash [2022-10-26T16:48:34.543Z] bash -s -- [2022-10-26T16:48:34.543Z] [2022-10-26T16:48:34.543Z] _____ _ [2022-10-26T16:48:34.543Z] / ____| | | [2022-10-26T16:48:34.543Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T16:48:34.543Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T16:48:34.543Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T16:48:34.543Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T16:48:34.543Z] Bash-1.0.6 [2022-10-26T16:48:34.543Z] [2022-10-26T16:48:34.543Z] [2022-10-26T16:48:34.543Z] ==> git version 2.25.1 found [2022-10-26T16:48:34.543Z] ==> 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 [2022-10-26T16:48:34.543Z] Release-Date: 2020-01-08 [2022-10-26T16:48:34.543Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-26T16:48:34.543Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T16:48:34.543Z] ==> Jenkins CI detected. [2022-10-26T16:48:34.543Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-187 [2022-10-26T16:48:34.543Z] project root: . [2022-10-26T16:48:34.543Z] --> token set from env [2022-10-26T16:48:34.543Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T16:48:34.543Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T16:48:34.543Z] ==> Python coveragepy not found [2022-10-26T16:48:34.543Z] ==> Searching for coverage reports in: [2022-10-26T16:48:34.543Z] + . [2022-10-26T16:48:34.543Z] -> Found 1 reports [2022-10-26T16:48:34.543Z] ==> Detecting git/mercurial file structure [2022-10-26T16:48:34.543Z] ==> Reading reports [2022-10-26T16:48:34.543Z] + ./coverage.out bytes=78636 [2022-10-26T16:48:34.808Z] ==> Appending adjustments [2022-10-26T16:48:34.808Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T16:48:34.808Z] + Found adjustments [2022-10-26T16:48:34.808Z] ==> Gzipping contents [2022-10-26T16:48:34.808Z] 12K /tmp/codecov.O88UHE.gz [2022-10-26T16:48:34.808Z] ==> Uploading reports [2022-10-26T16:48:34.808Z] url: https://codecov.io [2022-10-26T16:48:34.808Z] query: branch=PR-187&commit=6821847dde9ba5e4918863646a112a7c02faa42b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-187%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=187&job=&cmd_args= [2022-10-26T16:48:34.808Z] -> Pinging Codecov [2022-10-26T16:48:34.808Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-187&commit=6821847dde9ba5e4918863646a112a7c02faa42b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-187%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=187&job=&cmd_args= [2022-10-26T16:48:35.066Z] -> Uploading to [2022-10-26T16:48:35.066Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/F29A59C45E3A92E06B3E522C9905F8EF/6821847dde9ba5e4918863646a112a7c02faa42b/de984a8c-9786-4ece-87a3-1f12321ff630.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T164835Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e03b2bd61b72bbbbb944d1bdf8dbc722ebde7163b8e97a7506a911dedccd5664 [2022-10-26T16:48:35.066Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T16:48:35.066Z] Dload Upload Total Spent Left Speed [2022-10-26T16:48:35.326Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10785 0 0 100 10785 0 43487 --:--:-- --:--:-- --:--:-- 43487 [2022-10-26T16:48:35.326Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/6821847dde9ba5e4918863646a112a7c02faa42b [Pipeline] } [2022-10-26T16:48:35.333Z] 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 [2022-10-26T16:48:36.041Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-187/archives ] [2022-10-26T16:48:36.041Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-187/archives [2022-10-26T16:48:36.041Z] total 16 [2022-10-26T16:48:36.041Z] drwxr-xr-x 3 root root 4096 Oct 26 16:32 . [2022-10-26T16:48:36.041Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 16:32 .. [2022-10-26T16:48:36.041Z] drwxr-xr-x 2 root root 4096 Oct 26 16:32 cost [2022-10-26T16:48:36.041Z] -rw-r--r-- 1 root root 91 Oct 26 16:32 cost.csv [2022-10-26T16:48:36.041Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-187/archives [2022-10-26T16:48:36.041Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-187/archives [2022-10-26T16:48:36.041Z] total 16 [2022-10-26T16:48:36.041Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 16:32 . [2022-10-26T16:48:36.041Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 16:32 .. [2022-10-26T16:48:36.041Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 16:32 cost [2022-10-26T16:48:36.041Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 26 16:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:48:36.329Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:48:37.185Z] ---> package-listing.sh [2022-10-26T16:48:37.185Z] ++ facter osfamily [2022-10-26T16:48:37.185Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T16:48:37.444Z] + OS_FAMILY=debian [2022-10-26T16:48:37.444Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-187 [2022-10-26T16:48:37.444Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T16:48:37.444Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T16:48:37.444Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T16:48:37.444Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T16:48:37.444Z] + '[' /w/workspace/undry_device-onvif-camera_PR-187 ']' [2022-10-26T16:48:37.444Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T16:48:37.444Z] + case "${OS_FAMILY}" in [2022-10-26T16:48:37.444Z] + dpkg -l [2022-10-26T16:48:37.444Z] + grep '^ii' [2022-10-26T16:48:37.444Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T16:48:37.444Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T16:48:37.444Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T16:48:37.444Z] + '[' /w/workspace/undry_device-onvif-camera_PR-187 ']' [2022-10-26T16:48:37.444Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-187/archives/ [2022-10-26T16:48:37.444Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-187/archives/ [Pipeline] echo [2022-10-26T16:48:37.455Z] 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-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T16:48:37.731Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:48:38.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T16:48:38.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T16:48:38.355Z] prd-ubuntu20.04-docker-8c-8g-117182 does not seem to be running inside a container [2022-10-26T16:48:38.388Z] $ 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-187/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-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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 [2022-10-26T16:48:38.589Z] $ docker top 64ed4d531fe241a987986bf53b4e227514d427d0cc03a7f47bf6c2682d404f86 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T16:48:38.926Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T16:48:39.209Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T16:48:39.493Z] + ls /var/log/sa-host [2022-10-26T16:48:39.493Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T16:48:39.557Z] provisioning config files... [2022-10-26T16:48:39.564Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config16740746940767932645tmp [Pipeline] { [Pipeline] echo [2022-10-26T16:48:39.576Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:48:39.857Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T16:48:39.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:48:40.195Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T16:48:40.204Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:48:40.489Z] ---> sudo-logs.sh [2022-10-26T16:48:40.489Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T16:48:40.512Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:48:40.795Z] ---> job-cost.sh [2022-10-26T16:48:40.795Z] lf-activate-venv: SKIPPING [2022-10-26T16:48:40.795Z] DEBUG: total: 0.2199999988079071 [2022-10-26T16:48:40.795Z] INFO: Retrieving Stack Cost... [2022-10-26T16:48:41.056Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T16:48:41.629Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T16:48:41.642Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:48:41.927Z] ---> logs-deploy.sh [2022-10-26T16:48:41.927Z] lf-activate-venv: SKIPPING [2022-10-26T16:48:41.927Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-187/2 [2022-10-26T16:48:41.927Z] INFO: archiving workspace using pattern(s): [2022-10-26T16:48:42.862Z] Archives upload complete. [2022-10-26T16:48:43.122Z] INFO: archiving logs to Nexus