Branch indexing 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 f5aeb6614c21a3e0ce3156cc256a3d02faf462bc 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-ssh16384297010594787676.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-ssh6689310203030350934.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-ssh14925893674706921953.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-ssh17330394267482284065.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-ssh16885536356942015007.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7695’ Running on prd-ubuntu20.04-docker-8c-8g-7701 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 f5aeb6614c21a3e0ce3156cc256a3d02faf462bc Merge succeeded, producing 39a17112c1784bb6bd042bb5cc718e675ffa65f0 Checking out Revision 39a17112c1784bb6bd042bb5cc718e675ffa65f0 (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # 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 39a17112c1784bb6bd042bb5cc718e675ffa65f0 # 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:10:43.452Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-12T02:10:43.530Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-12T02:10:43.552Z] ========================================================= [2022-10-12T02:10:43.552Z] EdgeX Global Pipelines Version Info [2022-10-12T02:10:43.552Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:10:44.279Z] ------------------- [2022-10-12T02:10:44.279Z] stable info: [2022-10-12T02:10:44.279Z] ------------------- [2022-10-12T02:10:44.279Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-12T02:10:44.279Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T02:10:44.279Z] Message: update stable to v1.0.239 > git rev-list --no-walk 6dada69a304883f628695afc678d555d26423245 # timeout=10 [2022-10-12T02:10:44.857Z] ------------------- [2022-10-12T02:10:44.857Z] experimental info: [2022-10-12T02:10:44.857Z] ------------------- [2022-10-12T02:10:44.857Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-12T02:10:44.857Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T02:10:44.857Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-12T02:10:45.025Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-12T02:10:45.034Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-12T02:10:45.042Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-12T02:10:45.051Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-12T02:10:45.059Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-12T02:10:45.067Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-12T02:10:45.080Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-12T02:10:45.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-12T02:10:45.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-12T02:10:45.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-12T02:10:45.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-12T02:10:45.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-12T02:10:45.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-12T02:10:45.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-12T02:10:45.177Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T02:10:45.191Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T02:10:45.202Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T02:10:45.213Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T02:10:45.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-12T02:10:45.238Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-12T02:10:45.252Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-12T02:10:45.263Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-12T02:10:45.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-12T02:10:45.286Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-12T02:10:45.297Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-12T02:10:45.312Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-12T02:10:45.322Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-12T02:10:45.333Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-12T02:10:45.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-12T02:10:45.353Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-12T02:10:45.365Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39a17112c1784bb6bd042bb5cc718e675ffa65f0 [Pipeline] echo [2022-10-12T02:10:45.374Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39a1711 [Pipeline] echo [2022-10-12T02:10:45.383Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:10:45.427Z] provisioning config files... [2022-10-12T02:10:45.442Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config1127212177784028129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:10:45.746Z] ---> docker-login.sh [2022-10-12T02:10:45.746Z] nexus3.edgexfoundry.org:10001 [2022-10-12T02:10:46.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:10:46.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:10:46.267Z] Configure a credential helper to remove this warning. See [2022-10-12T02:10:46.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:10:46.267Z] [2022-10-12T02:10:46.267Z] Login Succeeded [2022-10-12T02:10:46.267Z] nexus3.edgexfoundry.org:10002 [2022-10-12T02:10:46.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:10:46.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:10:46.267Z] Configure a credential helper to remove this warning. See [2022-10-12T02:10:46.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:10:46.268Z] [2022-10-12T02:10:46.268Z] Login Succeeded [2022-10-12T02:10:46.268Z] nexus3.edgexfoundry.org:10003 [2022-10-12T02:10:46.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:10:46.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:10:46.268Z] Configure a credential helper to remove this warning. See [2022-10-12T02:10:46.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:10:46.268Z] [2022-10-12T02:10:46.268Z] Login Succeeded [2022-10-12T02:10:46.268Z] nexus3.edgexfoundry.org:10004 [2022-10-12T02:10:46.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:10:46.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:10:46.529Z] Configure a credential helper to remove this warning. See [2022-10-12T02:10:46.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:10:46.529Z] [2022-10-12T02:10:46.529Z] Login Succeeded [2022-10-12T02:10:46.529Z] docker.io [2022-10-12T02:10:46.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:10:47.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:10:47.097Z] Configure a credential helper to remove this warning. See [2022-10-12T02:10:47.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:10:47.097Z] [2022-10-12T02:10:47.097Z] Login Succeeded [2022-10-12T02:10:47.097Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T02:10:47.105Z] 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:10:47.449Z] + git rev-list -1 --merges 39a17112c1784bb6bd042bb5cc718e675ffa65f0~1..39a17112c1784bb6bd042bb5cc718e675ffa65f0 [Pipeline] echo [2022-10-12T02:10:47.479Z] -----------> git rev-list -1 --merges 39a17112c1784bb6bd042bb5cc718e675ffa65f0~1..39a17112c1784bb6bd042bb5cc718e675ffa65f0 39a17112c1784bb6bd042bb5cc718e675ffa65f0 [2022-10-12T02:10:47.479Z] 39a17112c1784bb6bd042bb5cc718e675ffa65f0 [false] [Pipeline] sh [2022-10-12T02:10:47.767Z] + git log --format=format:%s -1 39a17112c1784bb6bd042bb5cc718e675ffa65f0 [Pipeline] echo [2022-10-12T02:10:47.780Z] ========================================================= [2022-10-12T02:10:47.780Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-12T02:10:47.780Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T02:10:48.092Z] + git log --format=format:%s -1 39a17112c1784bb6bd042bb5cc718e675ffa65f0 [Pipeline] echo [2022-10-12T02:10:48.103Z] [semverPrep] GIT_COMMIT: 39a17112c1784bb6bd042bb5cc718e675ffa65f0, Commit Message: Merge commit 'bca8455642164c3d303fb1e1cb399f48d9b73870' into HEAD [Pipeline] echo [2022-10-12T02:10:48.110Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-12T02:10:48.467Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-12T02:10:48.467Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-12T02:10:48.467Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-12T02:10:48.467Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-12T02:10:48.467Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-12T02:10:48.467Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-12T02:10:48.467Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:10:48.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T02:10:48.875Z] [2022-10-12T02:10:48.875Z] 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:10:49.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T02:10:49.174Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-12T02:10:49.174Z] b85a868b505f: Pulling fs layer [2022-10-12T02:10:49.174Z] e2be974225ed: Pulling fs layer [2022-10-12T02:10:49.174Z] 339a4e72a1f5: Pulling fs layer [2022-10-12T02:10:49.174Z] 988bab9f4d93: Pulling fs layer [2022-10-12T02:10:49.174Z] 1469e6f7b9e6: Pulling fs layer [2022-10-12T02:10:49.174Z] eaf3925da568: Pulling fs layer [2022-10-12T02:10:49.174Z] bab4dde63d76: Pulling fs layer [2022-10-12T02:10:49.174Z] bde34c3a00c8: Pulling fs layer [2022-10-12T02:10:49.174Z] b352a97aabf1: Pulling fs layer [2022-10-12T02:10:49.174Z] 4872d77fe225: Pulling fs layer [2022-10-12T02:10:49.174Z] 5851b861e8e6: Pulling fs layer [2022-10-12T02:10:49.174Z] bab4dde63d76: Waiting [2022-10-12T02:10:49.174Z] 1469e6f7b9e6: Waiting [2022-10-12T02:10:49.174Z] eaf3925da568: Waiting [2022-10-12T02:10:49.174Z] 988bab9f4d93: Waiting [2022-10-12T02:10:49.174Z] b352a97aabf1: Waiting [2022-10-12T02:10:49.174Z] 4872d77fe225: Waiting [2022-10-12T02:10:49.174Z] bde34c3a00c8: Waiting [2022-10-12T02:10:49.174Z] 5851b861e8e6: Waiting [2022-10-12T02:10:49.174Z] e2be974225ed: Verifying Checksum [2022-10-12T02:10:49.174Z] e2be974225ed: Download complete [2022-10-12T02:10:49.174Z] 988bab9f4d93: Verifying Checksum [2022-10-12T02:10:49.433Z] 1469e6f7b9e6: Verifying Checksum [2022-10-12T02:10:49.433Z] 1469e6f7b9e6: Download complete [2022-10-12T02:10:49.433Z] eaf3925da568: Download complete [2022-10-12T02:10:49.433Z] 339a4e72a1f5: Verifying Checksum [2022-10-12T02:10:49.433Z] 339a4e72a1f5: Download complete [2022-10-12T02:10:49.433Z] bde34c3a00c8: Download complete [2022-10-12T02:10:49.433Z] b352a97aabf1: Verifying Checksum [2022-10-12T02:10:49.433Z] b352a97aabf1: Download complete [2022-10-12T02:10:49.433Z] 4872d77fe225: Verifying Checksum [2022-10-12T02:10:49.433Z] 4872d77fe225: Download complete [2022-10-12T02:10:49.433Z] 5851b861e8e6: Download complete [2022-10-12T02:10:49.433Z] b85a868b505f: Download complete [2022-10-12T02:10:49.693Z] bab4dde63d76: Verifying Checksum [2022-10-12T02:10:49.693Z] bab4dde63d76: Download complete [2022-10-12T02:10:50.633Z] b85a868b505f: Pull complete [2022-10-12T02:10:50.899Z] e2be974225ed: Pull complete [2022-10-12T02:10:51.476Z] 339a4e72a1f5: Pull complete [2022-10-12T02:10:51.476Z] 988bab9f4d93: Pull complete [2022-10-12T02:10:51.735Z] 1469e6f7b9e6: Pull complete [2022-10-12T02:10:51.735Z] eaf3925da568: Pull complete [2022-10-12T02:10:53.640Z] bab4dde63d76: Pull complete [2022-10-12T02:10:53.640Z] bde34c3a00c8: Pull complete [2022-10-12T02:10:53.902Z] b352a97aabf1: Pull complete [2022-10-12T02:10:53.902Z] 4872d77fe225: Pull complete [2022-10-12T02:10:53.902Z] 5851b861e8e6: Pull complete [2022-10-12T02:10:53.902Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-12T02:10:53.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T02:10:53.902Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:10:53.990Z] prd-ubuntu20.04-docker-8c-8g-7701 does not seem to be running inside a container [2022-10-12T02:10:54.094Z] $ 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:10:56.450Z] $ docker top 46f19ad493adb16f2b4c36c88400d96783c721ac40d9e00ef9bf44777df77b13 -eo pid,comm [2022-10-12T02:10:56.506Z] 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:10:56.506Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-12T02:10:56.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T02:10:56.541Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T02:10:56.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T02:10:56.666Z] $ docker exec 46f19ad493adb16f2b4c36c88400d96783c721ac40d9e00ef9bf44777df77b13 ssh-agent [2022-10-12T02:10:56.775Z] SSH_AUTH_SOCK=/tmp/ssh-1FEGVxcQsz3v/agent.32 [2022-10-12T02:10:56.775Z] SSH_AGENT_PID=38 [2022-10-12T02:10:56.781Z] Running ssh-add (command line suppressed) [2022-10-12T02:10:56.881Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_3620068619568483183.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_3620068619568483183.key) [2022-10-12T02:10:56.894Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T02:10:57.185Z] + git tag --points-at HEAD [Pipeline] } [2022-10-12T02:10:57.203Z] $ docker exec --env ******** --env ******** 46f19ad493adb16f2b4c36c88400d96783c721ac40d9e00ef9bf44777df77b13 ssh-agent -k [2022-10-12T02:10:57.325Z] unset SSH_AUTH_SOCK; [2022-10-12T02:10:57.325Z] unset SSH_AGENT_PID; [2022-10-12T02:10:57.326Z] echo Agent pid 38 killed; [2022-10-12T02:10:57.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-12T02:10:57.362Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T02:10:57.362Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T02:10:57.486Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T02:10:57.490Z] $ docker exec 46f19ad493adb16f2b4c36c88400d96783c721ac40d9e00ef9bf44777df77b13 ssh-agent [2022-10-12T02:10:57.618Z] SSH_AUTH_SOCK=/tmp/ssh-no3lfUs1P9FZ/agent.70 [2022-10-12T02:10:57.618Z] SSH_AGENT_PID=76 [2022-10-12T02:10:57.623Z] Running ssh-add (command line suppressed) [2022-10-12T02:10:57.735Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_11643788282188034850.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_11643788282188034850.key) [2022-10-12T02:10:57.746Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T02:10:58.036Z] + git semver init [2022-10-12T02:10:58.295Z] 2022-10-12 02:10:58,212 [run_init] DEBUG init version:0.0.0 force:False [2022-10-12T02:10:58.295Z] 2022-10-12 02:10:58,212 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-12T02:10:58.295Z] 2022-10-12 02:10:58,212 [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:10:58.295Z] 2022-10-12 02:10:58,213 [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:10:59.234Z] 2022-10-12 02:10:59,174 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-12T02:10:59.234Z] 2022-10-12 02:10:59,175 [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:10:59.234Z] 2022-10-12 02:10:59,175 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-12T02:10:59.234Z] 2022-10-12 02:10:59,179 [execute] INFO git cat-file --batch-check [2022-10-12T02:10:59.234Z] 2022-10-12 02:10:59,179 [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:10:59.234Z] 2022-10-12 02:10:59,185 [execute] INFO git cat-file --batch [2022-10-12T02:10:59.234Z] 2022-10-12 02:10:59,185 [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:10:59.234Z] 2022-10-12 02:10:59,188 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-12T02:10:59.234Z] 0.0.0 [Pipeline] } [2022-10-12T02:10:59.244Z] $ docker exec --env ******** --env ******** 46f19ad493adb16f2b4c36c88400d96783c721ac40d9e00ef9bf44777df77b13 ssh-agent -k [2022-10-12T02:10:59.349Z] unset SSH_AUTH_SOCK; [2022-10-12T02:10:59.350Z] unset SSH_AGENT_PID; [2022-10-12T02:10:59.350Z] echo Agent pid 76 killed; [2022-10-12T02:10:59.357Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-12T02:10:59.658Z] + git semver [Pipeline] } [2022-10-12T02:10:59.932Z] $ docker stop --time=1 46f19ad493adb16f2b4c36c88400d96783c721ac40d9e00ef9bf44777df77b13 [2022-10-12T02:11:01.236Z] $ docker rm -f 46f19ad493adb16f2b4c36c88400d96783c721ac40d9e00ef9bf44777df77b13 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T02:11:01.568Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-12T02:11:01.738Z] Stashed 1 file(s) [Pipeline] echo [2022-10-12T02:11:01.741Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:11:01.882Z] provisioning config files... [2022-10-12T02:11:01.892Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config3541848491319179239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:11:02.187Z] ---> docker-login.sh [2022-10-12T02:11:02.187Z] nexus3.edgexfoundry.org:10001 [2022-10-12T02:11:02.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:02.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:02.187Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:02.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:02.187Z] [2022-10-12T02:11:02.187Z] Login Succeeded [2022-10-12T02:11:02.187Z] nexus3.edgexfoundry.org:10002 [2022-10-12T02:11:02.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:02.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:02.187Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:02.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:02.187Z] [2022-10-12T02:11:02.187Z] Login Succeeded [2022-10-12T02:11:02.187Z] nexus3.edgexfoundry.org:10003 [2022-10-12T02:11:02.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:02.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:02.446Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:02.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:02.446Z] [2022-10-12T02:11:02.446Z] Login Succeeded [2022-10-12T02:11:02.446Z] nexus3.edgexfoundry.org:10004 [2022-10-12T02:11:02.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:02.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:02.446Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:02.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:02.446Z] [2022-10-12T02:11:02.446Z] Login Succeeded [2022-10-12T02:11:02.446Z] docker.io [2022-10-12T02:11:02.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:02.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:02.965Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:02.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:02.965Z] [2022-10-12T02:11:02.965Z] Login Succeeded [2022-10-12T02:11:02.965Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T02:11:02.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T02:11:03.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:11:03.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:11:03.046Z] ========================================================= [2022-10-12T02:11:03.046Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-12T02:11:03.046Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:11:03.345Z] + 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:11:03.345Z] Sending build context to Docker daemon 20.82MB [2022-10-12T02:11:03.345Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:11:03.345Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-12T02:11:03.617Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-12T02:11:03.617Z] 213ec9aee27d: Pulling fs layer [2022-10-12T02:11:03.617Z] 4583459ba037: Pulling fs layer [2022-10-12T02:11:03.617Z] 93c1e223e6f2: Pulling fs layer [2022-10-12T02:11:03.617Z] 53926ce57604: Pulling fs layer [2022-10-12T02:11:03.617Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-12T02:11:03.617Z] 30f14e443154: Pulling fs layer [2022-10-12T02:11:03.617Z] 801331c1e519: Pulling fs layer [2022-10-12T02:11:03.617Z] 99cc6dd402b0: Pulling fs layer [2022-10-12T02:11:03.617Z] 7d9ed39f4882: Pulling fs layer [2022-10-12T02:11:03.617Z] 30f14e443154: Waiting [2022-10-12T02:11:03.617Z] 801331c1e519: Waiting [2022-10-12T02:11:03.617Z] 53926ce57604: Waiting [2022-10-12T02:11:03.617Z] 21b2b0c7a3f4: Waiting [2022-10-12T02:11:03.617Z] 7d9ed39f4882: Waiting [2022-10-12T02:11:03.617Z] 93c1e223e6f2: Verifying Checksum [2022-10-12T02:11:03.617Z] 93c1e223e6f2: Download complete [2022-10-12T02:11:03.617Z] 4583459ba037: Verifying Checksum [2022-10-12T02:11:03.617Z] 4583459ba037: Download complete [2022-10-12T02:11:03.617Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-12T02:11:03.617Z] 21b2b0c7a3f4: Download complete [2022-10-12T02:11:03.617Z] 30f14e443154: Download complete [2022-10-12T02:11:03.617Z] 213ec9aee27d: Verifying Checksum [2022-10-12T02:11:03.617Z] 213ec9aee27d: Download complete [2022-10-12T02:11:03.617Z] 801331c1e519: Verifying Checksum [2022-10-12T02:11:03.617Z] 801331c1e519: Download complete [2022-10-12T02:11:03.877Z] 213ec9aee27d: Pull complete [2022-10-12T02:11:03.878Z] 4583459ba037: Pull complete [2022-10-12T02:11:03.878Z] 93c1e223e6f2: Pull complete [2022-10-12T02:11:04.137Z] 7d9ed39f4882: Verifying Checksum [2022-10-12T02:11:04.137Z] 7d9ed39f4882: Download complete [2022-10-12T02:11:04.396Z] 99cc6dd402b0: Verifying Checksum [2022-10-12T02:11:04.396Z] 99cc6dd402b0: Download complete [2022-10-12T02:11:04.396Z] 53926ce57604: Verifying Checksum [2022-10-12T02:11:04.396Z] 53926ce57604: Download complete [2022-10-12T02:11:08.583Z] 53926ce57604: Pull complete [2022-10-12T02:11:08.583Z] 21b2b0c7a3f4: Pull complete [2022-10-12T02:11:08.583Z] 30f14e443154: Pull complete [2022-10-12T02:11:08.583Z] 801331c1e519: Pull complete [2022-10-12T02:11:10.490Z] 99cc6dd402b0: Pull complete [2022-10-12T02:11:11.056Z] 7d9ed39f4882: Pull complete [2022-10-12T02:11:11.056Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-12T02:11:11.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-12T02:11:11.056Z] ---> 1dedd983c030 [2022-10-12T02:11:11.056Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:11:14.342Z] ---> Running in 1f2ad58260b5 [2022-10-12T02:11:14.601Z] Removing intermediate container 1f2ad58260b5 [2022-10-12T02:11:14.601Z] ---> a74b5324eae6 [2022-10-12T02:11:14.601Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:11:14.601Z] ---> Running in 185e60280e13 [2022-10-12T02:11:14.601Z] Removing intermediate container 185e60280e13 [2022-10-12T02:11:14.601Z] ---> 55970afcdb65 [2022-10-12T02:11:14.601Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:11:14.601Z] ---> Running in f15d58524c83 [2022-10-12T02:11:14.860Z] Removing intermediate container f15d58524c83 [2022-10-12T02:11:14.860Z] ---> eb1f42037cc0 [2022-10-12T02:11:14.860Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:11:14.860Z] ---> Running in 05d98e3c5ff7 [2022-10-12T02:11:14.860Z] Removing intermediate container 05d98e3c5ff7 [2022-10-12T02:11:14.860Z] ---> b729df7e2d06 [2022-10-12T02:11:14.860Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:11:14.860Z] ---> Running in c7ca6812976a [2022-10-12T02:11:14.860Z] Removing intermediate container c7ca6812976a [2022-10-12T02:11:14.860Z] ---> 9f6bd12c43f2 [2022-10-12T02:11:14.860Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:11:14.860Z] ---> Running in 03195fc81aff [2022-10-12T02:11:15.429Z] Removing intermediate container 03195fc81aff [2022-10-12T02:11:15.429Z] ---> e0d52f476e38 [2022-10-12T02:11:15.429Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:11:15.429Z] ---> Running in 8fdb4061455c [2022-10-12T02:11:15.692Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T02:11:16.628Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T02:11:16.840Z] Still waiting to schedule task [2022-10-12T02:11:16.840Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7699’ [2022-10-12T02:11:16.888Z] OK: 211 MiB in 51 packages [2022-10-12T02:11:17.455Z] Removing intermediate container 8fdb4061455c [2022-10-12T02:11:17.455Z] ---> b8293ca29997 [2022-10-12T02:11:17.455Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-12T02:11:17.455Z] ---> Running in a83e31f7c209 [2022-10-12T02:11:17.455Z] Removing intermediate container a83e31f7c209 [2022-10-12T02:11:17.455Z] ---> b9db25f309bc [2022-10-12T02:11:17.455Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-12T02:11:17.455Z] ---> 667a28c96cf7 [2022-10-12T02:11:17.455Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:11:17.455Z] ---> Running in 9da0ca9fd967 [2022-10-12T02:11:44.001Z] Removing intermediate container 9da0ca9fd967 [2022-10-12T02:11:44.001Z] ---> c9776d8c32c0 [2022-10-12T02:11:44.001Z] Step 13/14 : COPY . . [2022-10-12T02:11:44.001Z] ---> 2c7b88c89d76 [2022-10-12T02:11:44.001Z] Step 14/14 : RUN ${MAKE} [2022-10-12T02:11:44.001Z] ---> Running in aeeecf92c10e [2022-10-12T02:11:44.001Z] noop [2022-10-12T02:11:44.001Z] Removing intermediate container aeeecf92c10e [2022-10-12T02:11:44.001Z] ---> fa9e11c207df [2022-10-12T02:11:44.001Z] Successfully built fa9e11c207df [2022-10-12T02:11:44.001Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:11:44.298Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T02:11:44.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:11:44.363Z] prd-ubuntu20.04-docker-8c-8g-7701 does not seem to be running inside a container [2022-10-12T02:11:44.389Z] $ 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:11:44.702Z] $ docker top 8cc7c6d4958cdd03f6c2b6a171de903673a117ea93a3741126a3a6184b074bb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:11:45.039Z] + go version [2022-10-12T02:11:45.039Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-12T02:11:45.050Z] $ docker stop --time=1 8cc7c6d4958cdd03f6c2b6a171de903673a117ea93a3741126a3a6184b074bb4 [2022-10-12T02:11:46.306Z] $ docker rm -f 8cc7c6d4958cdd03f6c2b6a171de903673a117ea93a3741126a3a6184b074bb4 [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:11:46.710Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T02:11:46.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:11:46.776Z] prd-ubuntu20.04-docker-8c-8g-7701 does not seem to be running inside a container [2022-10-12T02:11:46.808Z] $ 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:11:47.118Z] $ docker top 5d68dc0c89c4846f9f248cfa9a23fe3bb99824bea7b411fc13f44eab833bc096 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:11:47.456Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-12T02:11:47.748Z] + make test [2022-10-12T02:11:47.748Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-12T02:11:48.005Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-12T02:11:57.968Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-12T02:11:59.342Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements [2022-10-12T02:11:59.342Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-12T02:11:59.600Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.349s coverage: 86.5% of statements [2022-10-12T02:12:07.710Z] 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:12:07.710Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T02:12:11.923Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T02:12:11.923Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T02:12:11.923Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T02:12:11.935Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T02:12:11.946Z] $ docker stop --time=1 5d68dc0c89c4846f9f248cfa9a23fe3bb99824bea7b411fc13f44eab833bc096 [2022-10-12T02:12:14.336Z] $ docker rm -f 5d68dc0c89c4846f9f248cfa9a23fe3bb99824bea7b411fc13f44eab833bc096 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T02:12:14.765Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T02:12:14.816Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-12T02:12:15.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T02:12:15.644Z] + ls -al . [2022-10-12T02:12:15.644Z] total 236 [2022-10-12T02:12:15.644Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 02:11 . [2022-10-12T02:12:15.644Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:10 .. [2022-10-12T02:12:15.644Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:12 .git [2022-10-12T02:12:15.644Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:10 .github [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 12 02:10 .gitignore [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 02:10 .golangci.yml [2022-10-12T02:12:15.644Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 02:10 .semver [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 02:10 Attribution.txt [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 02:10 CHANGELOG.md [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 02:10 Dockerfile [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 02:10 GOVERNANCE.md [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 02:10 Jenkinsfile [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 02:10 LICENSE [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 02:10 Makefile [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 02:10 OWNERS.md [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 02:10 README.md [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:11 VERSION [2022-10-12T02:12:15.644Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:10 bin [2022-10-12T02:12:15.644Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:10 cmd [2022-10-12T02:12:15.644Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 02:11 coverage.out [2022-10-12T02:12:15.644Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 02:10 doc [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 02:10 go.mod [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 02:10 go.sum [2022-10-12T02:12:15.644Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:10 internal [2022-10-12T02:12:15.644Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:10 snap [2022-10-12T02:12:15.644Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 02:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:12:16.040Z] + 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=39a17112c1784bb6bd042bb5cc718e675ffa65f0 --label arch=amd64 --label version=0.0.0 . [2022-10-12T02:12:16.041Z] Sending build context to Docker daemon 20.9MB [2022-10-12T02:12:16.041Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:12:16.041Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-12T02:12:16.041Z] ---> fa9e11c207df [2022-10-12T02:12:16.041Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:12:16.299Z] ---> Running in a1ac2bdc5567 [2022-10-12T02:12:16.299Z] Removing intermediate container a1ac2bdc5567 [2022-10-12T02:12:16.299Z] ---> 621ac8d71daa [2022-10-12T02:12:16.299Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:12:16.299Z] ---> Running in 3248c037b500 [2022-10-12T02:12:16.564Z] Removing intermediate container 3248c037b500 [2022-10-12T02:12:16.564Z] ---> 7ada0da8dd31 [2022-10-12T02:12:16.564Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:12:16.564Z] ---> Running in da57d48f7a3f [2022-10-12T02:12:16.564Z] Removing intermediate container da57d48f7a3f [2022-10-12T02:12:16.564Z] ---> 47ee9486c2bd [2022-10-12T02:12:16.564Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:12:16.564Z] ---> Running in 5655e1bebfa4 [2022-10-12T02:12:16.564Z] Removing intermediate container 5655e1bebfa4 [2022-10-12T02:12:16.564Z] ---> aec61911456a [2022-10-12T02:12:16.564Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:12:16.564Z] ---> Running in 4f0cf16ec802 [2022-10-12T02:12:16.824Z] Removing intermediate container 4f0cf16ec802 [2022-10-12T02:12:16.824Z] ---> d3344d7d1850 [2022-10-12T02:12:16.824Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:12:16.824Z] ---> Running in 5b8139f09ed8 [2022-10-12T02:12:17.390Z] Removing intermediate container 5b8139f09ed8 [2022-10-12T02:12:17.390Z] ---> d655fce94819 [2022-10-12T02:12:17.390Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:12:17.390Z] ---> Running in 2cea3afda7e8 [2022-10-12T02:12:17.648Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T02:12:18.584Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T02:12:18.843Z] OK: 211 MiB in 51 packages [2022-10-12T02:12:19.101Z] Removing intermediate container 2cea3afda7e8 [2022-10-12T02:12:19.101Z] ---> 7a4a82d6aa58 [2022-10-12T02:12:19.101Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-12T02:12:19.101Z] ---> Running in 564cebd00b86 [2022-10-12T02:12:19.101Z] Removing intermediate container 564cebd00b86 [2022-10-12T02:12:19.101Z] ---> 0edc2d137545 [2022-10-12T02:12:19.101Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-12T02:12:19.360Z] ---> 3f29d9b4978b [2022-10-12T02:12:19.360Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:12:19.360Z] ---> Running in 201183db035b [2022-10-12T02:12:19.926Z] Removing intermediate container 201183db035b [2022-10-12T02:12:19.926Z] ---> 1b93b9ef84a1 [2022-10-12T02:12:19.926Z] Step 13/27 : COPY . . [2022-10-12T02:12:20.917Z] ---> a047cc3707d4 [2022-10-12T02:12:20.917Z] Step 14/27 : RUN ${MAKE} [2022-10-12T02:12:20.917Z] ---> Running in 02628bff7d8c [2022-10-12T02:12:20.917Z] 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:12:47.491Z] Removing intermediate container 02628bff7d8c [2022-10-12T02:12:47.491Z] ---> 02135d3bc0db [2022-10-12T02:12:47.491Z] Step 15/27 : FROM alpine:3.16 [2022-10-12T02:12:47.491Z] 3.16: Pulling from library/alpine [2022-10-12T02:12:47.491Z] 213ec9aee27d: Already exists [2022-10-12T02:12:47.491Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T02:12:47.491Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T02:12:47.491Z] ---> 9c6f07244728 [2022-10-12T02:12:47.491Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-12T02:12:47.491Z] ---> Running in 301e83014185 [2022-10-12T02:12:47.491Z] Removing intermediate container 301e83014185 [2022-10-12T02:12:47.491Z] ---> 277a2ba006ee [2022-10-12T02:12:47.491Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-12T02:12:47.491Z] ---> Running in 761337ccc6be [2022-10-12T02:12:47.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T02:12:47.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T02:12:47.491Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-12T02:12:47.491Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T02:12:47.491Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-12T02:12:47.491Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T02:12:47.491Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-12T02:12:47.491Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-12T02:12:47.492Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T02:12:47.492Z] OK: 8 MiB in 20 packages [2022-10-12T02:12:47.492Z] Removing intermediate container 761337ccc6be [2022-10-12T02:12:47.492Z] ---> 07ed5b70e3d5 [2022-10-12T02:12:47.492Z] Step 18/27 : WORKDIR / [2022-10-12T02:12:47.492Z] ---> Running in 6580fdb75fbe [2022-10-12T02:12:47.492Z] Removing intermediate container 6580fdb75fbe [2022-10-12T02:12:47.492Z] ---> 1229d403678a [2022-10-12T02:12:47.492Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-12T02:12:47.492Z] ---> 2f02d1d06e4a [2022-10-12T02:12:47.492Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-12T02:12:47.492Z] ---> fee7f9a6f972 [2022-10-12T02:12:47.492Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-12T02:12:47.492Z] ---> 7f3d2cd4cf23 [2022-10-12T02:12:47.492Z] Step 22/27 : EXPOSE 59984 [2022-10-12T02:12:47.492Z] ---> Running in 486c765c31a9 [2022-10-12T02:12:47.492Z] Removing intermediate container 486c765c31a9 [2022-10-12T02:12:47.492Z] ---> 51cad677349c [2022-10-12T02:12:47.492Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-12T02:12:47.492Z] ---> Running in ff9ede44e07c [2022-10-12T02:12:47.492Z] Removing intermediate container ff9ede44e07c [2022-10-12T02:12:47.492Z] ---> bf98a9143779 [2022-10-12T02:12:47.492Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T02:12:47.492Z] ---> Running in 8e0a51d97a46 [2022-10-12T02:12:47.492Z] Removing intermediate container 8e0a51d97a46 [2022-10-12T02:12:47.492Z] ---> 8bde7c9fd6d7 [2022-10-12T02:12:47.492Z] Step 25/27 : LABEL arch=amd64 [2022-10-12T02:12:47.492Z] ---> Running in 2e101db8a3df [2022-10-12T02:12:47.492Z] Removing intermediate container 2e101db8a3df [2022-10-12T02:12:47.492Z] ---> cac429b50cae [2022-10-12T02:12:47.492Z] Step 26/27 : LABEL git_sha=39a17112c1784bb6bd042bb5cc718e675ffa65f0 [2022-10-12T02:12:47.492Z] ---> Running in d63cc2a7ced9 [2022-10-12T02:12:47.492Z] Removing intermediate container d63cc2a7ced9 [2022-10-12T02:12:47.492Z] ---> 7518adad01e0 [2022-10-12T02:12:47.492Z] Step 27/27 : LABEL version=0.0.0 [2022-10-12T02:12:47.492Z] ---> Running in 3870b5b5d071 [2022-10-12T02:12:47.492Z] Removing intermediate container 3870b5b5d071 [2022-10-12T02:12:47.492Z] ---> a32b491531b0 [2022-10-12T02:12:47.492Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T02:12:47.492Z] Successfully built a32b491531b0 [2022-10-12T02:12:47.492Z] 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:12:47.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:12:47.918Z] [2022-10-12T02:12:47.918Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:12:48.213Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:12:48.213Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-12T02:12:48.213Z] 5eb5b503b376: Pulling fs layer [2022-10-12T02:12:48.213Z] 5c69ac0246d0: Pulling fs layer [2022-10-12T02:12:48.213Z] ec43610c2a17: Pulling fs layer [2022-10-12T02:12:48.213Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-12T02:12:48.213Z] 33b1e0a273af: Pulling fs layer [2022-10-12T02:12:48.213Z] 5d3b04190fa2: Pulling fs layer [2022-10-12T02:12:48.213Z] 2f39f015ded8: Pulling fs layer [2022-10-12T02:12:48.213Z] 33b1e0a273af: Waiting [2022-10-12T02:12:48.213Z] 5d3b04190fa2: Waiting [2022-10-12T02:12:48.213Z] 3a2ae6a8a46f: Waiting [2022-10-12T02:12:48.213Z] 2f39f015ded8: Waiting [2022-10-12T02:12:48.213Z] 5c69ac0246d0: Download complete [2022-10-12T02:12:48.472Z] ec43610c2a17: Verifying Checksum [2022-10-12T02:12:48.472Z] ec43610c2a17: Download complete [2022-10-12T02:12:48.472Z] 33b1e0a273af: Verifying Checksum [2022-10-12T02:12:48.472Z] 33b1e0a273af: Download complete [2022-10-12T02:12:48.472Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-12T02:12:48.472Z] 3a2ae6a8a46f: Download complete [2022-10-12T02:12:48.472Z] 5d3b04190fa2: Verifying Checksum [2022-10-12T02:12:48.472Z] 5d3b04190fa2: Download complete [2022-10-12T02:12:48.472Z] 5eb5b503b376: Verifying Checksum [2022-10-12T02:12:48.472Z] 5eb5b503b376: Download complete [2022-10-12T02:12:49.410Z] 2f39f015ded8: Verifying Checksum [2022-10-12T02:12:49.410Z] 2f39f015ded8: Download complete [2022-10-12T02:12:49.670Z] 5eb5b503b376: Pull complete [2022-10-12T02:12:49.929Z] 5c69ac0246d0: Pull complete [2022-10-12T02:12:50.500Z] ec43610c2a17: Pull complete [2022-10-12T02:12:50.500Z] 3a2ae6a8a46f: Pull complete [2022-10-12T02:12:50.769Z] 33b1e0a273af: Pull complete [2022-10-12T02:12:50.769Z] 5d3b04190fa2: Pull complete [2022-10-12T02:12:54.963Z] 2f39f015ded8: Pull complete [2022-10-12T02:12:54.963Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-12T02:12:54.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:12:54.963Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:12:55.029Z] prd-ubuntu20.04-docker-8c-8g-7701 does not seem to be running inside a container [2022-10-12T02:12:55.053Z] $ 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:12:57.916Z] $ docker top 1ef170ab2af7be6049ef8cc2167e11bfd2afcc5073fef7890854bb81a56fd701 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:12:58.296Z] ---> job-cost.sh [2022-10-12T02:12:58.296Z] lf-activate-venv: SKIPPING [2022-10-12T02:12:58.296Z] INFO: No Stack... [2022-10-12T02:12:58.554Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T02:12:58.812Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T02:12:59.098Z] + + cut -d, -f6 [2022-10-12T02:12:59.098Z] cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [Pipeline] lock [2022-10-12T02:12:59.111Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-19-stack-cost] [2022-10-12T02:12:59.117Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-19-stack-cost] did not exist. Created. [2022-10-12T02:12:59.117Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T02:12:59.419Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-12T02:12:59.453Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T02:12:59.460Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-19-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T02:12:59.476Z] $ docker stop --time=1 1ef170ab2af7be6049ef8cc2167e11bfd2afcc5073fef7890854bb81a56fd701 [2022-10-12T02:13:00.634Z] $ docker rm -f 1ef170ab2af7be6049ef8cc2167e11bfd2afcc5073fef7890854bb81a56fd701 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-12T02:13:41.359Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7704 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-12T02:13:41.374Z] Running in /w/workspace/device-onvif-camera/19 [Pipeline] { [Pipeline] checkout [2022-10-12T02:13:41.406Z] The recommended git tool is: git [2022-10-12T02:13:46.948Z] using credential edgex-jenkins-ssh [2022-10-12T02:13:46.965Z] Cloning the remote Git repository [2022-10-12T02:13:47.008Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T02:13:47.079Z] > git init /w/workspace/device-onvif-camera/19 # timeout=10 [2022-10-12T02:13:47.212Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T02:13:47.213Z] > git --version # timeout=10 [2022-10-12T02:13:47.233Z] > git --version # 'git version 2.25.1' [2022-10-12T02:13:47.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T02:13:47.279Z] Verifying host key using known hosts file [2022-10-12T02:13:47.470Z] 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:13:47.484Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T02:13:48.736Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-12T02:13:48.759Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T02:13:49.654Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-12T02:13:49.705Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T02:13:49.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T02:13:49.713Z] Verifying host key using known hosts file [2022-10-12T02:13:49.720Z] 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:13:49.733Z] > 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:13:50.385Z] Merging remotes/origin/main commit bca8455642164c3d303fb1e1cb399f48d9b73870 into PR head commit f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [2022-10-12T02:13:51.166Z] Merge succeeded, producing 8108f8d44040698f52b321c7970442737caecb96 [2022-10-12T02:13:51.167Z] Checking out Revision 8108f8d44040698f52b321c7970442737caecb96 (PR-172) [2022-10-12T02:13:50.408Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T02:13:50.435Z] > git checkout -f f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # timeout=10 [2022-10-12T02:13:50.671Z] > git remote # timeout=10 [2022-10-12T02:13:50.689Z] > git config --get remote.origin.url # timeout=10 [2022-10-12T02:13:50.710Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T02:13:50.714Z] Verifying host key using known hosts file [2022-10-12T02:13:50.718Z] 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:13:50.726Z] > git merge bca8455642164c3d303fb1e1cb399f48d9b73870 # timeout=10 [2022-10-12T02:13:51.137Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-12T02:13:51.175Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T02:13:51.190Z] > git checkout -f 8108f8d44040698f52b321c7970442737caecb96 # timeout=10 [2022-10-12T02:13:54.695Z] Commit message: "Merge commit 'bca8455642164c3d303fb1e1cb399f48d9b73870' into HEAD" [2022-10-12T02:13:54.729Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T02:13:55.597Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-12T02:13:55.597Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T02:13:55.597Z] Dload Upload Total Spent Left Speed [2022-10-12T02:13:55.597Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86910 0 --:--:-- --:--:-- --:--:-- 86910 [Pipeline] sh [2022-10-12T02:13:54.707Z] > git rev-list --no-walk 6dada69a304883f628695afc678d555d26423245 # timeout=10 [2022-10-12T02:13:56.436Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-12T02:13:56.775Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-12T02:13:56.776Z] + sudo tee /etc/docker/daemon.new [2022-10-12T02:13:56.776Z] { [2022-10-12T02:13:56.776Z] "registry-mirrors": [ [2022-10-12T02:13:56.776Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-12T02:13:56.776Z] ], [2022-10-12T02:13:56.776Z] "bip": "10.250.0.254/24", [2022-10-12T02:13:56.776Z] "hosts": [ [2022-10-12T02:13:56.776Z] "tcp://0.0.0.0:5555", [2022-10-12T02:13:56.776Z] "unix:///var/run/docker.sock" [2022-10-12T02:13:56.776Z] ], [2022-10-12T02:13:56.776Z] "mtu": 1458, [2022-10-12T02:13:56.776Z] "selinux-enabled": true, [2022-10-12T02:13:56.776Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-12T02:13:56.776Z] } [Pipeline] sh [2022-10-12T02:13:57.114Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-12T02:13:57.456Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:14:15.710Z] provisioning config files... [2022-10-12T02:14:15.733Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/19@tmp/config11031995135077606827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:14:16.070Z] ---> docker-login.sh [2022-10-12T02:14:16.070Z] nexus3.edgexfoundry.org:10001 [2022-10-12T02:14:16.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:14:16.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:14:16.617Z] Configure a credential helper to remove this warning. See [2022-10-12T02:14:16.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:14:16.617Z] [2022-10-12T02:14:16.617Z] Login Succeeded [2022-10-12T02:14:16.617Z] nexus3.edgexfoundry.org:10002 [2022-10-12T02:14:16.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:14:16.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:14:16.887Z] Configure a credential helper to remove this warning. See [2022-10-12T02:14:16.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:14:16.887Z] [2022-10-12T02:14:16.887Z] Login Succeeded [2022-10-12T02:14:16.887Z] nexus3.edgexfoundry.org:10003 [2022-10-12T02:14:17.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:14:17.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:14:17.429Z] Configure a credential helper to remove this warning. See [2022-10-12T02:14:17.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:14:17.429Z] [2022-10-12T02:14:17.429Z] Login Succeeded [2022-10-12T02:14:17.429Z] nexus3.edgexfoundry.org:10004 [2022-10-12T02:14:17.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:14:17.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:14:17.697Z] Configure a credential helper to remove this warning. See [2022-10-12T02:14:17.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:14:17.698Z] [2022-10-12T02:14:17.698Z] Login Succeeded [2022-10-12T02:14:17.698Z] docker.io [2022-10-12T02:14:17.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:14:18.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:14:18.236Z] Configure a credential helper to remove this warning. See [2022-10-12T02:14:18.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:14:18.236Z] [2022-10-12T02:14:18.236Z] Login Succeeded [2022-10-12T02:14:18.236Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T02:14:18.251Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T02:14:18.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:14:18.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:14:18.416Z] ========================================================= [2022-10-12T02:14:18.416Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-12T02:14:18.416Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:14:18.748Z] + 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:14:19.331Z] Sending build context to Docker daemon 14.24MB [2022-10-12T02:14:19.331Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:14:19.331Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-12T02:14:20.301Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-12T02:14:20.301Z] 9b18e9b68314: Pulling fs layer [2022-10-12T02:14:20.301Z] d32db5db7311: Pulling fs layer [2022-10-12T02:14:20.301Z] d0c4b47475fc: Pulling fs layer [2022-10-12T02:14:20.301Z] 5831b945b038: Pulling fs layer [2022-10-12T02:14:20.301Z] 86bbec2aaacd: Pulling fs layer [2022-10-12T02:14:20.301Z] e10730c5d714: Pulling fs layer [2022-10-12T02:14:20.301Z] 5dd5c2283517: Pulling fs layer [2022-10-12T02:14:20.301Z] d5ac0230b979: Pulling fs layer [2022-10-12T02:14:20.301Z] 86bbec2aaacd: Waiting [2022-10-12T02:14:20.301Z] e10730c5d714: Waiting [2022-10-12T02:14:20.301Z] 5dd5c2283517: Waiting [2022-10-12T02:14:20.301Z] d5ac0230b979: Waiting [2022-10-12T02:14:20.301Z] 5831b945b038: Waiting [2022-10-12T02:14:20.301Z] d0c4b47475fc: Verifying Checksum [2022-10-12T02:14:20.301Z] d0c4b47475fc: Download complete [2022-10-12T02:14:20.301Z] d32db5db7311: Download complete [2022-10-12T02:14:20.301Z] 86bbec2aaacd: Verifying Checksum [2022-10-12T02:14:20.301Z] 86bbec2aaacd: Download complete [2022-10-12T02:14:20.301Z] e10730c5d714: Verifying Checksum [2022-10-12T02:14:20.301Z] e10730c5d714: Download complete [2022-10-12T02:14:20.301Z] 9b18e9b68314: Verifying Checksum [2022-10-12T02:14:20.301Z] 9b18e9b68314: Download complete [2022-10-12T02:14:21.294Z] 9b18e9b68314: Pull complete [2022-10-12T02:14:21.294Z] d5ac0230b979: Verifying Checksum [2022-10-12T02:14:21.294Z] d5ac0230b979: Download complete [2022-10-12T02:14:21.889Z] d32db5db7311: Pull complete [2022-10-12T02:14:22.161Z] d0c4b47475fc: Pull complete [2022-10-12T02:14:22.446Z] 5dd5c2283517: Verifying Checksum [2022-10-12T02:14:22.446Z] 5dd5c2283517: Download complete [2022-10-12T02:14:23.409Z] 5831b945b038: Verifying Checksum [2022-10-12T02:14:23.409Z] 5831b945b038: Download complete [2022-10-12T02:14:35.761Z] 5831b945b038: Pull complete [2022-10-12T02:14:35.761Z] 86bbec2aaacd: Pull complete [2022-10-12T02:14:35.761Z] e10730c5d714: Pull complete [2022-10-12T02:14:42.430Z] 5dd5c2283517: Pull complete [2022-10-12T02:14:45.036Z] d5ac0230b979: Pull complete [2022-10-12T02:14:45.036Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-12T02:14:45.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-12T02:14:45.036Z] ---> 59b3b1a385d4 [2022-10-12T02:14:45.036Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:14:46.986Z] ---> Running in 2d99f4f0815a [2022-10-12T02:14:47.256Z] Removing intermediate container 2d99f4f0815a [2022-10-12T02:14:47.256Z] ---> 1b8d2a9e21ee [2022-10-12T02:14:47.256Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:14:47.256Z] ---> Running in 1085fc08f794 [2022-10-12T02:14:47.524Z] Removing intermediate container 1085fc08f794 [2022-10-12T02:14:47.524Z] ---> 01e5bb77088f [2022-10-12T02:14:47.524Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:14:47.793Z] ---> Running in 3979c18597a5 [2022-10-12T02:14:48.063Z] Removing intermediate container 3979c18597a5 [2022-10-12T02:14:48.063Z] ---> 76503f1f1d9e [2022-10-12T02:14:48.063Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:14:48.333Z] ---> Running in 24236adcb3c1 [2022-10-12T02:14:48.613Z] Removing intermediate container 24236adcb3c1 [2022-10-12T02:14:48.613Z] ---> 3526d9ff68be [2022-10-12T02:14:48.613Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:14:48.883Z] ---> Running in 242449975f18 [2022-10-12T02:14:49.156Z] Removing intermediate container 242449975f18 [2022-10-12T02:14:49.156Z] ---> 59cc2530830c [2022-10-12T02:14:49.156Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:14:49.156Z] ---> Running in dddef9d4dd80 [2022-10-12T02:14:51.760Z] Removing intermediate container dddef9d4dd80 [2022-10-12T02:14:51.760Z] ---> fdd33f117f62 [2022-10-12T02:14:51.760Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:14:51.760Z] ---> Running in 5d81022e5a34 [2022-10-12T02:14:52.351Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T02:14:53.319Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T02:14:54.294Z] OK: 221 MiB in 51 packages [2022-10-12T02:14:55.257Z] Removing intermediate container 5d81022e5a34 [2022-10-12T02:14:55.257Z] ---> 5db706698c5a [2022-10-12T02:14:55.257Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-12T02:14:55.528Z] ---> Running in 99d34bc710f1 [2022-10-12T02:14:55.797Z] Removing intermediate container 99d34bc710f1 [2022-10-12T02:14:55.797Z] ---> 3a9f086727ec [2022-10-12T02:14:55.797Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-12T02:14:56.383Z] ---> fed1ab1c3df9 [2022-10-12T02:14:56.383Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:14:56.383Z] ---> Running in 4261810d3662 [2022-10-12T02:15:52.833Z] Removing intermediate container 4261810d3662 [2022-10-12T02:15:52.834Z] ---> 93d95881960f [2022-10-12T02:15:52.834Z] Step 13/14 : COPY . . [2022-10-12T02:15:52.834Z] ---> 67147c49fd52 [2022-10-12T02:15:52.834Z] Step 14/14 : RUN ${MAKE} [2022-10-12T02:15:52.834Z] ---> Running in cf0d5bf84e4d [2022-10-12T02:15:52.834Z] noop [2022-10-12T02:15:52.834Z] Removing intermediate container cf0d5bf84e4d [2022-10-12T02:15:52.834Z] ---> 008b99e2d966 [2022-10-12T02:15:52.834Z] Successfully built 008b99e2d966 [2022-10-12T02:15:52.834Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:15:53.213Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T02:15:53.213Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:15:53.410Z] prd-ubuntu20.04-docker-arm64-4c-16g-7704 does not seem to be running inside a container [2022-10-12T02:15:53.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/19 -v /w/workspace/device-onvif-camera/19:/w/workspace/device-onvif-camera/19:rw,z -v /w/workspace/device-onvif-camera/19@tmp:/w/workspace/device-onvif-camera/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T02:15:54.756Z] $ docker top 27f7b8b717b127dc945cdaf53f49b321e801c1d97f03a78e193913720d92e694 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:15:55.614Z] + go version [2022-10-12T02:15:55.614Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-12T02:15:55.635Z] $ docker stop --time=1 27f7b8b717b127dc945cdaf53f49b321e801c1d97f03a78e193913720d92e694 [2022-10-12T02:15:57.299Z] $ docker rm -f 27f7b8b717b127dc945cdaf53f49b321e801c1d97f03a78e193913720d92e694 [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:15:57.858Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T02:15:57.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:15:58.045Z] prd-ubuntu20.04-docker-arm64-4c-16g-7704 does not seem to be running inside a container [2022-10-12T02:15:58.121Z] $ 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/19 -v /w/workspace/device-onvif-camera/19:/w/workspace/device-onvif-camera/19:rw,z -v /w/workspace/device-onvif-camera/19@tmp:/w/workspace/device-onvif-camera/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T02:15:59.370Z] $ docker top ef484872e74c7b7fbcc57e7e1b94b978d42b7c3220e07985206cb7b9a120fa3c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:16:00.195Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/19 [Pipeline] fileExists [Pipeline] sh [2022-10-12T02:16:00.839Z] + make test [2022-10-12T02:16:00.839Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-12T02:16:02.812Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-12T02:17:39.508Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-12T02:17:47.724Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.210s coverage: 28.2% of statements [2022-10-12T02:17:47.724Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-12T02:18:05.966Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.764s coverage: 86.5% of statements [2022-10-12T02:18:06.563Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-12T02:18:06.563Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T02:18:45.484Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T02:18:45.484Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T02:18:45.484Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T02:18:45.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T02:18:45.521Z] $ docker stop --time=1 ef484872e74c7b7fbcc57e7e1b94b978d42b7c3220e07985206cb7b9a120fa3c [2022-10-12T02:18:47.343Z] $ docker rm -f ef484872e74c7b7fbcc57e7e1b94b978d42b7c3220e07985206cb7b9a120fa3c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T02:18:48.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T02:18:48.496Z] Warning: overwriting stash ‘coverage-report’ [2022-10-12T02:18:49.028Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T02:18:49.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T02:18:50.257Z] + ls -al . [2022-10-12T02:18:50.257Z] total 232 [2022-10-12T02:18:50.257Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 02:16 . [2022-10-12T02:18:50.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:13 .. [2022-10-12T02:18:50.257Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:13 .git [2022-10-12T02:18:50.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:13 .github [2022-10-12T02:18:50.257Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 12 02:13 .gitignore [2022-10-12T02:18:50.257Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 02:13 .golangci.yml [2022-10-12T02:18:50.257Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 02:13 Attribution.txt [2022-10-12T02:18:50.257Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 02:13 CHANGELOG.md [2022-10-12T02:18:50.257Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 02:13 Dockerfile [2022-10-12T02:18:50.257Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 02:13 GOVERNANCE.md [2022-10-12T02:18:50.257Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 02:13 Jenkinsfile [2022-10-12T02:18:50.257Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 02:13 LICENSE [2022-10-12T02:18:50.257Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 02:13 Makefile [2022-10-12T02:18:50.257Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 02:13 OWNERS.md [2022-10-12T02:18:50.257Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 02:13 README.md [2022-10-12T02:18:50.258Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:11 VERSION [2022-10-12T02:18:50.258Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:13 bin [2022-10-12T02:18:50.258Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:13 cmd [2022-10-12T02:18:50.258Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 02:18 coverage.out [2022-10-12T02:18:50.258Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 02:13 doc [2022-10-12T02:18:50.258Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 02:13 go.mod [2022-10-12T02:18:50.258Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 02:13 go.sum [2022-10-12T02:18:50.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:13 internal [2022-10-12T02:18:50.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:13 snap [2022-10-12T02:18:50.258Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 02:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:18:50.655Z] + 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=8108f8d44040698f52b321c7970442737caecb96 --label arch=arm64 --label version=0.0.0 . [2022-10-12T02:18:51.699Z] Sending build context to Docker daemon 14.32MB [2022-10-12T02:18:51.699Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:18:51.699Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-12T02:18:51.699Z] ---> 008b99e2d966 [2022-10-12T02:18:51.699Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:18:51.979Z] ---> Running in a9014cdaac9e [2022-10-12T02:18:52.567Z] Removing intermediate container a9014cdaac9e [2022-10-12T02:18:52.567Z] ---> ed49101bce71 [2022-10-12T02:18:52.567Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:18:52.840Z] ---> Running in 79b4dd0dda04 [2022-10-12T02:18:53.107Z] Removing intermediate container 79b4dd0dda04 [2022-10-12T02:18:53.108Z] ---> d67498766651 [2022-10-12T02:18:53.108Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:18:53.108Z] ---> Running in be7c2911835f [2022-10-12T02:18:53.705Z] Removing intermediate container be7c2911835f [2022-10-12T02:18:53.705Z] ---> 6b948490bb85 [2022-10-12T02:18:53.705Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:18:53.977Z] ---> Running in 5b4765030f32 [2022-10-12T02:18:54.252Z] Removing intermediate container 5b4765030f32 [2022-10-12T02:18:54.252Z] ---> 18ebb4a4e40f [2022-10-12T02:18:54.252Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:18:54.252Z] ---> Running in fd7a804e26d7 [2022-10-12T02:18:54.848Z] Removing intermediate container fd7a804e26d7 [2022-10-12T02:18:54.848Z] ---> eba0053fa251 [2022-10-12T02:18:54.848Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:18:54.848Z] ---> Running in 6eb13262210a [2022-10-12T02:18:57.457Z] Removing intermediate container 6eb13262210a [2022-10-12T02:18:57.457Z] ---> 8cd8f8d55ee7 [2022-10-12T02:18:57.457Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:18:57.457Z] ---> Running in af35560ff114 [2022-10-12T02:19:00.053Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T02:19:00.638Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T02:19:02.050Z] OK: 221 MiB in 51 packages [2022-10-12T02:19:03.019Z] Removing intermediate container af35560ff114 [2022-10-12T02:19:03.019Z] ---> b344a85d51bc [2022-10-12T02:19:03.019Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-12T02:19:03.298Z] ---> Running in 41dc423ec47c [2022-10-12T02:19:03.568Z] Removing intermediate container 41dc423ec47c [2022-10-12T02:19:03.568Z] ---> 7730e7162ddd [2022-10-12T02:19:03.568Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-12T02:19:04.151Z] ---> 739d6aaa3740 [2022-10-12T02:19:04.151Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:19:04.418Z] ---> Running in b7b4123e4612 [2022-10-12T02:19:07.020Z] Removing intermediate container b7b4123e4612 [2022-10-12T02:19:07.020Z] ---> 81257748924b [2022-10-12T02:19:07.020Z] Step 13/27 : COPY . . [2022-10-12T02:19:08.436Z] ---> e13f695c3a9e [2022-10-12T02:19:08.436Z] Step 14/27 : RUN ${MAKE} [2022-10-12T02:19:08.436Z] ---> Running in 1780477c6eb4 [2022-10-12T02:19:09.399Z] 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:21:46.127Z] Removing intermediate container 1780477c6eb4 [2022-10-12T02:21:46.127Z] ---> bdb0bef9a8ab [2022-10-12T02:21:46.127Z] Step 15/27 : FROM alpine:3.16 [2022-10-12T02:21:46.127Z] 3.16: Pulling from library/alpine [2022-10-12T02:21:46.127Z] 9b18e9b68314: Already exists [2022-10-12T02:21:46.127Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T02:21:46.127Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T02:21:46.127Z] ---> a6215f271958 [2022-10-12T02:21:46.127Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-12T02:21:46.127Z] ---> Running in 5f4e4efcda46 [2022-10-12T02:21:46.127Z] Removing intermediate container 5f4e4efcda46 [2022-10-12T02:21:46.127Z] ---> 5ed315f94beb [2022-10-12T02:21:46.127Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-12T02:21:46.127Z] ---> Running in f551f412f924 [2022-10-12T02:21:47.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T02:21:47.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T02:21:48.641Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-12T02:21:48.641Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T02:21:48.641Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-12T02:21:48.641Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T02:21:48.641Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-12T02:21:48.641Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-12T02:21:48.641Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T02:21:48.641Z] OK: 8 MiB in 20 packages [2022-10-12T02:21:49.603Z] Removing intermediate container f551f412f924 [2022-10-12T02:21:49.603Z] ---> 957e2514a625 [2022-10-12T02:21:49.603Z] Step 18/27 : WORKDIR / [2022-10-12T02:21:49.870Z] ---> Running in 77883ecbe2d2 [2022-10-12T02:21:50.139Z] Removing intermediate container 77883ecbe2d2 [2022-10-12T02:21:50.139Z] ---> dacbae868aff [2022-10-12T02:21:50.139Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-12T02:21:51.553Z] ---> ebcbfc855bdb [2022-10-12T02:21:51.553Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-12T02:21:52.138Z] ---> 081385ac794d [2022-10-12T02:21:52.138Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-12T02:21:52.724Z] ---> 37210c229c56 [2022-10-12T02:21:52.724Z] Step 22/27 : EXPOSE 59984 [2022-10-12T02:21:52.724Z] ---> Running in 5f7c60cb0f5c [2022-10-12T02:21:52.992Z] Removing intermediate container 5f7c60cb0f5c [2022-10-12T02:21:52.992Z] ---> cf6bcd72560a [2022-10-12T02:21:52.992Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-12T02:21:53.262Z] ---> Running in 0cae6adc86e5 [2022-10-12T02:21:53.530Z] Removing intermediate container 0cae6adc86e5 [2022-10-12T02:21:53.530Z] ---> b7939a55a9fd [2022-10-12T02:21:53.530Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T02:21:53.530Z] ---> Running in 1fc37c7fb008 [2022-10-12T02:21:53.796Z] Removing intermediate container 1fc37c7fb008 [2022-10-12T02:21:53.796Z] ---> e55a5e7a7a3f [2022-10-12T02:21:53.796Z] Step 25/27 : LABEL arch=arm64 [2022-10-12T02:21:54.062Z] ---> Running in 5a453cd1a8c9 [2022-10-12T02:21:54.330Z] Removing intermediate container 5a453cd1a8c9 [2022-10-12T02:21:54.330Z] ---> af1fec7cecac [2022-10-12T02:21:54.330Z] Step 26/27 : LABEL git_sha=8108f8d44040698f52b321c7970442737caecb96 [2022-10-12T02:21:54.330Z] ---> Running in f3f7892272f8 [2022-10-12T02:21:54.597Z] Removing intermediate container f3f7892272f8 [2022-10-12T02:21:54.597Z] ---> 92ac7c8e7ac6 [2022-10-12T02:21:54.597Z] Step 27/27 : LABEL version=0.0.0 [2022-10-12T02:21:54.866Z] ---> Running in 4358ca453687 [2022-10-12T02:21:55.132Z] Removing intermediate container 4358ca453687 [2022-10-12T02:21:55.132Z] ---> 3f6aebc05e0e [2022-10-12T02:21:55.132Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T02:21:55.132Z] Successfully built 3f6aebc05e0e [2022-10-12T02:21:55.132Z] 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:21:55.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T02:21:55.545Z] [2022-10-12T02:21:55.545Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:21:55.880Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T02:21:55.880Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-12T02:21:55.880Z] 8998bd30e6a1: Pulling fs layer [2022-10-12T02:21:55.880Z] 04944245beec: Pulling fs layer [2022-10-12T02:21:55.880Z] 699f458cf7ca: Pulling fs layer [2022-10-12T02:21:55.880Z] 765212b225bb: Pulling fs layer [2022-10-12T02:21:55.880Z] f23df028b6ca: Pulling fs layer [2022-10-12T02:21:55.880Z] d65c8cfc05b1: Pulling fs layer [2022-10-12T02:21:55.880Z] 2437ff75d9bd: Pulling fs layer [2022-10-12T02:21:55.880Z] f23df028b6ca: Waiting [2022-10-12T02:21:55.880Z] 765212b225bb: Waiting [2022-10-12T02:21:55.880Z] d65c8cfc05b1: Waiting [2022-10-12T02:21:55.880Z] 2437ff75d9bd: Waiting [2022-10-12T02:21:56.150Z] 04944245beec: Verifying Checksum [2022-10-12T02:21:56.150Z] 04944245beec: Download complete [2022-10-12T02:21:56.150Z] 765212b225bb: Verifying Checksum [2022-10-12T02:21:56.150Z] 765212b225bb: Download complete [2022-10-12T02:21:56.150Z] f23df028b6ca: Verifying Checksum [2022-10-12T02:21:56.150Z] f23df028b6ca: Download complete [2022-10-12T02:21:56.150Z] d65c8cfc05b1: Verifying Checksum [2022-10-12T02:21:56.150Z] d65c8cfc05b1: Download complete [2022-10-12T02:21:56.418Z] 699f458cf7ca: Verifying Checksum [2022-10-12T02:21:56.418Z] 699f458cf7ca: Download complete [2022-10-12T02:21:56.685Z] 8998bd30e6a1: Download complete [2022-10-12T02:21:59.275Z] 2437ff75d9bd: Download complete [2022-10-12T02:22:01.221Z] 8998bd30e6a1: Pull complete [2022-10-12T02:22:01.487Z] 04944245beec: Pull complete [2022-10-12T02:22:02.898Z] 699f458cf7ca: Pull complete [2022-10-12T02:22:03.166Z] 765212b225bb: Pull complete [2022-10-12T02:22:03.750Z] f23df028b6ca: Pull complete [2022-10-12T02:22:04.015Z] d65c8cfc05b1: Pull complete [2022-10-12T02:22:19.011Z] 2437ff75d9bd: Pull complete [2022-10-12T02:22:19.011Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-12T02:22:19.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T02:22:19.011Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:22:19.205Z] prd-ubuntu20.04-docker-arm64-4c-16g-7704 does not seem to be running inside a container [2022-10-12T02:22:19.266Z] $ 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/19 -v /w/workspace/device-onvif-camera/19:/w/workspace/device-onvif-camera/19:rw,z -v /w/workspace/device-onvif-camera/19@tmp:/w/workspace/device-onvif-camera/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-12T02:22:22.058Z] $ docker top d50c263f04b3b4006a87a348ad88c0c2d7bc4364b01aa0f49b44b8cb5a3f9345 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:22:22.924Z] ---> job-cost.sh [2022-10-12T02:22:22.924Z] lf-activate-venv: SKIPPING [2022-10-12T02:22:22.924Z] INFO: No Stack... [2022-10-12T02:22:23.195Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-12T02:22:24.154Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T02:22:24.790Z] + cut -d, -f6 [2022-10-12T02:22:24.790Z] + cat /w/workspace/device-onvif-camera/19/archives/cost.csv [Pipeline] lock [2022-10-12T02:22:24.858Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-19-stack-cost] [2022-10-12T02:22:24.864Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-19-stack-cost] did not exist. Created. [2022-10-12T02:22:24.864Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T02:22:25.521Z] /w/workspace/device-onvif-camera/19@tmp/durable-2e39bf33/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-12T02:22:26.171Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-12T02:22:26.190Z] Warning: overwriting stash ‘stack-cost’ [2022-10-12T02:22:26.251Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T02:22:26.257Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-19-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T02:22:26.273Z] $ docker stop --time=1 d50c263f04b3b4006a87a348ad88c0c2d7bc4364b01aa0f49b44b8cb5a3f9345 [2022-10-12T02:22:27.809Z] $ docker rm -f d50c263f04b3b4006a87a348ad88c0c2d7bc4364b01aa0f49b44b8cb5a3f9345 [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:22:28.205Z] provisioning config files... [2022-10-12T02:22:28.216Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config16817421690309767637tmp [Pipeline] { [Pipeline] sh [2022-10-12T02:22:28.508Z] + set +x [2022-10-12T02:22:28.509Z] + bash -s --+ [2022-10-12T02:22:28.509Z] curl -s https://codecov.io/bash [2022-10-12T02:22:28.509Z] [2022-10-12T02:22:28.509Z] _____ _ [2022-10-12T02:22:28.509Z] / ____| | | [2022-10-12T02:22:28.509Z] | | ___ __| | ___ ___ _____ __ [2022-10-12T02:22:28.509Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-12T02:22:28.509Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-12T02:22:28.509Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-12T02:22:28.509Z] Bash-1.0.6 [2022-10-12T02:22:28.509Z] [2022-10-12T02:22:28.509Z] [2022-10-12T02:22:28.509Z] ==> git version 2.25.1 found [2022-10-12T02:22:28.509Z] ==> 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:22:28.509Z] Release-Date: 2020-01-08 [2022-10-12T02:22:28.509Z] 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:22:28.509Z] 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:22:28.509Z] ==> Jenkins CI detected. [2022-10-12T02:22:28.509Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-172 [2022-10-12T02:22:28.509Z] project root: . [2022-10-12T02:22:28.509Z] --> token set from env [2022-10-12T02:22:28.509Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-12T02:22:28.509Z] ==> Running gcov in . (disable via -X gcov) [2022-10-12T02:22:28.509Z] ==> Python coveragepy not found [2022-10-12T02:22:28.509Z] ==> Searching for coverage reports in: [2022-10-12T02:22:28.509Z] + . [2022-10-12T02:22:28.768Z] -> Found 1 reports [2022-10-12T02:22:28.768Z] ==> Detecting git/mercurial file structure [2022-10-12T02:22:28.768Z] ==> Reading reports [2022-10-12T02:22:28.768Z] + ./coverage.out bytes=78636 [2022-10-12T02:22:28.768Z] ==> Appending adjustments [2022-10-12T02:22:28.768Z] https://docs.codecov.io/docs/fixing-reports [2022-10-12T02:22:28.768Z] + Found adjustments [2022-10-12T02:22:28.768Z] ==> Gzipping contents [2022-10-12T02:22:28.768Z] 12K /tmp/codecov.QbrxXu.gz [2022-10-12T02:22:28.768Z] ==> Uploading reports [2022-10-12T02:22:28.768Z] url: https://codecov.io [2022-10-12T02:22:28.768Z] query: branch=PR-172&commit=39a17112c1784bb6bd042bb5cc718e675ffa65f0&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-12T02:22:28.768Z] -> Pinging Codecov [2022-10-12T02:22:28.768Z] 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=39a17112c1784bb6bd042bb5cc718e675ffa65f0&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-12T02:22:29.334Z] -> Uploading to [2022-10-12T02:22:29.334Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-12/F29A59C45E3A92E06B3E522C9905F8EF/39a17112c1784bb6bd042bb5cc718e675ffa65f0/b54aabf3-8d7a-4237-b5b8-fcbf817093a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T022228Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d9c161cc498cb8fc4414534499100288c73614cc20c955de747e1eca7ca1f87 [2022-10-12T02:22:29.334Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T02:22:29.334Z] Dload Upload Total Spent Left Speed [2022-10-12T02:22:29.334Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10747 0 0 100 10747 0 46323 --:--:-- --:--:-- --:--:-- 46323 [2022-10-12T02:22:29.334Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/39a17112c1784bb6bd042bb5cc718e675ffa65f0 [Pipeline] } [2022-10-12T02:22:29.340Z] 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:22:30.083Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-12T02:22:30.084Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-12T02:22:30.084Z] total 16 [2022-10-12T02:22:30.084Z] drwxr-xr-x 3 root root 4096 Oct 12 02:12 . [2022-10-12T02:22:30.084Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:12 .. [2022-10-12T02:22:30.084Z] drwxr-xr-x 2 root root 4096 Oct 12 02:12 cost [2022-10-12T02:22:30.084Z] -rw-r--r-- 1 root root 92 Oct 12 02:12 cost.csv [2022-10-12T02:22:30.084Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-12T02:22:30.084Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-12T02:22:30.084Z] total 16 [2022-10-12T02:22:30.084Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 02:12 . [2022-10-12T02:22:30.084Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:12 .. [2022-10-12T02:22:30.084Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 02:12 cost [2022-10-12T02:22:30.084Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 12 02:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:22:30.391Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:22:31.246Z] ---> package-listing.sh [2022-10-12T02:22:31.246Z] ++ facter osfamily [2022-10-12T02:22:31.246Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-12T02:22:31.505Z] + OS_FAMILY=debian [2022-10-12T02:22:31.505Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-12T02:22:31.505Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-12T02:22:31.505Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-12T02:22:31.505Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-12T02:22:31.505Z] + PACKAGES=/tmp/packages_start.txt [2022-10-12T02:22:31.505Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-12T02:22:31.505Z] + PACKAGES=/tmp/packages_end.txt [2022-10-12T02:22:31.505Z] + case "${OS_FAMILY}" in [2022-10-12T02:22:31.505Z] + dpkg -l [2022-10-12T02:22:31.505Z] + grep '^ii' [2022-10-12T02:22:31.505Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-12T02:22:31.505Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-12T02:22:31.505Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-12T02:22:31.505Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-12T02:22:31.505Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-12T02:22:31.505Z] + 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:22:31.514Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-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:22:31.792Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:22:32.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:22:32.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:22:32.403Z] prd-ubuntu20.04-docker-8c-8g-7701 does not seem to be running inside a container [2022-10-12T02:22:32.431Z] $ 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:22:33.494Z] $ docker top a8c42c4a3a9be78caf3ea39f8538156493fa1528d3b87c50a479639b09c8558b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:22:33.828Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-12T02:22:34.111Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-12T02:22:34.393Z] + ls /var/log/sa-host [2022-10-12T02:22:34.393Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:22:34.563Z] provisioning config files... [2022-10-12T02:22:34.571Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config17149041840219294327tmp [Pipeline] { [Pipeline] echo [2022-10-12T02:22:34.585Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:22:34.916Z] ---> create-netrc.sh [Pipeline] } [2022-10-12T02:22:34.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:22:35.247Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-12T02:22:35.256Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:22:35.541Z] ---> sudo-logs.sh [2022-10-12T02:22:35.541Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-12T02:22:35.569Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:22:35.848Z] ---> job-cost.sh [2022-10-12T02:22:35.848Z] lf-activate-venv: SKIPPING [2022-10-12T02:22:35.848Z] DEBUG: total: 0.2199999988079071 [2022-10-12T02:22:35.848Z] INFO: Retrieving Stack Cost... [2022-10-12T02:22:36.107Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T02:22:36.673Z] INFO: Archiving Costs [Pipeline] echo [2022-10-12T02:22:36.683Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:22:36.964Z] ---> logs-deploy.sh [2022-10-12T02:22:36.964Z] lf-activate-venv: SKIPPING [2022-10-12T02:22:36.964Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/19 [2022-10-12T02:22:36.964Z] INFO: archiving workspace using pattern(s): [2022-10-12T02:22:37.898Z] Archives upload complete. [2022-10-12T02:22:38.157Z] INFO: archiving logs to Nexus