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 bca8455642164c3d303fb1e1cb399f48d9b73870 rather than d830c2a7d78e2132ea45c8989aefb558f796dc0c Obtained Jenkinsfile from bca8455642164c3d303fb1e1cb399f48d9b73870 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-ssh15013343912499362686.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-ssh14148856346594892993.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-ssh5436989081136840726.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-ssh2703543434862744950.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-ssh14170837495701074620.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7708 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 bca8455642164c3d303fb1e1cb399f48d9b73870 into PR head commit d830c2a7d78e2132ea45c8989aefb558f796dc0c Merge succeeded, producing bca2311dfce4c98374c6bb1f7529a213d91c6526 Checking out Revision bca2311dfce4c98374c6bb1f7529a213d91c6526 (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f d830c2a7d78e2132ea45c8989aefb558f796dc0c # 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 bca8455642164c3d303fb1e1cb399f48d9b73870 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bca2311dfce4c98374c6bb1f7529a213d91c6526 # timeout=10 Commit message: "Merge commit 'bca8455642164c3d303fb1e1cb399f48d9b73870' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-12T02:50:23.552Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-12T02:50:23.595Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-12T02:50:23.611Z] ========================================================= [2022-10-12T02:50:23.611Z] EdgeX Global Pipelines Version Info [2022-10-12T02:50:23.611Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:50:24.313Z] ------------------- [2022-10-12T02:50:24.313Z] stable info: [2022-10-12T02:50:24.313Z] ------------------- [2022-10-12T02:50:24.313Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-12T02:50:24.313Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T02:50:24.313Z] Message: update stable to v1.0.239 > git rev-list --no-walk 8108f8d44040698f52b321c7970442737caecb96 # timeout=10 [2022-10-12T02:50:24.883Z] ------------------- [2022-10-12T02:50:24.883Z] experimental info: [2022-10-12T02:50:24.883Z] ------------------- [2022-10-12T02:50:24.883Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-12T02:50:24.883Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T02:50:24.883Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-12T02:50:25.057Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-12T02:50:25.065Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-12T02:50:25.074Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-12T02:50:25.090Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-12T02:50:25.106Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-12T02:50:25.124Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-12T02:50:25.136Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-12T02:50:25.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-12T02:50:25.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-12T02:50:25.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-12T02:50:25.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-12T02:50:25.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-12T02:50:25.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-12T02:50:25.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-12T02:50:25.253Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T02:50:25.267Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T02:50:25.279Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T02:50:25.292Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T02:50:25.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-12T02:50:25.316Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-12T02:50:25.327Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-12T02:50:25.338Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-12T02:50:25.352Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-12T02:50:25.365Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-12T02:50:25.377Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-12T02:50:25.389Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-12T02:50:25.400Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-12T02:50:25.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-12T02:50:25.423Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-12T02:50:25.435Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-12T02:50:25.446Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bca2311dfce4c98374c6bb1f7529a213d91c6526 [Pipeline] echo [2022-10-12T02:50:25.457Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bca2311 [Pipeline] echo [2022-10-12T02:50:25.469Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:50:25.510Z] provisioning config files... [2022-10-12T02:50:25.532Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config12122298765146267681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:50:25.925Z] ---> docker-login.sh [2022-10-12T02:50:25.925Z] nexus3.edgexfoundry.org:10001 [2022-10-12T02:50:26.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:50:26.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:50:26.445Z] Configure a credential helper to remove this warning. See [2022-10-12T02:50:26.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:50:26.445Z] [2022-10-12T02:50:26.445Z] Login Succeeded [2022-10-12T02:50:26.445Z] nexus3.edgexfoundry.org:10002 [2022-10-12T02:50:26.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:50:26.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:50:26.445Z] Configure a credential helper to remove this warning. See [2022-10-12T02:50:26.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:50:26.445Z] [2022-10-12T02:50:26.445Z] Login Succeeded [2022-10-12T02:50:26.445Z] nexus3.edgexfoundry.org:10003 [2022-10-12T02:50:26.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:50:26.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:50:26.705Z] Configure a credential helper to remove this warning. See [2022-10-12T02:50:26.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:50:26.705Z] [2022-10-12T02:50:26.705Z] Login Succeeded [2022-10-12T02:50:26.705Z] nexus3.edgexfoundry.org:10004 [2022-10-12T02:50:26.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:50:26.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:50:26.705Z] Configure a credential helper to remove this warning. See [2022-10-12T02:50:26.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:50:26.705Z] [2022-10-12T02:50:26.705Z] Login Succeeded [2022-10-12T02:50:26.705Z] docker.io [2022-10-12T02:50:26.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:50:27.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:50:27.274Z] Configure a credential helper to remove this warning. See [2022-10-12T02:50:27.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:50:27.274Z] [2022-10-12T02:50:27.274Z] Login Succeeded [2022-10-12T02:50:27.274Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T02:50:27.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-12T02:50:27.657Z] + git rev-list -1 --merges bca2311dfce4c98374c6bb1f7529a213d91c6526~1..bca2311dfce4c98374c6bb1f7529a213d91c6526 [Pipeline] echo [2022-10-12T02:50:27.686Z] -----------> git rev-list -1 --merges bca2311dfce4c98374c6bb1f7529a213d91c6526~1..bca2311dfce4c98374c6bb1f7529a213d91c6526 bca2311dfce4c98374c6bb1f7529a213d91c6526 [2022-10-12T02:50:27.686Z] bca2311dfce4c98374c6bb1f7529a213d91c6526 [false] [Pipeline] sh [2022-10-12T02:50:27.978Z] + git log --format=format:%s -1 bca2311dfce4c98374c6bb1f7529a213d91c6526 [Pipeline] echo [2022-10-12T02:50:27.992Z] ========================================================= [2022-10-12T02:50:27.992Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-12T02:50:27.992Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T02:50:28.355Z] + git log --format=format:%s -1 bca2311dfce4c98374c6bb1f7529a213d91c6526 [Pipeline] echo [2022-10-12T02:50:28.365Z] [semverPrep] GIT_COMMIT: bca2311dfce4c98374c6bb1f7529a213d91c6526, Commit Message: Merge commit 'bca8455642164c3d303fb1e1cb399f48d9b73870' into HEAD [Pipeline] echo [2022-10-12T02:50:28.372Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-12T02:50:28.749Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-12T02:50:28.749Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-12T02:50:28.749Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-12T02:50:28.749Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-12T02:50:28.749Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-12T02:50:28.749Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-12T02:50:28.749Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:50:29.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T02:50:29.163Z] [2022-10-12T02:50:29.163Z] 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-12T02:50:29.463Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T02:50:29.463Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-12T02:50:29.463Z] b85a868b505f: Pulling fs layer [2022-10-12T02:50:29.463Z] e2be974225ed: Pulling fs layer [2022-10-12T02:50:29.463Z] 339a4e72a1f5: Pulling fs layer [2022-10-12T02:50:29.463Z] 988bab9f4d93: Pulling fs layer [2022-10-12T02:50:29.463Z] 1469e6f7b9e6: Pulling fs layer [2022-10-12T02:50:29.463Z] eaf3925da568: Pulling fs layer [2022-10-12T02:50:29.463Z] bab4dde63d76: Pulling fs layer [2022-10-12T02:50:29.463Z] bde34c3a00c8: Pulling fs layer [2022-10-12T02:50:29.463Z] b352a97aabf1: Pulling fs layer [2022-10-12T02:50:29.463Z] 4872d77fe225: Pulling fs layer [2022-10-12T02:50:29.463Z] 5851b861e8e6: Pulling fs layer [2022-10-12T02:50:29.463Z] 988bab9f4d93: Waiting [2022-10-12T02:50:29.463Z] 1469e6f7b9e6: Waiting [2022-10-12T02:50:29.463Z] bab4dde63d76: Waiting [2022-10-12T02:50:29.463Z] eaf3925da568: Waiting [2022-10-12T02:50:29.463Z] bde34c3a00c8: Waiting [2022-10-12T02:50:29.463Z] b352a97aabf1: Waiting [2022-10-12T02:50:29.463Z] 4872d77fe225: Waiting [2022-10-12T02:50:29.463Z] 5851b861e8e6: Waiting [2022-10-12T02:50:29.463Z] e2be974225ed: Download complete [2022-10-12T02:50:29.463Z] 988bab9f4d93: Download complete [2022-10-12T02:50:29.722Z] 1469e6f7b9e6: Verifying Checksum [2022-10-12T02:50:29.722Z] 1469e6f7b9e6: Download complete [2022-10-12T02:50:29.722Z] 339a4e72a1f5: Verifying Checksum [2022-10-12T02:50:29.722Z] 339a4e72a1f5: Download complete [2022-10-12T02:50:29.722Z] eaf3925da568: Verifying Checksum [2022-10-12T02:50:29.722Z] eaf3925da568: Download complete [2022-10-12T02:50:29.722Z] bde34c3a00c8: Verifying Checksum [2022-10-12T02:50:29.722Z] bde34c3a00c8: Download complete [2022-10-12T02:50:29.722Z] b352a97aabf1: Verifying Checksum [2022-10-12T02:50:29.722Z] b352a97aabf1: Download complete [2022-10-12T02:50:29.722Z] 4872d77fe225: Verifying Checksum [2022-10-12T02:50:29.722Z] 4872d77fe225: Download complete [2022-10-12T02:50:29.722Z] 5851b861e8e6: Verifying Checksum [2022-10-12T02:50:29.722Z] 5851b861e8e6: Download complete [2022-10-12T02:50:29.722Z] b85a868b505f: Verifying Checksum [2022-10-12T02:50:29.722Z] b85a868b505f: Download complete [2022-10-12T02:50:29.980Z] bab4dde63d76: Verifying Checksum [2022-10-12T02:50:29.980Z] bab4dde63d76: Download complete [2022-10-12T02:50:30.913Z] b85a868b505f: Pull complete [2022-10-12T02:50:30.913Z] e2be974225ed: Pull complete [2022-10-12T02:50:31.172Z] 339a4e72a1f5: Pull complete [2022-10-12T02:50:31.430Z] 988bab9f4d93: Pull complete [2022-10-12T02:50:31.688Z] 1469e6f7b9e6: Pull complete [2022-10-12T02:50:31.688Z] eaf3925da568: Pull complete [2022-10-12T02:50:33.062Z] bab4dde63d76: Pull complete [2022-10-12T02:50:33.320Z] bde34c3a00c8: Pull complete [2022-10-12T02:50:33.320Z] b352a97aabf1: Pull complete [2022-10-12T02:50:33.579Z] 4872d77fe225: Pull complete [2022-10-12T02:50:33.579Z] 5851b861e8e6: Pull complete [2022-10-12T02:50:33.579Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-12T02:50:33.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T02:50:33.579Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:50:33.661Z] prd-ubuntu20.04-docker-8c-8g-7708 does not seem to be running inside a container [2022-10-12T02:50:33.692Z] $ 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-12T02:50:34.931Z] $ docker top f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 -eo pid,comm [2022-10-12T02:50:34.978Z] 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-12T02:50:34.978Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-12T02:50:35.007Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T02:50:35.008Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T02:50:35.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T02:50:35.122Z] $ docker exec f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 ssh-agent [2022-10-12T02:50:35.219Z] SSH_AUTH_SOCK=/tmp/ssh-ea7PvGW3fd9Z/agent.32 [2022-10-12T02:50:35.219Z] SSH_AGENT_PID=38 [2022-10-12T02:50:35.224Z] Running ssh-add (command line suppressed) [2022-10-12T02:50:35.317Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_8399187716886293638.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_8399187716886293638.key) [2022-10-12T02:50:35.330Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T02:50:35.617Z] + git tag --points-at HEAD [Pipeline] } [2022-10-12T02:50:35.634Z] $ docker exec --env ******** --env ******** f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 ssh-agent -k [2022-10-12T02:50:35.741Z] unset SSH_AUTH_SOCK; [2022-10-12T02:50:35.741Z] unset SSH_AGENT_PID; [2022-10-12T02:50:35.741Z] echo Agent pid 38 killed; [2022-10-12T02:50:35.752Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-12T02:50:35.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T02:50:35.784Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T02:50:35.891Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T02:50:35.895Z] $ docker exec f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 ssh-agent [2022-10-12T02:50:35.993Z] SSH_AUTH_SOCK=/tmp/ssh-KqwyrUSvdLHJ/agent.70 [2022-10-12T02:50:35.993Z] SSH_AGENT_PID=76 [2022-10-12T02:50:35.998Z] Running ssh-add (command line suppressed) [2022-10-12T02:50:36.089Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_2353499172711929325.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_2353499172711929325.key) [2022-10-12T02:50:36.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T02:50:36.385Z] + git semver init [2022-10-12T02:50:36.645Z] 2022-10-12 02:50:36,539 [run_init] DEBUG init version:0.0.0 force:False [2022-10-12T02:50:36.645Z] 2022-10-12 02:50:36,540 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-12T02:50:36.645Z] 2022-10-12 02:50:36,540 [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-12T02:50:36.645Z] 2022-10-12 02:50:36,541 [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-12T02:50:37.583Z] 2022-10-12 02:50:37,547 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-12T02:50:37.583Z] 2022-10-12 02:50:37,548 [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-12T02:50:37.583Z] 2022-10-12 02:50:37,548 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-12T02:50:37.583Z] 2022-10-12 02:50:37,552 [execute] INFO git cat-file --batch-check [2022-10-12T02:50:37.583Z] 2022-10-12 02:50:37,552 [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-12T02:50:37.583Z] 2022-10-12 02:50:37,558 [execute] INFO git cat-file --batch [2022-10-12T02:50:37.583Z] 2022-10-12 02:50:37,559 [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-12T02:50:37.583Z] 2022-10-12 02:50:37,562 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-12T02:50:37.583Z] 0.0.0 [Pipeline] } [2022-10-12T02:50:37.595Z] $ docker exec --env ******** --env ******** f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 ssh-agent -k [2022-10-12T02:50:37.687Z] unset SSH_AUTH_SOCK; [2022-10-12T02:50:37.687Z] unset SSH_AGENT_PID; [2022-10-12T02:50:37.687Z] echo Agent pid 76 killed; [2022-10-12T02:50:37.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-12T02:50:38.006Z] + git semver [Pipeline] } [2022-10-12T02:50:38.283Z] $ docker stop --time=1 f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 [2022-10-12T02:50:39.620Z] $ docker rm -f f673881f08efb3b135b89e9609d499483a650447952c3eccf1edb16e13d25427 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T02:50:39.957Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-12T02:50:40.126Z] Stashed 1 file(s) [Pipeline] echo [2022-10-12T02:50:40.129Z] [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) [2022-10-12T02:50:40.239Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7707 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-12T02:50:40.244Z] Running in /w/workspace/device-onvif-camera/20 [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { [2022-10-12T02:50:40.270Z] The recommended git tool is: git [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:50:40.277Z] provisioning config files... [2022-10-12T02:50:40.285Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config18180187780649525974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:50:40.582Z] ---> docker-login.sh [2022-10-12T02:50:40.582Z] nexus3.edgexfoundry.org:10001 [2022-10-12T02:50:40.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:50:40.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:50:40.582Z] Configure a credential helper to remove this warning. See [2022-10-12T02:50:40.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:50:40.582Z] [2022-10-12T02:50:40.582Z] Login Succeeded [2022-10-12T02:50:40.582Z] nexus3.edgexfoundry.org:10002 [2022-10-12T02:50:40.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:50:40.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:50:40.582Z] Configure a credential helper to remove this warning. See [2022-10-12T02:50:40.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:50:40.582Z] [2022-10-12T02:50:40.582Z] Login Succeeded [2022-10-12T02:50:40.582Z] nexus3.edgexfoundry.org:10003 [2022-10-12T02:50:40.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:50:40.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:50:40.841Z] Configure a credential helper to remove this warning. See [2022-10-12T02:50:40.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:50:40.841Z] [2022-10-12T02:50:40.841Z] Login Succeeded [2022-10-12T02:50:40.841Z] nexus3.edgexfoundry.org:10004 [2022-10-12T02:50:40.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:50:40.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:50:40.841Z] Configure a credential helper to remove this warning. See [2022-10-12T02:50:40.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:50:40.841Z] [2022-10-12T02:50:40.841Z] Login Succeeded [2022-10-12T02:50:40.841Z] docker.io [2022-10-12T02:50:41.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:50:41.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:50:41.359Z] Configure a credential helper to remove this warning. See [2022-10-12T02:50:41.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:50:41.359Z] [2022-10-12T02:50:41.359Z] Login Succeeded [2022-10-12T02:50:41.359Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T02:50:41.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T02:50:41.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:50:41.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:50:41.448Z] ========================================================= [2022-10-12T02:50:41.448Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-12T02:50:41.448Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:50:41.750Z] + 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-12T02:50:41.750Z] Sending build context to Docker daemon 20.94MB [2022-10-12T02:50:41.750Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:50:41.750Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-12T02:50:41.750Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-12T02:50:41.750Z] 213ec9aee27d: Pulling fs layer [2022-10-12T02:50:41.750Z] 4583459ba037: Pulling fs layer [2022-10-12T02:50:41.750Z] 93c1e223e6f2: Pulling fs layer [2022-10-12T02:50:41.750Z] 53926ce57604: Pulling fs layer [2022-10-12T02:50:41.750Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-12T02:50:41.750Z] 30f14e443154: Pulling fs layer [2022-10-12T02:50:41.750Z] 801331c1e519: Pulling fs layer [2022-10-12T02:50:41.750Z] 99cc6dd402b0: Pulling fs layer [2022-10-12T02:50:41.750Z] 7d9ed39f4882: Pulling fs layer [2022-10-12T02:50:41.750Z] 30f14e443154: Waiting [2022-10-12T02:50:41.750Z] 801331c1e519: Waiting [2022-10-12T02:50:41.750Z] 99cc6dd402b0: Waiting [2022-10-12T02:50:41.750Z] 7d9ed39f4882: Waiting [2022-10-12T02:50:41.750Z] 21b2b0c7a3f4: Waiting [2022-10-12T02:50:41.750Z] 53926ce57604: Waiting [2022-10-12T02:50:41.750Z] 93c1e223e6f2: Verifying Checksum [2022-10-12T02:50:41.750Z] 93c1e223e6f2: Download complete [2022-10-12T02:50:41.750Z] 4583459ba037: Download complete [2022-10-12T02:50:42.012Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-12T02:50:42.012Z] 21b2b0c7a3f4: Download complete [2022-10-12T02:50:42.012Z] 30f14e443154: Verifying Checksum [2022-10-12T02:50:42.012Z] 30f14e443154: Download complete [2022-10-12T02:50:42.012Z] 213ec9aee27d: Verifying Checksum [2022-10-12T02:50:42.012Z] 213ec9aee27d: Download complete [2022-10-12T02:50:42.012Z] 801331c1e519: Download complete [2022-10-12T02:50:42.012Z] 213ec9aee27d: Pull complete [2022-10-12T02:50:42.284Z] 4583459ba037: Pull complete [2022-10-12T02:50:42.284Z] 93c1e223e6f2: Pull complete [2022-10-12T02:50:42.545Z] 7d9ed39f4882: Verifying Checksum [2022-10-12T02:50:42.545Z] 7d9ed39f4882: Download complete [2022-10-12T02:50:42.545Z] 99cc6dd402b0: Download complete [2022-10-12T02:50:42.545Z] 53926ce57604: Verifying Checksum [2022-10-12T02:50:42.545Z] 53926ce57604: Download complete [2022-10-12T02:50:44.608Z] using credential edgex-jenkins-ssh [2022-10-12T02:50:44.622Z] Cloning the remote Git repository [2022-10-12T02:50:44.603Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T02:50:44.680Z] > git init /w/workspace/device-onvif-camera/20 # timeout=10 [2022-10-12T02:50:44.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T02:50:44.834Z] > git --version # timeout=10 [2022-10-12T02:50:44.859Z] > git --version # 'git version 2.25.1' [2022-10-12T02:50:44.860Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T02:50:44.904Z] Verifying host key using known hosts file [2022-10-12T02:50:45.831Z] 53926ce57604: Pull complete [2022-10-12T02:50:45.831Z] 21b2b0c7a3f4: Pull complete [2022-10-12T02:50:46.090Z] 30f14e443154: Pull complete [2022-10-12T02:50:46.090Z] 801331c1e519: Pull complete [2022-10-12T02:50:45.105Z] 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-12T02:50:45.117Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T02:50:46.301Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-12T02:50:46.323Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T02:50:47.053Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-12T02:50:47.085Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T02:50:47.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T02:50:47.090Z] Verifying host key using known hosts file [2022-10-12T02:50:47.096Z] 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-12T02:50:47.107Z] > 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-12T02:50:47.781Z] Merging remotes/origin/main commit bca8455642164c3d303fb1e1cb399f48d9b73870 into PR head commit d830c2a7d78e2132ea45c8989aefb558f796dc0c [2022-10-12T02:50:47.993Z] 99cc6dd402b0: Pull complete [2022-10-12T02:50:48.318Z] Merge succeeded, producing 9bd2e2956a66729a154774b491de56aa13023e8f [2022-10-12T02:50:48.319Z] Checking out Revision 9bd2e2956a66729a154774b491de56aa13023e8f (PR-172) [2022-10-12T02:50:47.739Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T02:50:47.758Z] > git checkout -f d830c2a7d78e2132ea45c8989aefb558f796dc0c # timeout=10 [2022-10-12T02:50:47.962Z] > git remote # timeout=10 [2022-10-12T02:50:47.978Z] > git config --get remote.origin.url # timeout=10 [2022-10-12T02:50:47.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T02:50:47.993Z] Verifying host key using known hosts file [2022-10-12T02:50:47.997Z] 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-12T02:50:48.004Z] > git merge bca8455642164c3d303fb1e1cb399f48d9b73870 # timeout=10 [2022-10-12T02:50:48.246Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-12T02:50:48.267Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T02:50:48.281Z] > git checkout -f 9bd2e2956a66729a154774b491de56aa13023e8f # timeout=10 [2022-10-12T02:50:48.926Z] 7d9ed39f4882: Pull complete [2022-10-12T02:50:48.926Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-12T02:50:48.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-12T02:50:48.926Z] ---> 1dedd983c030 [2022-10-12T02:50:48.926Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:50:50.301Z] ---> Running in 6fba40102069 [2022-10-12T02:50:50.301Z] Removing intermediate container 6fba40102069 [2022-10-12T02:50:50.301Z] ---> 59473433d860 [2022-10-12T02:50:50.301Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:50:50.560Z] ---> Running in 8499dc8ad419 [2022-10-12T02:50:50.560Z] Removing intermediate container 8499dc8ad419 [2022-10-12T02:50:50.560Z] ---> 1c3d5c6bfdd9 [2022-10-12T02:50:50.560Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:50:50.560Z] ---> Running in 941ce437a7c9 [2022-10-12T02:50:50.560Z] Removing intermediate container 941ce437a7c9 [2022-10-12T02:50:50.560Z] ---> 5e412940b960 [2022-10-12T02:50:50.560Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:50:50.821Z] ---> Running in ef8cbf29914e [2022-10-12T02:50:50.821Z] Removing intermediate container ef8cbf29914e [2022-10-12T02:50:50.821Z] ---> 0a37e12f2693 [2022-10-12T02:50:50.821Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:50:50.821Z] ---> Running in d8e55ffa27bd [2022-10-12T02:50:50.821Z] Removing intermediate container d8e55ffa27bd [2022-10-12T02:50:50.821Z] ---> 0d11e6cad988 [2022-10-12T02:50:50.821Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:50:50.821Z] ---> Running in 6f6b5919e229 [2022-10-12T02:50:51.388Z] Removing intermediate container 6f6b5919e229 [2022-10-12T02:50:51.388Z] ---> 0550d222aa67 [2022-10-12T02:50:51.388Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:50:51.388Z] ---> Running in 206dd38a9696 [2022-10-12T02:50:51.647Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T02:50:51.784Z] Commit message: "Merge commit 'bca8455642164c3d303fb1e1cb399f48d9b73870' into HEAD" [2022-10-12T02:50:51.804Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T02:50:52.594Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T02:50:52.669Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-12T02:50:52.669Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T02:50:52.669Z] Dload Upload Total Spent Left Speed [2022-10-12T02:50:52.669Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 90661 [2022-10-12T02:50:52.852Z] OK: 211 MiB in 51 packages [Pipeline] sh [2022-10-12T02:50:53.110Z] Removing intermediate container 206dd38a9696 [2022-10-12T02:50:53.110Z] ---> 4e3db59dd3a4 [2022-10-12T02:50:53.110Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-12T02:50:53.110Z] ---> Running in 282169a0d655 [2022-10-12T02:50:53.110Z] Removing intermediate container 282169a0d655 [2022-10-12T02:50:53.110Z] ---> 8246347cece4 [2022-10-12T02:50:53.110Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-12T02:50:51.734Z] > git rev-list --no-walk 8108f8d44040698f52b321c7970442737caecb96 # timeout=10 [2022-10-12T02:50:53.295Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-12T02:50:53.367Z] ---> 2a25369dbe6c [2022-10-12T02:50:53.367Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:50:53.367Z] ---> Running in 12bb5df8e2a7 [2022-10-12T02:50:53.612Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-12T02:50:53.612Z] + sudo tee /etc/docker/daemon.new [2022-10-12T02:50:53.612Z] { [2022-10-12T02:50:53.612Z] "registry-mirrors": [ [2022-10-12T02:50:53.612Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-12T02:50:53.612Z] ], [2022-10-12T02:50:53.612Z] "bip": "10.250.0.254/24", [2022-10-12T02:50:53.612Z] "hosts": [ [2022-10-12T02:50:53.612Z] "tcp://0.0.0.0:5555", [2022-10-12T02:50:53.612Z] "unix:///var/run/docker.sock" [2022-10-12T02:50:53.612Z] ], [2022-10-12T02:50:53.612Z] "mtu": 1458, [2022-10-12T02:50:53.612Z] "selinux-enabled": true, [2022-10-12T02:50:53.612Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-12T02:50:53.612Z] } [Pipeline] sh [2022-10-12T02:50:53.925Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-12T02:50:54.242Z] + sudo service docker restart [2022-10-12T02:51:11.469Z] Removing intermediate container 12bb5df8e2a7 [2022-10-12T02:51:11.470Z] ---> 839f97baf833 [2022-10-12T02:51:11.470Z] Step 13/14 : COPY . . [2022-10-12T02:51:12.042Z] ---> 2f7f6cc113ce [2022-10-12T02:51:12.042Z] Step 14/14 : RUN ${MAKE} [2022-10-12T02:51:12.042Z] ---> Running in 1c5efd0098d2 [2022-10-12T02:51:12.301Z] noop [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:51:12.478Z] provisioning config files... [2022-10-12T02:51:12.500Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/20@tmp/config14532399784963983972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:51:12.559Z] Removing intermediate container 1c5efd0098d2 [2022-10-12T02:51:12.559Z] ---> 5a15654816eb [2022-10-12T02:51:12.559Z] Successfully built 5a15654816eb [2022-10-12T02:51:12.559Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:51:12.835Z] ---> docker-login.sh [2022-10-12T02:51:12.835Z] nexus3.edgexfoundry.org:10001 [2022-10-12T02:51:12.885Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T02:51:12.885Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:51:12.946Z] prd-ubuntu20.04-docker-8c-8g-7708 does not seem to be running inside a container [2022-10-12T02:51:12.977Z] $ 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-12T02:51:13.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:51:13.298Z] $ docker top 2ccf7eb277bfbd0cd0e727315566e01af84eba91d6970188585814f2ca9ddcba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:51:13.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:51:13.369Z] Configure a credential helper to remove this warning. See [2022-10-12T02:51:13.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:51:13.369Z] [2022-10-12T02:51:13.369Z] Login Succeeded [2022-10-12T02:51:13.369Z] nexus3.edgexfoundry.org:10002 [2022-10-12T02:51:13.633Z] + go version [2022-10-12T02:51:13.633Z] go version go1.18.7 linux/amd64 [2022-10-12T02:51:13.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:51:13.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:51:13.636Z] Configure a credential helper to remove this warning. See [2022-10-12T02:51:13.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:51:13.636Z] [2022-10-12T02:51:13.636Z] Login Succeeded [2022-10-12T02:51:13.636Z] nexus3.edgexfoundry.org:10003 [Pipeline] } [2022-10-12T02:51:13.645Z] $ docker stop --time=1 2ccf7eb277bfbd0cd0e727315566e01af84eba91d6970188585814f2ca9ddcba [2022-10-12T02:51:13.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:51:14.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:51:14.170Z] Configure a credential helper to remove this warning. See [2022-10-12T02:51:14.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:51:14.170Z] [2022-10-12T02:51:14.170Z] Login Succeeded [2022-10-12T02:51:14.170Z] nexus3.edgexfoundry.org:10004 [2022-10-12T02:51:14.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:51:14.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:51:14.437Z] Configure a credential helper to remove this warning. See [2022-10-12T02:51:14.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:51:14.437Z] [2022-10-12T02:51:14.437Z] Login Succeeded [2022-10-12T02:51:14.437Z] docker.io [2022-10-12T02:51:14.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:51:14.918Z] $ docker rm -f 2ccf7eb277bfbd0cd0e727315566e01af84eba91d6970188585814f2ca9ddcba [Pipeline] // withDockerContainer [2022-10-12T02:51:14.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:51:14.970Z] Configure a credential helper to remove this warning. See [2022-10-12T02:51:14.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:51:14.970Z] [2022-10-12T02:51:14.970Z] Login Succeeded [2022-10-12T02:51:14.970Z] ---> docker-login.sh ends [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-12T02:51:15.005Z] Deleting 1 temporary files [Pipeline] stage [Pipeline] { (Test) [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2022-10-12T02:51:15.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:51:15.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:51:15.169Z] ========================================================= [2022-10-12T02:51:15.169Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-12T02:51:15.169Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:51:15.356Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T02:51:15.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:51:15.431Z] prd-ubuntu20.04-docker-8c-8g-7708 does not seem to be running inside a container [2022-10-12T02:51:15.459Z] $ 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-12T02:51:15.515Z] + 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-12T02:51:15.780Z] $ docker top 63f252a01ed1d2585a6ed11216be531f359ed67a025deeb54bf9522ae0a24bab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:51:16.115Z] Sending build context to Docker daemon 14.35MB [2022-10-12T02:51:16.116Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:51:16.116Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-12T02:51:16.116Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-12T02:51:16.116Z] 9b18e9b68314: Pulling fs layer [2022-10-12T02:51:16.116Z] d32db5db7311: Pulling fs layer [2022-10-12T02:51:16.116Z] d0c4b47475fc: Pulling fs layer [2022-10-12T02:51:16.116Z] 5831b945b038: Pulling fs layer [2022-10-12T02:51:16.116Z] 86bbec2aaacd: Pulling fs layer [2022-10-12T02:51:16.116Z] e10730c5d714: Pulling fs layer [2022-10-12T02:51:16.116Z] 5dd5c2283517: Pulling fs layer [2022-10-12T02:51:16.116Z] d5ac0230b979: Pulling fs layer [2022-10-12T02:51:16.116Z] 86bbec2aaacd: Waiting [2022-10-12T02:51:16.116Z] e10730c5d714: Waiting [2022-10-12T02:51:16.116Z] d5ac0230b979: Waiting [2022-10-12T02:51:16.116Z] 5831b945b038: Waiting [2022-10-12T02:51:16.116Z] d0c4b47475fc: Verifying Checksum [2022-10-12T02:51:16.116Z] d0c4b47475fc: Download complete [2022-10-12T02:51:16.116Z] d32db5db7311: Verifying Checksum [2022-10-12T02:51:16.116Z] d32db5db7311: Download complete [2022-10-12T02:51:16.116Z] 86bbec2aaacd: Verifying Checksum [2022-10-12T02:51:16.116Z] 86bbec2aaacd: Download complete [2022-10-12T02:51:16.116Z] e10730c5d714: Download complete [2022-10-12T02:51:16.116Z] 9b18e9b68314: Verifying Checksum [2022-10-12T02:51:16.116Z] 9b18e9b68314: Download complete [2022-10-12T02:51:16.127Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-12T02:51:16.422Z] + make test [2022-10-12T02:51:16.422Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-12T02:51:16.681Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-12T02:51:17.082Z] 9b18e9b68314: Pull complete [2022-10-12T02:51:17.082Z] d5ac0230b979: Verifying Checksum [2022-10-12T02:51:17.082Z] d5ac0230b979: Download complete [2022-10-12T02:51:17.663Z] d32db5db7311: Pull complete [2022-10-12T02:51:17.929Z] d0c4b47475fc: Pull complete [2022-10-12T02:51:18.201Z] 5dd5c2283517: Verifying Checksum [2022-10-12T02:51:18.201Z] 5dd5c2283517: Download complete [2022-10-12T02:51:19.178Z] 5831b945b038: Verifying Checksum [2022-10-12T02:51:19.178Z] 5831b945b038: Download complete [2022-10-12T02:51:26.660Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-12T02:51:28.034Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.2% of statements [2022-10-12T02:51:28.034Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-12T02:51:28.034Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.522s coverage: 86.5% of statements [2022-10-12T02:51:34.191Z] 5831b945b038: Pull complete [2022-10-12T02:51:34.191Z] 86bbec2aaacd: Pull complete [2022-10-12T02:51:34.191Z] e10730c5d714: Pull complete [2022-10-12T02:51:36.191Z] 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-12T02:51:36.191Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T02:51:38.449Z] 5dd5c2283517: Pull complete [2022-10-12T02:51:38.721Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T02:51:38.721Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T02:51:38.721Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T02:51:38.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T02:51:38.747Z] $ docker stop --time=1 63f252a01ed1d2585a6ed11216be531f359ed67a025deeb54bf9522ae0a24bab [2022-10-12T02:51:40.394Z] d5ac0230b979: Pull complete [2022-10-12T02:51:40.394Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-12T02:51:40.394Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-12T02:51:40.394Z] ---> 59b3b1a385d4 [2022-10-12T02:51:40.394Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:51:40.856Z] $ docker rm -f 63f252a01ed1d2585a6ed11216be531f359ed67a025deeb54bf9522ae0a24bab [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T02:51:41.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T02:51:41.355Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-12T02:51:41.890Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T02:51:42.173Z] + ls -al . [2022-10-12T02:51:42.173Z] total 236 [2022-10-12T02:51:42.173Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 02:51 . [2022-10-12T02:51:42.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:50 .. [2022-10-12T02:51:42.173Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:51 .git [2022-10-12T02:51:42.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:50 .github [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 12 02:50 .gitignore [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 02:50 .golangci.yml [2022-10-12T02:51:42.173Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 02:50 .semver [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 02:50 Attribution.txt [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 02:50 CHANGELOG.md [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 02:50 Dockerfile [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 02:50 GOVERNANCE.md [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 02:50 Jenkinsfile [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 02:50 LICENSE [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 02:50 Makefile [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 02:50 OWNERS.md [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 02:50 README.md [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:50 VERSION [2022-10-12T02:51:42.173Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:50 bin [2022-10-12T02:51:42.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:50 cmd [2022-10-12T02:51:42.173Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 02:51 coverage.out [2022-10-12T02:51:42.173Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 02:50 doc [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 02:50 go.mod [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 02:50 go.sum [2022-10-12T02:51:42.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:50 internal [2022-10-12T02:51:42.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:50 snap [2022-10-12T02:51:42.173Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 02:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:51:42.339Z] ---> Running in 433c1764dd45 [2022-10-12T02:51:42.339Z] Removing intermediate container 433c1764dd45 [2022-10-12T02:51:42.339Z] ---> e063e2c9c75c [2022-10-12T02:51:42.339Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:51:42.339Z] ---> Running in 2b1f0b23c35f [2022-10-12T02:51:42.474Z] + 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=bca2311dfce4c98374c6bb1f7529a213d91c6526 --label arch=amd64 --label version=0.0.0 . [2022-10-12T02:51:42.474Z] Sending build context to Docker daemon 21.02MB [2022-10-12T02:51:42.474Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:51:42.474Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-12T02:51:42.474Z] ---> 5a15654816eb [2022-10-12T02:51:42.474Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:51:42.608Z] Removing intermediate container 2b1f0b23c35f [2022-10-12T02:51:42.608Z] ---> cd68cfc08fef [2022-10-12T02:51:42.608Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:51:42.733Z] ---> Running in 206841f7f438 [2022-10-12T02:51:42.733Z] Removing intermediate container 206841f7f438 [2022-10-12T02:51:42.733Z] ---> ed501f278f46 [2022-10-12T02:51:42.734Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:51:42.734Z] ---> Running in 086c16dd8ac7 [2022-10-12T02:51:42.877Z] ---> Running in 6d7650b58c5e [2022-10-12T02:51:42.992Z] Removing intermediate container 086c16dd8ac7 [2022-10-12T02:51:42.992Z] ---> aaaec366d964 [2022-10-12T02:51:42.992Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:51:42.992Z] ---> Running in 9f7f6469f9ca [2022-10-12T02:51:42.992Z] Removing intermediate container 9f7f6469f9ca [2022-10-12T02:51:42.992Z] ---> 83238823d2c0 [2022-10-12T02:51:42.992Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:51:42.992Z] ---> Running in e68c41d24cc2 [2022-10-12T02:51:42.992Z] Removing intermediate container e68c41d24cc2 [2022-10-12T02:51:42.992Z] ---> de85558aac3e [2022-10-12T02:51:42.992Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:51:42.992Z] ---> Running in 3a5cd320d4ce [2022-10-12T02:51:43.148Z] Removing intermediate container 6d7650b58c5e [2022-10-12T02:51:43.148Z] ---> 25c364ecc672 [2022-10-12T02:51:43.148Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:51:43.148Z] ---> Running in 48251ab7eed3 [2022-10-12T02:51:43.251Z] Removing intermediate container 3a5cd320d4ce [2022-10-12T02:51:43.251Z] ---> c35d9c53777b [2022-10-12T02:51:43.251Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:51:43.251Z] ---> Running in 382048a7eb77 [2022-10-12T02:51:43.418Z] Removing intermediate container 48251ab7eed3 [2022-10-12T02:51:43.418Z] ---> 47bae4da5d67 [2022-10-12T02:51:43.418Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:51:43.418Z] ---> Running in e38862fac6d0 [2022-10-12T02:51:43.694Z] Removing intermediate container e38862fac6d0 [2022-10-12T02:51:43.694Z] ---> 2df561231927 [2022-10-12T02:51:43.694Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:51:43.819Z] Removing intermediate container 382048a7eb77 [2022-10-12T02:51:43.819Z] ---> 53b964d9b6b2 [2022-10-12T02:51:43.819Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:51:43.819Z] ---> Running in 63db53bb2a8b [2022-10-12T02:51:43.962Z] ---> Running in 233efce7f20a [2022-10-12T02:51:44.078Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T02:51:45.019Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T02:51:45.019Z] OK: 211 MiB in 51 packages [2022-10-12T02:51:45.596Z] Removing intermediate container 63db53bb2a8b [2022-10-12T02:51:45.596Z] ---> f85d9e5aa9d9 [2022-10-12T02:51:45.596Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-12T02:51:45.596Z] ---> Running in b34920bf589e [2022-10-12T02:51:45.596Z] Removing intermediate container b34920bf589e [2022-10-12T02:51:45.596Z] ---> 90eecc58cdcf [2022-10-12T02:51:45.596Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-12T02:51:45.596Z] ---> 0fdd7cbf66fa [2022-10-12T02:51:45.596Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:51:45.596Z] ---> Running in 7ce40c7298d3 [2022-10-12T02:51:45.922Z] Removing intermediate container 233efce7f20a [2022-10-12T02:51:45.923Z] ---> 10326dc314c4 [2022-10-12T02:51:45.923Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:51:45.923Z] ---> Running in fe617b79367a [2022-10-12T02:51:46.164Z] Removing intermediate container 7ce40c7298d3 [2022-10-12T02:51:46.164Z] ---> 81628de734bc [2022-10-12T02:51:46.164Z] Step 13/27 : COPY . . [2022-10-12T02:51:46.505Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T02:51:47.098Z] ---> ea6385b2722a [2022-10-12T02:51:47.098Z] Step 14/27 : RUN ${MAKE} [2022-10-12T02:51:47.098Z] ---> Running in 909c16ac1082 [2022-10-12T02:51:47.098Z] 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-12T02:51:47.462Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T02:51:48.423Z] OK: 221 MiB in 51 packages [2022-10-12T02:51:49.010Z] Removing intermediate container fe617b79367a [2022-10-12T02:51:49.010Z] ---> f11da6fe6d66 [2022-10-12T02:51:49.010Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-12T02:51:49.278Z] ---> Running in e2bb51acf422 [2022-10-12T02:51:49.545Z] Removing intermediate container e2bb51acf422 [2022-10-12T02:51:49.545Z] ---> 7e06ebb5bbca [2022-10-12T02:51:49.545Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-12T02:51:49.814Z] ---> d637197ff61c [2022-10-12T02:51:49.814Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:51:50.083Z] ---> Running in 0c6bfa73af95 [2022-10-12T02:52:09.029Z] Removing intermediate container 909c16ac1082 [2022-10-12T02:52:09.029Z] ---> 1a2ffb6ca609 [2022-10-12T02:52:09.029Z] Step 15/27 : FROM alpine:3.16 [2022-10-12T02:52:09.029Z] 3.16: Pulling from library/alpine [2022-10-12T02:52:09.029Z] 213ec9aee27d: Already exists [2022-10-12T02:52:09.029Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T02:52:09.029Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T02:52:09.029Z] ---> 9c6f07244728 [2022-10-12T02:52:09.029Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-12T02:52:09.029Z] ---> Running in 0b26aed122c3 [2022-10-12T02:52:09.029Z] Removing intermediate container 0b26aed122c3 [2022-10-12T02:52:09.029Z] ---> 0f6da89cc755 [2022-10-12T02:52:09.030Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-12T02:52:09.030Z] ---> Running in 15f592ac8481 [2022-10-12T02:52:09.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T02:52:09.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T02:52:09.030Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-12T02:52:09.030Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T02:52:09.030Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-12T02:52:09.030Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T02:52:09.030Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-12T02:52:09.030Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-12T02:52:09.288Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T02:52:09.288Z] OK: 8 MiB in 20 packages [2022-10-12T02:52:09.547Z] Removing intermediate container 15f592ac8481 [2022-10-12T02:52:09.547Z] ---> babee27a780a [2022-10-12T02:52:09.547Z] Step 18/27 : WORKDIR / [2022-10-12T02:52:09.547Z] ---> Running in ca1d23cd78cc [2022-10-12T02:52:09.806Z] Removing intermediate container ca1d23cd78cc [2022-10-12T02:52:09.806Z] ---> 2f6676a1576d [2022-10-12T02:52:09.806Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-12T02:52:10.375Z] ---> 5aa83d3edf96 [2022-10-12T02:52:10.375Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-12T02:52:10.375Z] ---> 05da92f784ca [2022-10-12T02:52:10.375Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-12T02:52:10.633Z] ---> 293867ce65cd [2022-10-12T02:52:10.633Z] Step 22/27 : EXPOSE 59984 [2022-10-12T02:52:10.633Z] ---> Running in 4dd750988fc9 [2022-10-12T02:52:10.633Z] Removing intermediate container 4dd750988fc9 [2022-10-12T02:52:10.633Z] ---> ecb240b8ae88 [2022-10-12T02:52:10.633Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-12T02:52:10.633Z] ---> Running in 6821cf7a0213 [2022-10-12T02:52:10.633Z] Removing intermediate container 6821cf7a0213 [2022-10-12T02:52:10.633Z] ---> 0e209acb7174 [2022-10-12T02:52:10.633Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T02:52:10.633Z] ---> Running in 5a2fd79d59e5 [2022-10-12T02:52:10.892Z] Removing intermediate container 5a2fd79d59e5 [2022-10-12T02:52:10.892Z] ---> b161762943ca [2022-10-12T02:52:10.892Z] Step 25/27 : LABEL arch=amd64 [2022-10-12T02:52:10.892Z] ---> Running in 83b8c9b0fb17 [2022-10-12T02:52:10.892Z] Removing intermediate container 83b8c9b0fb17 [2022-10-12T02:52:10.892Z] ---> 0a227fac0213 [2022-10-12T02:52:10.892Z] Step 26/27 : LABEL git_sha=bca2311dfce4c98374c6bb1f7529a213d91c6526 [2022-10-12T02:52:10.892Z] ---> Running in c65aa000292e [2022-10-12T02:52:11.150Z] Removing intermediate container c65aa000292e [2022-10-12T02:52:11.150Z] ---> ebd0b629f8e0 [2022-10-12T02:52:11.150Z] Step 27/27 : LABEL version=0.0.0 [2022-10-12T02:52:11.150Z] ---> Running in b14887fd8232 [2022-10-12T02:52:11.150Z] Removing intermediate container b14887fd8232 [2022-10-12T02:52:11.150Z] ---> 3324aa687e70 [2022-10-12T02:52:11.150Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T02:52:11.150Z] Successfully built 3324aa687e70 [2022-10-12T02:52:11.150Z] 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-12T02:52:11.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:52:11.549Z] [2022-10-12T02:52:11.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:52:11.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:52:11.840Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-12T02:52:11.840Z] 5eb5b503b376: Pulling fs layer [2022-10-12T02:52:11.840Z] 5c69ac0246d0: Pulling fs layer [2022-10-12T02:52:11.840Z] ec43610c2a17: Pulling fs layer [2022-10-12T02:52:11.840Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-12T02:52:11.840Z] 33b1e0a273af: Pulling fs layer [2022-10-12T02:52:11.840Z] 5d3b04190fa2: Pulling fs layer [2022-10-12T02:52:11.840Z] 2f39f015ded8: Pulling fs layer [2022-10-12T02:52:11.840Z] 3a2ae6a8a46f: Waiting [2022-10-12T02:52:11.840Z] 33b1e0a273af: Waiting [2022-10-12T02:52:11.840Z] 2f39f015ded8: Waiting [2022-10-12T02:52:11.840Z] 5c69ac0246d0: Download complete [2022-10-12T02:52:11.840Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-12T02:52:11.840Z] 3a2ae6a8a46f: Download complete [2022-10-12T02:52:11.840Z] 33b1e0a273af: Verifying Checksum [2022-10-12T02:52:11.840Z] 33b1e0a273af: Download complete [2022-10-12T02:52:11.840Z] ec43610c2a17: Verifying Checksum [2022-10-12T02:52:11.840Z] ec43610c2a17: Download complete [2022-10-12T02:52:12.101Z] 5d3b04190fa2: Verifying Checksum [2022-10-12T02:52:12.101Z] 5d3b04190fa2: Download complete [2022-10-12T02:52:12.101Z] 5eb5b503b376: Verifying Checksum [2022-10-12T02:52:12.101Z] 5eb5b503b376: Download complete [2022-10-12T02:52:12.670Z] 2f39f015ded8: Download complete [2022-10-12T02:52:13.237Z] 5eb5b503b376: Pull complete [2022-10-12T02:52:13.237Z] 5c69ac0246d0: Pull complete [2022-10-12T02:52:13.808Z] ec43610c2a17: Pull complete [2022-10-12T02:52:13.808Z] 3a2ae6a8a46f: Pull complete [2022-10-12T02:52:14.067Z] 33b1e0a273af: Pull complete [2022-10-12T02:52:14.067Z] 5d3b04190fa2: Pull complete [2022-10-12T02:52:18.269Z] 2f39f015ded8: Pull complete [2022-10-12T02:52:18.269Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-12T02:52:18.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:52:18.269Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:52:18.356Z] prd-ubuntu20.04-docker-8c-8g-7708 does not seem to be running inside a container [2022-10-12T02:52:18.389Z] $ 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-12T02:52:20.589Z] $ docker top 75aa3197b5b84c9c8c884c0ac07de2fc1dd32dee1b1ab24fe1478ea0d5504f85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:52:21.007Z] ---> job-cost.sh [2022-10-12T02:52:21.007Z] lf-activate-venv: SKIPPING [2022-10-12T02:52:21.007Z] INFO: No Stack... [2022-10-12T02:52:21.267Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T02:52:21.526Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T02:52:21.813Z] + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [2022-10-12T02:52:21.813Z] + cut -d, -f6 [Pipeline] lock [2022-10-12T02:52:21.829Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] [2022-10-12T02:52:21.841Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] did not exist. Created. [2022-10-12T02:52:21.841Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T02:52:22.140Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-12T02:52:22.179Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T02:52:22.185Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T02:52:22.202Z] $ docker stop --time=1 75aa3197b5b84c9c8c884c0ac07de2fc1dd32dee1b1ab24fe1478ea0d5504f85 [2022-10-12T02:52:23.360Z] $ docker rm -f 75aa3197b5b84c9c8c884c0ac07de2fc1dd32dee1b1ab24fe1478ea0d5504f85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-12T02:52:46.482Z] Removing intermediate container 0c6bfa73af95 [2022-10-12T02:52:46.482Z] ---> 4dee1bee6fab [2022-10-12T02:52:46.482Z] Step 13/14 : COPY . . [2022-10-12T02:52:46.482Z] ---> 879a7f410d65 [2022-10-12T02:52:46.482Z] Step 14/14 : RUN ${MAKE} [2022-10-12T02:52:46.482Z] ---> Running in 19f58f2cf90c [2022-10-12T02:52:46.482Z] noop [2022-10-12T02:52:46.482Z] Removing intermediate container 19f58f2cf90c [2022-10-12T02:52:46.482Z] ---> eb35e27b5281 [2022-10-12T02:52:46.482Z] Successfully built eb35e27b5281 [2022-10-12T02:52:46.482Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:52:46.834Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T02:52:46.835Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:52:47.000Z] prd-ubuntu20.04-docker-arm64-4c-16g-7707 does not seem to be running inside a container [2022-10-12T02:52:47.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@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 ******** ci-base-image-arm64 cat [2022-10-12T02:52:48.220Z] $ docker top 986053e3b79ba1c6d5558f518fef40f2c1acf2893b9fce3adb6fbeaf5b6ca4c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:52:49.074Z] + go version [2022-10-12T02:52:49.074Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-12T02:52:49.059Z] $ docker stop --time=1 986053e3b79ba1c6d5558f518fef40f2c1acf2893b9fce3adb6fbeaf5b6ca4c1 [2022-10-12T02:52:50.692Z] $ docker rm -f 986053e3b79ba1c6d5558f518fef40f2c1acf2893b9fce3adb6fbeaf5b6ca4c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:52:51.236Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T02:52:51.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:52:51.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-7707 does not seem to be running inside a container [2022-10-12T02:52:51.428Z] $ 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/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@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 ******** ci-base-image-arm64 cat [2022-10-12T02:52:52.572Z] $ docker top 41342a6f0be7f96e56e1803e4dd49947b687d190f634c0405e3e6ee034ccfff0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:52:53.120Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/20 [Pipeline] fileExists [Pipeline] sh [2022-10-12T02:52:53.450Z] + make test [2022-10-12T02:52:53.721Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-12T02:52:55.666Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-12T02:54:32.317Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-12T02:54:32.317Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.204s coverage: 28.2% of statements [2022-10-12T02:54:32.317Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-12T02:54:47.508Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.091s coverage: 86.5% of statements [2022-10-12T02:54:47.508Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-12T02:54:47.508Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T02:55:09.609Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T02:55:09.609Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T02:55:09.609Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T02:55:09.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T02:55:09.614Z] $ docker stop --time=1 41342a6f0be7f96e56e1803e4dd49947b687d190f634c0405e3e6ee034ccfff0 [2022-10-12T02:55:11.488Z] $ docker rm -f 41342a6f0be7f96e56e1803e4dd49947b687d190f634c0405e3e6ee034ccfff0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T02:55:12.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T02:55:12.444Z] Warning: overwriting stash ‘coverage-report’ [2022-10-12T02:55:12.908Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T02:55:13.282Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T02:55:13.593Z] + ls -al . [2022-10-12T02:55:13.593Z] total 232 [2022-10-12T02:55:13.593Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 02:52 . [2022-10-12T02:55:13.593Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:50 .. [2022-10-12T02:55:13.593Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:50 .git [2022-10-12T02:55:13.593Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:50 .github [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 12 02:50 .gitignore [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 02:50 .golangci.yml [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 02:50 Attribution.txt [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 02:50 CHANGELOG.md [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 02:50 Dockerfile [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 02:50 GOVERNANCE.md [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 02:50 Jenkinsfile [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 02:50 LICENSE [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 02:50 Makefile [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 02:50 OWNERS.md [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 02:50 README.md [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:50 VERSION [2022-10-12T02:55:13.593Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:50 bin [2022-10-12T02:55:13.593Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:50 cmd [2022-10-12T02:55:13.593Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 02:54 coverage.out [2022-10-12T02:55:13.593Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 02:50 doc [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 02:50 go.mod [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 02:50 go.sum [2022-10-12T02:55:13.593Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:50 internal [2022-10-12T02:55:13.593Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:50 snap [2022-10-12T02:55:13.593Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 02:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:55:13.922Z] + 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=9bd2e2956a66729a154774b491de56aa13023e8f --label arch=arm64 --label version=0.0.0 . [2022-10-12T02:55:14.507Z] Sending build context to Docker daemon 14.43MB [2022-10-12T02:55:14.507Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:55:14.507Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-12T02:55:14.507Z] ---> eb35e27b5281 [2022-10-12T02:55:14.507Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:55:14.507Z] ---> Running in 2a294ad348e2 [2022-10-12T02:55:14.773Z] Removing intermediate container 2a294ad348e2 [2022-10-12T02:55:14.773Z] ---> fb1b9cf60526 [2022-10-12T02:55:14.773Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:55:14.773Z] ---> Running in c11a2210f78a [2022-10-12T02:55:15.040Z] Removing intermediate container c11a2210f78a [2022-10-12T02:55:15.040Z] ---> d7d3e6423a2f [2022-10-12T02:55:15.040Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:55:15.310Z] ---> Running in 5b055e7e2ee7 [2022-10-12T02:55:15.579Z] Removing intermediate container 5b055e7e2ee7 [2022-10-12T02:55:15.579Z] ---> 3765fb4f7279 [2022-10-12T02:55:15.579Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:55:15.579Z] ---> Running in ec60f5f6d378 [2022-10-12T02:55:15.846Z] Removing intermediate container ec60f5f6d378 [2022-10-12T02:55:15.846Z] ---> 03e2164cf78a [2022-10-12T02:55:15.846Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:55:15.846Z] ---> Running in 207d8dd99066 [2022-10-12T02:55:16.113Z] Removing intermediate container 207d8dd99066 [2022-10-12T02:55:16.113Z] ---> 424fdc37b618 [2022-10-12T02:55:16.113Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:55:16.113Z] ---> Running in 282d43f8dd50 [2022-10-12T02:55:18.055Z] Removing intermediate container 282d43f8dd50 [2022-10-12T02:55:18.055Z] ---> 510f8aec3807 [2022-10-12T02:55:18.055Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:55:18.055Z] ---> Running in fed98f6f5839 [2022-10-12T02:55:19.013Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T02:55:19.966Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T02:55:20.547Z] OK: 221 MiB in 51 packages [2022-10-12T02:55:21.507Z] Removing intermediate container fed98f6f5839 [2022-10-12T02:55:21.507Z] ---> d6c8afb45824 [2022-10-12T02:55:21.507Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-12T02:55:21.507Z] ---> Running in f5e541a06b8b [2022-10-12T02:55:21.774Z] Removing intermediate container f5e541a06b8b [2022-10-12T02:55:21.775Z] ---> b930c4cdc063 [2022-10-12T02:55:21.775Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-12T02:55:22.040Z] ---> f424caed7577 [2022-10-12T02:55:22.040Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:55:22.308Z] ---> Running in 6a4c21cca5b7 [2022-10-12T02:55:24.255Z] Removing intermediate container 6a4c21cca5b7 [2022-10-12T02:55:24.255Z] ---> 9e600d8e2ad6 [2022-10-12T02:55:24.255Z] Step 13/27 : COPY . . [2022-10-12T02:55:25.663Z] ---> aea7715cd0c4 [2022-10-12T02:55:25.663Z] Step 14/27 : RUN ${MAKE} [2022-10-12T02:55:25.663Z] ---> Running in 8e61003ad216 [2022-10-12T02:55:26.620Z] 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-12T02:57:48.274Z] Removing intermediate container 8e61003ad216 [2022-10-12T02:57:48.274Z] ---> 9ff26923cfa5 [2022-10-12T02:57:48.274Z] Step 15/27 : FROM alpine:3.16 [2022-10-12T02:57:48.274Z] 3.16: Pulling from library/alpine [2022-10-12T02:57:48.274Z] 9b18e9b68314: Already exists [2022-10-12T02:57:48.274Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T02:57:48.274Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T02:57:48.274Z] ---> a6215f271958 [2022-10-12T02:57:48.274Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-12T02:57:48.274Z] ---> Running in c57e6971072f [2022-10-12T02:57:48.274Z] Removing intermediate container c57e6971072f [2022-10-12T02:57:48.274Z] ---> af8f5cb41eff [2022-10-12T02:57:48.274Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-12T02:57:48.274Z] ---> Running in 73169092232a [2022-10-12T02:57:48.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T02:57:48.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T02:57:48.274Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-12T02:57:48.274Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T02:57:48.274Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-12T02:57:48.274Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T02:57:48.274Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-12T02:57:48.274Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-12T02:57:48.274Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T02:57:48.274Z] OK: 8 MiB in 20 packages [2022-10-12T02:57:48.274Z] Removing intermediate container 73169092232a [2022-10-12T02:57:48.274Z] ---> ab947e3ade8f [2022-10-12T02:57:48.274Z] Step 18/27 : WORKDIR / [2022-10-12T02:57:48.274Z] ---> Running in 30ebc1d15170 [2022-10-12T02:57:48.274Z] Removing intermediate container 30ebc1d15170 [2022-10-12T02:57:48.274Z] ---> bf82fef3adf1 [2022-10-12T02:57:48.274Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-12T02:57:48.274Z] ---> 52e7a01fb474 [2022-10-12T02:57:48.274Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-12T02:57:48.274Z] ---> c9f54e9ccbe8 [2022-10-12T02:57:48.274Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-12T02:57:48.274Z] ---> e586fb0156a5 [2022-10-12T02:57:48.274Z] Step 22/27 : EXPOSE 59984 [2022-10-12T02:57:48.549Z] ---> Running in e6f729346b9b [2022-10-12T02:57:48.549Z] Removing intermediate container e6f729346b9b [2022-10-12T02:57:48.549Z] ---> fffe108663ee [2022-10-12T02:57:48.549Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-12T02:57:48.813Z] ---> Running in 0fd90522b11d [2022-10-12T02:57:49.078Z] Removing intermediate container 0fd90522b11d [2022-10-12T02:57:49.078Z] ---> fb459cc76be2 [2022-10-12T02:57:49.078Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T02:57:49.078Z] ---> Running in 4476626feaf9 [2022-10-12T02:57:49.343Z] Removing intermediate container 4476626feaf9 [2022-10-12T02:57:49.343Z] ---> a7d30753dac1 [2022-10-12T02:57:49.343Z] Step 25/27 : LABEL arch=arm64 [2022-10-12T02:57:49.343Z] ---> Running in 7177ecb12ca7 [2022-10-12T02:57:49.608Z] Removing intermediate container 7177ecb12ca7 [2022-10-12T02:57:49.608Z] ---> ed21edd034cb [2022-10-12T02:57:49.608Z] Step 26/27 : LABEL git_sha=9bd2e2956a66729a154774b491de56aa13023e8f [2022-10-12T02:57:49.608Z] ---> Running in 85ccbdb4f6fd [2022-10-12T02:57:49.872Z] Removing intermediate container 85ccbdb4f6fd [2022-10-12T02:57:49.872Z] ---> c63b0f336617 [2022-10-12T02:57:49.872Z] Step 27/27 : LABEL version=0.0.0 [2022-10-12T02:57:49.872Z] ---> Running in 7501aa1d4a51 [2022-10-12T02:57:50.138Z] Removing intermediate container 7501aa1d4a51 [2022-10-12T02:57:50.138Z] ---> a0a6d7351266 [2022-10-12T02:57:50.138Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T02:57:50.138Z] Successfully built a0a6d7351266 [2022-10-12T02:57:50.138Z] 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-12T02:57:50.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T02:57:50.562Z] [2022-10-12T02:57:50.562Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:57:50.884Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T02:57:50.884Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-12T02:57:50.884Z] 8998bd30e6a1: Pulling fs layer [2022-10-12T02:57:50.884Z] 04944245beec: Pulling fs layer [2022-10-12T02:57:50.884Z] 699f458cf7ca: Pulling fs layer [2022-10-12T02:57:50.884Z] 765212b225bb: Pulling fs layer [2022-10-12T02:57:50.884Z] f23df028b6ca: Pulling fs layer [2022-10-12T02:57:50.884Z] d65c8cfc05b1: Pulling fs layer [2022-10-12T02:57:50.884Z] 2437ff75d9bd: Pulling fs layer [2022-10-12T02:57:50.884Z] 765212b225bb: Waiting [2022-10-12T02:57:50.884Z] d65c8cfc05b1: Waiting [2022-10-12T02:57:50.884Z] 2437ff75d9bd: Waiting [2022-10-12T02:57:50.884Z] f23df028b6ca: Waiting [2022-10-12T02:57:51.152Z] 04944245beec: Verifying Checksum [2022-10-12T02:57:51.152Z] 04944245beec: Download complete [2022-10-12T02:57:51.152Z] 765212b225bb: Download complete [2022-10-12T02:57:51.152Z] f23df028b6ca: Download complete [2022-10-12T02:57:51.152Z] d65c8cfc05b1: Verifying Checksum [2022-10-12T02:57:51.152Z] d65c8cfc05b1: Download complete [2022-10-12T02:57:51.152Z] 699f458cf7ca: Download complete [2022-10-12T02:57:51.734Z] 8998bd30e6a1: Verifying Checksum [2022-10-12T02:57:51.734Z] 8998bd30e6a1: Download complete [2022-10-12T02:57:53.673Z] 2437ff75d9bd: Verifying Checksum [2022-10-12T02:57:53.673Z] 2437ff75d9bd: Download complete [2022-10-12T02:57:55.611Z] 8998bd30e6a1: Pull complete [2022-10-12T02:57:57.014Z] 04944245beec: Pull complete [2022-10-12T02:57:57.969Z] 699f458cf7ca: Pull complete [2022-10-12T02:57:58.236Z] 765212b225bb: Pull complete [2022-10-12T02:57:59.195Z] f23df028b6ca: Pull complete [2022-10-12T02:57:59.195Z] d65c8cfc05b1: Pull complete [2022-10-12T02:58:14.179Z] 2437ff75d9bd: Pull complete [2022-10-12T02:58:14.179Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-12T02:58:14.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T02:58:14.179Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:58:14.358Z] prd-ubuntu20.04-docker-arm64-4c-16g-7707 does not seem to be running inside a container [2022-10-12T02:58:14.416Z] $ 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/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@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:arm64 cat [2022-10-12T02:58:16.881Z] $ docker top c61b7b4b42361a488dd16bb0f66441330e030923239690007c6cb2a5f9c91361 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:58:17.392Z] ---> job-cost.sh [2022-10-12T02:58:17.657Z] lf-activate-venv: SKIPPING [2022-10-12T02:58:17.657Z] INFO: No Stack... [2022-10-12T02:58:17.923Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-12T02:58:18.876Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T02:58:19.191Z] + cut -d, -f6 [2022-10-12T02:58:19.191Z] + cat /w/workspace/device-onvif-camera/20/archives/cost.csv [Pipeline] lock [2022-10-12T02:58:19.219Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] [2022-10-12T02:58:19.226Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] did not exist. Created. [2022-10-12T02:58:19.226Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T02:58:19.566Z] /w/workspace/device-onvif-camera/20@tmp/durable-2d29b36c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-12T02:58:20.212Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-12T02:58:20.227Z] Warning: overwriting stash ‘stack-cost’ [2022-10-12T02:58:20.281Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T02:58:20.288Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T02:58:20.303Z] $ docker stop --time=1 c61b7b4b42361a488dd16bb0f66441330e030923239690007c6cb2a5f9c91361 [2022-10-12T02:58:21.917Z] $ docker rm -f c61b7b4b42361a488dd16bb0f66441330e030923239690007c6cb2a5f9c91361 [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-12T02:58:22.357Z] provisioning config files... [2022-10-12T02:58:22.366Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config1450447397623978713tmp [Pipeline] { [Pipeline] sh [2022-10-12T02:58:22.663Z] + set +x [2022-10-12T02:58:22.663Z] + + bash -s -- [2022-10-12T02:58:22.663Z] curl -s https://codecov.io/bash [2022-10-12T02:58:22.663Z] [2022-10-12T02:58:22.663Z] _____ _ [2022-10-12T02:58:22.663Z] / ____| | | [2022-10-12T02:58:22.663Z] | | ___ __| | ___ ___ _____ __ [2022-10-12T02:58:22.663Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-12T02:58:22.663Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-12T02:58:22.663Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-12T02:58:22.663Z] Bash-1.0.6 [2022-10-12T02:58:22.663Z] [2022-10-12T02:58:22.663Z] [2022-10-12T02:58:22.663Z] ==> git version 2.25.1 found [2022-10-12T02:58:22.663Z] ==> 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-12T02:58:22.663Z] Release-Date: 2020-01-08 [2022-10-12T02:58:22.663Z] 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-12T02:58:22.663Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-12T02:58:22.663Z] ==> Jenkins CI detected. [2022-10-12T02:58:22.663Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-172 [2022-10-12T02:58:22.663Z] project root: . [2022-10-12T02:58:22.663Z] --> token set from env [2022-10-12T02:58:22.663Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-12T02:58:22.663Z] ==> Running gcov in . (disable via -X gcov) [2022-10-12T02:58:22.663Z] ==> Python coveragepy not found [2022-10-12T02:58:22.663Z] ==> Searching for coverage reports in: [2022-10-12T02:58:22.663Z] + . [2022-10-12T02:58:22.663Z] -> Found 1 reports [2022-10-12T02:58:22.663Z] ==> Detecting git/mercurial file structure [2022-10-12T02:58:22.663Z] ==> Reading reports [2022-10-12T02:58:22.663Z] + ./coverage.out bytes=78636 [2022-10-12T02:58:22.663Z] ==> Appending adjustments [2022-10-12T02:58:22.663Z] https://docs.codecov.io/docs/fixing-reports [2022-10-12T02:58:22.923Z] + Found adjustments [2022-10-12T02:58:22.923Z] ==> Gzipping contents [2022-10-12T02:58:22.923Z] 12K /tmp/codecov.vtVS4b.gz [2022-10-12T02:58:22.923Z] ==> Uploading reports [2022-10-12T02:58:22.923Z] url: https://codecov.io [2022-10-12T02:58:22.923Z] query: branch=PR-172&commit=bca2311dfce4c98374c6bb1f7529a213d91c6526&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-12T02:58:22.923Z] -> Pinging Codecov [2022-10-12T02:58:22.923Z] 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=bca2311dfce4c98374c6bb1f7529a213d91c6526&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-12T02:58:23.861Z] -> Uploading to [2022-10-12T02:58:23.862Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-12/F29A59C45E3A92E06B3E522C9905F8EF/bca2311dfce4c98374c6bb1f7529a213d91c6526/e69a5403-9d71-47bd-8076-8d00fe749daf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T025823Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=38c09de7d933e0bf71800f885dfb4bc924199907dc2cf67717268f4fc7b4cefe [2022-10-12T02:58:23.862Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T02:58:23.862Z] Dload Upload Total Spent Left Speed [2022-10-12T02:58:24.122Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10746 0 0 100 10746 0 37573 --:--:-- --:--:-- --:--:-- 37573 [2022-10-12T02:58:24.122Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/bca2311dfce4c98374c6bb1f7529a213d91c6526 [Pipeline] } [2022-10-12T02:58:24.129Z] 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-12T02:58:24.888Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-12T02:58:24.888Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-12T02:58:24.888Z] total 16 [2022-10-12T02:58:24.888Z] drwxr-xr-x 3 root root 4096 Oct 12 02:52 . [2022-10-12T02:58:24.888Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:52 .. [2022-10-12T02:58:24.888Z] drwxr-xr-x 2 root root 4096 Oct 12 02:52 cost [2022-10-12T02:58:24.888Z] -rw-r--r-- 1 root root 92 Oct 12 02:52 cost.csv [2022-10-12T02:58:24.888Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-12T02:58:24.888Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-12T02:58:24.888Z] total 16 [2022-10-12T02:58:24.888Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 02:52 . [2022-10-12T02:58:24.888Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:52 .. [2022-10-12T02:58:24.888Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 02:52 cost [2022-10-12T02:58:24.888Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 12 02:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:58:25.177Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:58:26.034Z] ---> package-listing.sh [2022-10-12T02:58:26.034Z] ++ facter osfamily [2022-10-12T02:58:26.034Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-12T02:58:26.293Z] + OS_FAMILY=debian [2022-10-12T02:58:26.293Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-12T02:58:26.293Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-12T02:58:26.293Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-12T02:58:26.293Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-12T02:58:26.293Z] + PACKAGES=/tmp/packages_start.txt [2022-10-12T02:58:26.293Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-12T02:58:26.293Z] + PACKAGES=/tmp/packages_end.txt [2022-10-12T02:58:26.293Z] + case "${OS_FAMILY}" in [2022-10-12T02:58:26.293Z] + dpkg -l [2022-10-12T02:58:26.293Z] + grep '^ii' [2022-10-12T02:58:26.293Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-12T02:58:26.293Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-12T02:58:26.293Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-12T02:58:26.293Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-12T02:58:26.293Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-12T02:58:26.293Z] + 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-12T02:58:26.303Z] 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-12T02:58:26.579Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:58:27.160Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:58:27.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:58:27.224Z] prd-ubuntu20.04-docker-8c-8g-7708 does not seem to be running inside a container [2022-10-12T02:58:27.251Z] $ 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-12T02:58:27.423Z] $ docker top e9d8ce31c945b6d007e9d524d0c0f87c38731fdf554aacf633f03fa0ef67ddc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:58:27.767Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-12T02:58:28.049Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-12T02:58:28.334Z] + ls /var/log/sa-host [2022-10-12T02:58:28.334Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:58:28.477Z] provisioning config files... [2022-10-12T02:58:28.485Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config14111448027045010734tmp [Pipeline] { [Pipeline] echo [2022-10-12T02:58:28.502Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:58:28.782Z] ---> create-netrc.sh [Pipeline] } [2022-10-12T02:58:28.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:58:29.109Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-12T02:58:29.117Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:58:29.402Z] ---> sudo-logs.sh [2022-10-12T02:58:29.402Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-12T02:58:29.431Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:58:29.711Z] ---> job-cost.sh [2022-10-12T02:58:29.712Z] lf-activate-venv: SKIPPING [2022-10-12T02:58:29.712Z] DEBUG: total: 0.2199999988079071 [2022-10-12T02:58:29.712Z] INFO: Retrieving Stack Cost... [2022-10-12T02:58:30.281Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T02:58:30.541Z] INFO: Archiving Costs [Pipeline] echo [2022-10-12T02:58:30.553Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:58:30.837Z] ---> logs-deploy.sh [2022-10-12T02:58:30.837Z] lf-activate-venv: SKIPPING [2022-10-12T02:58:30.837Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/20 [2022-10-12T02:58:30.837Z] INFO: archiving workspace using pattern(s): [2022-10-12T02:58:31.774Z] Archives upload complete. [2022-10-12T02:58:31.774Z] INFO: archiving logs to Nexus