Pull request #170 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e1feb3937a6e6359c6e26d7c1c597fb25a5118ca+2a5a153b38960530813a839b4b25ddc04c5f9660 (49032555119708805d50d92ed3d8087e72e7697f) 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-ssh11075376362343926951.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh516405623762242550.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-170/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-170/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2393377037118392495.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh13510682741947718485.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-170/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-170/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1623746761041332901.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6813 in /w/workspace/undry_device-onvif-camera_PR-170 [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-170 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2a5a153b38960530813a839b4b25ddc04c5f9660 into PR head commit e1feb3937a6e6359c6e26d7c1c597fb25a5118ca Merge succeeded, producing e1feb3937a6e6359c6e26d7c1c597fb25a5118ca Checking out Revision e1feb3937a6e6359c6e26d7c1c597fb25a5118ca (PR-170) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T03:38:45.446Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T03:38:45.504Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T03:38:45.523Z] ========================================================= [2022-10-03T03:38:45.523Z] EdgeX Global Pipelines Version Info [2022-10-03T03:38:45.523Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f e1feb3937a6e6359c6e26d7c1c597fb25a5118ca # 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 2a5a153b38960530813a839b4b25ddc04c5f9660 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1feb3937a6e6359c6e26d7c1c597fb25a5118ca # timeout=10 > git rev-list --no-walk 9dcda7d31bec0f3c8322bb2a09cb5e6ae60d6a46 # timeout=10 [2022-10-03T03:38:46.255Z] ------------------- [2022-10-03T03:38:46.255Z] stable info: [2022-10-03T03:38:46.255Z] ------------------- [2022-10-03T03:38:46.255Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T03:38:46.256Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T03:38:46.256Z] Message: update stable to v1.0.239 [2022-10-03T03:38:46.825Z] ------------------- [2022-10-03T03:38:46.825Z] experimental info: [2022-10-03T03:38:46.825Z] ------------------- [2022-10-03T03:38:46.825Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T03:38:46.825Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T03:38:46.825Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T03:38:46.975Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-03T03:38:46.985Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-03T03:38:46.993Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T03:38:47.002Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T03:38:47.011Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T03:38:47.019Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T03:38:47.028Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T03:38:47.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T03:38:47.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T03:38:47.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T03:38:47.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T03:38:47.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-03T03:38:47.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T03:38:47.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T03:38:47.095Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T03:38:47.103Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T03:38:47.118Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T03:38:47.128Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T03:38:47.136Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T03:38:47.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T03:38:47.152Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-03T03:38:47.160Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-03T03:38:47.168Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T03:38:47.177Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T03:38:47.189Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T03:38:47.205Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T03:38:47.216Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T03:38:47.230Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-170 [Pipeline] echo [2022-10-03T03:38:47.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-170 [Pipeline] echo [2022-10-03T03:38:47.255Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-170 [Pipeline] echo [2022-10-03T03:38:47.268Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e1feb3937a6e6359c6e26d7c1c597fb25a5118ca [Pipeline] echo [2022-10-03T03:38:47.281Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e1feb39 [Pipeline] echo [2022-10-03T03:38:47.299Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T03:38:47.349Z] provisioning config files... [2022-10-03T03:38:47.362Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-170@tmp/config6673421875742123207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:38:47.662Z] ---> docker-login.sh [2022-10-03T03:38:47.662Z] nexus3.edgexfoundry.org:10001 [2022-10-03T03:38:47.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:38:47.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:38:47.922Z] Configure a credential helper to remove this warning. See [2022-10-03T03:38:47.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:38:47.922Z] [2022-10-03T03:38:47.922Z] Login Succeeded [2022-10-03T03:38:47.922Z] nexus3.edgexfoundry.org:10002 [2022-10-03T03:38:47.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:38:48.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:38:48.181Z] Configure a credential helper to remove this warning. See [2022-10-03T03:38:48.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:38:48.181Z] [2022-10-03T03:38:48.181Z] Login Succeeded [2022-10-03T03:38:48.181Z] nexus3.edgexfoundry.org:10003 [2022-10-03T03:38:48.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:38:48.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:38:48.181Z] Configure a credential helper to remove this warning. See [2022-10-03T03:38:48.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:38:48.181Z] [2022-10-03T03:38:48.181Z] Login Succeeded [2022-10-03T03:38:48.181Z] nexus3.edgexfoundry.org:10004 [2022-10-03T03:38:48.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:38:48.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:38:48.440Z] Configure a credential helper to remove this warning. See [2022-10-03T03:38:48.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:38:48.440Z] [2022-10-03T03:38:48.440Z] Login Succeeded [2022-10-03T03:38:48.440Z] docker.io [2022-10-03T03:38:48.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:38:48.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:38:48.701Z] Configure a credential helper to remove this warning. See [2022-10-03T03:38:48.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:38:48.701Z] [2022-10-03T03:38:48.701Z] Login Succeeded [2022-10-03T03:38:48.701Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T03:38:48.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T03:38:49.050Z] + git rev-list -1 --merges e1feb3937a6e6359c6e26d7c1c597fb25a5118ca~1..e1feb3937a6e6359c6e26d7c1c597fb25a5118ca [Pipeline] echo [2022-10-03T03:38:49.121Z] -----------> git rev-list -1 --merges e1feb3937a6e6359c6e26d7c1c597fb25a5118ca~1..e1feb3937a6e6359c6e26d7c1c597fb25a5118ca e1feb3937a6e6359c6e26d7c1c597fb25a5118ca [false] [Pipeline] sh [2022-10-03T03:38:49.408Z] + git log --format=format:%s -1 e1feb3937a6e6359c6e26d7c1c597fb25a5118ca [Pipeline] echo [2022-10-03T03:38:49.422Z] ========================================================= [2022-10-03T03:38:49.422Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T03:38:49.422Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T03:38:49.733Z] + git log --format=format:%s -1 e1feb3937a6e6359c6e26d7c1c597fb25a5118ca [Pipeline] echo [2022-10-03T03:38:49.745Z] [semverPrep] GIT_COMMIT: e1feb3937a6e6359c6e26d7c1c597fb25a5118ca, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-10-03T03:38:49.754Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T03:38:50.104Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T03:38:50.104Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T03:38:50.104Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T03:38:50.104Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T03:38:50.104Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T03:38:50.104Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T03:38:50.104Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:38:50.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T03:38:50.455Z] [2022-10-03T03:38:50.455Z] 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-03T03:38:50.760Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T03:38:50.760Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T03:38:50.760Z] b85a868b505f: Pulling fs layer [2022-10-03T03:38:50.760Z] e2be974225ed: Pulling fs layer [2022-10-03T03:38:50.760Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T03:38:50.760Z] 988bab9f4d93: Pulling fs layer [2022-10-03T03:38:50.760Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T03:38:50.760Z] eaf3925da568: Pulling fs layer [2022-10-03T03:38:50.760Z] bab4dde63d76: Pulling fs layer [2022-10-03T03:38:50.760Z] bde34c3a00c8: Pulling fs layer [2022-10-03T03:38:50.760Z] b352a97aabf1: Pulling fs layer [2022-10-03T03:38:50.760Z] 4872d77fe225: Pulling fs layer [2022-10-03T03:38:50.760Z] 5851b861e8e6: Pulling fs layer [2022-10-03T03:38:50.760Z] bab4dde63d76: Waiting [2022-10-03T03:38:50.760Z] 1469e6f7b9e6: Waiting [2022-10-03T03:38:50.760Z] bde34c3a00c8: Waiting [2022-10-03T03:38:50.760Z] eaf3925da568: Waiting [2022-10-03T03:38:50.760Z] 988bab9f4d93: Waiting [2022-10-03T03:38:50.760Z] 5851b861e8e6: Waiting [2022-10-03T03:38:50.760Z] 4872d77fe225: Waiting [2022-10-03T03:38:50.760Z] e2be974225ed: Verifying Checksum [2022-10-03T03:38:50.760Z] e2be974225ed: Download complete [2022-10-03T03:38:50.760Z] 988bab9f4d93: Download complete [2022-10-03T03:38:51.019Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T03:38:51.019Z] 1469e6f7b9e6: Download complete [2022-10-03T03:38:51.019Z] eaf3925da568: Verifying Checksum [2022-10-03T03:38:51.019Z] eaf3925da568: Download complete [2022-10-03T03:38:51.019Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T03:38:51.019Z] 339a4e72a1f5: Download complete [2022-10-03T03:38:51.019Z] bde34c3a00c8: Download complete [2022-10-03T03:38:51.019Z] b352a97aabf1: Download complete [2022-10-03T03:38:51.019Z] 4872d77fe225: Verifying Checksum [2022-10-03T03:38:51.019Z] 4872d77fe225: Download complete [2022-10-03T03:38:51.019Z] b85a868b505f: Verifying Checksum [2022-10-03T03:38:51.019Z] b85a868b505f: Download complete [2022-10-03T03:38:51.279Z] bab4dde63d76: Verifying Checksum [2022-10-03T03:38:51.279Z] bab4dde63d76: Download complete [2022-10-03T03:38:52.214Z] b85a868b505f: Pull complete [2022-10-03T03:38:52.476Z] e2be974225ed: Pull complete [2022-10-03T03:38:53.048Z] 339a4e72a1f5: Pull complete [2022-10-03T03:38:53.048Z] 988bab9f4d93: Pull complete [2022-10-03T03:38:53.307Z] 1469e6f7b9e6: Pull complete [2022-10-03T03:38:53.307Z] eaf3925da568: Pull complete [2022-10-03T03:38:55.209Z] bab4dde63d76: Pull complete [2022-10-03T03:38:55.209Z] bde34c3a00c8: Pull complete [2022-10-03T03:38:55.209Z] b352a97aabf1: Pull complete [2022-10-03T03:38:55.467Z] 4872d77fe225: Pull complete [2022-10-03T03:38:55.468Z] 5851b861e8e6: Pull complete [2022-10-03T03:38:55.468Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T03:38:55.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T03:38:55.468Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:38:55.554Z] prd-ubuntu20.04-docker-8c-8g-6813 does not seem to be running inside a container [2022-10-03T03:38:55.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-170 -v /w/workspace/undry_device-onvif-camera_PR-170:/w/workspace/undry_device-onvif-camera_PR-170:rw,z -v /w/workspace/undry_device-onvif-camera_PR-170@tmp:/w/workspace/undry_device-onvif-camera_PR-170@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-03T03:38:58.050Z] $ docker top a2f97ea33f200278700ec6f6aa9efaa0ee37220705a603d10562146b767e45c5 -eo pid,comm [2022-10-03T03:38:58.107Z] 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-03T03:38:58.107Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T03:38:58.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T03:38:58.143Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T03:38:58.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T03:38:58.273Z] $ docker exec a2f97ea33f200278700ec6f6aa9efaa0ee37220705a603d10562146b767e45c5 ssh-agent [2022-10-03T03:38:58.377Z] SSH_AUTH_SOCK=/tmp/ssh-gXPpTYh7Rt10/agent.31 [2022-10-03T03:38:58.377Z] SSH_AGENT_PID=37 [2022-10-03T03:38:58.383Z] Running ssh-add (command line suppressed) [2022-10-03T03:38:58.484Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-170@tmp/private_key_4257508066634950219.key (/w/workspace/undry_device-onvif-camera_PR-170@tmp/private_key_4257508066634950219.key) [2022-10-03T03:38:58.499Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T03:38:58.790Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T03:38:58.801Z] $ docker exec --env ******** --env ******** a2f97ea33f200278700ec6f6aa9efaa0ee37220705a603d10562146b767e45c5 ssh-agent -k [2022-10-03T03:38:58.902Z] unset SSH_AUTH_SOCK; [2022-10-03T03:38:58.902Z] unset SSH_AGENT_PID; [2022-10-03T03:38:58.903Z] echo Agent pid 37 killed; [2022-10-03T03:38:58.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T03:38:58.940Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T03:38:58.940Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T03:38:59.050Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T03:38:59.053Z] $ docker exec a2f97ea33f200278700ec6f6aa9efaa0ee37220705a603d10562146b767e45c5 ssh-agent [2022-10-03T03:38:59.156Z] SSH_AUTH_SOCK=/tmp/ssh-6Em9hMdITwML/agent.69 [2022-10-03T03:38:59.156Z] SSH_AGENT_PID=75 [2022-10-03T03:38:59.160Z] Running ssh-add (command line suppressed) [2022-10-03T03:38:59.258Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-170@tmp/private_key_2746670280852672031.key (/w/workspace/undry_device-onvif-camera_PR-170@tmp/private_key_2746670280852672031.key) [2022-10-03T03:38:59.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T03:38:59.563Z] + git semver init [2022-10-03T03:38:59.822Z] 2022-10-03 03:38:59,755 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T03:38:59.822Z] 2022-10-03 03:38:59,756 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-170/.semver [2022-10-03T03:38:59.822Z] 2022-10-03 03:38:59,756 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-170/.semver [2022-10-03T03:38:59.822Z] 2022-10-03 03:38:59,756 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-170/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-170, universal_newlines=False, shell=None, istream=None) [2022-10-03T03:39:01.203Z] 2022-10-03 03:39:00,774 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-170/.git/info/exclude [2022-10-03T03:39:01.203Z] 2022-10-03 03:39:00,774 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-170/.semver/PR-170 with force:False [2022-10-03T03:39:01.203Z] 2022-10-03 03:39:00,775 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-170/.semver/PR-170 [2022-10-03T03:39:01.203Z] 2022-10-03 03:39:00,779 [execute] INFO git cat-file --batch-check [2022-10-03T03:39:01.203Z] 2022-10-03 03:39:00,780 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-170/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T03:39:01.203Z] 2022-10-03 03:39:00,785 [execute] INFO git cat-file --batch [2022-10-03T03:39:01.203Z] 2022-10-03 03:39:00,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-170/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T03:39:01.203Z] 2022-10-03 03:39:00,790 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-170/.semver/PR-170 [2022-10-03T03:39:01.203Z] 0.0.0 [Pipeline] } [2022-10-03T03:39:01.213Z] $ docker exec --env ******** --env ******** a2f97ea33f200278700ec6f6aa9efaa0ee37220705a603d10562146b767e45c5 ssh-agent -k [2022-10-03T03:39:01.312Z] unset SSH_AUTH_SOCK; [2022-10-03T03:39:01.313Z] unset SSH_AGENT_PID; [2022-10-03T03:39:01.314Z] echo Agent pid 75 killed; [2022-10-03T03:39:01.325Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T03:39:01.631Z] + git semver [Pipeline] } [2022-10-03T03:39:01.904Z] $ docker stop --time=1 a2f97ea33f200278700ec6f6aa9efaa0ee37220705a603d10562146b767e45c5 [2022-10-03T03:39:03.245Z] $ docker rm -f a2f97ea33f200278700ec6f6aa9efaa0ee37220705a603d10562146b767e45c5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T03:39:03.586Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T03:39:03.764Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T03:39:03.767Z] [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-03T03:39:03.880Z] provisioning config files... [2022-10-03T03:39:03.889Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-170@tmp/config17546106469941841018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:39:04.187Z] ---> docker-login.sh [2022-10-03T03:39:04.187Z] nexus3.edgexfoundry.org:10001 [2022-10-03T03:39:04.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:39:04.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:39:04.187Z] Configure a credential helper to remove this warning. See [2022-10-03T03:39:04.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:39:04.187Z] [2022-10-03T03:39:04.187Z] Login Succeeded [2022-10-03T03:39:04.187Z] nexus3.edgexfoundry.org:10002 [2022-10-03T03:39:04.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:39:04.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:39:04.187Z] Configure a credential helper to remove this warning. See [2022-10-03T03:39:04.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:39:04.187Z] [2022-10-03T03:39:04.187Z] Login Succeeded [2022-10-03T03:39:04.187Z] nexus3.edgexfoundry.org:10003 [2022-10-03T03:39:04.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:39:04.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:39:04.446Z] Configure a credential helper to remove this warning. See [2022-10-03T03:39:04.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:39:04.446Z] [2022-10-03T03:39:04.446Z] Login Succeeded [2022-10-03T03:39:04.446Z] nexus3.edgexfoundry.org:10004 [2022-10-03T03:39:04.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:39:04.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:39:04.446Z] Configure a credential helper to remove this warning. See [2022-10-03T03:39:04.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:39:04.446Z] [2022-10-03T03:39:04.446Z] Login Succeeded [2022-10-03T03:39:04.446Z] docker.io [2022-10-03T03:39:04.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:39:04.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:39:04.966Z] Configure a credential helper to remove this warning. See [2022-10-03T03:39:04.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:39:04.966Z] [2022-10-03T03:39:04.966Z] Login Succeeded [2022-10-03T03:39:04.966Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T03:39:04.974Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T03:39:05.033Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:39:05.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:39:05.053Z] ========================================================= [2022-10-03T03:39:05.053Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T03:39:05.053Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:39:05.361Z] + 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-03T03:39:05.361Z] Sending build context to Docker daemon 20.77MB [2022-10-03T03:39:05.361Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:39:05.361Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-03T03:39:05.622Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T03:39:05.622Z] 2408cc74d12b: Pulling fs layer [2022-10-03T03:39:05.622Z] ea60b727a1ce: Pulling fs layer [2022-10-03T03:39:05.622Z] 30c4a7721957: Pulling fs layer [2022-10-03T03:39:05.622Z] 370296b7ddb6: Pulling fs layer [2022-10-03T03:39:05.622Z] 7c6cee850709: Pulling fs layer [2022-10-03T03:39:05.622Z] aa9baa53a306: Pulling fs layer [2022-10-03T03:39:05.622Z] 8b309c321861: Pulling fs layer [2022-10-03T03:39:05.622Z] d8d76fd02f46: Pulling fs layer [2022-10-03T03:39:05.622Z] fa31f396de31: Pulling fs layer [2022-10-03T03:39:05.622Z] 8b309c321861: Waiting [2022-10-03T03:39:05.622Z] d8d76fd02f46: Waiting [2022-10-03T03:39:05.622Z] fa31f396de31: Waiting [2022-10-03T03:39:05.622Z] 370296b7ddb6: Waiting [2022-10-03T03:39:05.622Z] 7c6cee850709: Waiting [2022-10-03T03:39:05.622Z] aa9baa53a306: Waiting [2022-10-03T03:39:05.622Z] 30c4a7721957: Verifying Checksum [2022-10-03T03:39:05.622Z] ea60b727a1ce: Download complete [2022-10-03T03:39:05.622Z] 7c6cee850709: Download complete [2022-10-03T03:39:05.622Z] aa9baa53a306: Verifying Checksum [2022-10-03T03:39:05.622Z] aa9baa53a306: Download complete [2022-10-03T03:39:05.622Z] 2408cc74d12b: Verifying Checksum [2022-10-03T03:39:05.622Z] 2408cc74d12b: Download complete [2022-10-03T03:39:05.622Z] 8b309c321861: Download complete [2022-10-03T03:39:05.622Z] 2408cc74d12b: Pull complete [2022-10-03T03:39:05.890Z] ea60b727a1ce: Pull complete [2022-10-03T03:39:05.890Z] 30c4a7721957: Pull complete [2022-10-03T03:39:06.151Z] d8d76fd02f46: Verifying Checksum [2022-10-03T03:39:06.151Z] d8d76fd02f46: Download complete [2022-10-03T03:39:06.409Z] fa31f396de31: Verifying Checksum [2022-10-03T03:39:06.409Z] fa31f396de31: Download complete [2022-10-03T03:39:06.409Z] 370296b7ddb6: Verifying Checksum [2022-10-03T03:39:06.409Z] 370296b7ddb6: Download complete [2022-10-03T03:39:10.591Z] 370296b7ddb6: Pull complete [2022-10-03T03:39:10.591Z] 7c6cee850709: Pull complete [2022-10-03T03:39:10.591Z] aa9baa53a306: Pull complete [2022-10-03T03:39:10.591Z] 8b309c321861: Pull complete [2022-10-03T03:39:12.501Z] d8d76fd02f46: Pull complete [2022-10-03T03:39:13.077Z] fa31f396de31: Pull complete [2022-10-03T03:39:13.078Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T03:39:13.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T03:39:13.078Z] ---> cef68f9685f8 [2022-10-03T03:39:13.078Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:39:17.275Z] ---> Running in 62c9e1fcc368 [2022-10-03T03:39:17.275Z] Removing intermediate container 62c9e1fcc368 [2022-10-03T03:39:17.275Z] ---> 1c6d769b5f96 [2022-10-03T03:39:17.275Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:39:17.275Z] ---> Running in d6cba0f4409f [2022-10-03T03:39:17.275Z] Removing intermediate container d6cba0f4409f [2022-10-03T03:39:17.275Z] ---> bd00b6f60122 [2022-10-03T03:39:17.275Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:39:17.275Z] ---> Running in 82288c90c0ba [2022-10-03T03:39:17.275Z] Removing intermediate container 82288c90c0ba [2022-10-03T03:39:17.275Z] ---> c324f844d740 [2022-10-03T03:39:17.275Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:39:17.275Z] ---> Running in a534afac47c8 [2022-10-03T03:39:17.275Z] Removing intermediate container a534afac47c8 [2022-10-03T03:39:17.275Z] ---> 718b5f605717 [2022-10-03T03:39:17.275Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:39:17.275Z] ---> Running in 7fa705a4f4fa [2022-10-03T03:39:17.275Z] Removing intermediate container 7fa705a4f4fa [2022-10-03T03:39:17.275Z] ---> 75c8fd8148dc [2022-10-03T03:39:17.275Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:39:17.275Z] ---> Running in edb620225196 [2022-10-03T03:39:17.845Z] Removing intermediate container edb620225196 [2022-10-03T03:39:17.845Z] ---> 56bfaaa8173f [2022-10-03T03:39:17.845Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:39:17.845Z] ---> Running in 397ad1d48a81 [2022-10-03T03:39:18.104Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T03:39:18.853Z] Still waiting to schedule task [2022-10-03T03:39:18.853Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6809’ [2022-10-03T03:39:19.040Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T03:39:19.303Z] OK: 211 MiB in 51 packages [2022-10-03T03:39:19.561Z] Removing intermediate container 397ad1d48a81 [2022-10-03T03:39:19.561Z] ---> 3075f0da5bde [2022-10-03T03:39:19.561Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-03T03:39:19.561Z] ---> Running in afc699c1f2af [2022-10-03T03:39:19.561Z] Removing intermediate container afc699c1f2af [2022-10-03T03:39:19.561Z] ---> 2037e90805aa [2022-10-03T03:39:19.561Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-03T03:39:19.820Z] ---> 38ebbc9846e2 [2022-10-03T03:39:19.820Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:39:19.820Z] ---> Running in 58db080fa115 [2022-10-03T03:39:38.013Z] Removing intermediate container 58db080fa115 [2022-10-03T03:39:38.013Z] ---> ff9ecc87e23d [2022-10-03T03:39:38.013Z] Step 13/14 : COPY . . [2022-10-03T03:39:38.271Z] ---> 904f224cde9f [2022-10-03T03:39:38.271Z] Step 14/14 : RUN ${MAKE} [2022-10-03T03:39:38.271Z] ---> Running in 05c8318cf64e [2022-10-03T03:39:38.529Z] noop [2022-10-03T03:39:38.789Z] Removing intermediate container 05c8318cf64e [2022-10-03T03:39:38.789Z] ---> f696dec96e61 [2022-10-03T03:39:38.789Z] Successfully built f696dec96e61 [2022-10-03T03:39:38.789Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:39:39.094Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T03:39:39.094Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:39:39.218Z] prd-ubuntu20.04-docker-8c-8g-6813 does not seem to be running inside a container [2022-10-03T03:39:39.247Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-170 -v /w/workspace/undry_device-onvif-camera_PR-170:/w/workspace/undry_device-onvif-camera_PR-170:rw,z -v /w/workspace/undry_device-onvif-camera_PR-170@tmp:/w/workspace/undry_device-onvif-camera_PR-170@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 ******** ci-base-image-x86_64 cat [2022-10-03T03:39:39.877Z] $ docker top 92d982b51f8415afe5e5db921c898d67163c2348521c0617d3420ff9ad400f25 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:39:40.214Z] + go version [2022-10-03T03:39:40.214Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T03:39:40.227Z] $ docker stop --time=1 92d982b51f8415afe5e5db921c898d67163c2348521c0617d3420ff9ad400f25 [2022-10-03T03:39:41.535Z] $ docker rm -f 92d982b51f8415afe5e5db921c898d67163c2348521c0617d3420ff9ad400f25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:39:41.943Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T03:39:41.943Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:39:42.006Z] prd-ubuntu20.04-docker-8c-8g-6813 does not seem to be running inside a container [2022-10-03T03:39:42.034Z] $ 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-170 -v /w/workspace/undry_device-onvif-camera_PR-170:/w/workspace/undry_device-onvif-camera_PR-170:rw,z -v /w/workspace/undry_device-onvif-camera_PR-170@tmp:/w/workspace/undry_device-onvif-camera_PR-170@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 ******** ci-base-image-x86_64 cat [2022-10-03T03:39:42.344Z] $ docker top 66a37fdbba076d9348815f4fa8675c90fbb398548fc3924095e90f9ae01acc7b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:39:42.691Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-170 [Pipeline] fileExists [Pipeline] sh [2022-10-03T03:39:42.985Z] + make test [2022-10-03T03:39:42.985Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T03:39:43.243Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-03T03:39:53.212Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-03T03:39:54.582Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.038s coverage: 28.2% of statements [2022-10-03T03:39:54.582Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-03T03:39:54.582Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.280s coverage: 86.5% of statements [2022-10-03T03:40:02.688Z] 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-03T03:40:02.688Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T03:40:05.216Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T03:40:05.216Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T03:40:05.216Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T03:40:05.228Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T03:40:05.240Z] $ docker stop --time=1 66a37fdbba076d9348815f4fa8675c90fbb398548fc3924095e90f9ae01acc7b [2022-10-03T03:40:07.806Z] $ docker rm -f 66a37fdbba076d9348815f4fa8675c90fbb398548fc3924095e90f9ae01acc7b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T03:40:08.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T03:40:08.374Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T03:40:08.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T03:40:09.157Z] + ls -al . [2022-10-03T03:40:09.157Z] total 236 [2022-10-03T03:40:09.157Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 03:39 . [2022-10-03T03:40:09.157Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:38 .. [2022-10-03T03:40:09.157Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:39 .git [2022-10-03T03:40:09.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:38 .github [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 03:38 .gitignore [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 03:38 .golangci.yml [2022-10-03T03:40:09.157Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:39 .semver [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 03:38 Attribution.txt [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 03:38 CHANGELOG.md [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 03:38 Dockerfile [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 03:38 GOVERNANCE.md [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 03:38 Jenkinsfile [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 03:38 LICENSE [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 03:38 Makefile [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 03:38 OWNERS.md [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 03:38 README.md [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 03:39 VERSION [2022-10-03T03:40:09.157Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:38 bin [2022-10-03T03:40:09.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:38 cmd [2022-10-03T03:40:09.157Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 03:39 coverage.out [2022-10-03T03:40:09.157Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 03:38 doc [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 03:38 go.mod [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 03:38 go.sum [2022-10-03T03:40:09.157Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:38 internal [2022-10-03T03:40:09.157Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:38 snap [2022-10-03T03:40:09.157Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 03:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:40:09.458Z] + 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=e1feb3937a6e6359c6e26d7c1c597fb25a5118ca --label arch=amd64 --label version=0.0.0 . [2022-10-03T03:40:09.458Z] Sending build context to Docker daemon 20.85MB [2022-10-03T03:40:09.458Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:40:09.458Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-03T03:40:09.458Z] ---> f696dec96e61 [2022-10-03T03:40:09.458Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:40:09.718Z] ---> Running in 353ecea2f177 [2022-10-03T03:40:09.995Z] Removing intermediate container 353ecea2f177 [2022-10-03T03:40:09.995Z] ---> 60b19330363b [2022-10-03T03:40:09.995Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:40:10.254Z] ---> Running in b242e8375d66 [2022-10-03T03:40:10.254Z] Removing intermediate container b242e8375d66 [2022-10-03T03:40:10.254Z] ---> 44b9ca9613b8 [2022-10-03T03:40:10.254Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:40:10.254Z] ---> Running in 53fecd469579 [2022-10-03T03:40:10.512Z] Removing intermediate container 53fecd469579 [2022-10-03T03:40:10.512Z] ---> 833ccda9a609 [2022-10-03T03:40:10.512Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:40:10.512Z] ---> Running in e95304f578f3 [2022-10-03T03:40:10.512Z] Removing intermediate container e95304f578f3 [2022-10-03T03:40:10.512Z] ---> 28ae759d27c1 [2022-10-03T03:40:10.512Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:40:10.512Z] ---> Running in 2dd453a19fd3 [2022-10-03T03:40:10.512Z] Removing intermediate container 2dd453a19fd3 [2022-10-03T03:40:10.512Z] ---> 45eb262c57b6 [2022-10-03T03:40:10.512Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:40:10.512Z] ---> Running in 184ea6115f08 [2022-10-03T03:40:11.082Z] Removing intermediate container 184ea6115f08 [2022-10-03T03:40:11.082Z] ---> 93e73d814bd4 [2022-10-03T03:40:11.082Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:40:11.082Z] ---> Running in 2d7737d01161 [2022-10-03T03:40:11.341Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T03:40:12.281Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T03:40:12.542Z] OK: 211 MiB in 51 packages [2022-10-03T03:40:13.111Z] Removing intermediate container 2d7737d01161 [2022-10-03T03:40:13.111Z] ---> ce33bf749d23 [2022-10-03T03:40:13.111Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-03T03:40:13.111Z] ---> Running in f87330acfda4 [2022-10-03T03:40:13.111Z] Removing intermediate container f87330acfda4 [2022-10-03T03:40:13.111Z] ---> ecb7a4536a89 [2022-10-03T03:40:13.111Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-03T03:40:13.371Z] ---> c0b00631e178 [2022-10-03T03:40:13.371Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:40:13.371Z] ---> Running in 8db61c805969 [2022-10-03T03:40:13.940Z] Removing intermediate container 8db61c805969 [2022-10-03T03:40:13.940Z] ---> 5260dec7f5da [2022-10-03T03:40:13.940Z] Step 13/27 : COPY . . [2022-10-03T03:40:14.877Z] ---> f36e56122cf4 [2022-10-03T03:40:14.877Z] Step 14/27 : RUN ${MAKE} [2022-10-03T03:40:14.877Z] ---> Running in ff41730cce20 [2022-10-03T03:40:15.137Z] 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-03T03:40:37.060Z] Removing intermediate container ff41730cce20 [2022-10-03T03:40:37.060Z] ---> 650e38292342 [2022-10-03T03:40:37.060Z] Step 15/27 : FROM alpine:3.16 [2022-10-03T03:40:37.060Z] 3.16: Pulling from library/alpine [2022-10-03T03:40:37.060Z] 213ec9aee27d: Pulling fs layer [2022-10-03T03:40:37.318Z] 213ec9aee27d: Verifying Checksum [2022-10-03T03:40:37.319Z] 213ec9aee27d: Download complete [2022-10-03T03:40:37.577Z] 213ec9aee27d: Pull complete [2022-10-03T03:40:37.577Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T03:40:37.577Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T03:40:37.577Z] ---> 9c6f07244728 [2022-10-03T03:40:37.577Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-03T03:40:37.577Z] ---> Running in 50ab1adc784e [2022-10-03T03:40:37.577Z] Removing intermediate container 50ab1adc784e [2022-10-03T03:40:37.577Z] ---> a09e5d97bf28 [2022-10-03T03:40:37.577Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T03:40:37.577Z] ---> Running in b56da2467665 [2022-10-03T03:40:37.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T03:40:38.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T03:40:38.358Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T03:40:38.358Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T03:40:38.358Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T03:40:38.358Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T03:40:38.358Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T03:40:38.358Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T03:40:38.358Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T03:40:38.358Z] OK: 8 MiB in 20 packages [2022-10-03T03:40:38.947Z] Removing intermediate container b56da2467665 [2022-10-03T03:40:38.948Z] ---> ea60d6b2a9ca [2022-10-03T03:40:38.948Z] Step 18/27 : WORKDIR / [2022-10-03T03:40:38.948Z] ---> Running in 1465824f0cf9 [2022-10-03T03:40:38.948Z] Removing intermediate container 1465824f0cf9 [2022-10-03T03:40:38.948Z] ---> 423eb6ad5524 [2022-10-03T03:40:38.948Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-03T03:40:39.912Z] ---> 853922255bcb [2022-10-03T03:40:39.912Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-03T03:40:39.912Z] ---> 9ae81dfa2e5f [2022-10-03T03:40:39.912Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-03T03:40:39.912Z] ---> bf2a0d03d275 [2022-10-03T03:40:39.912Z] Step 22/27 : EXPOSE 59984 [2022-10-03T03:40:39.912Z] ---> Running in f68c7772d17d [2022-10-03T03:40:39.912Z] Removing intermediate container f68c7772d17d [2022-10-03T03:40:39.912Z] ---> 8cfe12a644dd [2022-10-03T03:40:39.912Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-03T03:40:39.912Z] ---> Running in fdc6aafe3e88 [2022-10-03T03:40:40.173Z] Removing intermediate container fdc6aafe3e88 [2022-10-03T03:40:40.173Z] ---> 4095e6dd2aff [2022-10-03T03:40:40.173Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T03:40:40.173Z] ---> Running in 1c0efbd1ed2d [2022-10-03T03:40:40.173Z] Removing intermediate container 1c0efbd1ed2d [2022-10-03T03:40:40.173Z] ---> 6e2cd28b8cc7 [2022-10-03T03:40:40.173Z] Step 25/27 : LABEL arch=amd64 [2022-10-03T03:40:40.173Z] ---> Running in 20ccf5e0238a [2022-10-03T03:40:40.434Z] Removing intermediate container 20ccf5e0238a [2022-10-03T03:40:40.434Z] ---> d7986264f934 [2022-10-03T03:40:40.434Z] Step 26/27 : LABEL git_sha=e1feb3937a6e6359c6e26d7c1c597fb25a5118ca [2022-10-03T03:40:40.434Z] ---> Running in b86c07597475 [2022-10-03T03:40:40.434Z] Removing intermediate container b86c07597475 [2022-10-03T03:40:40.434Z] ---> b7a717e870fb [2022-10-03T03:40:40.434Z] Step 27/27 : LABEL version=0.0.0 [2022-10-03T03:40:40.434Z] ---> Running in 4f0e7747bfef [2022-10-03T03:40:40.434Z] Removing intermediate container 4f0e7747bfef [2022-10-03T03:40:40.434Z] ---> d00786886ae2 [2022-10-03T03:40:40.434Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T03:40:40.434Z] Successfully built d00786886ae2 [2022-10-03T03:40:40.693Z] 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-03T03:40:41.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:40:41.083Z] [2022-10-03T03:40:41.083Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:40:41.385Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:40:41.385Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T03:40:41.385Z] 5eb5b503b376: Pulling fs layer [2022-10-03T03:40:41.385Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T03:40:41.385Z] ec43610c2a17: Pulling fs layer [2022-10-03T03:40:41.385Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T03:40:41.385Z] 33b1e0a273af: Pulling fs layer [2022-10-03T03:40:41.385Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T03:40:41.385Z] 2f39f015ded8: Pulling fs layer [2022-10-03T03:40:41.385Z] 33b1e0a273af: Waiting [2022-10-03T03:40:41.385Z] 3a2ae6a8a46f: Waiting [2022-10-03T03:40:41.385Z] 2f39f015ded8: Waiting [2022-10-03T03:40:41.385Z] 5c69ac0246d0: Download complete [2022-10-03T03:40:41.385Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-03T03:40:41.385Z] 3a2ae6a8a46f: Download complete [2022-10-03T03:40:41.385Z] 33b1e0a273af: Verifying Checksum [2022-10-03T03:40:41.385Z] 33b1e0a273af: Download complete [2022-10-03T03:40:41.385Z] 5d3b04190fa2: Verifying Checksum [2022-10-03T03:40:41.385Z] 5d3b04190fa2: Download complete [2022-10-03T03:40:41.385Z] ec43610c2a17: Verifying Checksum [2022-10-03T03:40:41.385Z] ec43610c2a17: Download complete [2022-10-03T03:40:41.647Z] 5eb5b503b376: Verifying Checksum [2022-10-03T03:40:41.647Z] 5eb5b503b376: Download complete [2022-10-03T03:40:42.215Z] 2f39f015ded8: Download complete [2022-10-03T03:40:42.783Z] 5eb5b503b376: Pull complete [2022-10-03T03:40:42.783Z] 5c69ac0246d0: Pull complete [2022-10-03T03:40:43.350Z] ec43610c2a17: Pull complete [2022-10-03T03:40:43.350Z] 3a2ae6a8a46f: Pull complete [2022-10-03T03:40:43.609Z] 33b1e0a273af: Pull complete [2022-10-03T03:40:43.609Z] 5d3b04190fa2: Pull complete [2022-10-03T03:40:48.867Z] 2f39f015ded8: Pull complete [2022-10-03T03:40:48.867Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T03:40:48.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:40:48.867Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:40:48.939Z] prd-ubuntu20.04-docker-8c-8g-6813 does not seem to be running inside a container [2022-10-03T03:40:48.968Z] $ 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-170 -v /w/workspace/undry_device-onvif-camera_PR-170:/w/workspace/undry_device-onvif-camera_PR-170:rw,z -v /w/workspace/undry_device-onvif-camera_PR-170@tmp:/w/workspace/undry_device-onvif-camera_PR-170@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-lftools-log-publisher:latest cat [2022-10-03T03:40:52.020Z] $ docker top 833e881d84add20369074cc4313ddaa292cf76a7af1cad6b6d984702c611a23d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:40:52.380Z] ---> job-cost.sh [2022-10-03T03:40:52.380Z] lf-activate-venv: SKIPPING [2022-10-03T03:40:52.380Z] INFO: No Stack... [2022-10-03T03:40:52.638Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T03:40:52.897Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T03:40:53.183Z] + cat /w/workspace/undry_device-onvif-camera_PR-170/archives/cost.csv [2022-10-03T03:40:53.183Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T03:40:53.195Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-170-3-stack-cost] [2022-10-03T03:40:53.203Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-170-3-stack-cost] did not exist. Created. [2022-10-03T03:40:53.203Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-170-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T03:40:53.499Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T03:40:53.530Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T03:40:53.539Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-170-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T03:40:53.562Z] $ docker stop --time=1 833e881d84add20369074cc4313ddaa292cf76a7af1cad6b6d984702c611a23d [2022-10-03T03:40:54.722Z] $ docker rm -f 833e881d84add20369074cc4313ddaa292cf76a7af1cad6b6d984702c611a23d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T03:42:52.709Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6817 in /w/workspace/undry_device-onvif-camera_PR-170 [Pipeline] { [Pipeline] ws [2022-10-03T03:42:52.721Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-10-03T03:42:52.758Z] The recommended git tool is: git [2022-10-03T03:42:57.856Z] using credential edgex-jenkins-ssh [2022-10-03T03:42:57.877Z] Cloning the remote Git repository [2022-10-03T03:42:57.923Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-03T03:42:57.995Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-10-03T03:42:58.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-03T03:42:58.126Z] > git --version # timeout=10 [2022-10-03T03:42:58.150Z] > git --version # 'git version 2.25.1' [2022-10-03T03:42:58.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T03:42:58.203Z] Verifying host key using known hosts file [2022-10-03T03:42:58.391Z] 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-03T03:42:58.403Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T03:42:59.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-03T03:42:59.662Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T03:43:01.106Z] Merging remotes/origin/main commit 2a5a153b38960530813a839b4b25ddc04c5f9660 into PR head commit e1feb3937a6e6359c6e26d7c1c597fb25a5118ca [2022-10-03T03:43:01.476Z] Merge succeeded, producing e1feb3937a6e6359c6e26d7c1c597fb25a5118ca [2022-10-03T03:43:01.476Z] Checking out Revision e1feb3937a6e6359c6e26d7c1c597fb25a5118ca (PR-170) [2022-10-03T03:43:00.500Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-03T03:43:00.544Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-03T03:43:00.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T03:43:00.551Z] Verifying host key using known hosts file [2022-10-03T03:43:00.557Z] 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-03T03:43:00.569Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T03:43:01.129Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T03:43:01.145Z] > git checkout -f e1feb3937a6e6359c6e26d7c1c597fb25a5118ca # timeout=10 [2022-10-03T03:43:01.378Z] > git remote # timeout=10 [2022-10-03T03:43:01.398Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T03:43:01.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T03:43:01.420Z] Verifying host key using known hosts file [2022-10-03T03:43:01.424Z] 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-03T03:43:01.433Z] > git merge 2a5a153b38960530813a839b4b25ddc04c5f9660 # timeout=10 [2022-10-03T03:43:01.460Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T03:43:01.484Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T03:43:01.501Z] > git checkout -f e1feb3937a6e6359c6e26d7c1c597fb25a5118ca # timeout=10 [2022-10-03T03:43:02.292Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T03:43:03.278Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T03:43:03.278Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T03:43:03.278Z] Dload Upload Total Spent Left Speed [2022-10-03T03:43:03.278Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91985 0 --:--:-- --:--:-- --:--:-- 91985 [Pipeline] sh [2022-10-03T03:43:03.907Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T03:43:04.245Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T03:43:04.245Z] + sudo tee /etc/docker/daemon.new [2022-10-03T03:43:04.245Z] { [2022-10-03T03:43:04.245Z] "registry-mirrors": [ [2022-10-03T03:43:04.245Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T03:43:04.245Z] ], [2022-10-03T03:43:04.245Z] "bip": "10.250.0.254/24", [2022-10-03T03:43:04.245Z] "hosts": [ [2022-10-03T03:43:04.245Z] "tcp://0.0.0.0:5555", [2022-10-03T03:43:04.245Z] "unix:///var/run/docker.sock" [2022-10-03T03:43:04.245Z] ], [2022-10-03T03:43:04.245Z] "mtu": 1458, [2022-10-03T03:43:04.245Z] "selinux-enabled": true, [2022-10-03T03:43:04.245Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T03:43:04.245Z] } [Pipeline] sh [2022-10-03T03:43:04.582Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T03:43:04.937Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T03:43:23.202Z] provisioning config files... [2022-10-03T03:43:23.226Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config10982920270351094387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:43:23.581Z] ---> docker-login.sh [2022-10-03T03:43:23.581Z] nexus3.edgexfoundry.org:10001 [2022-10-03T03:43:23.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:43:24.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:43:24.124Z] Configure a credential helper to remove this warning. See [2022-10-03T03:43:24.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:43:24.124Z] [2022-10-03T03:43:24.124Z] Login Succeeded [2022-10-03T03:43:24.124Z] nexus3.edgexfoundry.org:10002 [2022-10-03T03:43:24.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:43:24.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:43:24.659Z] Configure a credential helper to remove this warning. See [2022-10-03T03:43:24.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:43:24.659Z] [2022-10-03T03:43:24.659Z] Login Succeeded [2022-10-03T03:43:24.659Z] nexus3.edgexfoundry.org:10003 [2022-10-03T03:43:24.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:43:24.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:43:24.928Z] Configure a credential helper to remove this warning. See [2022-10-03T03:43:24.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:43:24.928Z] [2022-10-03T03:43:24.928Z] Login Succeeded [2022-10-03T03:43:24.928Z] nexus3.edgexfoundry.org:10004 [2022-10-03T03:43:25.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:43:25.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:43:25.197Z] Configure a credential helper to remove this warning. See [2022-10-03T03:43:25.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:43:25.197Z] [2022-10-03T03:43:25.197Z] Login Succeeded [2022-10-03T03:43:25.197Z] docker.io [2022-10-03T03:43:25.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T03:43:25.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T03:43:25.735Z] Configure a credential helper to remove this warning. See [2022-10-03T03:43:25.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T03:43:25.735Z] [2022-10-03T03:43:25.735Z] Login Succeeded [2022-10-03T03:43:26.005Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T03:43:26.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T03:43:26.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:43:26.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T03:43:26.200Z] ========================================================= [2022-10-03T03:43:26.200Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T03:43:26.200Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:43:26.540Z] + 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-03T03:43:26.821Z] Sending build context to Docker daemon 14.19MB [2022-10-03T03:43:27.091Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:43:27.091Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-03T03:43:27.360Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T03:43:27.360Z] b3c136eddcbf: Pulling fs layer [2022-10-03T03:43:27.360Z] c0a3192eca97: Pulling fs layer [2022-10-03T03:43:27.360Z] a050256f5b6f: Pulling fs layer [2022-10-03T03:43:27.360Z] 656be50a0ddc: Pulling fs layer [2022-10-03T03:43:27.360Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T03:43:27.360Z] f607e4fc86c3: Pulling fs layer [2022-10-03T03:43:27.360Z] 4d572c569a2c: Pulling fs layer [2022-10-03T03:43:27.360Z] fcf976331f73: Pulling fs layer [2022-10-03T03:43:27.360Z] 656be50a0ddc: Waiting [2022-10-03T03:43:27.360Z] 4d572c569a2c: Waiting [2022-10-03T03:43:27.360Z] 2bbca73fdf42: Waiting [2022-10-03T03:43:27.360Z] fcf976331f73: Waiting [2022-10-03T03:43:27.360Z] f607e4fc86c3: Waiting [2022-10-03T03:43:27.360Z] a050256f5b6f: Verifying Checksum [2022-10-03T03:43:27.360Z] a050256f5b6f: Download complete [2022-10-03T03:43:27.360Z] c0a3192eca97: Download complete [2022-10-03T03:43:27.360Z] 2bbca73fdf42: Verifying Checksum [2022-10-03T03:43:27.360Z] 2bbca73fdf42: Download complete [2022-10-03T03:43:27.360Z] f607e4fc86c3: Download complete [2022-10-03T03:43:27.360Z] b3c136eddcbf: Verifying Checksum [2022-10-03T03:43:27.360Z] b3c136eddcbf: Download complete [2022-10-03T03:43:28.336Z] b3c136eddcbf: Pull complete [2022-10-03T03:43:28.606Z] fcf976331f73: Verifying Checksum [2022-10-03T03:43:28.606Z] fcf976331f73: Download complete [2022-10-03T03:43:28.877Z] c0a3192eca97: Pull complete [2022-10-03T03:43:29.148Z] a050256f5b6f: Pull complete [2022-10-03T03:43:29.736Z] 4d572c569a2c: Verifying Checksum [2022-10-03T03:43:29.736Z] 4d572c569a2c: Download complete [2022-10-03T03:43:30.323Z] 656be50a0ddc: Verifying Checksum [2022-10-03T03:43:30.323Z] 656be50a0ddc: Download complete [2022-10-03T03:43:42.683Z] 656be50a0ddc: Pull complete [2022-10-03T03:43:42.683Z] 2bbca73fdf42: Pull complete [2022-10-03T03:43:42.683Z] f607e4fc86c3: Pull complete [2022-10-03T03:43:49.367Z] 4d572c569a2c: Pull complete [2022-10-03T03:43:51.443Z] fcf976331f73: Pull complete [2022-10-03T03:43:51.443Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T03:43:51.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T03:43:51.443Z] ---> 3970a7415f9e [2022-10-03T03:43:51.443Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:43:53.422Z] ---> Running in 6c92b3d0960c [2022-10-03T03:43:53.690Z] Removing intermediate container 6c92b3d0960c [2022-10-03T03:43:53.690Z] ---> ad11ef64718f [2022-10-03T03:43:53.690Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:43:53.690Z] ---> Running in 3f7b252cc845 [2022-10-03T03:43:53.958Z] Removing intermediate container 3f7b252cc845 [2022-10-03T03:43:53.958Z] ---> c81aa0ea7c96 [2022-10-03T03:43:53.958Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:43:54.229Z] ---> Running in bc213d8f9791 [2022-10-03T03:43:54.496Z] Removing intermediate container bc213d8f9791 [2022-10-03T03:43:54.496Z] ---> 3838cba21d5c [2022-10-03T03:43:54.496Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:43:54.496Z] ---> Running in e1fd01f3ffbf [2022-10-03T03:43:54.763Z] Removing intermediate container e1fd01f3ffbf [2022-10-03T03:43:54.763Z] ---> e78701674c27 [2022-10-03T03:43:54.763Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:43:54.763Z] ---> Running in fd6d011b0d60 [2022-10-03T03:43:55.353Z] Removing intermediate container fd6d011b0d60 [2022-10-03T03:43:55.353Z] ---> 641ff42ff7c7 [2022-10-03T03:43:55.353Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:43:55.353Z] ---> Running in 029e0a43c2e7 [2022-10-03T03:43:57.308Z] Removing intermediate container 029e0a43c2e7 [2022-10-03T03:43:57.308Z] ---> d2c5e8a246d5 [2022-10-03T03:43:57.308Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:43:57.308Z] ---> Running in 6c66002f59b0 [2022-10-03T03:43:58.276Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T03:43:59.239Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T03:44:00.208Z] OK: 221 MiB in 51 packages [2022-10-03T03:44:01.183Z] Removing intermediate container 6c66002f59b0 [2022-10-03T03:44:01.183Z] ---> 103aeb894443 [2022-10-03T03:44:01.183Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-03T03:44:01.183Z] ---> Running in e8fe7662844f [2022-10-03T03:44:01.773Z] Removing intermediate container e8fe7662844f [2022-10-03T03:44:01.773Z] ---> e2f7f98f65a9 [2022-10-03T03:44:01.773Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-03T03:44:02.364Z] ---> a15ae186b127 [2022-10-03T03:44:02.364Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:44:02.636Z] ---> Running in 56f4cae929bc [2022-10-03T03:44:59.096Z] Removing intermediate container 56f4cae929bc [2022-10-03T03:44:59.096Z] ---> 9288e1b894da [2022-10-03T03:44:59.096Z] Step 13/14 : COPY . . [2022-10-03T03:44:59.096Z] ---> 24d1f39052b2 [2022-10-03T03:44:59.096Z] Step 14/14 : RUN ${MAKE} [2022-10-03T03:44:59.096Z] ---> Running in afd991e9f45a [2022-10-03T03:44:59.096Z] noop [2022-10-03T03:44:59.096Z] Removing intermediate container afd991e9f45a [2022-10-03T03:44:59.096Z] ---> 397ae2a2e334 [2022-10-03T03:44:59.096Z] Successfully built 397ae2a2e334 [2022-10-03T03:44:59.096Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:44:59.456Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T03:44:59.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:44:59.654Z] prd-ubuntu20.04-docker-arm64-4c-16g-6817 does not seem to be running inside a container [2022-10-03T03:44:59.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 ******** ci-base-image-arm64 cat [2022-10-03T03:45:00.928Z] $ docker top 3958db5e73688bff28ba3123f09e05a628879b2c93c4691407658e1f731d22e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:45:01.762Z] + go version [2022-10-03T03:45:01.762Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T03:45:01.785Z] $ docker stop --time=1 3958db5e73688bff28ba3123f09e05a628879b2c93c4691407658e1f731d22e4 [2022-10-03T03:45:03.414Z] $ docker rm -f 3958db5e73688bff28ba3123f09e05a628879b2c93c4691407658e1f731d22e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:45:03.948Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T03:45:03.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:45:04.123Z] prd-ubuntu20.04-docker-arm64-4c-16g-6817 does not seem to be running inside a container [2022-10-03T03:45:04.185Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 ******** ci-base-image-arm64 cat [2022-10-03T03:45:05.326Z] $ docker top 340358960d2759165cb24cbcdf95fe77636e813edd60d68410f5f80560c0eb62 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:45:05.818Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-10-03T03:45:06.148Z] + make test [2022-10-03T03:45:06.149Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T03:45:08.093Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-03T03:46:44.763Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-03T03:46:46.715Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.196s coverage: 28.2% of statements [2022-10-03T03:46:46.715Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-03T03:47:04.931Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.792s coverage: 86.5% of statements [2022-10-03T03:47:04.931Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T03:47:04.931Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T03:47:37.186Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T03:47:37.186Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T03:47:37.186Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T03:47:37.206Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T03:47:37.223Z] $ docker stop --time=1 340358960d2759165cb24cbcdf95fe77636e813edd60d68410f5f80560c0eb62 [2022-10-03T03:47:39.379Z] $ docker rm -f 340358960d2759165cb24cbcdf95fe77636e813edd60d68410f5f80560c0eb62 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T03:47:40.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T03:47:40.433Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T03:47:41.004Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T03:47:41.416Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T03:47:41.736Z] + ls -al . [2022-10-03T03:47:41.736Z] total 232 [2022-10-03T03:47:41.736Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 03:45 . [2022-10-03T03:47:41.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:42 .. [2022-10-03T03:47:41.736Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:43 .git [2022-10-03T03:47:41.736Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:43 .github [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 03:43 .gitignore [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 03:43 .golangci.yml [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 03:43 Attribution.txt [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 03:43 CHANGELOG.md [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 03:43 Dockerfile [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 03:43 GOVERNANCE.md [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 03:43 Jenkinsfile [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 03:43 LICENSE [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 03:43 Makefile [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 03:43 OWNERS.md [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 03:43 README.md [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 03:39 VERSION [2022-10-03T03:47:41.736Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:43 bin [2022-10-03T03:47:41.736Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:43 cmd [2022-10-03T03:47:41.736Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 03:47 coverage.out [2022-10-03T03:47:41.736Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 03:43 doc [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 03:43 go.mod [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 03:43 go.sum [2022-10-03T03:47:41.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:43 internal [2022-10-03T03:47:41.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:43 snap [2022-10-03T03:47:41.736Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 03:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:47:42.085Z] + 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=e1feb3937a6e6359c6e26d7c1c597fb25a5118ca --label arch=arm64 --label version=0.0.0 . [2022-10-03T03:47:42.670Z] Sending build context to Docker daemon 14.27MB [2022-10-03T03:47:42.670Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T03:47:42.670Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-03T03:47:42.670Z] ---> 397ae2a2e334 [2022-10-03T03:47:42.670Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-03T03:47:42.941Z] ---> Running in d6a8255a3517 [2022-10-03T03:47:43.223Z] Removing intermediate container d6a8255a3517 [2022-10-03T03:47:43.223Z] ---> d1fa46581e59 [2022-10-03T03:47:43.223Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T03:47:43.223Z] ---> Running in 0f3108cf1692 [2022-10-03T03:47:43.812Z] Removing intermediate container 0f3108cf1692 [2022-10-03T03:47:43.812Z] ---> 0c574f4d71e5 [2022-10-03T03:47:43.812Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T03:47:43.812Z] ---> Running in e8599ea8a4e8 [2022-10-03T03:47:44.081Z] Removing intermediate container e8599ea8a4e8 [2022-10-03T03:47:44.081Z] ---> 5ee1ff45c6c8 [2022-10-03T03:47:44.081Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T03:47:44.351Z] ---> Running in 37511fe09417 [2022-10-03T03:47:46.301Z] Removing intermediate container 37511fe09417 [2022-10-03T03:47:46.301Z] ---> e7e1817328c4 [2022-10-03T03:47:46.301Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-03T03:47:46.301Z] ---> Running in a434f339620e [2022-10-03T03:47:46.301Z] Removing intermediate container a434f339620e [2022-10-03T03:47:46.301Z] ---> 9ed3b1b62dd8 [2022-10-03T03:47:46.301Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T03:47:46.571Z] ---> Running in fd5f232a1f29 [2022-10-03T03:47:48.532Z] Removing intermediate container fd5f232a1f29 [2022-10-03T03:47:48.532Z] ---> 4a3470b2b2e9 [2022-10-03T03:47:48.532Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T03:47:48.532Z] ---> Running in 2870d9a410b2 [2022-10-03T03:47:49.500Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T03:47:50.474Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T03:47:51.897Z] OK: 221 MiB in 51 packages [2022-10-03T03:47:52.860Z] Removing intermediate container 2870d9a410b2 [2022-10-03T03:47:52.860Z] ---> 902e5488a654 [2022-10-03T03:47:52.860Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-03T03:47:53.127Z] ---> Running in d984eed845b1 [2022-10-03T03:47:53.397Z] Removing intermediate container d984eed845b1 [2022-10-03T03:47:53.397Z] ---> 6fbf6c960cae [2022-10-03T03:47:53.397Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-03T03:47:53.986Z] ---> b7b6b5adfbbb [2022-10-03T03:47:53.986Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T03:47:53.986Z] ---> Running in 962800c5d75d [2022-10-03T03:47:56.582Z] Removing intermediate container 962800c5d75d [2022-10-03T03:47:56.582Z] ---> bd857aac172d [2022-10-03T03:47:56.582Z] Step 13/27 : COPY . . [2022-10-03T03:47:58.529Z] ---> 9d00f816a4ed [2022-10-03T03:47:58.529Z] Step 14/27 : RUN ${MAKE} [2022-10-03T03:47:58.529Z] ---> Running in 035107f83566 [2022-10-03T03:48:00.489Z] 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-03T03:50:37.261Z] Removing intermediate container 035107f83566 [2022-10-03T03:50:37.261Z] ---> 92ccd64e684a [2022-10-03T03:50:37.261Z] Step 15/27 : FROM alpine:3.16 [2022-10-03T03:50:37.261Z] 3.16: Pulling from library/alpine [2022-10-03T03:50:37.261Z] 9b18e9b68314: Pulling fs layer [2022-10-03T03:50:37.261Z] 9b18e9b68314: Verifying Checksum [2022-10-03T03:50:37.261Z] 9b18e9b68314: Download complete [2022-10-03T03:50:37.261Z] 9b18e9b68314: Pull complete [2022-10-03T03:50:37.261Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T03:50:37.261Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T03:50:37.261Z] ---> a6215f271958 [2022-10-03T03:50:37.261Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-03T03:50:37.261Z] ---> Running in 5e715611eca4 [2022-10-03T03:50:37.261Z] Removing intermediate container 5e715611eca4 [2022-10-03T03:50:37.261Z] ---> d42b1b6c16f3 [2022-10-03T03:50:37.261Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T03:50:37.261Z] ---> Running in 065d9186df44 [2022-10-03T03:50:37.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T03:50:37.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T03:50:37.261Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T03:50:37.261Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T03:50:37.261Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T03:50:37.261Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T03:50:37.261Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T03:50:37.261Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T03:50:37.261Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T03:50:37.261Z] OK: 8 MiB in 20 packages [2022-10-03T03:50:38.225Z] Removing intermediate container 065d9186df44 [2022-10-03T03:50:38.225Z] ---> 997cd404480d [2022-10-03T03:50:38.225Z] Step 18/27 : WORKDIR / [2022-10-03T03:50:38.225Z] ---> Running in 592c9942fa0c [2022-10-03T03:50:38.490Z] Removing intermediate container 592c9942fa0c [2022-10-03T03:50:38.490Z] ---> 3074ab1c11bf [2022-10-03T03:50:38.491Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-03T03:50:40.440Z] ---> 87c8a8b845c5 [2022-10-03T03:50:40.440Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-03T03:50:40.708Z] ---> f96d8d1ab613 [2022-10-03T03:50:40.708Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-03T03:50:41.295Z] ---> 275bc793f518 [2022-10-03T03:50:41.295Z] Step 22/27 : EXPOSE 59984 [2022-10-03T03:50:41.295Z] ---> Running in b3e98c117c35 [2022-10-03T03:50:41.563Z] Removing intermediate container b3e98c117c35 [2022-10-03T03:50:41.563Z] ---> 037ebca63a53 [2022-10-03T03:50:41.563Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-03T03:50:41.563Z] ---> Running in 83c5d76253d3 [2022-10-03T03:50:41.832Z] Removing intermediate container 83c5d76253d3 [2022-10-03T03:50:41.832Z] ---> 26e7a70f27bd [2022-10-03T03:50:41.832Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T03:50:42.179Z] ---> Running in d0691db0d68f [2022-10-03T03:50:42.452Z] Removing intermediate container d0691db0d68f [2022-10-03T03:50:42.452Z] ---> 7fb8617dc1ab [2022-10-03T03:50:42.452Z] Step 25/27 : LABEL arch=arm64 [2022-10-03T03:50:42.452Z] ---> Running in e4ee679b793c [2022-10-03T03:50:42.726Z] Removing intermediate container e4ee679b793c [2022-10-03T03:50:42.726Z] ---> 77b283305b47 [2022-10-03T03:50:42.726Z] Step 26/27 : LABEL git_sha=e1feb3937a6e6359c6e26d7c1c597fb25a5118ca [2022-10-03T03:50:42.726Z] ---> Running in de14e36418bc [2022-10-03T03:50:43.001Z] Removing intermediate container de14e36418bc [2022-10-03T03:50:43.001Z] ---> 629f512c08b6 [2022-10-03T03:50:43.001Z] Step 27/27 : LABEL version=0.0.0 [2022-10-03T03:50:43.275Z] ---> Running in ec85a0d3f0a0 [2022-10-03T03:50:43.554Z] Removing intermediate container ec85a0d3f0a0 [2022-10-03T03:50:43.554Z] ---> 26bebad11068 [2022-10-03T03:50:43.554Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T03:50:43.554Z] Successfully built 26bebad11068 [2022-10-03T03:50:43.554Z] 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-03T03:50:43.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T03:50:44.000Z] [2022-10-03T03:50:44.000Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:50:44.349Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T03:50:44.349Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T03:50:44.349Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T03:50:44.349Z] 04944245beec: Pulling fs layer [2022-10-03T03:50:44.349Z] 699f458cf7ca: Pulling fs layer [2022-10-03T03:50:44.349Z] 765212b225bb: Pulling fs layer [2022-10-03T03:50:44.349Z] f23df028b6ca: Pulling fs layer [2022-10-03T03:50:44.349Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T03:50:44.349Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T03:50:44.349Z] f23df028b6ca: Waiting [2022-10-03T03:50:44.349Z] 2437ff75d9bd: Waiting [2022-10-03T03:50:44.349Z] d65c8cfc05b1: Waiting [2022-10-03T03:50:44.349Z] 765212b225bb: Waiting [2022-10-03T03:50:44.627Z] 04944245beec: Verifying Checksum [2022-10-03T03:50:44.627Z] 04944245beec: Download complete [2022-10-03T03:50:44.627Z] 765212b225bb: Verifying Checksum [2022-10-03T03:50:44.627Z] 765212b225bb: Download complete [2022-10-03T03:50:44.627Z] f23df028b6ca: Download complete [2022-10-03T03:50:44.627Z] d65c8cfc05b1: Verifying Checksum [2022-10-03T03:50:44.627Z] d65c8cfc05b1: Download complete [2022-10-03T03:50:44.894Z] 699f458cf7ca: Verifying Checksum [2022-10-03T03:50:44.894Z] 699f458cf7ca: Download complete [2022-10-03T03:50:45.161Z] 8998bd30e6a1: Verifying Checksum [2022-10-03T03:50:45.161Z] 8998bd30e6a1: Download complete [2022-10-03T03:50:47.750Z] 2437ff75d9bd: Verifying Checksum [2022-10-03T03:50:47.750Z] 2437ff75d9bd: Download complete [2022-10-03T03:50:49.160Z] 8998bd30e6a1: Pull complete [2022-10-03T03:50:49.744Z] 04944245beec: Pull complete [2022-10-03T03:50:51.153Z] 699f458cf7ca: Pull complete [2022-10-03T03:50:51.153Z] 765212b225bb: Pull complete [2022-10-03T03:50:52.117Z] f23df028b6ca: Pull complete [2022-10-03T03:50:52.117Z] d65c8cfc05b1: Pull complete [2022-10-03T03:51:07.121Z] 2437ff75d9bd: Pull complete [2022-10-03T03:51:07.121Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T03:51:07.121Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T03:51:07.121Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:51:07.303Z] prd-ubuntu20.04-docker-arm64-4c-16g-6817 does not seem to be running inside a container [2022-10-03T03:51:07.371Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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-lftools-log-publisher:arm64 cat [2022-10-03T03:51:10.186Z] $ docker top ea0f8c0d21e7a1aed2b6ed9c878eb8082305838e05bc28c49ab89df020e4348a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:51:11.028Z] ---> job-cost.sh [2022-10-03T03:51:11.028Z] lf-activate-venv: SKIPPING [2022-10-03T03:51:11.028Z] INFO: No Stack... [2022-10-03T03:51:11.292Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T03:51:12.248Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T03:51:12.567Z] + cut -d, -f6 [2022-10-03T03:51:12.567Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock [2022-10-03T03:51:12.900Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-170-3-stack-cost] [2022-10-03T03:51:12.909Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-170-3-stack-cost] did not exist. Created. [2022-10-03T03:51:12.909Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-170-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T03:51:13.560Z] /w/workspace/device-onvif-camera/3@tmp/durable-f7fbab29/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T03:51:14.212Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T03:51:14.231Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T03:51:14.295Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T03:51:14.302Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-170-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T03:51:14.323Z] $ docker stop --time=1 ea0f8c0d21e7a1aed2b6ed9c878eb8082305838e05bc28c49ab89df020e4348a [2022-10-03T03:51:15.804Z] $ docker rm -f ea0f8c0d21e7a1aed2b6ed9c878eb8082305838e05bc28c49ab89df020e4348a [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-03T03:51:16.213Z] provisioning config files... [2022-10-03T03:51:16.228Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-170@tmp/config10537721749211351743tmp [Pipeline] { [Pipeline] sh [2022-10-03T03:51:16.522Z] + set +x [2022-10-03T03:51:16.522Z] + curl -s https://codecov.io/bash [2022-10-03T03:51:16.522Z] + bash -s -- [2022-10-03T03:51:16.522Z] [2022-10-03T03:51:16.522Z] _____ _ [2022-10-03T03:51:16.522Z] / ____| | | [2022-10-03T03:51:16.522Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T03:51:16.522Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T03:51:16.522Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T03:51:16.522Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T03:51:16.522Z] Bash-1.0.6 [2022-10-03T03:51:16.522Z] [2022-10-03T03:51:16.522Z] [2022-10-03T03:51:16.522Z] ==> git version 2.25.1 found [2022-10-03T03:51:16.522Z] ==> 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-03T03:51:16.522Z] Release-Date: 2020-01-08 [2022-10-03T03:51:16.522Z] 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-03T03:51:16.522Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T03:51:16.522Z] ==> Jenkins CI detected. [2022-10-03T03:51:16.522Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-170 [2022-10-03T03:51:16.522Z] project root: . [2022-10-03T03:51:16.522Z] --> token set from env [2022-10-03T03:51:16.522Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T03:51:16.522Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T03:51:16.522Z] ==> Python coveragepy not found [2022-10-03T03:51:16.522Z] ==> Searching for coverage reports in: [2022-10-03T03:51:16.522Z] + . [2022-10-03T03:51:16.522Z] -> Found 1 reports [2022-10-03T03:51:16.522Z] ==> Detecting git/mercurial file structure [2022-10-03T03:51:16.522Z] ==> Reading reports [2022-10-03T03:51:16.522Z] + ./coverage.out bytes=78461 [2022-10-03T03:51:16.522Z] ==> Appending adjustments [2022-10-03T03:51:16.522Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T03:51:16.781Z] + Found adjustments [2022-10-03T03:51:16.781Z] ==> Gzipping contents [2022-10-03T03:51:16.781Z] 12K /tmp/codecov.WaQSvu.gz [2022-10-03T03:51:16.781Z] ==> Uploading reports [2022-10-03T03:51:16.781Z] url: https://codecov.io [2022-10-03T03:51:16.781Z] query: branch=PR-170&commit=e1feb3937a6e6359c6e26d7c1c597fb25a5118ca&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-170%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=170&job=&cmd_args= [2022-10-03T03:51:16.781Z] -> Pinging Codecov [2022-10-03T03:51:16.781Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-170&commit=e1feb3937a6e6359c6e26d7c1c597fb25a5118ca&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-170%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=170&job=&cmd_args= [2022-10-03T03:51:17.043Z] -> Uploading to [2022-10-03T03:51:17.043Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/F29A59C45E3A92E06B3E522C9905F8EF/e1feb3937a6e6359c6e26d7c1c597fb25a5118ca/4b5c2f1a-0617-4bce-86a7-4d7b6d4d5536.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T035116Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ba7f99db17f5ac7e2e7ce8cc2d71bb4b6f86440345d18745ed20704aa08f2e85 [2022-10-03T03:51:17.043Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T03:51:17.043Z] Dload Upload Total Spent Left Speed [2022-10-03T03:51:17.303Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10743 0 0 100 10743 0 41964 --:--:-- --:--:-- --:--:-- 41964 [2022-10-03T03:51:17.303Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e1feb3937a6e6359c6e26d7c1c597fb25a5118ca [Pipeline] } [2022-10-03T03:51:17.311Z] 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-03T03:51:18.079Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-170/archives ] [2022-10-03T03:51:18.079Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-170/archives [2022-10-03T03:51:18.079Z] total 16 [2022-10-03T03:51:18.079Z] drwxr-xr-x 3 root root 4096 Oct 3 03:40 . [2022-10-03T03:51:18.079Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 03:40 .. [2022-10-03T03:51:18.079Z] drwxr-xr-x 2 root root 4096 Oct 3 03:40 cost [2022-10-03T03:51:18.079Z] -rw-r--r-- 1 root root 91 Oct 3 03:40 cost.csv [2022-10-03T03:51:18.079Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-170/archives [2022-10-03T03:51:18.079Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-170/archives [2022-10-03T03:51:18.079Z] total 16 [2022-10-03T03:51:18.079Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:40 . [2022-10-03T03:51:18.079Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 03:40 .. [2022-10-03T03:51:18.079Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 03:40 cost [2022-10-03T03:51:18.079Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 3 03:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:51:18.367Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:51:19.222Z] ---> package-listing.sh [2022-10-03T03:51:19.222Z] ++ facter osfamily [2022-10-03T03:51:19.222Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T03:51:19.504Z] + OS_FAMILY=debian [2022-10-03T03:51:19.504Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-170 [2022-10-03T03:51:19.504Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T03:51:19.504Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T03:51:19.504Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T03:51:19.504Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T03:51:19.504Z] + '[' /w/workspace/undry_device-onvif-camera_PR-170 ']' [2022-10-03T03:51:19.504Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T03:51:19.504Z] + case "${OS_FAMILY}" in [2022-10-03T03:51:19.504Z] + dpkg -l [2022-10-03T03:51:19.504Z] + grep '^ii' [2022-10-03T03:51:19.504Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T03:51:19.504Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T03:51:19.504Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T03:51:19.504Z] + '[' /w/workspace/undry_device-onvif-camera_PR-170 ']' [2022-10-03T03:51:19.504Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-170/archives/ [2022-10-03T03:51:19.504Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-170/archives/ [Pipeline] echo [2022-10-03T03:51:19.514Z] 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-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-03T03:51:19.791Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T03:51:20.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T03:51:20.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T03:51:20.413Z] prd-ubuntu20.04-docker-8c-8g-6813 does not seem to be running inside a container [2022-10-03T03:51:20.449Z] $ 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-170/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-170 -v /w/workspace/undry_device-onvif-camera_PR-170:/w/workspace/undry_device-onvif-camera_PR-170:rw,z -v /w/workspace/undry_device-onvif-camera_PR-170@tmp:/w/workspace/undry_device-onvif-camera_PR-170@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T03:51:20.989Z] $ docker top f0285a4f8c2363879f08d55edd4235350a0f0c7a86c65d6684810939c575c914 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T03:51:21.337Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T03:51:21.623Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T03:51:21.908Z] + ls /var/log/sa-host [2022-10-03T03:51:21.908Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T03:51:21.987Z] provisioning config files... [2022-10-03T03:51:21.996Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-170@tmp/config4839838968186115476tmp [Pipeline] { [Pipeline] echo [2022-10-03T03:51:22.011Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:51:22.295Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T03:51:22.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:51:22.629Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T03:51:22.637Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:51:22.920Z] ---> sudo-logs.sh [2022-10-03T03:51:22.920Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T03:51:22.951Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:51:23.242Z] ---> job-cost.sh [2022-10-03T03:51:23.242Z] lf-activate-venv: SKIPPING [2022-10-03T03:51:23.242Z] DEBUG: total: 0.2199999988079071 [2022-10-03T03:51:23.242Z] INFO: Retrieving Stack Cost... [2022-10-03T03:51:23.812Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T03:51:24.072Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T03:51:24.082Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T03:51:24.365Z] ---> logs-deploy.sh [2022-10-03T03:51:24.365Z] lf-activate-venv: SKIPPING [2022-10-03T03:51:24.365Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-170/3 [2022-10-03T03:51:24.365Z] INFO: archiving workspace using pattern(s): [2022-10-03T03:51:25.303Z] Archives upload complete. [2022-10-03T03:51:25.303Z] INFO: archiving logs to Nexus