Pull request #172 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than face5d6007145a468790ace10b56d6957ea9f84d Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh2373688608892167434.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-ssh12986204266020614197.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-172/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-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2207399587836821336.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-ssh16989889992603167106.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-172/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-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12202190907795896521.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-7323 in /w/workspace/undry_device-onvif-camera_PR-172 [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-172 # 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/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit face5d6007145a468790ace10b56d6957ea9f84d Merge succeeded, producing face5d6007145a468790ace10b56d6957ea9f84d Checking out Revision face5d6007145a468790ace10b56d6957ea9f84d (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f face5d6007145a468790ace10b56d6957ea9f84d # 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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f face5d6007145a468790ace10b56d6957ea9f84d # timeout=10 Commit message: "fix: discovery mode netscan when using docker-compose" First time build. Skipping changelog. > git rev-list --no-walk 46e56256ac5babb7df711278807ddef6ea50998f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-07T10:39:20.733Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-07T10:39:20.793Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-07T10:39:20.804Z] ========================================================= [2022-10-07T10:39:20.804Z] EdgeX Global Pipelines Version Info [2022-10-07T10:39:20.804Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:39:21.505Z] ------------------- [2022-10-07T10:39:21.505Z] stable info: [2022-10-07T10:39:21.505Z] ------------------- [2022-10-07T10:39:21.505Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-07T10:39:21.505Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T10:39:21.505Z] Message: update stable to v1.0.239 [2022-10-07T10:39:22.074Z] ------------------- [2022-10-07T10:39:22.074Z] experimental info: [2022-10-07T10:39:22.074Z] ------------------- [2022-10-07T10:39:22.074Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-07T10:39:22.074Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T10:39:22.074Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-07T10:39:22.208Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-07T10:39:22.222Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-07T10:39:22.235Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-07T10:39:22.246Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-07T10:39:22.258Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-07T10:39:22.271Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-07T10:39:22.283Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-07T10:39:22.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-07T10:39:22.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-07T10:39:22.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-07T10:39:22.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-07T10:39:22.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-07T10:39:22.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-07T10:39:22.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-07T10:39:22.383Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T10:39:22.396Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T10:39:22.407Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T10:39:22.420Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T10:39:22.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-07T10:39:22.444Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-07T10:39:22.457Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-07T10:39:22.471Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-07T10:39:22.482Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-07T10:39:22.493Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-07T10:39:22.504Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-07T10:39:22.515Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-07T10:39:22.528Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-07T10:39:22.542Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-07T10:39:22.551Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-07T10:39:22.562Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-07T10:39:22.574Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] echo [2022-10-07T10:39:22.585Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = face5d6 [Pipeline] echo [2022-10-07T10:39:22.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T10:39:22.637Z] provisioning config files... [2022-10-07T10:39:22.649Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config14881674206285397718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:39:22.945Z] ---> docker-login.sh [2022-10-07T10:39:22.945Z] nexus3.edgexfoundry.org:10001 [2022-10-07T10:39:23.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:39:23.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:39:23.205Z] Configure a credential helper to remove this warning. See [2022-10-07T10:39:23.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:39:23.205Z] [2022-10-07T10:39:23.205Z] Login Succeeded [2022-10-07T10:39:23.205Z] nexus3.edgexfoundry.org:10002 [2022-10-07T10:39:23.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:39:23.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:39:23.205Z] Configure a credential helper to remove this warning. See [2022-10-07T10:39:23.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:39:23.205Z] [2022-10-07T10:39:23.205Z] Login Succeeded [2022-10-07T10:39:23.205Z] nexus3.edgexfoundry.org:10003 [2022-10-07T10:39:23.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:39:23.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:39:23.464Z] Configure a credential helper to remove this warning. See [2022-10-07T10:39:23.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:39:23.464Z] [2022-10-07T10:39:23.464Z] Login Succeeded [2022-10-07T10:39:23.464Z] nexus3.edgexfoundry.org:10004 [2022-10-07T10:39:23.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:39:23.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:39:23.464Z] Configure a credential helper to remove this warning. See [2022-10-07T10:39:23.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:39:23.464Z] [2022-10-07T10:39:23.464Z] Login Succeeded [2022-10-07T10:39:23.464Z] docker.io [2022-10-07T10:39:23.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:39:23.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:39:23.983Z] Configure a credential helper to remove this warning. See [2022-10-07T10:39:23.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:39:23.983Z] [2022-10-07T10:39:23.983Z] Login Succeeded [2022-10-07T10:39:23.983Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T10:39:23.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-07T10:39:24.359Z] + git rev-list -1 --merges face5d6007145a468790ace10b56d6957ea9f84d~1..face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] echo [2022-10-07T10:39:24.393Z] -----------> git rev-list -1 --merges face5d6007145a468790ace10b56d6957ea9f84d~1..face5d6007145a468790ace10b56d6957ea9f84d face5d6007145a468790ace10b56d6957ea9f84d [false] [Pipeline] sh [2022-10-07T10:39:24.682Z] + git log --format=format:%s -1 face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] echo [2022-10-07T10:39:24.697Z] ========================================================= [2022-10-07T10:39:24.697Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-07T10:39:24.697Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T10:39:25.023Z] + git log --format=format:%s -1 face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] echo [2022-10-07T10:39:25.034Z] [semverPrep] GIT_COMMIT: face5d6007145a468790ace10b56d6957ea9f84d, Commit Message: fix: discovery mode netscan when using docker-compose [Pipeline] echo [2022-10-07T10:39:25.042Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-07T10:39:25.437Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-07T10:39:25.437Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-07T10:39:25.437Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-07T10:39:25.437Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-07T10:39:25.437Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-07T10:39:25.437Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-07T10:39:25.437Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:39:25.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T10:39:25.858Z] [2022-10-07T10:39:25.858Z] 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-07T10:39:26.157Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T10:39:26.157Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-07T10:39:26.157Z] b85a868b505f: Pulling fs layer [2022-10-07T10:39:26.157Z] e2be974225ed: Pulling fs layer [2022-10-07T10:39:26.157Z] 339a4e72a1f5: Pulling fs layer [2022-10-07T10:39:26.157Z] 988bab9f4d93: Pulling fs layer [2022-10-07T10:39:26.157Z] 1469e6f7b9e6: Pulling fs layer [2022-10-07T10:39:26.157Z] eaf3925da568: Pulling fs layer [2022-10-07T10:39:26.157Z] bab4dde63d76: Pulling fs layer [2022-10-07T10:39:26.157Z] bde34c3a00c8: Pulling fs layer [2022-10-07T10:39:26.157Z] b352a97aabf1: Pulling fs layer [2022-10-07T10:39:26.157Z] 4872d77fe225: Pulling fs layer [2022-10-07T10:39:26.157Z] 5851b861e8e6: Pulling fs layer [2022-10-07T10:39:26.157Z] bab4dde63d76: Waiting [2022-10-07T10:39:26.157Z] eaf3925da568: Waiting [2022-10-07T10:39:26.157Z] 1469e6f7b9e6: Waiting [2022-10-07T10:39:26.157Z] bde34c3a00c8: Waiting [2022-10-07T10:39:26.157Z] 4872d77fe225: Waiting [2022-10-07T10:39:26.157Z] 5851b861e8e6: Waiting [2022-10-07T10:39:26.157Z] b352a97aabf1: Waiting [2022-10-07T10:39:26.157Z] 988bab9f4d93: Waiting [2022-10-07T10:39:26.157Z] e2be974225ed: Verifying Checksum [2022-10-07T10:39:26.157Z] e2be974225ed: Download complete [2022-10-07T10:39:26.157Z] 988bab9f4d93: Verifying Checksum [2022-10-07T10:39:26.157Z] 988bab9f4d93: Download complete [2022-10-07T10:39:26.418Z] 339a4e72a1f5: Verifying Checksum [2022-10-07T10:39:26.418Z] 339a4e72a1f5: Download complete [2022-10-07T10:39:26.418Z] 1469e6f7b9e6: Verifying Checksum [2022-10-07T10:39:26.418Z] 1469e6f7b9e6: Download complete [2022-10-07T10:39:26.418Z] eaf3925da568: Verifying Checksum [2022-10-07T10:39:26.418Z] eaf3925da568: Download complete [2022-10-07T10:39:26.418Z] bde34c3a00c8: Download complete [2022-10-07T10:39:26.418Z] b352a97aabf1: Download complete [2022-10-07T10:39:26.418Z] 4872d77fe225: Download complete [2022-10-07T10:39:26.418Z] 5851b861e8e6: Verifying Checksum [2022-10-07T10:39:26.418Z] 5851b861e8e6: Download complete [2022-10-07T10:39:26.418Z] b85a868b505f: Verifying Checksum [2022-10-07T10:39:26.418Z] b85a868b505f: Download complete [2022-10-07T10:39:26.677Z] bab4dde63d76: Verifying Checksum [2022-10-07T10:39:26.677Z] bab4dde63d76: Download complete [2022-10-07T10:39:27.615Z] b85a868b505f: Pull complete [2022-10-07T10:39:27.615Z] e2be974225ed: Pull complete [2022-10-07T10:39:28.184Z] 339a4e72a1f5: Pull complete [2022-10-07T10:39:28.184Z] 988bab9f4d93: Pull complete [2022-10-07T10:39:28.444Z] 1469e6f7b9e6: Pull complete [2022-10-07T10:39:28.705Z] eaf3925da568: Pull complete [2022-10-07T10:39:30.655Z] bab4dde63d76: Pull complete [2022-10-07T10:39:30.655Z] bde34c3a00c8: Pull complete [2022-10-07T10:39:30.936Z] b352a97aabf1: Pull complete [2022-10-07T10:39:31.211Z] 4872d77fe225: Pull complete [2022-10-07T10:39:31.473Z] 5851b861e8e6: Pull complete [2022-10-07T10:39:31.473Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-07T10:39:31.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T10:39:31.734Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:39:31.814Z] prd-ubuntu20.04-docker-8c-8g-7323 does not seem to be running inside a container [2022-10-07T10:39:31.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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-devops/py-git-semver:0.1.4 cat [2022-10-07T10:39:34.579Z] $ docker top 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e -eo pid,comm [2022-10-07T10:39:34.632Z] 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-07T10:39:34.632Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-07T10:39:34.666Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T10:39:34.666Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T10:39:34.770Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T10:39:34.769Z] $ docker exec 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e ssh-agent [2022-10-07T10:39:34.881Z] SSH_AUTH_SOCK=/tmp/ssh-jLQSgWDLM5Aw/agent.32 [2022-10-07T10:39:34.881Z] SSH_AGENT_PID=38 [2022-10-07T10:39:34.886Z] Running ssh-add (command line suppressed) [2022-10-07T10:39:34.991Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_14600610226148598961.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_14600610226148598961.key) [2022-10-07T10:39:35.009Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T10:39:35.300Z] + git tag --points-at HEAD [Pipeline] } [2022-10-07T10:39:35.310Z] $ docker exec --env ******** --env ******** 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e ssh-agent -k [2022-10-07T10:39:35.401Z] unset SSH_AUTH_SOCK; [2022-10-07T10:39:35.402Z] unset SSH_AGENT_PID; [2022-10-07T10:39:35.402Z] echo Agent pid 38 killed; [2022-10-07T10:39:35.418Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-07T10:39:35.443Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T10:39:35.443Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T10:39:35.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T10:39:35.547Z] $ docker exec 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e ssh-agent [2022-10-07T10:39:35.660Z] SSH_AUTH_SOCK=/tmp/ssh-cx1ikfgQgHJa/agent.70 [2022-10-07T10:39:35.660Z] SSH_AGENT_PID=76 [2022-10-07T10:39:35.666Z] Running ssh-add (command line suppressed) [2022-10-07T10:39:35.766Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_6336979166453248104.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_6336979166453248104.key) [2022-10-07T10:39:35.784Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T10:39:36.066Z] + git semver init [2022-10-07T10:39:36.326Z] 2022-10-07 10:39:36,227 [run_init] DEBUG init version:0.0.0 force:False [2022-10-07T10:39:36.326Z] 2022-10-07 10:39:36,227 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-07T10:39:36.326Z] 2022-10-07 10:39:36,228 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-07T10:39:36.326Z] 2022-10-07 10:39:36,228 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) [2022-10-07T10:39:37.262Z] 2022-10-07 10:39:37,219 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-07T10:39:37.262Z] 2022-10-07 10:39:37,220 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False [2022-10-07T10:39:37.262Z] 2022-10-07 10:39:37,220 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-07T10:39:37.262Z] 2022-10-07 10:39:37,224 [execute] INFO git cat-file --batch-check [2022-10-07T10:39:37.262Z] 2022-10-07 10:39:37,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T10:39:37.262Z] 2022-10-07 10:39:37,230 [execute] INFO git cat-file --batch [2022-10-07T10:39:37.262Z] 2022-10-07 10:39:37,230 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T10:39:37.262Z] 2022-10-07 10:39:37,236 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-07T10:39:37.262Z] 0.0.0 [Pipeline] } [2022-10-07T10:39:37.269Z] $ docker exec --env ******** --env ******** 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e ssh-agent -k [2022-10-07T10:39:37.374Z] unset SSH_AUTH_SOCK; [2022-10-07T10:39:37.374Z] unset SSH_AGENT_PID; [2022-10-07T10:39:37.374Z] echo Agent pid 76 killed; [2022-10-07T10:39:37.389Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-07T10:39:37.690Z] + git semver [Pipeline] } [2022-10-07T10:39:37.960Z] $ docker stop --time=1 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e [2022-10-07T10:39:39.262Z] $ docker rm -f 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T10:39:39.608Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-07T10:39:39.782Z] Stashed 1 file(s) [Pipeline] echo [2022-10-07T10:39:39.784Z] [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-07T10:39:39.930Z] provisioning config files... [2022-10-07T10:39:39.939Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config7231106238067796107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:39:40.230Z] ---> docker-login.sh [2022-10-07T10:39:40.231Z] nexus3.edgexfoundry.org:10001 [2022-10-07T10:39:40.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:39:40.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:39:40.231Z] Configure a credential helper to remove this warning. See [2022-10-07T10:39:40.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:39:40.231Z] [2022-10-07T10:39:40.231Z] Login Succeeded [2022-10-07T10:39:40.231Z] nexus3.edgexfoundry.org:10002 [2022-10-07T10:39:40.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:39:40.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:39:40.231Z] Configure a credential helper to remove this warning. See [2022-10-07T10:39:40.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:39:40.231Z] [2022-10-07T10:39:40.231Z] Login Succeeded [2022-10-07T10:39:40.231Z] nexus3.edgexfoundry.org:10003 [2022-10-07T10:39:40.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:39:40.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:39:40.489Z] Configure a credential helper to remove this warning. See [2022-10-07T10:39:40.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:39:40.490Z] [2022-10-07T10:39:40.490Z] Login Succeeded [2022-10-07T10:39:40.490Z] nexus3.edgexfoundry.org:10004 [2022-10-07T10:39:40.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:39:40.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:39:40.490Z] Configure a credential helper to remove this warning. See [2022-10-07T10:39:40.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:39:40.490Z] [2022-10-07T10:39:40.490Z] Login Succeeded [2022-10-07T10:39:40.490Z] docker.io [2022-10-07T10:39:40.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:39:41.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:39:41.008Z] Configure a credential helper to remove this warning. See [2022-10-07T10:39:41.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:39:41.008Z] [2022-10-07T10:39:41.008Z] Login Succeeded [2022-10-07T10:39:41.008Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T10:39:41.016Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T10:39:41.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T10:39:41.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T10:39:41.108Z] ========================================================= [2022-10-07T10:39:41.108Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-07T10:39:41.108Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:39:41.414Z] + 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-07T10:39:41.414Z] Sending build context to Docker daemon 21.01MB [2022-10-07T10:39:41.414Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T10:39:41.414Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-07T10:39:41.674Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-07T10:39:41.674Z] 2408cc74d12b: Pulling fs layer [2022-10-07T10:39:41.674Z] ea60b727a1ce: Pulling fs layer [2022-10-07T10:39:41.674Z] 30c4a7721957: Pulling fs layer [2022-10-07T10:39:41.674Z] 370296b7ddb6: Pulling fs layer [2022-10-07T10:39:41.674Z] 7c6cee850709: Pulling fs layer [2022-10-07T10:39:41.674Z] aa9baa53a306: Pulling fs layer [2022-10-07T10:39:41.674Z] 8b309c321861: Pulling fs layer [2022-10-07T10:39:41.674Z] d8d76fd02f46: Pulling fs layer [2022-10-07T10:39:41.674Z] fa31f396de31: Pulling fs layer [2022-10-07T10:39:41.674Z] aa9baa53a306: Waiting [2022-10-07T10:39:41.674Z] 8b309c321861: Waiting [2022-10-07T10:39:41.674Z] d8d76fd02f46: Waiting [2022-10-07T10:39:41.674Z] 370296b7ddb6: Waiting [2022-10-07T10:39:41.674Z] 7c6cee850709: Waiting [2022-10-07T10:39:41.674Z] 30c4a7721957: Verifying Checksum [2022-10-07T10:39:41.674Z] 30c4a7721957: Download complete [2022-10-07T10:39:41.674Z] ea60b727a1ce: Download complete [2022-10-07T10:39:41.674Z] 7c6cee850709: Download complete [2022-10-07T10:39:41.674Z] aa9baa53a306: Verifying Checksum [2022-10-07T10:39:41.674Z] aa9baa53a306: Download complete [2022-10-07T10:39:41.674Z] 2408cc74d12b: Verifying Checksum [2022-10-07T10:39:41.674Z] 2408cc74d12b: Download complete [2022-10-07T10:39:41.674Z] 8b309c321861: Download complete [2022-10-07T10:39:41.936Z] 2408cc74d12b: Pull complete [2022-10-07T10:39:41.936Z] ea60b727a1ce: Pull complete [2022-10-07T10:39:41.936Z] 30c4a7721957: Pull complete [2022-10-07T10:39:42.196Z] fa31f396de31: Download complete [2022-10-07T10:39:42.196Z] d8d76fd02f46: Verifying Checksum [2022-10-07T10:39:42.196Z] d8d76fd02f46: Download complete [2022-10-07T10:39:42.454Z] 370296b7ddb6: Verifying Checksum [2022-10-07T10:39:42.454Z] 370296b7ddb6: Download complete [2022-10-07T10:39:46.640Z] 370296b7ddb6: Pull complete [2022-10-07T10:39:46.640Z] 7c6cee850709: Pull complete [2022-10-07T10:39:46.640Z] aa9baa53a306: Pull complete [2022-10-07T10:39:46.640Z] 8b309c321861: Pull complete [2022-10-07T10:39:49.170Z] d8d76fd02f46: Pull complete [2022-10-07T10:39:49.737Z] fa31f396de31: Pull complete [2022-10-07T10:39:49.737Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-07T10:39:49.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-07T10:39:49.737Z] ---> cef68f9685f8 [2022-10-07T10:39:49.737Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-07T10:39:54.888Z] Still waiting to schedule task [2022-10-07T10:39:54.889Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7321’ [2022-10-07T10:39:55.036Z] ---> Running in 930a9dff955e [2022-10-07T10:39:55.036Z] Removing intermediate container 930a9dff955e [2022-10-07T10:39:55.036Z] ---> ee1d818a8244 [2022-10-07T10:39:55.036Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T10:39:55.036Z] ---> Running in b0c0efa947f5 [2022-10-07T10:39:55.036Z] Removing intermediate container b0c0efa947f5 [2022-10-07T10:39:55.036Z] ---> b2f054a5a153 [2022-10-07T10:39:55.036Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T10:39:55.036Z] ---> Running in 2d5b24cbffcf [2022-10-07T10:39:55.036Z] Removing intermediate container 2d5b24cbffcf [2022-10-07T10:39:55.036Z] ---> c7b51cfbee83 [2022-10-07T10:39:55.036Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T10:39:55.036Z] ---> Running in 1eba7a183bac [2022-10-07T10:39:55.036Z] Removing intermediate container 1eba7a183bac [2022-10-07T10:39:55.036Z] ---> b1cf5b0f0251 [2022-10-07T10:39:55.036Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-07T10:39:55.036Z] ---> Running in 4d9bb3cf28eb [2022-10-07T10:39:55.036Z] Removing intermediate container 4d9bb3cf28eb [2022-10-07T10:39:55.036Z] ---> a41a2c8ca188 [2022-10-07T10:39:55.036Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T10:39:55.036Z] ---> Running in 2ae2c5079c64 [2022-10-07T10:39:55.295Z] Removing intermediate container 2ae2c5079c64 [2022-10-07T10:39:55.295Z] ---> b3cf2f0285d3 [2022-10-07T10:39:55.295Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T10:39:55.295Z] ---> Running in 560deb1a3c57 [2022-10-07T10:39:55.862Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T10:39:56.429Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T10:39:56.996Z] OK: 211 MiB in 51 packages [2022-10-07T10:39:57.267Z] Removing intermediate container 560deb1a3c57 [2022-10-07T10:39:57.267Z] ---> c0ceb918961b [2022-10-07T10:39:57.267Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-07T10:39:57.267Z] ---> Running in 8b30682d6352 [2022-10-07T10:39:57.267Z] Removing intermediate container 8b30682d6352 [2022-10-07T10:39:57.267Z] ---> c58a7924d75d [2022-10-07T10:39:57.267Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-07T10:39:57.525Z] ---> 4722f3bdcc94 [2022-10-07T10:39:57.525Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T10:39:57.525Z] ---> Running in 43f42b599195 [2022-10-07T10:40:19.577Z] Removing intermediate container 43f42b599195 [2022-10-07T10:40:19.577Z] ---> ad3dc4a21714 [2022-10-07T10:40:19.577Z] Step 13/14 : COPY . . [2022-10-07T10:40:19.836Z] ---> 269348b79622 [2022-10-07T10:40:19.836Z] Step 14/14 : RUN ${MAKE} [2022-10-07T10:40:19.836Z] ---> Running in 71ca7c225a99 [2022-10-07T10:40:20.097Z] noop [2022-10-07T10:40:20.356Z] Removing intermediate container 71ca7c225a99 [2022-10-07T10:40:20.356Z] ---> a55d974f8f85 [2022-10-07T10:40:20.356Z] Successfully built a55d974f8f85 [2022-10-07T10:40:20.614Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:40:20.912Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T10:40:20.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:40:20.978Z] prd-ubuntu20.04-docker-8c-8g-7323 does not seem to be running inside a container [2022-10-07T10:40:21.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-07T10:40:21.465Z] $ docker top ec9070474e99ffd47b69f01f71a2577c8bf175377577b869984f82d1ec8898c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:40:21.792Z] + go version [2022-10-07T10:40:21.792Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-07T10:40:21.807Z] $ docker stop --time=1 ec9070474e99ffd47b69f01f71a2577c8bf175377577b869984f82d1ec8898c6 [2022-10-07T10:40:23.088Z] $ docker rm -f ec9070474e99ffd47b69f01f71a2577c8bf175377577b869984f82d1ec8898c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:40:23.478Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T10:40:23.478Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:40:23.552Z] prd-ubuntu20.04-docker-8c-8g-7323 does not seem to be running inside a container [2022-10-07T10:40:23.582Z] $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-07T10:40:23.943Z] $ docker top 0ddb22c822f566db9aa17386df9eb83142183eff7d5d2144030497c870b06eab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:40:24.280Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-07T10:40:24.571Z] + make test [2022-10-07T10:40:24.571Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-07T10:40:24.829Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-07T10:40:37.017Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-07T10:40:37.949Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.041s coverage: 28.2% of statements [2022-10-07T10:40:37.949Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-07T10:40:37.949Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.630s coverage: 86.5% of statements [2022-10-07T10:40:46.055Z] 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-07T10:40:46.055Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T10:40:50.238Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T10:40:50.238Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T10:40:50.238Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T10:40:50.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T10:40:50.263Z] $ docker stop --time=1 0ddb22c822f566db9aa17386df9eb83142183eff7d5d2144030497c870b06eab [2022-10-07T10:40:52.837Z] $ docker rm -f 0ddb22c822f566db9aa17386df9eb83142183eff7d5d2144030497c870b06eab [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T10:40:53.272Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T10:40:53.325Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-07T10:40:53.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T10:40:54.010Z] + ls -al . [2022-10-07T10:40:54.010Z] total 236 [2022-10-07T10:40:54.010Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 10:40 . [2022-10-07T10:40:54.010Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:39 .. [2022-10-07T10:40:54.010Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 10:40 .git [2022-10-07T10:40:54.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:39 .github [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 7 10:39 .gitignore [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 10:39 .golangci.yml [2022-10-07T10:40:54.010Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 10:39 .semver [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 10:39 Attribution.txt [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 10:39 CHANGELOG.md [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 10:39 Dockerfile [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 10:39 GOVERNANCE.md [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 10:39 Jenkinsfile [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 10:39 LICENSE [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 10:39 Makefile [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 10:39 OWNERS.md [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 10:39 README.md [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 10:39 VERSION [2022-10-07T10:40:54.010Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:39 bin [2022-10-07T10:40:54.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:39 cmd [2022-10-07T10:40:54.010Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 7 10:40 coverage.out [2022-10-07T10:40:54.010Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 10:39 doc [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 10:39 go.mod [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 10:39 go.sum [2022-10-07T10:40:54.010Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:39 internal [2022-10-07T10:40:54.010Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:39 snap [2022-10-07T10:40:54.010Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 10:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:40:54.307Z] + 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=face5d6007145a468790ace10b56d6957ea9f84d --label arch=amd64 --label version=0.0.0 . [2022-10-07T10:40:54.307Z] Sending build context to Docker daemon 21.09MB [2022-10-07T10:40:54.307Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T10:40:54.307Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-07T10:40:54.307Z] ---> a55d974f8f85 [2022-10-07T10:40:54.307Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-07T10:40:54.564Z] ---> Running in 043caefae38b [2022-10-07T10:40:54.822Z] Removing intermediate container 043caefae38b [2022-10-07T10:40:54.822Z] ---> fcc96bde7917 [2022-10-07T10:40:54.822Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T10:40:54.822Z] ---> Running in 99e8008942e1 [2022-10-07T10:40:54.822Z] Removing intermediate container 99e8008942e1 [2022-10-07T10:40:54.822Z] ---> e3a0d0d19be9 [2022-10-07T10:40:54.822Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T10:40:54.822Z] ---> Running in 46d3c36aa657 [2022-10-07T10:40:54.822Z] Removing intermediate container 46d3c36aa657 [2022-10-07T10:40:54.822Z] ---> c45c2014a083 [2022-10-07T10:40:54.822Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T10:40:55.082Z] ---> Running in ddf38adb1c01 [2022-10-07T10:40:55.082Z] Removing intermediate container ddf38adb1c01 [2022-10-07T10:40:55.082Z] ---> d360c5982745 [2022-10-07T10:40:55.082Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-07T10:40:55.082Z] ---> Running in ed90c8648614 [2022-10-07T10:40:55.082Z] Removing intermediate container ed90c8648614 [2022-10-07T10:40:55.082Z] ---> 340cc6948130 [2022-10-07T10:40:55.082Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T10:40:55.082Z] ---> Running in 143141bc76b9 [2022-10-07T10:40:55.651Z] Removing intermediate container 143141bc76b9 [2022-10-07T10:40:55.651Z] ---> 337d2e84d788 [2022-10-07T10:40:55.651Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T10:40:55.651Z] ---> Running in 7e44a5ff5336 [2022-10-07T10:40:55.910Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T10:40:56.845Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T10:40:57.103Z] OK: 211 MiB in 51 packages [2022-10-07T10:40:57.672Z] Removing intermediate container 7e44a5ff5336 [2022-10-07T10:40:57.672Z] ---> 80932c218fa7 [2022-10-07T10:40:57.672Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-07T10:40:57.672Z] ---> Running in ba62bb820754 [2022-10-07T10:40:57.672Z] Removing intermediate container ba62bb820754 [2022-10-07T10:40:57.672Z] ---> 2dca31779919 [2022-10-07T10:40:57.672Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-07T10:40:57.672Z] ---> 7090095d2cfd [2022-10-07T10:40:57.672Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T10:40:57.672Z] ---> Running in 784305b585dd [2022-10-07T10:40:58.608Z] Removing intermediate container 784305b585dd [2022-10-07T10:40:58.608Z] ---> 3f491c0fb375 [2022-10-07T10:40:58.608Z] Step 13/27 : COPY . . [2022-10-07T10:40:59.174Z] ---> 11187d5fe864 [2022-10-07T10:40:59.174Z] Step 14/27 : RUN ${MAKE} [2022-10-07T10:40:59.174Z] ---> Running in e795f0aee086 [2022-10-07T10:40:59.432Z] 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-07T10:41:25.974Z] Removing intermediate container e795f0aee086 [2022-10-07T10:41:25.974Z] ---> bfd128e66c7a [2022-10-07T10:41:25.974Z] Step 15/27 : FROM alpine:3.16 [2022-10-07T10:41:25.974Z] 3.16: Pulling from library/alpine [2022-10-07T10:41:25.974Z] 213ec9aee27d: Pulling fs layer [2022-10-07T10:41:25.974Z] 213ec9aee27d: Verifying Checksum [2022-10-07T10:41:25.974Z] 213ec9aee27d: Download complete [2022-10-07T10:41:25.974Z] 213ec9aee27d: Pull complete [2022-10-07T10:41:25.974Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T10:41:25.974Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T10:41:25.974Z] ---> 9c6f07244728 [2022-10-07T10:41:25.974Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-07T10:41:25.974Z] ---> Running in 2a71aed12dd7 [2022-10-07T10:41:25.974Z] Removing intermediate container 2a71aed12dd7 [2022-10-07T10:41:25.974Z] ---> e303b87cb993 [2022-10-07T10:41:25.974Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T10:41:25.974Z] ---> Running in c06120a9c7e6 [2022-10-07T10:41:25.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T10:41:25.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T10:41:25.974Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T10:41:25.974Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T10:41:25.974Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T10:41:25.974Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T10:41:25.974Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T10:41:25.974Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T10:41:25.974Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T10:41:25.974Z] OK: 8 MiB in 20 packages [2022-10-07T10:41:25.974Z] Removing intermediate container c06120a9c7e6 [2022-10-07T10:41:25.974Z] ---> 12ec3be40c1f [2022-10-07T10:41:25.974Z] Step 18/27 : WORKDIR / [2022-10-07T10:41:25.974Z] ---> Running in 539b4ceaee89 [2022-10-07T10:41:26.232Z] Removing intermediate container 539b4ceaee89 [2022-10-07T10:41:26.232Z] ---> 56d5f14f443d [2022-10-07T10:41:26.232Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-07T10:41:26.799Z] ---> 90acd8962ad2 [2022-10-07T10:41:26.799Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-07T10:41:27.057Z] ---> adde3816ac6d [2022-10-07T10:41:27.057Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-07T10:41:27.057Z] ---> ff70cf3ea227 [2022-10-07T10:41:27.057Z] Step 22/27 : EXPOSE 59984 [2022-10-07T10:41:27.057Z] ---> Running in 62f02d2de087 [2022-10-07T10:41:27.057Z] Removing intermediate container 62f02d2de087 [2022-10-07T10:41:27.057Z] ---> ed5be911a690 [2022-10-07T10:41:27.057Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-07T10:41:27.057Z] ---> Running in 2955ca0174c0 [2022-10-07T10:41:27.315Z] Removing intermediate container 2955ca0174c0 [2022-10-07T10:41:27.315Z] ---> 9d96b1dc74da [2022-10-07T10:41:27.315Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T10:41:27.315Z] ---> Running in 8f7b84613ac1 [2022-10-07T10:41:27.315Z] Removing intermediate container 8f7b84613ac1 [2022-10-07T10:41:27.315Z] ---> 493ec8754543 [2022-10-07T10:41:27.315Z] Step 25/27 : LABEL arch=amd64 [2022-10-07T10:41:27.315Z] ---> Running in fef0a1e65d5d [2022-10-07T10:41:27.574Z] Removing intermediate container fef0a1e65d5d [2022-10-07T10:41:27.574Z] ---> 97dc5db160b3 [2022-10-07T10:41:27.574Z] Step 26/27 : LABEL git_sha=face5d6007145a468790ace10b56d6957ea9f84d [2022-10-07T10:41:27.574Z] ---> Running in 1b118c6f1a5e [2022-10-07T10:41:27.574Z] Removing intermediate container 1b118c6f1a5e [2022-10-07T10:41:27.574Z] ---> 802601f87047 [2022-10-07T10:41:27.574Z] Step 27/27 : LABEL version=0.0.0 [2022-10-07T10:41:27.574Z] ---> Running in f0a0b1b4488f [2022-10-07T10:41:27.574Z] Removing intermediate container f0a0b1b4488f [2022-10-07T10:41:27.574Z] ---> 020fa5d3e50a [2022-10-07T10:41:27.574Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T10:41:27.574Z] Successfully built 020fa5d3e50a [2022-10-07T10:41:27.574Z] 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-07T10:41:27.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T10:41:27.996Z] [2022-10-07T10:41:27.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:41:28.287Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T10:41:28.287Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-07T10:41:28.287Z] 5eb5b503b376: Pulling fs layer [2022-10-07T10:41:28.287Z] 5c69ac0246d0: Pulling fs layer [2022-10-07T10:41:28.287Z] ec43610c2a17: Pulling fs layer [2022-10-07T10:41:28.287Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-07T10:41:28.287Z] 33b1e0a273af: Pulling fs layer [2022-10-07T10:41:28.287Z] 5d3b04190fa2: Pulling fs layer [2022-10-07T10:41:28.287Z] 2f39f015ded8: Pulling fs layer [2022-10-07T10:41:28.287Z] 33b1e0a273af: Waiting [2022-10-07T10:41:28.287Z] 3a2ae6a8a46f: Waiting [2022-10-07T10:41:28.287Z] 5d3b04190fa2: Waiting [2022-10-07T10:41:28.287Z] 2f39f015ded8: Waiting [2022-10-07T10:41:28.287Z] 5c69ac0246d0: Verifying Checksum [2022-10-07T10:41:28.287Z] 5c69ac0246d0: Download complete [2022-10-07T10:41:28.287Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-07T10:41:28.287Z] 3a2ae6a8a46f: Download complete [2022-10-07T10:41:28.547Z] 33b1e0a273af: Verifying Checksum [2022-10-07T10:41:28.547Z] 33b1e0a273af: Download complete [2022-10-07T10:41:28.547Z] ec43610c2a17: Verifying Checksum [2022-10-07T10:41:28.547Z] ec43610c2a17: Download complete [2022-10-07T10:41:28.547Z] 5d3b04190fa2: Verifying Checksum [2022-10-07T10:41:28.547Z] 5d3b04190fa2: Download complete [2022-10-07T10:41:28.547Z] 5eb5b503b376: Verifying Checksum [2022-10-07T10:41:28.547Z] 5eb5b503b376: Download complete [2022-10-07T10:41:29.112Z] 2f39f015ded8: Download complete [2022-10-07T10:41:30.046Z] 5eb5b503b376: Pull complete [2022-10-07T10:41:30.046Z] 5c69ac0246d0: Pull complete [2022-10-07T10:41:30.613Z] ec43610c2a17: Pull complete [2022-10-07T10:41:30.613Z] 3a2ae6a8a46f: Pull complete [2022-10-07T10:41:30.871Z] 33b1e0a273af: Pull complete [2022-10-07T10:41:30.871Z] 5d3b04190fa2: Pull complete [2022-10-07T10:41:36.136Z] 2f39f015ded8: Pull complete [2022-10-07T10:41:36.136Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-07T10:41:36.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T10:41:36.136Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:41:36.202Z] prd-ubuntu20.04-docker-8c-8g-7323 does not seem to be running inside a container [2022-10-07T10:41:36.233Z] $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-07T10:41:39.273Z] $ docker top 084dc0974e931a8f9252112d2a0a41c0b671cb632e57be44010ee33513987fbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:41:39.670Z] ---> job-cost.sh [2022-10-07T10:41:39.670Z] lf-activate-venv: SKIPPING [2022-10-07T10:41:39.670Z] INFO: No Stack... [2022-10-07T10:41:39.928Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T10:41:40.493Z] INFO: Archiving Costs [Pipeline] sh [2022-10-07T10:41:40.783Z] + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [2022-10-07T10:41:40.783Z] + cut -d, -f6 [Pipeline] lock [2022-10-07T10:41:40.796Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] [2022-10-07T10:41:40.803Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] did not exist. Created. [2022-10-07T10:41:40.803Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-07T10:41:41.109Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-07T10:41:41.134Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T10:41:41.141Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T10:41:41.163Z] $ docker stop --time=1 084dc0974e931a8f9252112d2a0a41c0b671cb632e57be44010ee33513987fbd [2022-10-07T10:41:42.362Z] $ docker rm -f 084dc0974e931a8f9252112d2a0a41c0b671cb632e57be44010ee33513987fbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-07T10:41:53.747Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7325 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-07T10:41:53.760Z] Running in /w/workspace/device-onvif-camera/11 [Pipeline] { [Pipeline] checkout [2022-10-07T10:41:53.801Z] The recommended git tool is: git [2022-10-07T10:41:59.242Z] using credential edgex-jenkins-ssh [2022-10-07T10:41:59.263Z] Cloning the remote Git repository [2022-10-07T10:41:59.310Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T10:41:59.389Z] > git init /w/workspace/device-onvif-camera/11 # timeout=10 [2022-10-07T10:41:59.554Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T10:41:59.555Z] > git --version # timeout=10 [2022-10-07T10:41:59.575Z] > git --version # 'git version 2.25.1' [2022-10-07T10:41:59.578Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T10:41:59.630Z] Verifying host key using known hosts file [2022-10-07T10:41:59.834Z] 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-07T10:41:59.845Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T10:42:01.107Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-07T10:42:01.132Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T10:42:02.091Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-07T10:42:02.142Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T10:42:02.143Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T10:42:02.149Z] Verifying host key using known hosts file [2022-10-07T10:42:02.157Z] 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-07T10:42:02.169Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-07T10:42:02.898Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit face5d6007145a468790ace10b56d6957ea9f84d [2022-10-07T10:42:03.298Z] Merge succeeded, producing face5d6007145a468790ace10b56d6957ea9f84d [2022-10-07T10:42:03.299Z] Checking out Revision face5d6007145a468790ace10b56d6957ea9f84d (PR-172) [2022-10-07T10:42:02.915Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T10:42:02.942Z] > git checkout -f face5d6007145a468790ace10b56d6957ea9f84d # timeout=10 [2022-10-07T10:42:03.175Z] > git remote # timeout=10 [2022-10-07T10:42:03.195Z] > git config --get remote.origin.url # timeout=10 [2022-10-07T10:42:03.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T10:42:03.224Z] Verifying host key using known hosts file [2022-10-07T10:42:03.229Z] 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-07T10:42:03.238Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-07T10:42:03.274Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-07T10:42:03.304Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T10:42:03.324Z] > git checkout -f face5d6007145a468790ace10b56d6957ea9f84d # timeout=10 [2022-10-07T10:42:07.016Z] Commit message: "fix: discovery mode netscan when using docker-compose" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T10:42:07.839Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-07T10:42:07.839Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T10:42:07.839Z] Dload Upload Total Spent Left Speed [2022-10-07T10:42:07.839Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh [2022-10-07T10:42:08.542Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-07T10:42:08.876Z] + sudo tee /etc/docker/daemon.new [2022-10-07T10:42:08.876Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-07T10:42:08.876Z] { [2022-10-07T10:42:08.876Z] "registry-mirrors": [ [2022-10-07T10:42:08.876Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-07T10:42:08.876Z] ], [2022-10-07T10:42:08.876Z] "bip": "10.250.0.254/24", [2022-10-07T10:42:08.876Z] "hosts": [ [2022-10-07T10:42:08.876Z] "tcp://0.0.0.0:5555", [2022-10-07T10:42:08.876Z] "unix:///var/run/docker.sock" [2022-10-07T10:42:08.876Z] ], [2022-10-07T10:42:08.876Z] "mtu": 1458, [2022-10-07T10:42:08.876Z] "selinux-enabled": true, [2022-10-07T10:42:08.876Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-07T10:42:08.876Z] } [Pipeline] sh [2022-10-07T10:42:09.218Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-07T10:42:09.562Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T10:42:27.835Z] provisioning config files... [2022-10-07T10:42:27.863Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/11@tmp/config17315484907766467947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:42:28.221Z] ---> docker-login.sh [2022-10-07T10:42:28.221Z] nexus3.edgexfoundry.org:10001 [2022-10-07T10:42:28.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:42:28.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:42:28.812Z] Configure a credential helper to remove this warning. See [2022-10-07T10:42:28.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:42:28.812Z] [2022-10-07T10:42:28.812Z] Login Succeeded [2022-10-07T10:42:28.812Z] nexus3.edgexfoundry.org:10002 [2022-10-07T10:42:29.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:42:29.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:42:29.353Z] Configure a credential helper to remove this warning. See [2022-10-07T10:42:29.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:42:29.353Z] [2022-10-07T10:42:29.353Z] Login Succeeded [2022-10-07T10:42:29.353Z] nexus3.edgexfoundry.org:10003 [2022-10-07T10:42:29.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:42:29.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:42:29.624Z] Configure a credential helper to remove this warning. See [2022-10-07T10:42:29.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:42:29.624Z] [2022-10-07T10:42:29.624Z] Login Succeeded [2022-10-07T10:42:29.624Z] nexus3.edgexfoundry.org:10004 [2022-10-07T10:42:29.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:42:29.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:42:29.893Z] Configure a credential helper to remove this warning. See [2022-10-07T10:42:29.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:42:29.893Z] [2022-10-07T10:42:29.893Z] Login Succeeded [2022-10-07T10:42:29.893Z] docker.io [2022-10-07T10:42:30.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:42:30.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:42:30.756Z] Configure a credential helper to remove this warning. See [2022-10-07T10:42:30.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:42:30.756Z] [2022-10-07T10:42:30.756Z] Login Succeeded [2022-10-07T10:42:30.756Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T10:42:30.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T10:42:30.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T10:42:30.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T10:42:30.968Z] ========================================================= [2022-10-07T10:42:30.968Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-07T10:42:30.968Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:42:31.324Z] + 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-07T10:42:31.913Z] Sending build context to Docker daemon 14.44MB [2022-10-07T10:42:31.913Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T10:42:31.913Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-07T10:42:32.184Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-07T10:42:32.184Z] b3c136eddcbf: Pulling fs layer [2022-10-07T10:42:32.184Z] c0a3192eca97: Pulling fs layer [2022-10-07T10:42:32.184Z] a050256f5b6f: Pulling fs layer [2022-10-07T10:42:32.184Z] 656be50a0ddc: Pulling fs layer [2022-10-07T10:42:32.184Z] 2bbca73fdf42: Pulling fs layer [2022-10-07T10:42:32.184Z] f607e4fc86c3: Pulling fs layer [2022-10-07T10:42:32.184Z] 4d572c569a2c: Pulling fs layer [2022-10-07T10:42:32.184Z] fcf976331f73: Pulling fs layer [2022-10-07T10:42:32.184Z] 656be50a0ddc: Waiting [2022-10-07T10:42:32.184Z] 2bbca73fdf42: Waiting [2022-10-07T10:42:32.184Z] f607e4fc86c3: Waiting [2022-10-07T10:42:32.184Z] 4d572c569a2c: Waiting [2022-10-07T10:42:32.184Z] fcf976331f73: Waiting [2022-10-07T10:42:32.184Z] a050256f5b6f: Verifying Checksum [2022-10-07T10:42:32.184Z] a050256f5b6f: Download complete [2022-10-07T10:42:32.184Z] c0a3192eca97: Verifying Checksum [2022-10-07T10:42:32.184Z] c0a3192eca97: Download complete [2022-10-07T10:42:32.184Z] 2bbca73fdf42: Verifying Checksum [2022-10-07T10:42:32.184Z] 2bbca73fdf42: Download complete [2022-10-07T10:42:32.184Z] f607e4fc86c3: Verifying Checksum [2022-10-07T10:42:32.184Z] f607e4fc86c3: Download complete [2022-10-07T10:42:32.184Z] b3c136eddcbf: Download complete [2022-10-07T10:42:33.162Z] b3c136eddcbf: Pull complete [2022-10-07T10:42:33.441Z] fcf976331f73: Verifying Checksum [2022-10-07T10:42:33.441Z] fcf976331f73: Download complete [2022-10-07T10:42:33.712Z] c0a3192eca97: Pull complete [2022-10-07T10:42:33.984Z] a050256f5b6f: Pull complete [2022-10-07T10:42:34.574Z] 4d572c569a2c: Verifying Checksum [2022-10-07T10:42:34.574Z] 4d572c569a2c: Download complete [2022-10-07T10:42:35.161Z] 656be50a0ddc: Download complete [2022-10-07T10:42:47.493Z] 656be50a0ddc: Pull complete [2022-10-07T10:42:47.493Z] 2bbca73fdf42: Pull complete [2022-10-07T10:42:47.761Z] f607e4fc86c3: Pull complete [2022-10-07T10:42:54.431Z] 4d572c569a2c: Pull complete [2022-10-07T10:42:55.842Z] fcf976331f73: Pull complete [2022-10-07T10:42:55.842Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-07T10:42:55.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-07T10:42:55.842Z] ---> 3970a7415f9e [2022-10-07T10:42:55.842Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-07T10:42:57.802Z] ---> Running in e66e00df99f9 [2022-10-07T10:42:57.802Z] Removing intermediate container e66e00df99f9 [2022-10-07T10:42:57.802Z] ---> 2d89637d736c [2022-10-07T10:42:57.802Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T10:42:58.071Z] ---> Running in a1823425133e [2022-10-07T10:42:58.345Z] Removing intermediate container a1823425133e [2022-10-07T10:42:58.345Z] ---> 5bf12834ea2a [2022-10-07T10:42:58.345Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T10:42:58.345Z] ---> Running in 6393750265ef [2022-10-07T10:42:58.615Z] Removing intermediate container 6393750265ef [2022-10-07T10:42:58.615Z] ---> cf12cbc80c05 [2022-10-07T10:42:58.615Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T10:42:58.883Z] ---> Running in eebf53657eb1 [2022-10-07T10:42:59.153Z] Removing intermediate container eebf53657eb1 [2022-10-07T10:42:59.153Z] ---> 89a59600dcc1 [2022-10-07T10:42:59.153Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-07T10:42:59.153Z] ---> Running in bd14f7a8e125 [2022-10-07T10:42:59.739Z] Removing intermediate container bd14f7a8e125 [2022-10-07T10:42:59.739Z] ---> 66012d8b4e6f [2022-10-07T10:42:59.739Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T10:42:59.739Z] ---> Running in ad19946f8083 [2022-10-07T10:43:01.692Z] Removing intermediate container ad19946f8083 [2022-10-07T10:43:01.692Z] ---> 753db276ae59 [2022-10-07T10:43:01.692Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T10:43:01.692Z] ---> Running in 60bd6d1c3c71 [2022-10-07T10:43:02.656Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T10:43:03.625Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T10:43:04.589Z] OK: 221 MiB in 51 packages [2022-10-07T10:43:05.181Z] Removing intermediate container 60bd6d1c3c71 [2022-10-07T10:43:05.181Z] ---> c04ef84246de [2022-10-07T10:43:05.181Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-07T10:43:05.451Z] ---> Running in 128856a30ef0 [2022-10-07T10:43:05.720Z] Removing intermediate container 128856a30ef0 [2022-10-07T10:43:05.720Z] ---> f7ea41905c13 [2022-10-07T10:43:05.720Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-07T10:43:06.323Z] ---> caf91e16c490 [2022-10-07T10:43:06.323Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T10:43:06.323Z] ---> Running in bd625f7dbfb0 [2022-10-07T10:44:02.762Z] Removing intermediate container bd625f7dbfb0 [2022-10-07T10:44:02.762Z] ---> c31b0ba20991 [2022-10-07T10:44:02.762Z] Step 13/14 : COPY . . [2022-10-07T10:44:02.762Z] ---> 5d0a81a96839 [2022-10-07T10:44:02.762Z] Step 14/14 : RUN ${MAKE} [2022-10-07T10:44:02.762Z] ---> Running in 87d3b832d3e2 [2022-10-07T10:44:02.762Z] noop [2022-10-07T10:44:02.762Z] Removing intermediate container 87d3b832d3e2 [2022-10-07T10:44:02.762Z] ---> b5a0635a3002 [2022-10-07T10:44:02.762Z] Successfully built b5a0635a3002 [2022-10-07T10:44:02.762Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:44:03.105Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T10:44:03.106Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:44:03.289Z] prd-ubuntu20.04-docker-arm64-4c-16g-7325 does not seem to be running inside a container [2022-10-07T10:44:03.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-07T10:44:04.684Z] $ docker top 596bc101e9f65ceebe4a200691f19d255b78d23f8e7d52c867f58eaf68c8c9f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:44:05.524Z] + go version [2022-10-07T10:44:05.524Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-07T10:44:05.550Z] $ docker stop --time=1 596bc101e9f65ceebe4a200691f19d255b78d23f8e7d52c867f58eaf68c8c9f9 [2022-10-07T10:44:07.209Z] $ docker rm -f 596bc101e9f65ceebe4a200691f19d255b78d23f8e7d52c867f58eaf68c8c9f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:44:07.751Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T10:44:07.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:44:07.940Z] prd-ubuntu20.04-docker-arm64-4c-16g-7325 does not seem to be running inside a container [2022-10-07T10:44:08.019Z] $ 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/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-07T10:44:09.298Z] $ docker top f046da5e4f5cfec4efcc8b166f72ddb08148b903af79d764c2d2b9eb521f06e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:44:10.147Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/11 [Pipeline] fileExists [Pipeline] sh [2022-10-07T10:44:10.799Z] + make test [2022-10-07T10:44:10.799Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-07T10:44:12.753Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-07T10:46:04.445Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-07T10:46:04.445Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.201s coverage: 28.2% of statements [2022-10-07T10:46:04.445Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-07T10:46:22.714Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.376s coverage: 86.5% of statements [2022-10-07T10:46:22.714Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-07T10:46:22.714Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T10:47:01.620Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T10:47:01.620Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T10:47:01.620Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T10:47:01.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T10:47:01.656Z] $ docker stop --time=1 f046da5e4f5cfec4efcc8b166f72ddb08148b903af79d764c2d2b9eb521f06e0 [2022-10-07T10:47:03.724Z] $ docker rm -f f046da5e4f5cfec4efcc8b166f72ddb08148b903af79d764c2d2b9eb521f06e0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T10:47:04.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T10:47:04.925Z] Warning: overwriting stash ‘coverage-report’ [2022-10-07T10:47:05.825Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T10:47:06.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T10:47:06.600Z] + ls -al . [2022-10-07T10:47:06.600Z] total 232 [2022-10-07T10:47:06.600Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 10:44 . [2022-10-07T10:47:06.600Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:41 .. [2022-10-07T10:47:06.600Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 10:42 .git [2022-10-07T10:47:06.600Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:42 .github [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 7 10:42 .gitignore [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 10:42 .golangci.yml [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 10:42 Attribution.txt [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 10:42 CHANGELOG.md [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 10:42 Dockerfile [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 10:42 GOVERNANCE.md [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 10:42 Jenkinsfile [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 10:42 LICENSE [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 10:42 Makefile [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 10:42 OWNERS.md [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 10:42 README.md [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 10:39 VERSION [2022-10-07T10:47:06.600Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:42 bin [2022-10-07T10:47:06.600Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:42 cmd [2022-10-07T10:47:06.600Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 7 10:46 coverage.out [2022-10-07T10:47:06.600Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 10:42 doc [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 10:42 go.mod [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 10:42 go.sum [2022-10-07T10:47:06.600Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:42 internal [2022-10-07T10:47:06.600Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:42 snap [2022-10-07T10:47:06.600Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 10:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:47:06.995Z] + 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=face5d6007145a468790ace10b56d6957ea9f84d --label arch=arm64 --label version=0.0.0 . [2022-10-07T10:47:07.970Z] Sending build context to Docker daemon 14.52MB [2022-10-07T10:47:07.970Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T10:47:07.970Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-07T10:47:07.970Z] ---> b5a0635a3002 [2022-10-07T10:47:07.970Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-07T10:47:07.970Z] ---> Running in 7a1f11154692 [2022-10-07T10:47:09.384Z] Removing intermediate container 7a1f11154692 [2022-10-07T10:47:09.384Z] ---> 7ebd706c82a6 [2022-10-07T10:47:09.384Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T10:47:09.652Z] ---> Running in 11f95d7c5f68 [2022-10-07T10:47:09.921Z] Removing intermediate container 11f95d7c5f68 [2022-10-07T10:47:09.921Z] ---> d7ad29242620 [2022-10-07T10:47:09.921Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T10:47:09.921Z] ---> Running in 8499a31fa622 [2022-10-07T10:47:12.049Z] Removing intermediate container 8499a31fa622 [2022-10-07T10:47:12.049Z] ---> e646f8db3226 [2022-10-07T10:47:12.049Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T10:47:12.049Z] ---> Running in a04cc3f3b44d [2022-10-07T10:47:12.343Z] Removing intermediate container a04cc3f3b44d [2022-10-07T10:47:12.343Z] ---> b31fae1bbc5f [2022-10-07T10:47:12.343Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-07T10:47:12.343Z] ---> Running in f85463bc7f7a [2022-10-07T10:47:12.622Z] Removing intermediate container f85463bc7f7a [2022-10-07T10:47:12.622Z] ---> bc9fdaef31d0 [2022-10-07T10:47:12.622Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T10:47:12.925Z] ---> Running in 451d98687a29 [2022-10-07T10:47:14.985Z] Removing intermediate container 451d98687a29 [2022-10-07T10:47:14.985Z] ---> 05c542a8a414 [2022-10-07T10:47:14.985Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T10:47:14.985Z] ---> Running in 168f43296bab [2022-10-07T10:47:16.421Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T10:47:17.006Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T10:47:18.424Z] OK: 221 MiB in 51 packages [2022-10-07T10:47:19.015Z] Removing intermediate container 168f43296bab [2022-10-07T10:47:19.015Z] ---> 62788d7c0ad3 [2022-10-07T10:47:19.015Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-07T10:47:19.015Z] ---> Running in 550e9278fea4 [2022-10-07T10:47:19.604Z] Removing intermediate container 550e9278fea4 [2022-10-07T10:47:19.604Z] ---> 9398dd514c75 [2022-10-07T10:47:19.604Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-07T10:47:19.871Z] ---> 6bcbdbe1d16d [2022-10-07T10:47:19.871Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T10:47:20.138Z] ---> Running in 7c8099e95766 [2022-10-07T10:47:23.481Z] Removing intermediate container 7c8099e95766 [2022-10-07T10:47:23.481Z] ---> 1452e7c2a71e [2022-10-07T10:47:23.481Z] Step 13/27 : COPY . . [2022-10-07T10:47:24.892Z] ---> 7c56d71060a3 [2022-10-07T10:47:24.892Z] Step 14/27 : RUN ${MAKE} [2022-10-07T10:47:24.892Z] ---> Running in 8af90968906b [2022-10-07T10:47:25.855Z] 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-07T10:50:02.607Z] Removing intermediate container 8af90968906b [2022-10-07T10:50:02.607Z] ---> f0cccf5029ab [2022-10-07T10:50:02.607Z] Step 15/27 : FROM alpine:3.16 [2022-10-07T10:50:02.607Z] 3.16: Pulling from library/alpine [2022-10-07T10:50:02.607Z] 9b18e9b68314: Pulling fs layer [2022-10-07T10:50:02.607Z] 9b18e9b68314: Verifying Checksum [2022-10-07T10:50:02.607Z] 9b18e9b68314: Pull complete [2022-10-07T10:50:02.607Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T10:50:02.607Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T10:50:02.607Z] ---> a6215f271958 [2022-10-07T10:50:02.607Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-07T10:50:02.607Z] ---> Running in 81bd2399f762 [2022-10-07T10:50:02.607Z] Removing intermediate container 81bd2399f762 [2022-10-07T10:50:02.607Z] ---> 462d9c0ed005 [2022-10-07T10:50:02.607Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T10:50:02.607Z] ---> Running in eb47adebe590 [2022-10-07T10:50:02.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T10:50:02.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T10:50:03.193Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T10:50:03.193Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T10:50:03.193Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T10:50:03.193Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T10:50:03.193Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T10:50:03.193Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T10:50:03.193Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T10:50:03.193Z] OK: 8 MiB in 20 packages [2022-10-07T10:50:04.154Z] Removing intermediate container eb47adebe590 [2022-10-07T10:50:04.154Z] ---> 9b70d006c821 [2022-10-07T10:50:04.154Z] Step 18/27 : WORKDIR / [2022-10-07T10:50:04.154Z] ---> Running in ed04e115467d [2022-10-07T10:50:04.421Z] Removing intermediate container ed04e115467d [2022-10-07T10:50:04.421Z] ---> b9c9577ef41f [2022-10-07T10:50:04.421Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-07T10:50:06.372Z] ---> 9949e51efbbc [2022-10-07T10:50:06.372Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-07T10:50:06.638Z] ---> ae66e91f660d [2022-10-07T10:50:06.638Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-07T10:50:07.226Z] ---> a9eeee1fe12d [2022-10-07T10:50:07.226Z] Step 22/27 : EXPOSE 59984 [2022-10-07T10:50:07.226Z] ---> Running in f4e10210e9ad [2022-10-07T10:50:07.493Z] Removing intermediate container f4e10210e9ad [2022-10-07T10:50:07.493Z] ---> eb1de08c4211 [2022-10-07T10:50:07.493Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-07T10:50:07.493Z] ---> Running in 2ae42c00e89d [2022-10-07T10:50:07.763Z] Removing intermediate container 2ae42c00e89d [2022-10-07T10:50:07.763Z] ---> 5290b6fc425c [2022-10-07T10:50:07.763Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T10:50:07.763Z] ---> Running in f306d945d26d [2022-10-07T10:50:08.350Z] Removing intermediate container f306d945d26d [2022-10-07T10:50:08.350Z] ---> 1f7a3965b6f9 [2022-10-07T10:50:08.350Z] Step 25/27 : LABEL arch=arm64 [2022-10-07T10:50:08.350Z] ---> Running in 2a6320d1414c [2022-10-07T10:50:08.619Z] Removing intermediate container 2a6320d1414c [2022-10-07T10:50:08.620Z] ---> 14d1943d197c [2022-10-07T10:50:08.620Z] Step 26/27 : LABEL git_sha=face5d6007145a468790ace10b56d6957ea9f84d [2022-10-07T10:50:08.620Z] ---> Running in f5620fdacc82 [2022-10-07T10:50:08.889Z] Removing intermediate container f5620fdacc82 [2022-10-07T10:50:08.889Z] ---> 70d7a5a13e1f [2022-10-07T10:50:08.889Z] Step 27/27 : LABEL version=0.0.0 [2022-10-07T10:50:09.165Z] ---> Running in a0ca0d99271e [2022-10-07T10:50:09.432Z] Removing intermediate container a0ca0d99271e [2022-10-07T10:50:09.432Z] ---> 8fa05afaf212 [2022-10-07T10:50:09.432Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T10:50:09.432Z] Successfully built 8fa05afaf212 [2022-10-07T10:50:09.432Z] 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-07T10:50:09.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T10:50:09.938Z] [2022-10-07T10:50:09.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:50:10.270Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T10:50:10.539Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-07T10:50:10.539Z] 8998bd30e6a1: Pulling fs layer [2022-10-07T10:50:10.539Z] 04944245beec: Pulling fs layer [2022-10-07T10:50:10.539Z] 699f458cf7ca: Pulling fs layer [2022-10-07T10:50:10.539Z] 765212b225bb: Pulling fs layer [2022-10-07T10:50:10.539Z] f23df028b6ca: Pulling fs layer [2022-10-07T10:50:10.539Z] d65c8cfc05b1: Pulling fs layer [2022-10-07T10:50:10.539Z] 2437ff75d9bd: Pulling fs layer [2022-10-07T10:50:10.539Z] 765212b225bb: Waiting [2022-10-07T10:50:10.539Z] f23df028b6ca: Waiting [2022-10-07T10:50:10.539Z] d65c8cfc05b1: Waiting [2022-10-07T10:50:10.539Z] 2437ff75d9bd: Waiting [2022-10-07T10:50:10.539Z] 04944245beec: Verifying Checksum [2022-10-07T10:50:10.539Z] 04944245beec: Download complete [2022-10-07T10:50:10.539Z] 765212b225bb: Verifying Checksum [2022-10-07T10:50:10.539Z] 765212b225bb: Download complete [2022-10-07T10:50:10.539Z] f23df028b6ca: Verifying Checksum [2022-10-07T10:50:10.539Z] f23df028b6ca: Download complete [2022-10-07T10:50:10.539Z] d65c8cfc05b1: Verifying Checksum [2022-10-07T10:50:10.539Z] d65c8cfc05b1: Download complete [2022-10-07T10:50:10.812Z] 699f458cf7ca: Verifying Checksum [2022-10-07T10:50:10.812Z] 699f458cf7ca: Download complete [2022-10-07T10:50:11.081Z] 8998bd30e6a1: Verifying Checksum [2022-10-07T10:50:11.081Z] 8998bd30e6a1: Download complete [2022-10-07T10:50:13.664Z] 2437ff75d9bd: Verifying Checksum [2022-10-07T10:50:13.664Z] 2437ff75d9bd: Download complete [2022-10-07T10:50:15.075Z] 8998bd30e6a1: Pull complete [2022-10-07T10:50:15.659Z] 04944245beec: Pull complete [2022-10-07T10:50:17.070Z] 699f458cf7ca: Pull complete [2022-10-07T10:50:17.338Z] 765212b225bb: Pull complete [2022-10-07T10:50:17.922Z] f23df028b6ca: Pull complete [2022-10-07T10:50:18.191Z] d65c8cfc05b1: Pull complete [2022-10-07T10:50:33.184Z] 2437ff75d9bd: Pull complete [2022-10-07T10:50:33.185Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-07T10:50:33.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T10:50:33.185Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:50:33.374Z] prd-ubuntu20.04-docker-arm64-4c-16g-7325 does not seem to be running inside a container [2022-10-07T10:50:33.444Z] $ 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/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-07T10:50:36.116Z] $ docker top 5fc1877f23a658ab7c891c29d3002919bce935479c07e89ce844ea1a4a5a7e3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:50:36.955Z] ---> job-cost.sh [2022-10-07T10:50:36.955Z] lf-activate-venv: SKIPPING [2022-10-07T10:50:36.955Z] INFO: No Stack... [2022-10-07T10:50:37.224Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-07T10:50:38.186Z] INFO: Archiving Costs [Pipeline] sh [2022-10-07T10:50:38.821Z] + cut -d, -f6 [2022-10-07T10:50:38.821Z] + cat /w/workspace/device-onvif-camera/11/archives/cost.csv [Pipeline] lock [2022-10-07T10:50:38.887Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] [2022-10-07T10:50:38.897Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] did not exist. Created. [2022-10-07T10:50:38.897Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-07T10:50:39.546Z] /w/workspace/device-onvif-camera/11@tmp/durable-699912d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-07T10:50:40.197Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-07T10:50:40.212Z] Warning: overwriting stash ‘stack-cost’ [2022-10-07T10:50:40.265Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T10:50:40.272Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T10:50:40.298Z] $ docker stop --time=1 5fc1877f23a658ab7c891c29d3002919bce935479c07e89ce844ea1a4a5a7e3c [2022-10-07T10:50:41.808Z] $ docker rm -f 5fc1877f23a658ab7c891c29d3002919bce935479c07e89ce844ea1a4a5a7e3c [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-07T10:50:42.176Z] provisioning config files... [2022-10-07T10:50:42.182Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config15045814590739520668tmp [Pipeline] { [Pipeline] sh [2022-10-07T10:50:42.471Z] + set +x [2022-10-07T10:50:42.471Z] + + curl -sbash https://codecov.io/bash -s [2022-10-07T10:50:42.471Z] -- [2022-10-07T10:50:42.471Z] [2022-10-07T10:50:42.471Z] _____ _ [2022-10-07T10:50:42.471Z] / ____| | | [2022-10-07T10:50:42.471Z] | | ___ __| | ___ ___ _____ __ [2022-10-07T10:50:42.471Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-07T10:50:42.471Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-07T10:50:42.471Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-07T10:50:42.471Z] Bash-1.0.6 [2022-10-07T10:50:42.471Z] [2022-10-07T10:50:42.471Z] [2022-10-07T10:50:42.471Z] ==> git version 2.25.1 found [2022-10-07T10:50:42.471Z] ==> 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-07T10:50:42.471Z] Release-Date: 2020-01-08 [2022-10-07T10:50:42.471Z] 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-07T10:50:42.471Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-07T10:50:42.471Z] ==> Jenkins CI detected. [2022-10-07T10:50:42.471Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-172 [2022-10-07T10:50:42.471Z] project root: . [2022-10-07T10:50:42.471Z] --> token set from env [2022-10-07T10:50:42.471Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-07T10:50:42.471Z] ==> Running gcov in . (disable via -X gcov) [2022-10-07T10:50:42.471Z] ==> Python coveragepy not found [2022-10-07T10:50:42.471Z] ==> Searching for coverage reports in: [2022-10-07T10:50:42.471Z] + . [2022-10-07T10:50:42.471Z] -> Found 1 reports [2022-10-07T10:50:42.471Z] ==> Detecting git/mercurial file structure [2022-10-07T10:50:42.471Z] ==> Reading reports [2022-10-07T10:50:42.471Z] + ./coverage.out bytes=78636 [2022-10-07T10:50:42.731Z] ==> Appending adjustments [2022-10-07T10:50:42.731Z] https://docs.codecov.io/docs/fixing-reports [2022-10-07T10:50:42.731Z] + Found adjustments [2022-10-07T10:50:42.731Z] ==> Gzipping contents [2022-10-07T10:50:42.731Z] 12K /tmp/codecov.aepwrB.gz [2022-10-07T10:50:42.731Z] ==> Uploading reports [2022-10-07T10:50:42.731Z] url: https://codecov.io [2022-10-07T10:50:42.731Z] query: branch=PR-172&commit=face5d6007145a468790ace10b56d6957ea9f84d&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-07T10:50:42.731Z] -> Pinging Codecov [2022-10-07T10:50:42.731Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-172&commit=face5d6007145a468790ace10b56d6957ea9f84d&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-07T10:50:42.990Z] -> Uploading to [2022-10-07T10:50:42.990Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-07/F29A59C45E3A92E06B3E522C9905F8EF/face5d6007145a468790ace10b56d6957ea9f84d/ef7cf112-5887-4f49-b32b-ad6a3014641b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T105042Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1f512c343733b6502549fd8ec8c2c23bd0d8e1e2336b70cb577e2b6d5196a1f1 [2022-10-07T10:50:42.990Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T10:50:42.990Z] Dload Upload Total Spent Left Speed [2022-10-07T10:50:43.249Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10737 0 0 100 10737 0 46081 --:--:-- --:--:-- --:--:-- 46081 [2022-10-07T10:50:43.249Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] } [2022-10-07T10:50:43.256Z] 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-07T10:50:43.898Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-07T10:50:43.898Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-07T10:50:43.898Z] total 16 [2022-10-07T10:50:43.898Z] drwxr-xr-x 3 root root 4096 Oct 7 10:41 . [2022-10-07T10:50:43.898Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 10:41 .. [2022-10-07T10:50:43.898Z] drwxr-xr-x 2 root root 4096 Oct 7 10:41 cost [2022-10-07T10:50:43.898Z] -rw-r--r-- 1 root root 92 Oct 7 10:41 cost.csv [2022-10-07T10:50:43.898Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-07T10:50:43.898Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-07T10:50:43.898Z] total 16 [2022-10-07T10:50:43.898Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 10:41 . [2022-10-07T10:50:43.898Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 10:41 .. [2022-10-07T10:50:43.898Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 10:41 cost [2022-10-07T10:50:43.898Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 7 10:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:50:44.188Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:50:45.048Z] ---> package-listing.sh [2022-10-07T10:50:45.048Z] ++ facter osfamily [2022-10-07T10:50:45.048Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-07T10:50:45.308Z] + OS_FAMILY=debian [2022-10-07T10:50:45.308Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-07T10:50:45.308Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-07T10:50:45.308Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-07T10:50:45.308Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-07T10:50:45.308Z] + PACKAGES=/tmp/packages_start.txt [2022-10-07T10:50:45.308Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-07T10:50:45.308Z] + PACKAGES=/tmp/packages_end.txt [2022-10-07T10:50:45.308Z] + case "${OS_FAMILY}" in [2022-10-07T10:50:45.308Z] + dpkg -l [2022-10-07T10:50:45.308Z] + grep '^ii' [2022-10-07T10:50:45.308Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-07T10:50:45.308Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-07T10:50:45.308Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-07T10:50:45.308Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-07T10:50:45.308Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-07T10:50:45.308Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo [2022-10-07T10:50:45.324Z] 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-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-07T10:50:45.601Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:50:46.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T10:50:46.159Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:50:46.222Z] prd-ubuntu20.04-docker-8c-8g-7323 does not seem to be running inside a container [2022-10-07T10:50:46.261Z] $ 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-172/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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-07T10:50:46.511Z] $ docker top 8910602530c01f64e62ef944d44015748755506f981d1b7a6d17f11fc94e8bc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:50:46.845Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-07T10:50:47.129Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-07T10:50:47.411Z] + ls /var/log/sa-host [2022-10-07T10:50:47.411Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T10:50:47.558Z] provisioning config files... [2022-10-07T10:50:47.567Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config18306617597628725953tmp [Pipeline] { [Pipeline] echo [2022-10-07T10:50:47.582Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:50:47.863Z] ---> create-netrc.sh [Pipeline] } [2022-10-07T10:50:47.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:50:48.197Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-07T10:50:48.204Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:50:48.486Z] ---> sudo-logs.sh [2022-10-07T10:50:48.486Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-07T10:50:48.514Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:50:48.794Z] ---> job-cost.sh [2022-10-07T10:50:48.794Z] lf-activate-venv: SKIPPING [2022-10-07T10:50:48.794Z] DEBUG: total: 0.2199999988079071 [2022-10-07T10:50:48.794Z] INFO: Retrieving Stack Cost... [2022-10-07T10:50:49.362Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T10:50:49.622Z] INFO: Archiving Costs [Pipeline] echo [2022-10-07T10:50:49.632Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:50:49.913Z] ---> logs-deploy.sh [2022-10-07T10:50:49.913Z] lf-activate-venv: SKIPPING [2022-10-07T10:50:49.913Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/11 [2022-10-07T10:50:49.913Z] INFO: archiving workspace using pattern(s): [2022-10-07T10:50:50.853Z] Archives upload complete. [2022-10-07T10:50:51.112Z] INFO: archiving logs to Nexus