Pull request #180 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at c32d12cb3f3d5bd786ac66f0af1d84994387a230 rather than c44d1cb6a65eeec37ec58c02a279d2b878b9a28f Obtained Jenkinsfile from c32d12cb3f3d5bd786ac66f0af1d84994387a230 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-ssh15540450098304765420.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-ssh2315469738570434333.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-180/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-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16258514954959109426.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-ssh1214786292749171731.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-180/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-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17502190295839051958.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 ‘prd-ubuntu20.04-docker-8c-8g-8700’ Running on prd-ubuntu20.04-docker-8c-8g-8707 in /w/workspace/undry_device-onvif-camera_PR-180 [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-180 # 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 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit c44d1cb6a65eeec37ec58c02a279d2b878b9a28f Merge succeeded, producing c44d1cb6a65eeec37ec58c02a279d2b878b9a28f Checking out Revision c44d1cb6a65eeec37ec58c02a279d2b878b9a28f (PR-180) > 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/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c44d1cb6a65eeec37ec58c02a279d2b878b9a28f # 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 c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c44d1cb6a65eeec37ec58c02a279d2b878b9a28f # timeout=10 Commit message: "docs: cleanup" > git rev-list --no-walk 68169d1bfd71bebd11a366dae991164454c6cc80 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-20T18:24:21.365Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-20T18:24:21.427Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-20T18:24:21.443Z] ========================================================= [2022-10-20T18:24:21.443Z] EdgeX Global Pipelines Version Info [2022-10-20T18:24:21.443Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-20T18:24:22.147Z] ------------------- [2022-10-20T18:24:22.147Z] stable info: [2022-10-20T18:24:22.147Z] ------------------- [2022-10-20T18:24:22.147Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-20T18:24:22.147Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-20T18:24:22.147Z] Message: update stable to v1.0.243 [2022-10-20T18:24:22.716Z] ------------------- [2022-10-20T18:24:22.716Z] experimental info: [2022-10-20T18:24:22.716Z] ------------------- [2022-10-20T18:24:22.716Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-20T18:24:22.716Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-20T18:24:22.716Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-20T18:24:22.885Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-20T18:24:22.893Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-20T18:24:22.901Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-20T18:24:22.909Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-20T18:24:22.917Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-20T18:24:22.926Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-20T18:24:22.944Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-20T18:24:22.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-20T18:24:22.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-20T18:24:22.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-20T18:24:22.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-20T18:24:23.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-20T18:24:23.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-20T18:24:23.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-20T18:24:23.045Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-20T18:24:23.057Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-20T18:24:23.068Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-20T18:24:23.080Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-20T18:24:23.091Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-20T18:24:23.104Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-20T18:24:23.119Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-20T18:24:23.130Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-20T18:24:23.144Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-20T18:24:23.156Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-20T18:24:23.168Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-20T18:24:23.181Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-20T18:24:23.191Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-20T18:24:23.203Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo [2022-10-20T18:24:23.215Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo [2022-10-20T18:24:23.226Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo [2022-10-20T18:24:23.237Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [Pipeline] echo [2022-10-20T18:24:23.250Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c44d1cb [Pipeline] echo [2022-10-20T18:24:23.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-20T18:24:23.313Z] provisioning config files... [2022-10-20T18:24:23.327Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config14448432642823257936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-20T18:24:23.639Z] ---> docker-login.sh [2022-10-20T18:24:23.639Z] nexus3.edgexfoundry.org:10001 [2022-10-20T18:24:23.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:24:23.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:24:23.900Z] Configure a credential helper to remove this warning. See [2022-10-20T18:24:23.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:24:23.900Z] [2022-10-20T18:24:23.900Z] Login Succeeded [2022-10-20T18:24:23.900Z] nexus3.edgexfoundry.org:10002 [2022-10-20T18:24:23.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:24:23.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:24:23.900Z] Configure a credential helper to remove this warning. See [2022-10-20T18:24:23.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:24:23.900Z] [2022-10-20T18:24:23.900Z] Login Succeeded [2022-10-20T18:24:23.900Z] nexus3.edgexfoundry.org:10003 [2022-10-20T18:24:24.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:24:24.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:24:24.158Z] Configure a credential helper to remove this warning. See [2022-10-20T18:24:24.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:24:24.158Z] [2022-10-20T18:24:24.158Z] Login Succeeded [2022-10-20T18:24:24.158Z] nexus3.edgexfoundry.org:10004 [2022-10-20T18:24:24.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:24:24.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:24:24.158Z] Configure a credential helper to remove this warning. See [2022-10-20T18:24:24.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:24:24.158Z] [2022-10-20T18:24:24.158Z] Login Succeeded [2022-10-20T18:24:24.158Z] docker.io [2022-10-20T18:24:24.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:24:24.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:24:24.727Z] Configure a credential helper to remove this warning. See [2022-10-20T18:24:24.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:24:24.727Z] [2022-10-20T18:24:24.727Z] Login Succeeded [2022-10-20T18:24:24.727Z] ---> docker-login.sh ends [Pipeline] } [2022-10-20T18:24:24.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-20T18:24:25.086Z] + git rev-list -1 --merges c44d1cb6a65eeec37ec58c02a279d2b878b9a28f~1..c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [Pipeline] echo [2022-10-20T18:24:25.116Z] -----------> git rev-list -1 --merges c44d1cb6a65eeec37ec58c02a279d2b878b9a28f~1..c44d1cb6a65eeec37ec58c02a279d2b878b9a28f c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [false] [Pipeline] sh [2022-10-20T18:24:25.398Z] + git log --format=format:%s -1 c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [Pipeline] echo [2022-10-20T18:24:25.408Z] ========================================================= [2022-10-20T18:24:25.408Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-20T18:24:25.408Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-20T18:24:25.716Z] + git log --format=format:%s -1 c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [Pipeline] echo [2022-10-20T18:24:25.725Z] [semverPrep] GIT_COMMIT: c44d1cb6a65eeec37ec58c02a279d2b878b9a28f, Commit Message: docs: cleanup [Pipeline] echo [2022-10-20T18:24:25.736Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-20T18:24:26.077Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-20T18:24:26.077Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-20T18:24:26.077Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-20T18:24:26.077Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-20T18:24:26.077Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-20T18:24:26.077Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-20T18:24:26.077Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T18:24:26.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-20T18:24:26.423Z] [2022-10-20T18:24:26.423Z] 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-20T18:24:26.723Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-20T18:24:26.723Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-20T18:24:26.723Z] b85a868b505f: Pulling fs layer [2022-10-20T18:24:26.723Z] e2be974225ed: Pulling fs layer [2022-10-20T18:24:26.723Z] 339a4e72a1f5: Pulling fs layer [2022-10-20T18:24:26.723Z] 988bab9f4d93: Pulling fs layer [2022-10-20T18:24:26.723Z] 1469e6f7b9e6: Pulling fs layer [2022-10-20T18:24:26.723Z] eaf3925da568: Pulling fs layer [2022-10-20T18:24:26.723Z] bab4dde63d76: Pulling fs layer [2022-10-20T18:24:26.723Z] bde34c3a00c8: Pulling fs layer [2022-10-20T18:24:26.723Z] b352a97aabf1: Pulling fs layer [2022-10-20T18:24:26.723Z] 4872d77fe225: Pulling fs layer [2022-10-20T18:24:26.723Z] 5851b861e8e6: Pulling fs layer [2022-10-20T18:24:26.723Z] eaf3925da568: Waiting [2022-10-20T18:24:26.723Z] 988bab9f4d93: Waiting [2022-10-20T18:24:26.723Z] bde34c3a00c8: Waiting [2022-10-20T18:24:26.723Z] 1469e6f7b9e6: Waiting [2022-10-20T18:24:26.723Z] b352a97aabf1: Waiting [2022-10-20T18:24:26.723Z] bab4dde63d76: Waiting [2022-10-20T18:24:26.723Z] 5851b861e8e6: Waiting [2022-10-20T18:24:26.723Z] e2be974225ed: Verifying Checksum [2022-10-20T18:24:26.723Z] e2be974225ed: Download complete [2022-10-20T18:24:26.723Z] 988bab9f4d93: Verifying Checksum [2022-10-20T18:24:26.723Z] 988bab9f4d93: Download complete [2022-10-20T18:24:26.983Z] 1469e6f7b9e6: Verifying Checksum [2022-10-20T18:24:26.983Z] 1469e6f7b9e6: Download complete [2022-10-20T18:24:26.983Z] eaf3925da568: Verifying Checksum [2022-10-20T18:24:26.983Z] eaf3925da568: Download complete [2022-10-20T18:24:26.983Z] 339a4e72a1f5: Verifying Checksum [2022-10-20T18:24:26.983Z] 339a4e72a1f5: Download complete [2022-10-20T18:24:26.983Z] bde34c3a00c8: Verifying Checksum [2022-10-20T18:24:26.983Z] bde34c3a00c8: Download complete [2022-10-20T18:24:26.983Z] b352a97aabf1: Download complete [2022-10-20T18:24:26.983Z] b85a868b505f: Verifying Checksum [2022-10-20T18:24:26.983Z] b85a868b505f: Download complete [2022-10-20T18:24:26.983Z] 4872d77fe225: Download complete [2022-10-20T18:24:26.983Z] 5851b861e8e6: Verifying Checksum [2022-10-20T18:24:26.983Z] 5851b861e8e6: Download complete [2022-10-20T18:24:27.242Z] bab4dde63d76: Verifying Checksum [2022-10-20T18:24:27.242Z] bab4dde63d76: Download complete [2022-10-20T18:24:28.622Z] b85a868b505f: Pull complete [2022-10-20T18:24:28.622Z] e2be974225ed: Pull complete [2022-10-20T18:24:28.885Z] 339a4e72a1f5: Pull complete [2022-10-20T18:24:28.885Z] 988bab9f4d93: Pull complete [2022-10-20T18:24:29.146Z] 1469e6f7b9e6: Pull complete [2022-10-20T18:24:29.404Z] eaf3925da568: Pull complete [2022-10-20T18:24:30.792Z] bab4dde63d76: Pull complete [2022-10-20T18:24:31.051Z] bde34c3a00c8: Pull complete [2022-10-20T18:24:31.051Z] b352a97aabf1: Pull complete [2022-10-20T18:24:31.316Z] 4872d77fe225: Pull complete [2022-10-20T18:24:31.316Z] 5851b861e8e6: Pull complete [2022-10-20T18:24:31.316Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-20T18:24:31.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-20T18:24:31.316Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T18:24:31.397Z] prd-ubuntu20.04-docker-8c-8g-8707 does not seem to be running inside a container [2022-10-20T18:24:31.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-20T18:24:32.881Z] $ docker top 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 -eo pid,comm [2022-10-20T18:24:32.931Z] 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-20T18:24:32.931Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-20T18:24:32.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-20T18:24:32.971Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-20T18:24:33.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-20T18:24:33.086Z] $ docker exec 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 ssh-agent [2022-10-20T18:24:33.193Z] SSH_AUTH_SOCK=/tmp/ssh-WCOWpsu8VrPm/agent.32 [2022-10-20T18:24:33.193Z] SSH_AGENT_PID=38 [2022-10-20T18:24:33.200Z] Running ssh-add (command line suppressed) [2022-10-20T18:24:33.302Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_9300673438404648588.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_9300673438404648588.key) [2022-10-20T18:24:33.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-20T18:24:33.605Z] + git tag --points-at HEAD [Pipeline] } [2022-10-20T18:24:33.622Z] $ docker exec --env ******** --env ******** 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 ssh-agent -k [2022-10-20T18:24:33.725Z] unset SSH_AUTH_SOCK; [2022-10-20T18:24:33.726Z] unset SSH_AGENT_PID; [2022-10-20T18:24:33.726Z] echo Agent pid 38 killed; [2022-10-20T18:24:33.733Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-20T18:24:33.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-20T18:24:33.756Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-20T18:24:33.873Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-20T18:24:33.879Z] $ docker exec 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 ssh-agent [2022-10-20T18:24:33.978Z] SSH_AUTH_SOCK=/tmp/ssh-SNefL51nIgoK/agent.70 [2022-10-20T18:24:33.978Z] SSH_AGENT_PID=76 [2022-10-20T18:24:33.982Z] Running ssh-add (command line suppressed) [2022-10-20T18:24:34.081Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_7883575896211128880.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_7883575896211128880.key) [2022-10-20T18:24:34.093Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-20T18:24:34.382Z] + git semver init [2022-10-20T18:24:34.644Z] 2022-10-20 18:24:34,580 [run_init] DEBUG init version:0.0.0 force:False [2022-10-20T18:24:34.644Z] 2022-10-20 18:24:34,582 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver [2022-10-20T18:24:34.644Z] 2022-10-20 18:24:34,583 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-180/.semver [2022-10-20T18:24:34.644Z] 2022-10-20 18:24:34,584 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-180/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-180, universal_newlines=False, shell=None, istream=None) [2022-10-20T18:24:36.026Z] 2022-10-20 18:24:35,653 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude [2022-10-20T18:24:36.026Z] 2022-10-20 18:24:35,654 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 with force:False [2022-10-20T18:24:36.026Z] 2022-10-20 18:24:35,654 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 [2022-10-20T18:24:36.026Z] 2022-10-20 18:24:35,658 [execute] INFO git cat-file --batch-check [2022-10-20T18:24:36.026Z] 2022-10-20 18:24:35,659 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2022-10-20T18:24:36.026Z] 2022-10-20 18:24:35,665 [execute] INFO git cat-file --batch [2022-10-20T18:24:36.026Z] 2022-10-20 18:24:35,666 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2022-10-20T18:24:36.026Z] 2022-10-20 18:24:35,671 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 [2022-10-20T18:24:36.026Z] 0.0.0 [Pipeline] } [2022-10-20T18:24:36.039Z] $ docker exec --env ******** --env ******** 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 ssh-agent -k [2022-10-20T18:24:36.149Z] unset SSH_AUTH_SOCK; [2022-10-20T18:24:36.150Z] unset SSH_AGENT_PID; [2022-10-20T18:24:36.150Z] echo Agent pid 76 killed; [2022-10-20T18:24:36.157Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-20T18:24:36.455Z] + git semver [Pipeline] } [2022-10-20T18:24:36.732Z] $ docker stop --time=1 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 [2022-10-20T18:24:38.125Z] $ docker rm -f 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-20T18:24:38.458Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-20T18:24:38.641Z] Stashed 1 file(s) [Pipeline] echo [2022-10-20T18:24:38.644Z] [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-20T18:24:38.777Z] provisioning config files... [2022-10-20T18:24:38.785Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config8172757817326282968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-20T18:24:39.077Z] ---> docker-login.sh [2022-10-20T18:24:39.078Z] nexus3.edgexfoundry.org:10001 [2022-10-20T18:24:39.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:24:39.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:24:39.078Z] Configure a credential helper to remove this warning. See [2022-10-20T18:24:39.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:24:39.078Z] [2022-10-20T18:24:39.078Z] Login Succeeded [2022-10-20T18:24:39.078Z] nexus3.edgexfoundry.org:10002 [2022-10-20T18:24:39.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:24:39.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:24:39.078Z] Configure a credential helper to remove this warning. See [2022-10-20T18:24:39.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:24:39.078Z] [2022-10-20T18:24:39.078Z] Login Succeeded [2022-10-20T18:24:39.078Z] nexus3.edgexfoundry.org:10003 [2022-10-20T18:24:39.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:24:39.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:24:39.338Z] Configure a credential helper to remove this warning. See [2022-10-20T18:24:39.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:24:39.338Z] [2022-10-20T18:24:39.338Z] Login Succeeded [2022-10-20T18:24:39.338Z] nexus3.edgexfoundry.org:10004 [2022-10-20T18:24:39.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:24:39.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:24:39.338Z] Configure a credential helper to remove this warning. See [2022-10-20T18:24:39.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:24:39.338Z] [2022-10-20T18:24:39.338Z] Login Succeeded [2022-10-20T18:24:39.338Z] docker.io [2022-10-20T18:24:39.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:24:39.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:24:39.857Z] Configure a credential helper to remove this warning. See [2022-10-20T18:24:39.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:24:39.857Z] [2022-10-20T18:24:39.857Z] Login Succeeded [2022-10-20T18:24:39.857Z] ---> docker-login.sh ends [Pipeline] } [2022-10-20T18:24:39.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-20T18:24:39.921Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-20T18:24:39.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-20T18:24:39.937Z] ========================================================= [2022-10-20T18:24:39.937Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-20T18:24:39.937Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T18:24:40.247Z] + 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-20T18:24:40.247Z] Sending build context to Docker daemon 27.03MB [2022-10-20T18:24:40.247Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-20T18:24:40.247Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-20T18:24:40.510Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-20T18:24:40.510Z] 213ec9aee27d: Pulling fs layer [2022-10-20T18:24:40.510Z] 4583459ba037: Pulling fs layer [2022-10-20T18:24:40.510Z] 93c1e223e6f2: Pulling fs layer [2022-10-20T18:24:40.510Z] 53926ce57604: Pulling fs layer [2022-10-20T18:24:40.510Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-20T18:24:40.510Z] 30f14e443154: Pulling fs layer [2022-10-20T18:24:40.510Z] 801331c1e519: Pulling fs layer [2022-10-20T18:24:40.510Z] 99cc6dd402b0: Pulling fs layer [2022-10-20T18:24:40.510Z] 7d9ed39f4882: Pulling fs layer [2022-10-20T18:24:40.510Z] 53926ce57604: Waiting [2022-10-20T18:24:40.510Z] 21b2b0c7a3f4: Waiting [2022-10-20T18:24:40.510Z] 99cc6dd402b0: Waiting [2022-10-20T18:24:40.510Z] 30f14e443154: Waiting [2022-10-20T18:24:40.510Z] 801331c1e519: Waiting [2022-10-20T18:24:40.510Z] 93c1e223e6f2: Verifying Checksum [2022-10-20T18:24:40.510Z] 93c1e223e6f2: Download complete [2022-10-20T18:24:40.510Z] 4583459ba037: Download complete [2022-10-20T18:24:40.510Z] 21b2b0c7a3f4: Download complete [2022-10-20T18:24:40.510Z] 30f14e443154: Verifying Checksum [2022-10-20T18:24:40.510Z] 30f14e443154: Download complete [2022-10-20T18:24:40.510Z] 213ec9aee27d: Verifying Checksum [2022-10-20T18:24:40.510Z] 213ec9aee27d: Download complete [2022-10-20T18:24:40.510Z] 801331c1e519: Verifying Checksum [2022-10-20T18:24:40.510Z] 801331c1e519: Download complete [2022-10-20T18:24:40.510Z] 213ec9aee27d: Pull complete [2022-10-20T18:24:40.786Z] 4583459ba037: Pull complete [2022-10-20T18:24:40.786Z] 93c1e223e6f2: Pull complete [2022-10-20T18:24:41.392Z] 99cc6dd402b0: Verifying Checksum [2022-10-20T18:24:41.392Z] 99cc6dd402b0: Download complete [2022-10-20T18:24:41.654Z] 53926ce57604: Verifying Checksum [2022-10-20T18:24:41.654Z] 53926ce57604: Download complete [2022-10-20T18:24:41.654Z] 7d9ed39f4882: Verifying Checksum [2022-10-20T18:24:41.654Z] 7d9ed39f4882: Download complete [2022-10-20T18:24:45.842Z] 53926ce57604: Pull complete [2022-10-20T18:24:45.842Z] 21b2b0c7a3f4: Pull complete [2022-10-20T18:24:45.842Z] 30f14e443154: Pull complete [2022-10-20T18:24:45.842Z] 801331c1e519: Pull complete [2022-10-20T18:24:47.744Z] 99cc6dd402b0: Pull complete [2022-10-20T18:24:48.311Z] 7d9ed39f4882: Pull complete [2022-10-20T18:24:48.311Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-20T18:24:48.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-20T18:24:48.311Z] ---> 1dedd983c030 [2022-10-20T18:24:48.311Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-20T18:24:49.701Z] ---> Running in 3efb886ba608 [2022-10-20T18:24:49.962Z] Removing intermediate container 3efb886ba608 [2022-10-20T18:24:49.962Z] ---> 68135801983b [2022-10-20T18:24:49.962Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-20T18:24:49.962Z] ---> Running in 62431fe2544b [2022-10-20T18:24:49.962Z] Removing intermediate container 62431fe2544b [2022-10-20T18:24:49.962Z] ---> 1cb9929e4d6b [2022-10-20T18:24:49.962Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-20T18:24:50.220Z] ---> Running in 200742b4567d [2022-10-20T18:24:50.220Z] Removing intermediate container 200742b4567d [2022-10-20T18:24:50.220Z] ---> 68cf43dd1a14 [2022-10-20T18:24:50.220Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-20T18:24:50.220Z] ---> Running in a4e233dac415 [2022-10-20T18:24:50.479Z] Removing intermediate container a4e233dac415 [2022-10-20T18:24:50.479Z] ---> 07451437b142 [2022-10-20T18:24:50.479Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-20T18:24:50.479Z] ---> Running in b528591797c9 [2022-10-20T18:24:50.479Z] Removing intermediate container b528591797c9 [2022-10-20T18:24:50.479Z] ---> 521da30434dc [2022-10-20T18:24:50.479Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T18:24:50.479Z] ---> Running in 57e3458ac976 [2022-10-20T18:24:51.046Z] Removing intermediate container 57e3458ac976 [2022-10-20T18:24:51.046Z] ---> 8834c4bcf0d0 [2022-10-20T18:24:51.046Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-20T18:24:51.046Z] ---> Running in 9d3cbfdee5b5 [2022-10-20T18:24:51.305Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-20T18:24:52.243Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-20T18:24:52.502Z] OK: 211 MiB in 51 packages [2022-10-20T18:24:52.763Z] Removing intermediate container 9d3cbfdee5b5 [2022-10-20T18:24:52.763Z] ---> ce00317a489c [2022-10-20T18:24:52.763Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-20T18:24:52.763Z] ---> Running in 83093b699b62 [2022-10-20T18:24:52.763Z] Removing intermediate container 83093b699b62 [2022-10-20T18:24:52.763Z] ---> 114cee5f23ad [2022-10-20T18:24:52.763Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-20T18:24:53.021Z] ---> ee5e673c3cf3 [2022-10-20T18:24:53.021Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-20T18:24:53.021Z] ---> Running in 77ebb521285c [2022-10-20T18:24:53.742Z] Still waiting to schedule task [2022-10-20T18:24:53.742Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8703’ [2022-10-20T18:25:14.957Z] Removing intermediate container 77ebb521285c [2022-10-20T18:25:14.957Z] ---> 6721ced1e9db [2022-10-20T18:25:14.957Z] Step 13/14 : COPY . . [2022-10-20T18:25:14.957Z] ---> dcfc4b61a614 [2022-10-20T18:25:14.957Z] Step 14/14 : RUN ${MAKE} [2022-10-20T18:25:14.957Z] ---> Running in fb45191c8c22 [2022-10-20T18:25:14.957Z] noop [2022-10-20T18:25:14.957Z] Removing intermediate container fb45191c8c22 [2022-10-20T18:25:14.957Z] ---> 2a2919448877 [2022-10-20T18:25:14.957Z] Successfully built 2a2919448877 [2022-10-20T18:25:14.957Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T18:25:15.277Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-20T18:25:15.277Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T18:25:15.349Z] prd-ubuntu20.04-docker-8c-8g-8707 does not seem to be running inside a container [2022-10-20T18:25:15.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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 ******** ci-base-image-x86_64 cat [2022-10-20T18:25:15.739Z] $ docker top 3e0c186383cc9a6bdb30c5f4a6653cfea20f2b1fcf02e87b9b1c851ec68cffd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T18:25:16.072Z] + go version [2022-10-20T18:25:16.072Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-20T18:25:16.086Z] $ docker stop --time=1 3e0c186383cc9a6bdb30c5f4a6653cfea20f2b1fcf02e87b9b1c851ec68cffd3 [2022-10-20T18:25:17.392Z] $ docker rm -f 3e0c186383cc9a6bdb30c5f4a6653cfea20f2b1fcf02e87b9b1c851ec68cffd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T18:25:17.779Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-20T18:25:17.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T18:25:17.838Z] prd-ubuntu20.04-docker-8c-8g-8707 does not seem to be running inside a container [2022-10-20T18:25:17.872Z] $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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 ******** ci-base-image-x86_64 cat [2022-10-20T18:25:18.225Z] $ docker top 41505008659ceb811e0c98b6a984d8b9ab41c7c5477f3666157cc585e229f15b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T18:25:18.563Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh [2022-10-20T18:25:18.855Z] + make test [2022-10-20T18:25:18.855Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-20T18:25:19.113Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-20T18:25:31.309Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-20T18:25:31.309Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.031s coverage: 28.2% of statements [2022-10-20T18:25:31.309Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-20T18:25:31.309Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.411s coverage: 86.5% of statements [2022-10-20T18:25:39.412Z] 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-20T18:25:39.412Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-20T18:25:41.938Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-20T18:25:41.938Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-20T18:25:41.938Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-20T18:25:41.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-20T18:25:41.964Z] $ docker stop --time=1 41505008659ceb811e0c98b6a984d8b9ab41c7c5477f3666157cc585e229f15b [2022-10-20T18:25:43.739Z] $ docker rm -f 41505008659ceb811e0c98b6a984d8b9ab41c7c5477f3666157cc585e229f15b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-20T18:25:44.215Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-20T18:25:44.269Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-20T18:25:44.793Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-20T18:25:45.077Z] + ls -al . [2022-10-20T18:25:45.077Z] total 236 [2022-10-20T18:25:45.077Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 18:25 . [2022-10-20T18:25:45.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 18:24 .. [2022-10-20T18:25:45.077Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 18:25 .git [2022-10-20T18:25:45.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 18:24 .github [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 18:24 .gitignore [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 18:24 .golangci.yml [2022-10-20T18:25:45.077Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 18:24 .semver [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 20 18:24 Attribution.txt [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 20 18:24 CHANGELOG.md [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 20 18:24 Dockerfile [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 18:24 GOVERNANCE.md [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 20 18:24 Jenkinsfile [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 18:24 LICENSE [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 20 18:24 Makefile [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 18:24 OWNERS.md [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 20 18:24 README.md [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 18:24 VERSION [2022-10-20T18:25:45.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 18:24 bin [2022-10-20T18:25:45.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 18:24 cmd [2022-10-20T18:25:45.077Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 20 18:25 coverage.out [2022-10-20T18:25:45.077Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 18:24 doc [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 20 18:24 go.mod [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 20 18:24 go.sum [2022-10-20T18:25:45.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 18:24 internal [2022-10-20T18:25:45.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 18:24 snap [2022-10-20T18:25:45.077Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 18:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T18:25:45.378Z] + 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=c44d1cb6a65eeec37ec58c02a279d2b878b9a28f --label arch=amd64 --label version=0.0.0 . [2022-10-20T18:25:45.378Z] Sending build context to Docker daemon 27.11MB [2022-10-20T18:25:45.378Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-20T18:25:45.378Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-20T18:25:45.378Z] ---> 2a2919448877 [2022-10-20T18:25:45.378Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-20T18:25:45.637Z] ---> Running in ebad289f9e37 [2022-10-20T18:25:45.637Z] Removing intermediate container ebad289f9e37 [2022-10-20T18:25:45.637Z] ---> 3805e9bfd3e7 [2022-10-20T18:25:45.637Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-20T18:25:45.637Z] ---> Running in 54ac51f225a8 [2022-10-20T18:25:45.895Z] Removing intermediate container 54ac51f225a8 [2022-10-20T18:25:45.895Z] ---> ae5de42ce3ef [2022-10-20T18:25:45.895Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-20T18:25:45.895Z] ---> Running in 4be8ed9ed8e7 [2022-10-20T18:25:45.895Z] Removing intermediate container 4be8ed9ed8e7 [2022-10-20T18:25:45.895Z] ---> 333b76ba5e90 [2022-10-20T18:25:45.895Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-20T18:25:45.895Z] ---> Running in f61889b26c23 [2022-10-20T18:25:46.153Z] Removing intermediate container f61889b26c23 [2022-10-20T18:25:46.153Z] ---> 1c097bceff42 [2022-10-20T18:25:46.153Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-20T18:25:46.153Z] ---> Running in 96ad311e5779 [2022-10-20T18:25:46.153Z] Removing intermediate container 96ad311e5779 [2022-10-20T18:25:46.153Z] ---> 24b5c6c2362a [2022-10-20T18:25:46.153Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T18:25:46.153Z] ---> Running in 7d48265400f3 [2022-10-20T18:25:46.720Z] Removing intermediate container 7d48265400f3 [2022-10-20T18:25:46.720Z] ---> 666da23e4c12 [2022-10-20T18:25:46.720Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-20T18:25:46.720Z] ---> Running in 98f994860a1f [2022-10-20T18:25:46.978Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-20T18:25:47.913Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-20T18:25:48.172Z] OK: 211 MiB in 51 packages [2022-10-20T18:25:48.430Z] Removing intermediate container 98f994860a1f [2022-10-20T18:25:48.430Z] ---> 54343ed39b46 [2022-10-20T18:25:48.430Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-20T18:25:48.703Z] ---> Running in 146c0c275028 [2022-10-20T18:25:48.703Z] Removing intermediate container 146c0c275028 [2022-10-20T18:25:48.703Z] ---> ec3a2b75efbc [2022-10-20T18:25:48.703Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-20T18:25:48.703Z] ---> ffd6ae73940f [2022-10-20T18:25:48.703Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-20T18:25:48.962Z] ---> Running in f2f7ae62d6d8 [2022-10-20T18:25:49.529Z] Removing intermediate container f2f7ae62d6d8 [2022-10-20T18:25:49.529Z] ---> 3cf32ad2a49f [2022-10-20T18:25:49.529Z] Step 13/27 : COPY . . [2022-10-20T18:25:50.095Z] ---> 6fee06b86416 [2022-10-20T18:25:50.095Z] Step 14/27 : RUN ${MAKE} [2022-10-20T18:25:50.095Z] ---> Running in 28f3e33bcebe [2022-10-20T18:25:50.353Z] 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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-20T18:26:12.274Z] Removing intermediate container 28f3e33bcebe [2022-10-20T18:26:12.274Z] ---> d520c5d221ae [2022-10-20T18:26:12.274Z] Step 15/27 : FROM alpine:3.16 [2022-10-20T18:26:12.274Z] 3.16: Pulling from library/alpine [2022-10-20T18:26:12.274Z] 213ec9aee27d: Already exists [2022-10-20T18:26:12.274Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-20T18:26:12.274Z] Status: Downloaded newer image for alpine:3.16 [2022-10-20T18:26:12.274Z] ---> 9c6f07244728 [2022-10-20T18:26:12.274Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-20T18:26:12.274Z] ---> Running in 8bc73da2650b [2022-10-20T18:26:12.274Z] Removing intermediate container 8bc73da2650b [2022-10-20T18:26:12.274Z] ---> 74f12847a7a5 [2022-10-20T18:26:12.274Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-20T18:26:12.274Z] ---> Running in 51a000b7d0bd [2022-10-20T18:26:12.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-20T18:26:12.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-20T18:26:12.274Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-20T18:26:12.274Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-20T18:26:12.274Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-20T18:26:12.274Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-20T18:26:12.274Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-20T18:26:12.274Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-20T18:26:12.274Z] Executing busybox-1.35.0-r17.trigger [2022-10-20T18:26:12.274Z] OK: 8 MiB in 20 packages [2022-10-20T18:26:12.274Z] Removing intermediate container 51a000b7d0bd [2022-10-20T18:26:12.274Z] ---> 6e4449c9f37d [2022-10-20T18:26:12.274Z] Step 18/27 : WORKDIR / [2022-10-20T18:26:12.274Z] ---> Running in 1c0169064136 [2022-10-20T18:26:12.533Z] Removing intermediate container 1c0169064136 [2022-10-20T18:26:12.533Z] ---> b1f013988c07 [2022-10-20T18:26:12.533Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-20T18:26:13.098Z] ---> a830f40b970c [2022-10-20T18:26:13.098Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-20T18:26:13.098Z] ---> a036fcd65655 [2022-10-20T18:26:13.098Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-20T18:26:13.355Z] ---> 97b27e8b9e9e [2022-10-20T18:26:13.355Z] Step 22/27 : EXPOSE 59984 [2022-10-20T18:26:13.355Z] ---> Running in 79c47c9a1e49 [2022-10-20T18:26:13.355Z] Removing intermediate container 79c47c9a1e49 [2022-10-20T18:26:13.355Z] ---> 2956e4877401 [2022-10-20T18:26:13.355Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-20T18:26:13.355Z] ---> Running in 9f9e003ce880 [2022-10-20T18:26:13.614Z] Removing intermediate container 9f9e003ce880 [2022-10-20T18:26:13.614Z] ---> a98ac72621ea [2022-10-20T18:26:13.614Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-20T18:26:13.614Z] ---> Running in d86e6d0e520f [2022-10-20T18:26:13.614Z] Removing intermediate container d86e6d0e520f [2022-10-20T18:26:13.614Z] ---> 2ef4d3ea2e50 [2022-10-20T18:26:13.614Z] Step 25/27 : LABEL arch=amd64 [2022-10-20T18:26:13.614Z] ---> Running in 63ea33e1fa6f [2022-10-20T18:26:13.872Z] Removing intermediate container 63ea33e1fa6f [2022-10-20T18:26:13.872Z] ---> 9f6faa7df997 [2022-10-20T18:26:13.872Z] Step 26/27 : LABEL git_sha=c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [2022-10-20T18:26:13.872Z] ---> Running in 4a6e753bc75a [2022-10-20T18:26:13.872Z] Removing intermediate container 4a6e753bc75a [2022-10-20T18:26:13.872Z] ---> 43a7c97ebf18 [2022-10-20T18:26:13.872Z] Step 27/27 : LABEL version=0.0.0 [2022-10-20T18:26:13.872Z] ---> Running in 236f73e391aa [2022-10-20T18:26:13.872Z] Removing intermediate container 236f73e391aa [2022-10-20T18:26:13.872Z] ---> 15f9d2caa6ad [2022-10-20T18:26:13.872Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-20T18:26:13.872Z] Successfully built 15f9d2caa6ad [2022-10-20T18:26:14.131Z] 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-20T18:26:14.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-20T18:26:14.524Z] [2022-10-20T18:26:14.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T18:26:14.813Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-20T18:26:14.813Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-20T18:26:14.813Z] 5eb5b503b376: Pulling fs layer [2022-10-20T18:26:14.813Z] 5c69ac0246d0: Pulling fs layer [2022-10-20T18:26:14.813Z] ec43610c2a17: Pulling fs layer [2022-10-20T18:26:14.813Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-20T18:26:14.813Z] 33b1e0a273af: Pulling fs layer [2022-10-20T18:26:14.813Z] 5d3b04190fa2: Pulling fs layer [2022-10-20T18:26:14.813Z] 2f39f015ded8: Pulling fs layer [2022-10-20T18:26:14.813Z] 3a2ae6a8a46f: Waiting [2022-10-20T18:26:14.813Z] 33b1e0a273af: Waiting [2022-10-20T18:26:14.813Z] 5d3b04190fa2: Waiting [2022-10-20T18:26:14.813Z] 2f39f015ded8: Waiting [2022-10-20T18:26:14.813Z] 5c69ac0246d0: Verifying Checksum [2022-10-20T18:26:14.813Z] 5c69ac0246d0: Download complete [2022-10-20T18:26:14.813Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-20T18:26:14.813Z] 3a2ae6a8a46f: Download complete [2022-10-20T18:26:14.813Z] 33b1e0a273af: Verifying Checksum [2022-10-20T18:26:14.813Z] 33b1e0a273af: Download complete [2022-10-20T18:26:14.813Z] 5d3b04190fa2: Verifying Checksum [2022-10-20T18:26:14.813Z] 5d3b04190fa2: Download complete [2022-10-20T18:26:15.073Z] ec43610c2a17: Verifying Checksum [2022-10-20T18:26:15.073Z] ec43610c2a17: Download complete [2022-10-20T18:26:15.073Z] 5eb5b503b376: Verifying Checksum [2022-10-20T18:26:15.073Z] 5eb5b503b376: Download complete [2022-10-20T18:26:15.676Z] 2f39f015ded8: Download complete [2022-10-20T18:26:16.243Z] 5eb5b503b376: Pull complete [2022-10-20T18:26:16.243Z] 5c69ac0246d0: Pull complete [2022-10-20T18:26:16.812Z] ec43610c2a17: Pull complete [2022-10-20T18:26:16.812Z] 3a2ae6a8a46f: Pull complete [2022-10-20T18:26:17.081Z] 33b1e0a273af: Pull complete [2022-10-20T18:26:17.081Z] 5d3b04190fa2: Pull complete [2022-10-20T18:26:21.270Z] 2f39f015ded8: Pull complete [2022-10-20T18:26:21.270Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-20T18:26:21.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-20T18:26:21.270Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T18:26:21.345Z] prd-ubuntu20.04-docker-8c-8g-8707 does not seem to be running inside a container [2022-10-20T18:26:21.376Z] $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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-20T18:26:22.772Z] $ docker top 454f5c5c1101fc8b8112a96070c3ecfd5a205dcefedc2b4fdd1acd38e9cd1254 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-20T18:26:23.137Z] ---> job-cost.sh [2022-10-20T18:26:23.137Z] lf-activate-venv: SKIPPING [2022-10-20T18:26:23.137Z] INFO: No Stack... [2022-10-20T18:26:23.395Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-20T18:26:23.963Z] INFO: Archiving Costs [Pipeline] sh [2022-10-20T18:26:24.247Z] + cut+ -d, -f6 [2022-10-20T18:26:24.247Z] cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv [Pipeline] lock [2022-10-20T18:26:24.260Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] [2022-10-20T18:26:24.266Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] did not exist. Created. [2022-10-20T18:26:24.266Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-20T18:26:24.566Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-20T18:26:24.596Z] Stashed 1 file(s) [Pipeline] } [2022-10-20T18:26:24.603Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-20T18:26:24.621Z] $ docker stop --time=1 454f5c5c1101fc8b8112a96070c3ecfd5a205dcefedc2b4fdd1acd38e9cd1254 [2022-10-20T18:26:25.790Z] $ docker rm -f 454f5c5c1101fc8b8112a96070c3ecfd5a205dcefedc2b4fdd1acd38e9cd1254 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-20T18:27:27.824Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8710 in /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] { [Pipeline] ws [2022-10-20T18:27:27.837Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-10-20T18:27:27.880Z] The recommended git tool is: git [2022-10-20T18:27:33.302Z] using credential edgex-jenkins-ssh [2022-10-20T18:27:33.324Z] Cloning the remote Git repository [2022-10-20T18:27:33.362Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-20T18:27:33.436Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-10-20T18:27:33.578Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-20T18:27:33.579Z] > git --version # timeout=10 [2022-10-20T18:27:33.606Z] > git --version # 'git version 2.25.1' [2022-10-20T18:27:33.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-20T18:27:33.674Z] Verifying host key using known hosts file [2022-10-20T18:27:33.875Z] 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-20T18:27:33.889Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-20T18:27:35.192Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-20T18:27:35.218Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-20T18:27:36.071Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-20T18:27:36.120Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-20T18:27:36.121Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-20T18:27:36.128Z] Verifying host key using known hosts file [2022-10-20T18:27:36.136Z] 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-20T18:27:36.156Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-20T18:27:37.075Z] Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [2022-10-20T18:27:37.541Z] Merge succeeded, producing c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [2022-10-20T18:27:37.541Z] Checking out Revision c44d1cb6a65eeec37ec58c02a279d2b878b9a28f (PR-180) [2022-10-20T18:27:37.089Z] > git config core.sparsecheckout # timeout=10 [2022-10-20T18:27:37.110Z] > git checkout -f c44d1cb6a65eeec37ec58c02a279d2b878b9a28f # timeout=10 [2022-10-20T18:27:37.431Z] > git remote # timeout=10 [2022-10-20T18:27:37.451Z] > git config --get remote.origin.url # timeout=10 [2022-10-20T18:27:37.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-20T18:27:37.476Z] Verifying host key using known hosts file [2022-10-20T18:27:37.481Z] 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-20T18:27:37.492Z] > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 [2022-10-20T18:27:37.520Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-20T18:27:37.544Z] > git config core.sparsecheckout # timeout=10 [2022-10-20T18:27:37.560Z] > git checkout -f c44d1cb6a65eeec37ec58c02a279d2b878b9a28f # timeout=10 [2022-10-20T18:27:38.368Z] Commit message: "docs: cleanup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-20T18:27:39.194Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-20T18:27:39.194Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-20T18:27:39.194Z] Dload Upload Total Spent Left Speed [2022-10-20T18:27:39.194Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh [2022-10-20T18:27:39.835Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-20T18:27:40.181Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-20T18:27:40.181Z] + sudo tee /etc/docker/daemon.new [2022-10-20T18:27:40.181Z] { [2022-10-20T18:27:40.181Z] "registry-mirrors": [ [2022-10-20T18:27:40.181Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-20T18:27:40.181Z] ], [2022-10-20T18:27:40.181Z] "bip": "10.250.0.254/24", [2022-10-20T18:27:40.181Z] "hosts": [ [2022-10-20T18:27:40.181Z] "tcp://0.0.0.0:5555", [2022-10-20T18:27:40.181Z] "unix:///var/run/docker.sock" [2022-10-20T18:27:40.181Z] ], [2022-10-20T18:27:40.181Z] "mtu": 1458, [2022-10-20T18:27:40.181Z] "selinux-enabled": true, [2022-10-20T18:27:40.181Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-20T18:27:40.181Z] } [Pipeline] sh [2022-10-20T18:27:40.521Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-20T18:27:40.864Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-20T18:27:59.136Z] provisioning config files... [2022-10-20T18:27:59.161Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config16500741882856552003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-20T18:27:59.509Z] ---> docker-login.sh [2022-10-20T18:27:59.509Z] nexus3.edgexfoundry.org:10001 [2022-10-20T18:28:00.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:28:00.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:28:00.099Z] Configure a credential helper to remove this warning. See [2022-10-20T18:28:00.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:28:00.099Z] [2022-10-20T18:28:00.099Z] Login Succeeded [2022-10-20T18:28:00.099Z] nexus3.edgexfoundry.org:10002 [2022-10-20T18:28:00.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:28:00.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:28:00.644Z] Configure a credential helper to remove this warning. See [2022-10-20T18:28:00.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:28:00.644Z] [2022-10-20T18:28:00.644Z] Login Succeeded [2022-10-20T18:28:00.644Z] nexus3.edgexfoundry.org:10003 [2022-10-20T18:28:00.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:28:00.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:28:00.916Z] Configure a credential helper to remove this warning. See [2022-10-20T18:28:00.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:28:00.916Z] [2022-10-20T18:28:00.916Z] Login Succeeded [2022-10-20T18:28:00.916Z] nexus3.edgexfoundry.org:10004 [2022-10-20T18:28:01.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:28:01.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:28:01.186Z] Configure a credential helper to remove this warning. See [2022-10-20T18:28:01.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:28:01.186Z] [2022-10-20T18:28:01.186Z] Login Succeeded [2022-10-20T18:28:01.186Z] docker.io [2022-10-20T18:28:01.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T18:28:02.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T18:28:02.049Z] Configure a credential helper to remove this warning. See [2022-10-20T18:28:02.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T18:28:02.049Z] [2022-10-20T18:28:02.049Z] Login Succeeded [2022-10-20T18:28:02.049Z] ---> docker-login.sh ends [Pipeline] } [2022-10-20T18:28:02.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-20T18:28:02.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-20T18:28:02.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-20T18:28:02.241Z] ========================================================= [2022-10-20T18:28:02.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-20T18:28:02.241Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T18:28:02.586Z] + 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-20T18:28:03.175Z] Sending build context to Docker daemon 20.39MB [2022-10-20T18:28:03.175Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-20T18:28:03.175Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-20T18:28:03.446Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-20T18:28:03.446Z] 9b18e9b68314: Pulling fs layer [2022-10-20T18:28:03.446Z] d32db5db7311: Pulling fs layer [2022-10-20T18:28:03.446Z] d0c4b47475fc: Pulling fs layer [2022-10-20T18:28:03.446Z] 5831b945b038: Pulling fs layer [2022-10-20T18:28:03.446Z] 86bbec2aaacd: Pulling fs layer [2022-10-20T18:28:03.446Z] e10730c5d714: Pulling fs layer [2022-10-20T18:28:03.446Z] 5dd5c2283517: Pulling fs layer [2022-10-20T18:28:03.446Z] d5ac0230b979: Pulling fs layer [2022-10-20T18:28:03.446Z] 86bbec2aaacd: Waiting [2022-10-20T18:28:03.446Z] e10730c5d714: Waiting [2022-10-20T18:28:03.446Z] 5dd5c2283517: Waiting [2022-10-20T18:28:03.446Z] d5ac0230b979: Waiting [2022-10-20T18:28:03.446Z] 5831b945b038: Waiting [2022-10-20T18:28:03.446Z] d0c4b47475fc: Verifying Checksum [2022-10-20T18:28:03.446Z] d0c4b47475fc: Download complete [2022-10-20T18:28:03.446Z] d32db5db7311: Verifying Checksum [2022-10-20T18:28:03.446Z] d32db5db7311: Download complete [2022-10-20T18:28:03.446Z] 86bbec2aaacd: Verifying Checksum [2022-10-20T18:28:03.447Z] 86bbec2aaacd: Download complete [2022-10-20T18:28:03.447Z] e10730c5d714: Verifying Checksum [2022-10-20T18:28:03.447Z] e10730c5d714: Download complete [2022-10-20T18:28:03.447Z] 9b18e9b68314: Verifying Checksum [2022-10-20T18:28:03.447Z] 9b18e9b68314: Download complete [2022-10-20T18:28:04.416Z] 9b18e9b68314: Pull complete [2022-10-20T18:28:04.687Z] d5ac0230b979: Verifying Checksum [2022-10-20T18:28:04.687Z] d5ac0230b979: Download complete [2022-10-20T18:28:05.656Z] 5dd5c2283517: Verifying Checksum [2022-10-20T18:28:05.656Z] 5dd5c2283517: Download complete [2022-10-20T18:28:05.927Z] d32db5db7311: Pull complete [2022-10-20T18:28:06.197Z] d0c4b47475fc: Pull complete [2022-10-20T18:28:06.467Z] 5831b945b038: Verifying Checksum [2022-10-20T18:28:06.467Z] 5831b945b038: Download complete [2022-10-20T18:28:18.798Z] 5831b945b038: Pull complete [2022-10-20T18:28:18.798Z] 86bbec2aaacd: Pull complete [2022-10-20T18:28:19.066Z] e10730c5d714: Pull complete [2022-10-20T18:28:25.744Z] 5dd5c2283517: Pull complete [2022-10-20T18:28:27.231Z] d5ac0230b979: Pull complete [2022-10-20T18:28:27.231Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-20T18:28:27.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-20T18:28:27.231Z] ---> 59b3b1a385d4 [2022-10-20T18:28:27.231Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-20T18:28:29.212Z] ---> Running in da382aea0709 [2022-10-20T18:28:29.212Z] Removing intermediate container da382aea0709 [2022-10-20T18:28:29.212Z] ---> 185ca55b30c2 [2022-10-20T18:28:29.212Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-20T18:28:29.212Z] ---> Running in 2c28409a91ec [2022-10-20T18:28:29.482Z] Removing intermediate container 2c28409a91ec [2022-10-20T18:28:29.482Z] ---> 719dde0818a5 [2022-10-20T18:28:29.482Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-20T18:28:29.750Z] ---> Running in dea6d057636f [2022-10-20T18:28:30.029Z] Removing intermediate container dea6d057636f [2022-10-20T18:28:30.029Z] ---> efe8b1f7c65d [2022-10-20T18:28:30.029Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-20T18:28:30.029Z] ---> Running in 0cc1eb0f9efa [2022-10-20T18:28:30.306Z] Removing intermediate container 0cc1eb0f9efa [2022-10-20T18:28:30.306Z] ---> 7b07605cc973 [2022-10-20T18:28:30.306Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-20T18:28:30.306Z] ---> Running in e4942a5de485 [2022-10-20T18:28:30.572Z] Removing intermediate container e4942a5de485 [2022-10-20T18:28:30.572Z] ---> c14eaa5f6ea1 [2022-10-20T18:28:30.572Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T18:28:30.840Z] ---> Running in 2db68aa95381 [2022-10-20T18:28:32.791Z] Removing intermediate container 2db68aa95381 [2022-10-20T18:28:32.791Z] ---> e916f4c2df0b [2022-10-20T18:28:32.791Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-20T18:28:32.791Z] ---> Running in bf888967d499 [2022-10-20T18:28:33.373Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-20T18:28:34.332Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-20T18:28:35.292Z] OK: 221 MiB in 51 packages [2022-10-20T18:28:35.877Z] Removing intermediate container bf888967d499 [2022-10-20T18:28:35.877Z] ---> 08cbe42c209c [2022-10-20T18:28:35.877Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-20T18:28:36.154Z] ---> Running in c4290994e1fd [2022-10-20T18:28:36.421Z] Removing intermediate container c4290994e1fd [2022-10-20T18:28:36.421Z] ---> 659b4b5f26dc [2022-10-20T18:28:36.421Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-20T18:28:36.690Z] ---> ced3b39f5dcc [2022-10-20T18:28:36.690Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-20T18:28:36.957Z] ---> Running in 2024ce4137be [2022-10-20T18:29:33.370Z] Removing intermediate container 2024ce4137be [2022-10-20T18:29:33.370Z] ---> fc841dce66c7 [2022-10-20T18:29:33.370Z] Step 13/14 : COPY . . [2022-10-20T18:29:33.370Z] ---> 245fbd9d5169 [2022-10-20T18:29:33.370Z] Step 14/14 : RUN ${MAKE} [2022-10-20T18:29:33.370Z] ---> Running in b081ea2d0c63 [2022-10-20T18:29:33.370Z] noop [2022-10-20T18:29:33.370Z] Removing intermediate container b081ea2d0c63 [2022-10-20T18:29:33.370Z] ---> 00110ca44db2 [2022-10-20T18:29:33.370Z] Successfully built 00110ca44db2 [2022-10-20T18:29:33.370Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T18:29:33.704Z] + docker inspect -f . ci-base-image-arm64 [2022-10-20T18:29:33.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T18:29:33.881Z] prd-ubuntu20.04-docker-arm64-4c-16g-8710 does not seem to be running inside a container [2022-10-20T18:29:33.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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-20T18:29:35.132Z] $ docker top 2b4fbc01b0470f6aae301d0306c8443e3b2e97b9c9fa6d8642e65d9c87716050 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T18:29:35.946Z] + go version [2022-10-20T18:29:35.946Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-20T18:29:35.973Z] $ docker stop --time=1 2b4fbc01b0470f6aae301d0306c8443e3b2e97b9c9fa6d8642e65d9c87716050 [2022-10-20T18:29:37.574Z] $ docker rm -f 2b4fbc01b0470f6aae301d0306c8443e3b2e97b9c9fa6d8642e65d9c87716050 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T18:29:38.092Z] + docker inspect -f . ci-base-image-arm64 [2022-10-20T18:29:38.092Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T18:29:38.260Z] prd-ubuntu20.04-docker-arm64-4c-16g-8710 does not seem to be running inside a container [2022-10-20T18:29:38.324Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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-20T18:29:39.491Z] $ docker top 787ec4ae074f0fd539efd9553f5da773194964113e959eb0f3875a3b872870e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T18:29:39.989Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh [2022-10-20T18:29:40.594Z] + make test [2022-10-20T18:29:40.594Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-20T18:29:42.539Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-20T18:31:20.125Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-20T18:31:20.125Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.189s coverage: 28.2% of statements [2022-10-20T18:31:20.125Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-20T18:31:35.138Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.881s coverage: 86.5% of statements [2022-10-20T18:31:35.138Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-20T18:31:35.138Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-20T18:31:57.208Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-20T18:31:57.208Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-20T18:31:57.208Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-20T18:31:57.227Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-20T18:31:57.250Z] $ docker stop --time=1 787ec4ae074f0fd539efd9553f5da773194964113e959eb0f3875a3b872870e5 [2022-10-20T18:31:58.993Z] $ docker rm -f 787ec4ae074f0fd539efd9553f5da773194964113e959eb0f3875a3b872870e5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-20T18:31:59.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-20T18:31:59.961Z] Warning: overwriting stash ‘coverage-report’ [2022-10-20T18:32:00.394Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-20T18:32:00.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-20T18:32:01.070Z] + ls -al . [2022-10-20T18:32:01.070Z] total 232 [2022-10-20T18:32:01.070Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 20 18:29 . [2022-10-20T18:32:01.070Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 18:27 .. [2022-10-20T18:32:01.070Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 18:27 .git [2022-10-20T18:32:01.070Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 18:27 .github [2022-10-20T18:32:01.070Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 18:27 .gitignore [2022-10-20T18:32:01.070Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 18:27 .golangci.yml [2022-10-20T18:32:01.070Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 20 18:27 Attribution.txt [2022-10-20T18:32:01.070Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 20 18:27 CHANGELOG.md [2022-10-20T18:32:01.070Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 20 18:27 Dockerfile [2022-10-20T18:32:01.070Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 18:27 GOVERNANCE.md [2022-10-20T18:32:01.070Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 20 18:27 Jenkinsfile [2022-10-20T18:32:01.070Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 18:27 LICENSE [2022-10-20T18:32:01.070Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 20 18:27 Makefile [2022-10-20T18:32:01.070Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 18:27 OWNERS.md [2022-10-20T18:32:01.070Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 20 18:27 README.md [2022-10-20T18:32:01.071Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 18:24 VERSION [2022-10-20T18:32:01.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 18:27 bin [2022-10-20T18:32:01.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 18:27 cmd [2022-10-20T18:32:01.071Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 20 18:31 coverage.out [2022-10-20T18:32:01.071Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 18:27 doc [2022-10-20T18:32:01.071Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 20 18:27 go.mod [2022-10-20T18:32:01.071Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 20 18:27 go.sum [2022-10-20T18:32:01.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 18:27 internal [2022-10-20T18:32:01.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 18:27 snap [2022-10-20T18:32:01.071Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 18:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T18:32:01.401Z] + 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=c44d1cb6a65eeec37ec58c02a279d2b878b9a28f --label arch=arm64 --label version=0.0.0 . [2022-10-20T18:32:01.983Z] Sending build context to Docker daemon 20.47MB [2022-10-20T18:32:01.983Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-20T18:32:01.983Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-20T18:32:01.983Z] ---> 00110ca44db2 [2022-10-20T18:32:01.983Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-20T18:32:02.248Z] ---> Running in 2cf17d4c7a25 [2022-10-20T18:32:02.527Z] Removing intermediate container 2cf17d4c7a25 [2022-10-20T18:32:02.527Z] ---> dc35b20a2ba0 [2022-10-20T18:32:02.527Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-20T18:32:02.527Z] ---> Running in 08ebfeb168f0 [2022-10-20T18:32:02.793Z] Removing intermediate container 08ebfeb168f0 [2022-10-20T18:32:02.793Z] ---> 7d93f9c57f7e [2022-10-20T18:32:02.793Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-20T18:32:02.793Z] ---> Running in ebac644a0984 [2022-10-20T18:32:03.058Z] Removing intermediate container ebac644a0984 [2022-10-20T18:32:03.058Z] ---> 7190da9fd464 [2022-10-20T18:32:03.058Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-20T18:32:03.058Z] ---> Running in ffb273dceb95 [2022-10-20T18:32:03.326Z] Removing intermediate container ffb273dceb95 [2022-10-20T18:32:03.326Z] ---> 6969ed1df845 [2022-10-20T18:32:03.326Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-20T18:32:03.593Z] ---> Running in a2ee51a0fe0c [2022-10-20T18:32:03.593Z] Removing intermediate container a2ee51a0fe0c [2022-10-20T18:32:03.593Z] ---> ad87147cf661 [2022-10-20T18:32:03.593Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T18:32:03.861Z] ---> Running in e98dff063574 [2022-10-20T18:32:05.272Z] Removing intermediate container e98dff063574 [2022-10-20T18:32:05.272Z] ---> af60a1ccf82b [2022-10-20T18:32:05.272Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-20T18:32:05.541Z] ---> Running in 51e9fa4ec4b7 [2022-10-20T18:32:06.501Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-20T18:32:07.458Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-20T18:32:08.411Z] OK: 221 MiB in 51 packages [2022-10-20T18:32:08.993Z] Removing intermediate container 51e9fa4ec4b7 [2022-10-20T18:32:08.993Z] ---> 55068d422d87 [2022-10-20T18:32:08.993Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-20T18:32:08.993Z] ---> Running in e40845fee30b [2022-10-20T18:32:09.259Z] Removing intermediate container e40845fee30b [2022-10-20T18:32:09.259Z] ---> 006010ce19e2 [2022-10-20T18:32:09.259Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-20T18:32:09.845Z] ---> 3a0ab1fb9775 [2022-10-20T18:32:09.845Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-20T18:32:09.845Z] ---> Running in ef58d79c6517 [2022-10-20T18:32:11.800Z] Removing intermediate container ef58d79c6517 [2022-10-20T18:32:11.800Z] ---> 65f2eaa86c41 [2022-10-20T18:32:11.800Z] Step 13/27 : COPY . . [2022-10-20T18:32:13.209Z] ---> 3ae659f492a3 [2022-10-20T18:32:13.209Z] Step 14/27 : RUN ${MAKE} [2022-10-20T18:32:13.209Z] ---> Running in 19c06d57fd48 [2022-10-20T18:32:14.172Z] 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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-20T18:34:35.860Z] Removing intermediate container 19c06d57fd48 [2022-10-20T18:34:35.860Z] ---> ae4000add793 [2022-10-20T18:34:35.860Z] Step 15/27 : FROM alpine:3.16 [2022-10-20T18:34:35.860Z] 3.16: Pulling from library/alpine [2022-10-20T18:34:35.860Z] 9b18e9b68314: Already exists [2022-10-20T18:34:35.860Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-20T18:34:35.860Z] Status: Downloaded newer image for alpine:3.16 [2022-10-20T18:34:35.860Z] ---> a6215f271958 [2022-10-20T18:34:35.860Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-20T18:34:35.860Z] ---> Running in a68606671430 [2022-10-20T18:34:35.860Z] Removing intermediate container a68606671430 [2022-10-20T18:34:35.861Z] ---> 5d990e3e8130 [2022-10-20T18:34:35.861Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-20T18:34:35.861Z] ---> Running in c6dd4ebcfc10 [2022-10-20T18:34:35.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-20T18:34:35.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-20T18:34:35.861Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-20T18:34:35.861Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-20T18:34:35.861Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-20T18:34:35.861Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-20T18:34:35.861Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-20T18:34:35.861Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-20T18:34:35.861Z] Executing busybox-1.35.0-r17.trigger [2022-10-20T18:34:35.861Z] OK: 8 MiB in 20 packages [2022-10-20T18:34:35.861Z] Removing intermediate container c6dd4ebcfc10 [2022-10-20T18:34:35.861Z] ---> 9ce5251eb029 [2022-10-20T18:34:35.861Z] Step 18/27 : WORKDIR / [2022-10-20T18:34:35.861Z] ---> Running in 539b67872a17 [2022-10-20T18:34:35.861Z] Removing intermediate container 539b67872a17 [2022-10-20T18:34:35.861Z] ---> 5f18d1c102a7 [2022-10-20T18:34:35.861Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-20T18:34:35.861Z] ---> ea9a2dd5b130 [2022-10-20T18:34:35.861Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-20T18:34:35.861Z] ---> af3145c954dd [2022-10-20T18:34:35.861Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-20T18:34:35.861Z] ---> d142a1209911 [2022-10-20T18:34:35.861Z] Step 22/27 : EXPOSE 59984 [2022-10-20T18:34:35.861Z] ---> Running in 265e812de5ef [2022-10-20T18:34:35.861Z] Removing intermediate container 265e812de5ef [2022-10-20T18:34:35.861Z] ---> fab89b106d4a [2022-10-20T18:34:35.861Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-20T18:34:35.861Z] ---> Running in d6bb2de3040b [2022-10-20T18:34:36.129Z] Removing intermediate container d6bb2de3040b [2022-10-20T18:34:36.129Z] ---> 56f0d96bf75f [2022-10-20T18:34:36.129Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-20T18:34:36.129Z] ---> Running in 21e5d780a2e9 [2022-10-20T18:34:36.396Z] Removing intermediate container 21e5d780a2e9 [2022-10-20T18:34:36.396Z] ---> fdd8b4c9cf03 [2022-10-20T18:34:36.396Z] Step 25/27 : LABEL arch=arm64 [2022-10-20T18:34:36.396Z] ---> Running in 518baaeb23c0 [2022-10-20T18:34:36.671Z] Removing intermediate container 518baaeb23c0 [2022-10-20T18:34:36.671Z] ---> d5d6d79c64d2 [2022-10-20T18:34:36.671Z] Step 26/27 : LABEL git_sha=c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [2022-10-20T18:34:36.936Z] ---> Running in 906e6bcc4c6b [2022-10-20T18:34:37.204Z] Removing intermediate container 906e6bcc4c6b [2022-10-20T18:34:37.204Z] ---> f562ee0d116d [2022-10-20T18:34:37.204Z] Step 27/27 : LABEL version=0.0.0 [2022-10-20T18:34:37.204Z] ---> Running in 7d8596a99b02 [2022-10-20T18:34:37.471Z] Removing intermediate container 7d8596a99b02 [2022-10-20T18:34:37.471Z] ---> ab6230ecbafa [2022-10-20T18:34:37.471Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-20T18:34:37.471Z] Successfully built ab6230ecbafa [2022-10-20T18:34:37.471Z] 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-20T18:34:37.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-20T18:34:37.893Z] [2022-10-20T18:34:37.893Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T18:34:38.220Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-20T18:34:38.220Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-20T18:34:38.220Z] 8998bd30e6a1: Pulling fs layer [2022-10-20T18:34:38.220Z] 04944245beec: Pulling fs layer [2022-10-20T18:34:38.220Z] 699f458cf7ca: Pulling fs layer [2022-10-20T18:34:38.220Z] 765212b225bb: Pulling fs layer [2022-10-20T18:34:38.220Z] f23df028b6ca: Pulling fs layer [2022-10-20T18:34:38.220Z] d65c8cfc05b1: Pulling fs layer [2022-10-20T18:34:38.220Z] 2437ff75d9bd: Pulling fs layer [2022-10-20T18:34:38.220Z] 765212b225bb: Waiting [2022-10-20T18:34:38.220Z] f23df028b6ca: Waiting [2022-10-20T18:34:38.221Z] 2437ff75d9bd: Waiting [2022-10-20T18:34:38.221Z] d65c8cfc05b1: Waiting [2022-10-20T18:34:38.491Z] 04944245beec: Verifying Checksum [2022-10-20T18:34:38.491Z] 04944245beec: Download complete [2022-10-20T18:34:38.491Z] 765212b225bb: Verifying Checksum [2022-10-20T18:34:38.491Z] 765212b225bb: Download complete [2022-10-20T18:34:38.491Z] f23df028b6ca: Verifying Checksum [2022-10-20T18:34:38.491Z] f23df028b6ca: Download complete [2022-10-20T18:34:38.491Z] d65c8cfc05b1: Verifying Checksum [2022-10-20T18:34:38.491Z] d65c8cfc05b1: Download complete [2022-10-20T18:34:38.758Z] 699f458cf7ca: Verifying Checksum [2022-10-20T18:34:38.758Z] 699f458cf7ca: Download complete [2022-10-20T18:34:39.025Z] 8998bd30e6a1: Verifying Checksum [2022-10-20T18:34:39.025Z] 8998bd30e6a1: Download complete [2022-10-20T18:34:41.607Z] 2437ff75d9bd: Verifying Checksum [2022-10-20T18:34:41.607Z] 2437ff75d9bd: Download complete [2022-10-20T18:34:43.017Z] 8998bd30e6a1: Pull complete [2022-10-20T18:34:43.600Z] 04944245beec: Pull complete [2022-10-20T18:34:45.011Z] 699f458cf7ca: Pull complete [2022-10-20T18:34:45.011Z] 765212b225bb: Pull complete [2022-10-20T18:34:45.593Z] f23df028b6ca: Pull complete [2022-10-20T18:34:45.860Z] d65c8cfc05b1: Pull complete [2022-10-20T18:35:00.848Z] 2437ff75d9bd: Pull complete [2022-10-20T18:35:00.848Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-20T18:35:00.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-20T18:35:00.848Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T18:35:01.020Z] prd-ubuntu20.04-docker-arm64-4c-16g-8710 does not seem to be running inside a container [2022-10-20T18:35:01.153Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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-20T18:35:03.759Z] $ docker top 978c1d1279c100742065bbbf19ff44e9cd965ad2729a921f566bc546c66b51f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-20T18:35:04.317Z] ---> job-cost.sh [2022-10-20T18:35:04.593Z] lf-activate-venv: SKIPPING [2022-10-20T18:35:04.593Z] INFO: No Stack... [2022-10-20T18:35:04.865Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-20T18:35:05.836Z] INFO: Archiving Costs [Pipeline] sh [2022-10-20T18:35:06.181Z] + cut -d, -f6 [2022-10-20T18:35:06.181Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [Pipeline] lock [2022-10-20T18:35:06.254Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] [2022-10-20T18:35:06.259Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] did not exist. Created. [2022-10-20T18:35:06.259Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-20T18:35:06.902Z] /w/workspace/device-onvif-camera/6@tmp/durable-fbed57e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-20T18:35:07.234Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-20T18:35:07.259Z] Warning: overwriting stash ‘stack-cost’ [2022-10-20T18:35:07.315Z] Stashed 1 file(s) [Pipeline] } [2022-10-20T18:35:07.322Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-20T18:35:07.355Z] $ docker stop --time=1 978c1d1279c100742065bbbf19ff44e9cd965ad2729a921f566bc546c66b51f4 [2022-10-20T18:35:08.842Z] $ docker rm -f 978c1d1279c100742065bbbf19ff44e9cd965ad2729a921f566bc546c66b51f4 [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-20T18:35:09.180Z] provisioning config files... [2022-10-20T18:35:09.187Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config9648506178742153766tmp [Pipeline] { [Pipeline] sh [2022-10-20T18:35:09.473Z] + set +x [2022-10-20T18:35:09.473Z] + bash -s -- [2022-10-20T18:35:09.473Z] + curl -s https://codecov.io/bash [2022-10-20T18:35:09.473Z] [2022-10-20T18:35:09.473Z] _____ _ [2022-10-20T18:35:09.473Z] / ____| | | [2022-10-20T18:35:09.473Z] | | ___ __| | ___ ___ _____ __ [2022-10-20T18:35:09.474Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-20T18:35:09.474Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-20T18:35:09.474Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-20T18:35:09.474Z] Bash-1.0.6 [2022-10-20T18:35:09.474Z] [2022-10-20T18:35:09.474Z] [2022-10-20T18:35:09.474Z] ==> git version 2.25.1 found [2022-10-20T18:35:09.474Z] ==> 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-20T18:35:09.474Z] Release-Date: 2020-01-08 [2022-10-20T18:35:09.474Z] 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-20T18:35:09.474Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-20T18:35:09.474Z] ==> Jenkins CI detected. [2022-10-20T18:35:09.474Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-180 [2022-10-20T18:35:09.474Z] project root: . [2022-10-20T18:35:09.474Z] --> token set from env [2022-10-20T18:35:09.474Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-20T18:35:09.474Z] ==> Running gcov in . (disable via -X gcov) [2022-10-20T18:35:09.474Z] ==> Python coveragepy not found [2022-10-20T18:35:09.474Z] ==> Searching for coverage reports in: [2022-10-20T18:35:09.474Z] + . [2022-10-20T18:35:09.474Z] -> Found 1 reports [2022-10-20T18:35:09.474Z] ==> Detecting git/mercurial file structure [2022-10-20T18:35:09.474Z] ==> Reading reports [2022-10-20T18:35:09.474Z] + ./coverage.out bytes=78636 [2022-10-20T18:35:09.732Z] ==> Appending adjustments [2022-10-20T18:35:09.732Z] https://docs.codecov.io/docs/fixing-reports [2022-10-20T18:35:09.732Z] + Found adjustments [2022-10-20T18:35:09.732Z] ==> Gzipping contents [2022-10-20T18:35:09.732Z] 12K /tmp/codecov.YLWWgS.gz [2022-10-20T18:35:09.732Z] ==> Uploading reports [2022-10-20T18:35:09.732Z] url: https://codecov.io [2022-10-20T18:35:09.732Z] query: branch=PR-180&commit=c44d1cb6a65eeec37ec58c02a279d2b878b9a28f&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-10-20T18:35:09.732Z] -> Pinging Codecov [2022-10-20T18:35:09.732Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-180&commit=c44d1cb6a65eeec37ec58c02a279d2b878b9a28f&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-10-20T18:35:10.300Z] -> Uploading to [2022-10-20T18:35:10.300Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-20/F29A59C45E3A92E06B3E522C9905F8EF/c44d1cb6a65eeec37ec58c02a279d2b878b9a28f/f7e266bb-40c1-44d8-9635-07c4c0627124.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221020%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221020T183509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ce5cbcf2cdb4ae7f82ce3329fcd29bb98b3b0d60c1b80f3f5da65d7547c26b72 [2022-10-20T18:35:10.300Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-20T18:35:10.300Z] Dload Upload Total Spent Left Speed [2022-10-20T18:35:10.300Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10825 0 0 100 10825 0 44364 --:--:-- --:--:-- --:--:-- 44364 [2022-10-20T18:35:10.300Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [Pipeline] } [2022-10-20T18:35:10.307Z] 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-20T18:35:11.001Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] [2022-10-20T18:35:11.001Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-20T18:35:11.001Z] total 16 [2022-10-20T18:35:11.001Z] drwxr-xr-x 3 root root 4096 Oct 20 18:26 . [2022-10-20T18:35:11.001Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 18:26 .. [2022-10-20T18:35:11.001Z] drwxr-xr-x 2 root root 4096 Oct 20 18:26 cost [2022-10-20T18:35:11.001Z] -rw-r--r-- 1 root root 91 Oct 20 18:26 cost.csv [2022-10-20T18:35:11.001Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-20T18:35:11.001Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-20T18:35:11.001Z] total 16 [2022-10-20T18:35:11.001Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 18:26 . [2022-10-20T18:35:11.002Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 18:26 .. [2022-10-20T18:35:11.002Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 20 18:26 cost [2022-10-20T18:35:11.002Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 20 18:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-20T18:35:11.290Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T18:35:12.148Z] ---> package-listing.sh [2022-10-20T18:35:12.148Z] ++ facter osfamily [2022-10-20T18:35:12.148Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-20T18:35:12.407Z] + OS_FAMILY=debian [2022-10-20T18:35:12.407Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-180 [2022-10-20T18:35:12.407Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-20T18:35:12.407Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-20T18:35:12.407Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-20T18:35:12.407Z] + PACKAGES=/tmp/packages_start.txt [2022-10-20T18:35:12.407Z] + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' [2022-10-20T18:35:12.407Z] + PACKAGES=/tmp/packages_end.txt [2022-10-20T18:35:12.407Z] + case "${OS_FAMILY}" in [2022-10-20T18:35:12.407Z] + dpkg -l [2022-10-20T18:35:12.407Z] + grep '^ii' [2022-10-20T18:35:12.407Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-20T18:35:12.407Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-20T18:35:12.407Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-20T18:35:12.407Z] + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' [2022-10-20T18:35:12.407Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ [2022-10-20T18:35:12.407Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-180/archives/ [Pipeline] echo [2022-10-20T18:35:12.417Z] 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-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-20T18:35:12.694Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T18:35:13.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-20T18:35:13.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T18:35:13.321Z] prd-ubuntu20.04-docker-8c-8g-8707 does not seem to be running inside a container [2022-10-20T18:35:13.344Z] $ 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-180/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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-20T18:35:13.527Z] $ docker top 862cdd5784e4251a376e9ac47c9a6dc639622a167c73ee5abc7720767ab7f1d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T18:35:13.881Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-20T18:35:14.162Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-20T18:35:14.441Z] + ls /var/log/sa-host [2022-10-20T18:35:14.441Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-20T18:35:14.522Z] provisioning config files... [2022-10-20T18:35:14.531Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config15703637522374638344tmp [Pipeline] { [Pipeline] echo [2022-10-20T18:35:14.546Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T18:35:14.828Z] ---> create-netrc.sh [Pipeline] } [2022-10-20T18:35:14.835Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-20T18:35:15.163Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-20T18:35:15.170Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T18:35:15.455Z] ---> sudo-logs.sh [2022-10-20T18:35:15.455Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-20T18:35:15.477Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T18:35:15.761Z] ---> job-cost.sh [2022-10-20T18:35:15.761Z] lf-activate-venv: SKIPPING [2022-10-20T18:35:15.761Z] DEBUG: total: 0.2199999988079071 [2022-10-20T18:35:15.761Z] INFO: Retrieving Stack Cost... [2022-10-20T18:35:16.021Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-20T18:35:16.588Z] INFO: Archiving Costs [Pipeline] echo [2022-10-20T18:35:16.599Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T18:35:16.884Z] ---> logs-deploy.sh [2022-10-20T18:35:16.884Z] lf-activate-venv: SKIPPING [2022-10-20T18:35:16.884Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/6 [2022-10-20T18:35:16.884Z] INFO: archiving workspace using pattern(s): [2022-10-20T18:35:17.822Z] Archives upload complete. [2022-10-20T18:35:17.822Z] INFO: archiving logs to Nexus