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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at bca8455642164c3d303fb1e1cb399f48d9b73870 rather than b38cad5b99fcc04b9ffa906019bb6127e2844a17 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-ssh2567858393663434436.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-ssh14681893191219110106.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-174/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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4868803998708396620.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-ssh17240347470358691685.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-174/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-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh471145658983913104.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-7703 in /w/workspace/undry_device-onvif-camera_PR-174 [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-174 # 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/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bca8455642164c3d303fb1e1cb399f48d9b73870 into PR head commit b38cad5b99fcc04b9ffa906019bb6127e2844a17 Merge succeeded, producing c89c77e8399e9b17d0a11eac6bf4721cddf7804e Checking out Revision c89c77e8399e9b17d0a11eac6bf4721cddf7804e (PR-174) > git config core.sparsecheckout # timeout=10 > git checkout -f b38cad5b99fcc04b9ffa906019bb6127e2844a17 # 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 c89c77e8399e9b17d0a11eac6bf4721cddf7804e # 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:11:43.608Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-12T02:11:43.659Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-12T02:11:43.670Z] ========================================================= [2022-10-12T02:11:43.670Z] EdgeX Global Pipelines Version Info [2022-10-12T02:11:43.670Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8fdbd905d1ecb830906654991846a5c19a3b10ec # timeout=10 [2022-10-12T02:11:44.738Z] ------------------- [2022-10-12T02:11:44.738Z] stable info: [2022-10-12T02:11:44.738Z] ------------------- [2022-10-12T02:11:44.738Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-12T02:11:44.738Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T02:11:44.738Z] Message: update stable to v1.0.239 [2022-10-12T02:11:44.999Z] ------------------- [2022-10-12T02:11:44.999Z] experimental info: [2022-10-12T02:11:44.999Z] ------------------- [2022-10-12T02:11:44.999Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-12T02:11:44.999Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T02:11:44.999Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-12T02:11:45.175Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-12T02:11:45.190Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-12T02:11:45.202Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-12T02:11:45.217Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-12T02:11:45.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-12T02:11:45.240Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-12T02:11:45.253Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-12T02:11:45.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-12T02:11:45.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-12T02:11:45.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-12T02:11:45.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-12T02:11:45.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-12T02:11:45.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-12T02:11:45.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-12T02:11:45.353Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T02:11:45.367Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T02:11:45.384Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T02:11:45.395Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T02:11:45.412Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-12T02:11:45.429Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-12T02:11:45.447Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-12T02:11:45.457Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-12T02:11:45.468Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-12T02:11:45.482Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-12T02:11:45.492Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-12T02:11:45.503Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-12T02:11:45.516Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-12T02:11:45.528Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo [2022-10-12T02:11:45.542Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo [2022-10-12T02:11:45.556Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo [2022-10-12T02:11:45.567Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c89c77e8399e9b17d0a11eac6bf4721cddf7804e [Pipeline] echo [2022-10-12T02:11:45.580Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c89c77e [Pipeline] echo [2022-10-12T02:11:45.594Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:11:45.630Z] provisioning config files... [2022-10-12T02:11:47.166Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config13962181597856247553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:11:47.474Z] ---> docker-login.sh [2022-10-12T02:11:47.474Z] nexus3.edgexfoundry.org:10001 [2022-10-12T02:11:47.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:47.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:47.737Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:47.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:47.737Z] [2022-10-12T02:11:47.737Z] Login Succeeded [2022-10-12T02:11:47.737Z] nexus3.edgexfoundry.org:10002 [2022-10-12T02:11:47.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:47.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:47.737Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:47.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:47.737Z] [2022-10-12T02:11:47.737Z] Login Succeeded [2022-10-12T02:11:47.737Z] nexus3.edgexfoundry.org:10003 [2022-10-12T02:11:47.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:47.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:47.996Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:47.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:47.996Z] [2022-10-12T02:11:47.996Z] Login Succeeded [2022-10-12T02:11:47.996Z] nexus3.edgexfoundry.org:10004 [2022-10-12T02:11:47.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:47.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:47.996Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:47.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:47.996Z] [2022-10-12T02:11:47.996Z] Login Succeeded [2022-10-12T02:11:48.257Z] docker.io [2022-10-12T02:11:48.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:11:48.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:11:48.517Z] Configure a credential helper to remove this warning. See [2022-10-12T02:11:48.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:11:48.517Z] [2022-10-12T02:11:48.517Z] Login Succeeded [2022-10-12T02:11:48.518Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T02:11:48.526Z] 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:11:48.872Z] + git rev-list -1 --merges c89c77e8399e9b17d0a11eac6bf4721cddf7804e~1..c89c77e8399e9b17d0a11eac6bf4721cddf7804e [Pipeline] echo [2022-10-12T02:11:48.900Z] -----------> git rev-list -1 --merges c89c77e8399e9b17d0a11eac6bf4721cddf7804e~1..c89c77e8399e9b17d0a11eac6bf4721cddf7804e c89c77e8399e9b17d0a11eac6bf4721cddf7804e [2022-10-12T02:11:48.900Z] c89c77e8399e9b17d0a11eac6bf4721cddf7804e [false] [Pipeline] sh [2022-10-12T02:11:49.187Z] + git log --format=format:%s -1 c89c77e8399e9b17d0a11eac6bf4721cddf7804e [Pipeline] echo [2022-10-12T02:11:49.204Z] ========================================================= [2022-10-12T02:11:49.204Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-12T02:11:49.204Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T02:11:49.534Z] + git log --format=format:%s -1 c89c77e8399e9b17d0a11eac6bf4721cddf7804e [Pipeline] echo [2022-10-12T02:11:49.548Z] [semverPrep] GIT_COMMIT: c89c77e8399e9b17d0a11eac6bf4721cddf7804e, Commit Message: Merge commit 'bca8455642164c3d303fb1e1cb399f48d9b73870' into HEAD [Pipeline] echo [2022-10-12T02:11:49.558Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-12T02:11:49.903Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-12T02:11:49.904Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-12T02:11:49.904Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-12T02:11:49.904Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-12T02:11:49.904Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-12T02:11:49.904Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-12T02:11:49.904Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:11:50.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T02:11:50.246Z] [2022-10-12T02:11:50.246Z] 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:11:50.544Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T02:11:50.544Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-12T02:11:50.544Z] b85a868b505f: Pulling fs layer [2022-10-12T02:11:50.544Z] e2be974225ed: Pulling fs layer [2022-10-12T02:11:50.544Z] 339a4e72a1f5: Pulling fs layer [2022-10-12T02:11:50.544Z] 988bab9f4d93: Pulling fs layer [2022-10-12T02:11:50.544Z] 1469e6f7b9e6: Pulling fs layer [2022-10-12T02:11:50.544Z] eaf3925da568: Pulling fs layer [2022-10-12T02:11:50.544Z] bab4dde63d76: Pulling fs layer [2022-10-12T02:11:50.544Z] bde34c3a00c8: Pulling fs layer [2022-10-12T02:11:50.544Z] b352a97aabf1: Pulling fs layer [2022-10-12T02:11:50.544Z] 4872d77fe225: Pulling fs layer [2022-10-12T02:11:50.544Z] 5851b861e8e6: Pulling fs layer [2022-10-12T02:11:50.544Z] eaf3925da568: Waiting [2022-10-12T02:11:50.544Z] bab4dde63d76: Waiting [2022-10-12T02:11:50.544Z] 4872d77fe225: Waiting [2022-10-12T02:11:50.544Z] bde34c3a00c8: Waiting [2022-10-12T02:11:50.544Z] 988bab9f4d93: Waiting [2022-10-12T02:11:50.544Z] b352a97aabf1: Waiting [2022-10-12T02:11:50.544Z] 5851b861e8e6: Waiting [2022-10-12T02:11:50.544Z] 1469e6f7b9e6: Waiting [2022-10-12T02:11:50.544Z] e2be974225ed: Download complete [2022-10-12T02:11:50.544Z] 988bab9f4d93: Verifying Checksum [2022-10-12T02:11:50.544Z] 988bab9f4d93: Download complete [2022-10-12T02:11:50.809Z] 1469e6f7b9e6: Verifying Checksum [2022-10-12T02:11:50.809Z] 1469e6f7b9e6: Download complete [2022-10-12T02:11:50.809Z] eaf3925da568: Verifying Checksum [2022-10-12T02:11:50.809Z] eaf3925da568: Download complete [2022-10-12T02:11:50.809Z] 339a4e72a1f5: Verifying Checksum [2022-10-12T02:11:50.809Z] bde34c3a00c8: Download complete [2022-10-12T02:11:50.809Z] b352a97aabf1: Download complete [2022-10-12T02:11:50.809Z] 4872d77fe225: Verifying Checksum [2022-10-12T02:11:50.809Z] 4872d77fe225: Download complete [2022-10-12T02:11:50.809Z] 5851b861e8e6: Download complete [2022-10-12T02:11:50.809Z] b85a868b505f: Verifying Checksum [2022-10-12T02:11:50.809Z] b85a868b505f: Download complete [2022-10-12T02:11:51.375Z] bab4dde63d76: Verifying Checksum [2022-10-12T02:11:51.375Z] bab4dde63d76: Download complete [2022-10-12T02:11:52.314Z] b85a868b505f: Pull complete [2022-10-12T02:11:52.314Z] e2be974225ed: Pull complete [2022-10-12T02:11:52.883Z] 339a4e72a1f5: Pull complete [2022-10-12T02:11:52.883Z] 988bab9f4d93: Pull complete [2022-10-12T02:11:53.143Z] 1469e6f7b9e6: Pull complete [2022-10-12T02:11:53.143Z] eaf3925da568: Pull complete [2022-10-12T02:11:55.046Z] bab4dde63d76: Pull complete [2022-10-12T02:11:55.046Z] bde34c3a00c8: Pull complete [2022-10-12T02:11:55.046Z] b352a97aabf1: Pull complete [2022-10-12T02:11:55.306Z] 4872d77fe225: Pull complete [2022-10-12T02:11:55.306Z] 5851b861e8e6: Pull complete [2022-10-12T02:11:55.306Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-12T02:11:55.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T02:11:55.306Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:11:55.397Z] prd-ubuntu20.04-docker-8c-8g-7703 does not seem to be running inside a container [2022-10-12T02:11:55.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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:11:56.961Z] $ docker top 38441ee4a9a42cc0cc2b5e3c3a9081111b8dfdae4b50486a53b294c2aeb3e7b2 -eo pid,comm [2022-10-12T02:11:57.021Z] 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:11:57.021Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-12T02:11:57.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T02:11:57.051Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T02:11:57.162Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T02:11:57.164Z] $ docker exec 38441ee4a9a42cc0cc2b5e3c3a9081111b8dfdae4b50486a53b294c2aeb3e7b2 ssh-agent [2022-10-12T02:11:57.276Z] SSH_AUTH_SOCK=/tmp/ssh-6mBm7DSLXgi3/agent.32 [2022-10-12T02:11:57.276Z] SSH_AGENT_PID=38 [2022-10-12T02:11:57.281Z] Running ssh-add (command line suppressed) [2022-10-12T02:11:57.390Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_13278600547208527308.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_13278600547208527308.key) [2022-10-12T02:11:57.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T02:11:57.692Z] + git tag --points-at HEAD [Pipeline] } [2022-10-12T02:11:57.707Z] $ docker exec --env ******** --env ******** 38441ee4a9a42cc0cc2b5e3c3a9081111b8dfdae4b50486a53b294c2aeb3e7b2 ssh-agent -k [2022-10-12T02:11:57.793Z] unset SSH_AUTH_SOCK; [2022-10-12T02:11:57.794Z] unset SSH_AGENT_PID; [2022-10-12T02:11:57.794Z] echo Agent pid 38 killed; [2022-10-12T02:11:57.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-12T02:11:57.830Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T02:11:57.830Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T02:11:57.929Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T02:11:57.930Z] $ docker exec 38441ee4a9a42cc0cc2b5e3c3a9081111b8dfdae4b50486a53b294c2aeb3e7b2 ssh-agent [2022-10-12T02:11:58.053Z] SSH_AUTH_SOCK=/tmp/ssh-dy75GHRB1hUI/agent.73 [2022-10-12T02:11:58.053Z] SSH_AGENT_PID=79 [2022-10-12T02:11:58.057Z] Running ssh-add (command line suppressed) [2022-10-12T02:11:58.155Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_13122574945267728719.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_13122574945267728719.key) [2022-10-12T02:11:58.171Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T02:11:58.457Z] + git semver init [2022-10-12T02:11:58.717Z] 2022-10-12 02:11:58,632 [run_init] DEBUG init version:0.0.0 force:False [2022-10-12T02:11:58.717Z] 2022-10-12 02:11:58,633 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-174/.semver [2022-10-12T02:11:58.717Z] 2022-10-12 02:11:58,633 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-174/.semver [2022-10-12T02:11:58.717Z] 2022-10-12 02:11:58,633 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-174/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-174, universal_newlines=False, shell=None, istream=None) [2022-10-12T02:12:00.098Z] 2022-10-12 02:11:59,681 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-174/.git/info/exclude [2022-10-12T02:12:00.098Z] 2022-10-12 02:11:59,681 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 with force:False [2022-10-12T02:12:00.098Z] 2022-10-12 02:11:59,682 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-12T02:12:00.098Z] 2022-10-12 02:11:59,686 [execute] INFO git cat-file --batch-check [2022-10-12T02:12:00.098Z] 2022-10-12 02:11:59,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T02:12:00.098Z] 2022-10-12 02:11:59,694 [execute] INFO git cat-file --batch [2022-10-12T02:12:00.098Z] 2022-10-12 02:11:59,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T02:12:00.098Z] 2022-10-12 02:11:59,700 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-12T02:12:00.098Z] 0.0.0 [Pipeline] } [2022-10-12T02:12:00.107Z] $ docker exec --env ******** --env ******** 38441ee4a9a42cc0cc2b5e3c3a9081111b8dfdae4b50486a53b294c2aeb3e7b2 ssh-agent -k [2022-10-12T02:12:00.201Z] unset SSH_AUTH_SOCK; [2022-10-12T02:12:00.202Z] unset SSH_AGENT_PID; [2022-10-12T02:12:00.202Z] echo Agent pid 79 killed; [2022-10-12T02:12:00.213Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-12T02:12:00.513Z] + git semver [Pipeline] } [2022-10-12T02:12:00.785Z] $ docker stop --time=1 38441ee4a9a42cc0cc2b5e3c3a9081111b8dfdae4b50486a53b294c2aeb3e7b2 [2022-10-12T02:12:02.098Z] $ docker rm -f 38441ee4a9a42cc0cc2b5e3c3a9081111b8dfdae4b50486a53b294c2aeb3e7b2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T02:12:02.438Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-12T02:12:02.610Z] Stashed 1 file(s) [Pipeline] echo [2022-10-12T02:12:02.612Z] [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:12:02.705Z] provisioning config files... [2022-10-12T02:12:02.714Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config13695429139703659883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:12:03.009Z] ---> docker-login.sh [2022-10-12T02:12:03.009Z] nexus3.edgexfoundry.org:10001 [2022-10-12T02:12:03.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:12:03.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:12:03.009Z] Configure a credential helper to remove this warning. See [2022-10-12T02:12:03.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:12:03.009Z] [2022-10-12T02:12:03.009Z] Login Succeeded [2022-10-12T02:12:03.009Z] nexus3.edgexfoundry.org:10002 [2022-10-12T02:12:03.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:12:03.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:12:03.009Z] Configure a credential helper to remove this warning. See [2022-10-12T02:12:03.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:12:03.009Z] [2022-10-12T02:12:03.009Z] Login Succeeded [2022-10-12T02:12:03.009Z] nexus3.edgexfoundry.org:10003 [2022-10-12T02:12:03.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:12:03.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:12:03.268Z] Configure a credential helper to remove this warning. See [2022-10-12T02:12:03.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:12:03.268Z] [2022-10-12T02:12:03.268Z] Login Succeeded [2022-10-12T02:12:03.268Z] nexus3.edgexfoundry.org:10004 [2022-10-12T02:12:03.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:12:03.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:12:03.268Z] Configure a credential helper to remove this warning. See [2022-10-12T02:12:03.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:12:03.268Z] [2022-10-12T02:12:03.268Z] Login Succeeded [2022-10-12T02:12:03.268Z] docker.io [2022-10-12T02:12:03.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:12:03.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:12:03.786Z] Configure a credential helper to remove this warning. See [2022-10-12T02:12:03.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:12:03.786Z] [2022-10-12T02:12:03.786Z] Login Succeeded [2022-10-12T02:12:03.786Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T02:12:03.793Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T02:12:03.851Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:12:03.861Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:12:03.867Z] ========================================================= [2022-10-12T02:12:03.867Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-12T02:12:03.867Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:12:04.184Z] + 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:12:04.184Z] Sending build context to Docker daemon 21.29MB [2022-10-12T02:12:04.184Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:12:04.184Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-12T02:12:04.184Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-12T02:12:04.184Z] 213ec9aee27d: Pulling fs layer [2022-10-12T02:12:04.184Z] 4583459ba037: Pulling fs layer [2022-10-12T02:12:04.184Z] 93c1e223e6f2: Pulling fs layer [2022-10-12T02:12:04.184Z] 53926ce57604: Pulling fs layer [2022-10-12T02:12:04.184Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-12T02:12:04.184Z] 30f14e443154: Pulling fs layer [2022-10-12T02:12:04.184Z] 801331c1e519: Pulling fs layer [2022-10-12T02:12:04.184Z] 99cc6dd402b0: Pulling fs layer [2022-10-12T02:12:04.184Z] 7d9ed39f4882: Pulling fs layer [2022-10-12T02:12:04.184Z] 53926ce57604: Waiting [2022-10-12T02:12:04.184Z] 7d9ed39f4882: Waiting [2022-10-12T02:12:04.184Z] 99cc6dd402b0: Waiting [2022-10-12T02:12:04.184Z] 30f14e443154: Waiting [2022-10-12T02:12:04.184Z] 801331c1e519: Waiting [2022-10-12T02:12:04.184Z] 21b2b0c7a3f4: Waiting [2022-10-12T02:12:04.449Z] 93c1e223e6f2: Verifying Checksum [2022-10-12T02:12:04.449Z] 93c1e223e6f2: Download complete [2022-10-12T02:12:04.449Z] 4583459ba037: Download complete [2022-10-12T02:12:04.449Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-12T02:12:04.449Z] 21b2b0c7a3f4: Download complete [2022-10-12T02:12:04.449Z] 30f14e443154: Download complete [2022-10-12T02:12:04.449Z] 213ec9aee27d: Verifying Checksum [2022-10-12T02:12:04.449Z] 213ec9aee27d: Download complete [2022-10-12T02:12:04.449Z] 801331c1e519: Download complete [2022-10-12T02:12:04.449Z] 213ec9aee27d: Pull complete [2022-10-12T02:12:04.719Z] 4583459ba037: Pull complete [2022-10-12T02:12:04.719Z] 93c1e223e6f2: Pull complete [2022-10-12T02:12:04.981Z] 7d9ed39f4882: Verifying Checksum [2022-10-12T02:12:04.982Z] 7d9ed39f4882: Download complete [2022-10-12T02:12:04.982Z] 99cc6dd402b0: Verifying Checksum [2022-10-12T02:12:04.982Z] 99cc6dd402b0: Download complete [2022-10-12T02:12:05.240Z] 53926ce57604: Verifying Checksum [2022-10-12T02:12:05.240Z] 53926ce57604: Download complete [2022-10-12T02:12:10.509Z] 53926ce57604: Pull complete [2022-10-12T02:12:10.509Z] 21b2b0c7a3f4: Pull complete [2022-10-12T02:12:10.509Z] 30f14e443154: Pull complete [2022-10-12T02:12:10.509Z] 801331c1e519: Pull complete [2022-10-12T02:12:12.419Z] 99cc6dd402b0: Pull complete [2022-10-12T02:12:13.355Z] 7d9ed39f4882: Pull complete [2022-10-12T02:12:13.355Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-12T02:12:13.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-12T02:12:13.355Z] ---> 1dedd983c030 [2022-10-12T02:12:13.355Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:12:15.259Z] ---> Running in d810f6743380 [2022-10-12T02:12:15.259Z] Removing intermediate container d810f6743380 [2022-10-12T02:12:15.259Z] ---> b4405f186855 [2022-10-12T02:12:15.259Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:12:15.517Z] ---> Running in 2a612dc69c29 [2022-10-12T02:12:15.517Z] Removing intermediate container 2a612dc69c29 [2022-10-12T02:12:15.517Z] ---> de1af07d39da [2022-10-12T02:12:15.517Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:12:15.517Z] ---> Running in 4ac861547663 [2022-10-12T02:12:15.775Z] Removing intermediate container 4ac861547663 [2022-10-12T02:12:15.775Z] ---> 569205934777 [2022-10-12T02:12:15.775Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:12:15.775Z] ---> Running in 3c7ea41d90eb [2022-10-12T02:12:15.775Z] Removing intermediate container 3c7ea41d90eb [2022-10-12T02:12:15.775Z] ---> d5da2160a296 [2022-10-12T02:12:15.775Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:12:15.775Z] ---> Running in 069dd60edba9 [2022-10-12T02:12:16.034Z] Removing intermediate container 069dd60edba9 [2022-10-12T02:12:16.034Z] ---> 6dee95459504 [2022-10-12T02:12:16.034Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:12:16.034Z] ---> Running in 56b9e849ce8f [2022-10-12T02:12:16.600Z] Removing intermediate container 56b9e849ce8f [2022-10-12T02:12:16.600Z] ---> 7b5971ef1a2b [2022-10-12T02:12:16.600Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:12:16.600Z] ---> Running in 5d2c749839aa [2022-10-12T02:12:16.860Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T02:12:17.679Z] Still waiting to schedule task [2022-10-12T02:12:17.679Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7699’ [2022-10-12T02:12:17.797Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T02:12:18.056Z] OK: 211 MiB in 51 packages [2022-10-12T02:12:18.641Z] Removing intermediate container 5d2c749839aa [2022-10-12T02:12:18.641Z] ---> 8034a5ee4960 [2022-10-12T02:12:18.641Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-12T02:12:18.641Z] ---> Running in ce7c6f9bc1e1 [2022-10-12T02:12:18.641Z] Removing intermediate container ce7c6f9bc1e1 [2022-10-12T02:12:18.641Z] ---> 0dcbd6507dc9 [2022-10-12T02:12:18.641Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-12T02:12:18.641Z] ---> 209b75569bd9 [2022-10-12T02:12:18.641Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:12:18.900Z] ---> Running in 2d8035bccce6 [2022-10-12T02:12:36.993Z] Removing intermediate container 2d8035bccce6 [2022-10-12T02:12:36.993Z] ---> 6827635efeb8 [2022-10-12T02:12:36.993Z] Step 13/14 : COPY . . [2022-10-12T02:12:36.993Z] ---> eca53899e94c [2022-10-12T02:12:36.993Z] Step 14/14 : RUN ${MAKE} [2022-10-12T02:12:36.993Z] ---> Running in 64d441c0eaf3 [2022-10-12T02:12:36.993Z] noop [2022-10-12T02:12:36.993Z] Removing intermediate container 64d441c0eaf3 [2022-10-12T02:12:36.993Z] ---> 81be3fc3be35 [2022-10-12T02:12:37.252Z] Successfully built 81be3fc3be35 [2022-10-12T02:12:37.252Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:12:37.572Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T02:12:37.572Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:12:37.657Z] prd-ubuntu20.04-docker-8c-8g-7703 does not seem to be running inside a container [2022-10-12T02:12:37.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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:12:38.082Z] $ docker top 71467ba10c3a3206678951b6715cb9185c8362b69451d090c8a332e64aad1f77 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:12:38.434Z] + go version [2022-10-12T02:12:38.434Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-12T02:12:38.446Z] $ docker stop --time=1 71467ba10c3a3206678951b6715cb9185c8362b69451d090c8a332e64aad1f77 [2022-10-12T02:12:39.759Z] $ docker rm -f 71467ba10c3a3206678951b6715cb9185c8362b69451d090c8a332e64aad1f77 [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:12:40.160Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T02:12:40.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:12:40.238Z] prd-ubuntu20.04-docker-8c-8g-7703 does not seem to be running inside a container [2022-10-12T02:12:40.272Z] $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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:12:40.642Z] $ docker top 627ce40b9b1fdcfb2b27861492d1f9bd57c58955ef56e80a63c992ad0edbfd78 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:12:41.037Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] fileExists [Pipeline] sh [2022-10-12T02:12:41.339Z] + make test [2022-10-12T02:12:41.339Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-12T02:12:41.612Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-12T02:12:53.858Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-12T02:12:54.123Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements [2022-10-12T02:12:54.123Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-12T02:12:54.123Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.404s coverage: 86.5% of statements [2022-10-12T02:13:02.241Z] 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:13:02.241Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T02:13:04.767Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T02:13:04.767Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T02:13:04.767Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T02:13:04.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T02:13:04.793Z] $ docker stop --time=1 627ce40b9b1fdcfb2b27861492d1f9bd57c58955ef56e80a63c992ad0edbfd78 [2022-10-12T02:13:08.200Z] $ docker rm -f 627ce40b9b1fdcfb2b27861492d1f9bd57c58955ef56e80a63c992ad0edbfd78 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T02:13:08.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T02:13:08.688Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-12T02:13:09.100Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T02:13:09.384Z] + ls -al . [2022-10-12T02:13:09.384Z] total 236 [2022-10-12T02:13:09.384Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 02:12 . [2022-10-12T02:13:09.384Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:11 .. [2022-10-12T02:13:09.384Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:12 .git [2022-10-12T02:13:09.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:11 .github [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 12 02:11 .gitignore [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 02:11 .golangci.yml [2022-10-12T02:13:09.384Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 02:11 .semver [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 02:11 Attribution.txt [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 02:11 CHANGELOG.md [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 02:11 Dockerfile [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 02:11 GOVERNANCE.md [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 02:11 Jenkinsfile [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 02:11 LICENSE [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 02:11 Makefile [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 02:11 OWNERS.md [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 02:11 README.md [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:12 VERSION [2022-10-12T02:13:09.384Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:11 bin [2022-10-12T02:13:09.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:11 cmd [2022-10-12T02:13:09.384Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 12 02:12 coverage.out [2022-10-12T02:13:09.384Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 02:11 doc [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 02:11 go.mod [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 02:11 go.sum [2022-10-12T02:13:09.384Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:11 internal [2022-10-12T02:13:09.384Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:11 snap [2022-10-12T02:13:09.384Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:13:09.690Z] + 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=c89c77e8399e9b17d0a11eac6bf4721cddf7804e --label arch=amd64 --label version=0.0.0 . [2022-10-12T02:13:09.690Z] Sending build context to Docker daemon 21.36MB [2022-10-12T02:13:09.690Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:13:09.690Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-12T02:13:09.690Z] ---> 81be3fc3be35 [2022-10-12T02:13:09.690Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:13:09.950Z] ---> Running in 42aeb8aa1785 [2022-10-12T02:13:09.950Z] Removing intermediate container 42aeb8aa1785 [2022-10-12T02:13:09.950Z] ---> 2a627102156d [2022-10-12T02:13:09.950Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:13:09.950Z] ---> Running in d2c395888f5a [2022-10-12T02:13:10.210Z] Removing intermediate container d2c395888f5a [2022-10-12T02:13:10.210Z] ---> 1609fd85efe2 [2022-10-12T02:13:10.210Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:13:10.210Z] ---> Running in 6a4e20aad731 [2022-10-12T02:13:10.210Z] Removing intermediate container 6a4e20aad731 [2022-10-12T02:13:10.210Z] ---> 55ed9d244a0a [2022-10-12T02:13:10.210Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:13:10.210Z] ---> Running in 8f1c18e0d0e1 [2022-10-12T02:13:10.469Z] Removing intermediate container 8f1c18e0d0e1 [2022-10-12T02:13:10.469Z] ---> 79f27e9b8931 [2022-10-12T02:13:10.469Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:13:10.469Z] ---> Running in 4a840d8e5284 [2022-10-12T02:13:10.469Z] Removing intermediate container 4a840d8e5284 [2022-10-12T02:13:10.469Z] ---> 2c75c19ce34a [2022-10-12T02:13:10.469Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:13:10.469Z] ---> Running in a91fa41f9b1e [2022-10-12T02:13:11.039Z] Removing intermediate container a91fa41f9b1e [2022-10-12T02:13:11.039Z] ---> a029a56009df [2022-10-12T02:13:11.039Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:13:11.299Z] ---> Running in cfb6c0c7698f [2022-10-12T02:13:11.558Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T02:13:12.493Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T02:13:12.755Z] OK: 211 MiB in 51 packages [2022-10-12T02:13:13.014Z] Removing intermediate container cfb6c0c7698f [2022-10-12T02:13:13.014Z] ---> e91f66552194 [2022-10-12T02:13:13.014Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-12T02:13:13.014Z] ---> Running in 0d0fb2dae2f9 [2022-10-12T02:13:13.014Z] Removing intermediate container 0d0fb2dae2f9 [2022-10-12T02:13:13.014Z] ---> bc320a63220f [2022-10-12T02:13:13.014Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-12T02:13:13.271Z] ---> 83baca7c08f1 [2022-10-12T02:13:13.271Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:13:13.271Z] ---> Running in d81815537297 [2022-10-12T02:13:13.838Z] Removing intermediate container d81815537297 [2022-10-12T02:13:13.838Z] ---> 56cfb71eac94 [2022-10-12T02:13:13.838Z] Step 13/27 : COPY . . [2022-10-12T02:13:14.404Z] ---> 19b2f41174a3 [2022-10-12T02:13:14.404Z] Step 14/27 : RUN ${MAKE} [2022-10-12T02:13:14.663Z] ---> Running in 27e0303276c9 [2022-10-12T02:13:14.922Z] 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:13:36.845Z] Removing intermediate container 27e0303276c9 [2022-10-12T02:13:36.845Z] ---> f8c1c3baa8b9 [2022-10-12T02:13:36.845Z] Step 15/27 : FROM alpine:3.16 [2022-10-12T02:13:36.845Z] 3.16: Pulling from library/alpine [2022-10-12T02:13:36.845Z] 213ec9aee27d: Already exists [2022-10-12T02:13:36.845Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T02:13:36.845Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T02:13:36.845Z] ---> 9c6f07244728 [2022-10-12T02:13:36.846Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-12T02:13:36.846Z] ---> Running in 057c2240a82e [2022-10-12T02:13:36.846Z] Removing intermediate container 057c2240a82e [2022-10-12T02:13:36.846Z] ---> 5480f01d38f0 [2022-10-12T02:13:36.846Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-12T02:13:36.846Z] ---> Running in fba062c90f34 [2022-10-12T02:13:37.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T02:13:37.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T02:13:37.361Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-12T02:13:37.361Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T02:13:37.361Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-12T02:13:37.361Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T02:13:37.361Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-12T02:13:37.361Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-12T02:13:37.361Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T02:13:37.361Z] OK: 8 MiB in 20 packages [2022-10-12T02:13:37.932Z] Removing intermediate container fba062c90f34 [2022-10-12T02:13:37.932Z] ---> 4f148bf6954c [2022-10-12T02:13:37.932Z] Step 18/27 : WORKDIR / [2022-10-12T02:13:37.932Z] ---> Running in aa564b9b722f [2022-10-12T02:13:37.932Z] Removing intermediate container aa564b9b722f [2022-10-12T02:13:37.932Z] ---> 439c41e23992 [2022-10-12T02:13:37.932Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-12T02:13:38.506Z] ---> 98e251b533fc [2022-10-12T02:13:38.506Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-12T02:13:38.764Z] ---> bfbeb8284303 [2022-10-12T02:13:38.764Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-12T02:13:38.764Z] ---> cf86c932eb25 [2022-10-12T02:13:38.764Z] Step 22/27 : EXPOSE 59984 [2022-10-12T02:13:39.029Z] ---> Running in 57f796b1aa8e [2022-10-12T02:13:39.029Z] Removing intermediate container 57f796b1aa8e [2022-10-12T02:13:39.029Z] ---> f965bd8b8aa9 [2022-10-12T02:13:39.029Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-12T02:13:39.029Z] ---> Running in 84c66bf5d169 [2022-10-12T02:13:39.029Z] Removing intermediate container 84c66bf5d169 [2022-10-12T02:13:39.029Z] ---> d5fc46b834fb [2022-10-12T02:13:39.029Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T02:13:39.287Z] ---> Running in 499773735f33 [2022-10-12T02:13:39.288Z] Removing intermediate container 499773735f33 [2022-10-12T02:13:39.288Z] ---> e82b400bed0f [2022-10-12T02:13:39.288Z] Step 25/27 : LABEL arch=amd64 [2022-10-12T02:13:39.288Z] ---> Running in 6356e690c1b4 [2022-10-12T02:13:39.547Z] Removing intermediate container 6356e690c1b4 [2022-10-12T02:13:39.547Z] ---> d5ad4d26b6f0 [2022-10-12T02:13:39.547Z] Step 26/27 : LABEL git_sha=c89c77e8399e9b17d0a11eac6bf4721cddf7804e [2022-10-12T02:13:39.547Z] ---> Running in 49ffbb0da66a [2022-10-12T02:13:39.547Z] Removing intermediate container 49ffbb0da66a [2022-10-12T02:13:39.547Z] ---> 850172572dfe [2022-10-12T02:13:39.547Z] Step 27/27 : LABEL version=0.0.0 [2022-10-12T02:13:39.547Z] ---> Running in e4bfe87814da [2022-10-12T02:13:39.805Z] Removing intermediate container e4bfe87814da [2022-10-12T02:13:39.805Z] ---> a191e09ac4ac [2022-10-12T02:13:39.805Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T02:13:39.805Z] Successfully built a191e09ac4ac [2022-10-12T02:13:39.805Z] 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:13:40.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:13:40.232Z] [2022-10-12T02:13:40.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:13:40.525Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:13:40.525Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-12T02:13:40.525Z] 5eb5b503b376: Pulling fs layer [2022-10-12T02:13:40.525Z] 5c69ac0246d0: Pulling fs layer [2022-10-12T02:13:40.525Z] ec43610c2a17: Pulling fs layer [2022-10-12T02:13:40.525Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-12T02:13:40.525Z] 33b1e0a273af: Pulling fs layer [2022-10-12T02:13:40.525Z] 5d3b04190fa2: Pulling fs layer [2022-10-12T02:13:40.525Z] 2f39f015ded8: Pulling fs layer [2022-10-12T02:13:40.525Z] 5d3b04190fa2: Waiting [2022-10-12T02:13:40.525Z] 3a2ae6a8a46f: Waiting [2022-10-12T02:13:40.525Z] 33b1e0a273af: Waiting [2022-10-12T02:13:40.525Z] 2f39f015ded8: Waiting [2022-10-12T02:13:40.525Z] 5c69ac0246d0: Download complete [2022-10-12T02:13:40.525Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-12T02:13:40.525Z] 3a2ae6a8a46f: Download complete [2022-10-12T02:13:40.525Z] 33b1e0a273af: Verifying Checksum [2022-10-12T02:13:40.525Z] 33b1e0a273af: Download complete [2022-10-12T02:13:40.788Z] 5d3b04190fa2: Verifying Checksum [2022-10-12T02:13:40.788Z] 5d3b04190fa2: Download complete [2022-10-12T02:13:40.788Z] ec43610c2a17: Verifying Checksum [2022-10-12T02:13:40.788Z] ec43610c2a17: Download complete [2022-10-12T02:13:40.788Z] 5eb5b503b376: Verifying Checksum [2022-10-12T02:13:40.788Z] 5eb5b503b376: Download complete [2022-10-12T02:13:42.163Z] 2f39f015ded8: Download complete [2022-10-12T02:13:42.163Z] 5eb5b503b376: Pull complete [2022-10-12T02:13:42.163Z] 5c69ac0246d0: Pull complete [2022-10-12T02:13:42.729Z] ec43610c2a17: Pull complete [2022-10-12T02:13:42.729Z] 3a2ae6a8a46f: Pull complete [2022-10-12T02:13:42.729Z] 33b1e0a273af: Pull complete [2022-10-12T02:13:42.987Z] 5d3b04190fa2: Pull complete [2022-10-12T02:13:47.170Z] 2f39f015ded8: Pull complete [2022-10-12T02:13:47.170Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-12T02:13:47.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:13:47.170Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:13:47.252Z] prd-ubuntu20.04-docker-8c-8g-7703 does not seem to be running inside a container [2022-10-12T02:13:47.281Z] $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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:13:49.380Z] $ docker top 817f541b9ee8947a95ec0d1f8a3eef29abf7a4669435a0bba5cf3eb6a13f7733 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:13:49.762Z] ---> job-cost.sh [2022-10-12T02:13:49.762Z] lf-activate-venv: SKIPPING [2022-10-12T02:13:49.762Z] INFO: No Stack... [2022-10-12T02:13:50.021Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T02:13:50.280Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T02:13:50.568Z] + cat /w/workspace/undry_device-onvif-camera_PR-174/archives/cost.csv [2022-10-12T02:13:50.568Z] + cut -d, -f6 [Pipeline] lock [2022-10-12T02:13:50.581Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-6-stack-cost] [2022-10-12T02:13:50.587Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-6-stack-cost] did not exist. Created. [2022-10-12T02:13:50.587Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T02:13:50.890Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-12T02:13:50.912Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T02:13:50.919Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T02:13:50.941Z] $ docker stop --time=1 817f541b9ee8947a95ec0d1f8a3eef29abf7a4669435a0bba5cf3eb6a13f7733 [2022-10-12T02:13:52.100Z] $ docker rm -f 817f541b9ee8947a95ec0d1f8a3eef29abf7a4669435a0bba5cf3eb6a13f7733 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-12T02:14:55.732Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7706 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] ws [2022-10-12T02:14:55.743Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-10-12T02:14:55.778Z] The recommended git tool is: git [2022-10-12T02:15:01.192Z] using credential edgex-jenkins-ssh [2022-10-12T02:15:01.211Z] Cloning the remote Git repository [2022-10-12T02:15:01.264Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T02:15:01.351Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-10-12T02:15:01.531Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T02:15:01.532Z] > git --version # timeout=10 [2022-10-12T02:15:01.561Z] > git --version # 'git version 2.25.1' [2022-10-12T02:15:01.564Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T02:15:01.618Z] Verifying host key using known hosts file [2022-10-12T02:15:01.832Z] 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:15:01.846Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T02:15:03.194Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-12T02:15:03.223Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T02:15:04.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-12T02:15:04.147Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T02:15:04.149Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T02:15:04.157Z] Verifying host key using known hosts file [2022-10-12T02:15:04.164Z] 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:15:04.178Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-12T02:15:04.972Z] Merging remotes/origin/main commit bca8455642164c3d303fb1e1cb399f48d9b73870 into PR head commit b38cad5b99fcc04b9ffa906019bb6127e2844a17 [2022-10-12T02:15:05.753Z] Merge succeeded, producing e62772acba2629e5e85c07c20038cd47759a26e9 [2022-10-12T02:15:05.753Z] Checking out Revision e62772acba2629e5e85c07c20038cd47759a26e9 (PR-174) [2022-10-12T02:15:04.991Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T02:15:05.017Z] > git checkout -f b38cad5b99fcc04b9ffa906019bb6127e2844a17 # timeout=10 [2022-10-12T02:15:05.250Z] > git remote # timeout=10 [2022-10-12T02:15:05.268Z] > git config --get remote.origin.url # timeout=10 [2022-10-12T02:15:05.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T02:15:05.298Z] Verifying host key using known hosts file [2022-10-12T02:15:05.302Z] 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:15:05.310Z] > git merge bca8455642164c3d303fb1e1cb399f48d9b73870 # timeout=10 [2022-10-12T02:15:05.727Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-12T02:15:05.761Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T02:15:05.775Z] > git checkout -f e62772acba2629e5e85c07c20038cd47759a26e9 # timeout=10 [2022-10-12T02:15:09.515Z] Commit message: "Merge commit 'bca8455642164c3d303fb1e1cb399f48d9b73870' into HEAD" [2022-10-12T02:15:09.541Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T02:15:10.374Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-12T02:15:10.374Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T02:15:10.374Z] Dload Upload Total Spent Left Speed [2022-10-12T02:15:10.374Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 223k [2022-10-12T02:15:09.525Z] > git rev-list --no-walk 8fdbd905d1ecb830906654991846a5c19a3b10ec # timeout=10 [Pipeline] sh [2022-10-12T02:15:11.031Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-12T02:15:11.359Z] + sudo tee+ /etc/docker/daemon.new [2022-10-12T02:15:11.359Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-12T02:15:11.359Z] { [2022-10-12T02:15:11.359Z] "registry-mirrors": [ [2022-10-12T02:15:11.359Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-12T02:15:11.359Z] ], [2022-10-12T02:15:11.359Z] "bip": "10.250.0.254/24", [2022-10-12T02:15:11.359Z] "hosts": [ [2022-10-12T02:15:11.359Z] "tcp://0.0.0.0:5555", [2022-10-12T02:15:11.359Z] "unix:///var/run/docker.sock" [2022-10-12T02:15:11.359Z] ], [2022-10-12T02:15:11.359Z] "mtu": 1458, [2022-10-12T02:15:11.359Z] "selinux-enabled": true, [2022-10-12T02:15:11.359Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-12T02:15:11.359Z] } [Pipeline] sh [2022-10-12T02:15:11.685Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-12T02:15:12.005Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:15:30.262Z] provisioning config files... [2022-10-12T02:15:30.294Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config1319707147744231915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:15:30.664Z] ---> docker-login.sh [2022-10-12T02:15:30.664Z] nexus3.edgexfoundry.org:10001 [2022-10-12T02:15:31.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:15:31.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:15:31.265Z] Configure a credential helper to remove this warning. See [2022-10-12T02:15:31.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:15:31.265Z] [2022-10-12T02:15:31.265Z] Login Succeeded [2022-10-12T02:15:31.265Z] nexus3.edgexfoundry.org:10002 [2022-10-12T02:15:31.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:15:31.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:15:31.828Z] Configure a credential helper to remove this warning. See [2022-10-12T02:15:31.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:15:31.828Z] [2022-10-12T02:15:31.828Z] Login Succeeded [2022-10-12T02:15:31.828Z] nexus3.edgexfoundry.org:10003 [2022-10-12T02:15:32.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:15:32.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:15:32.101Z] Configure a credential helper to remove this warning. See [2022-10-12T02:15:32.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:15:32.101Z] [2022-10-12T02:15:32.101Z] Login Succeeded [2022-10-12T02:15:32.101Z] nexus3.edgexfoundry.org:10004 [2022-10-12T02:15:32.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:15:32.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:15:32.662Z] Configure a credential helper to remove this warning. See [2022-10-12T02:15:32.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:15:32.662Z] [2022-10-12T02:15:32.662Z] Login Succeeded [2022-10-12T02:15:32.662Z] docker.io [2022-10-12T02:15:32.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T02:15:33.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T02:15:33.203Z] Configure a credential helper to remove this warning. See [2022-10-12T02:15:33.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T02:15:33.203Z] [2022-10-12T02:15:33.203Z] Login Succeeded [2022-10-12T02:15:33.203Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T02:15:33.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T02:15:33.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:15:33.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T02:15:33.413Z] ========================================================= [2022-10-12T02:15:33.413Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-12T02:15:33.413Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:15:33.760Z] + 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:15:34.362Z] Sending build context to Docker daemon 14.7MB [2022-10-12T02:15:34.362Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:15:34.362Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-12T02:15:34.638Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-12T02:15:34.638Z] 9b18e9b68314: Pulling fs layer [2022-10-12T02:15:34.638Z] d32db5db7311: Pulling fs layer [2022-10-12T02:15:34.638Z] d0c4b47475fc: Pulling fs layer [2022-10-12T02:15:34.638Z] 5831b945b038: Pulling fs layer [2022-10-12T02:15:34.638Z] 86bbec2aaacd: Pulling fs layer [2022-10-12T02:15:34.638Z] e10730c5d714: Pulling fs layer [2022-10-12T02:15:34.638Z] 5dd5c2283517: Pulling fs layer [2022-10-12T02:15:34.638Z] d5ac0230b979: Pulling fs layer [2022-10-12T02:15:34.638Z] e10730c5d714: Waiting [2022-10-12T02:15:34.638Z] 5dd5c2283517: Waiting [2022-10-12T02:15:34.638Z] 5831b945b038: Waiting [2022-10-12T02:15:34.638Z] d5ac0230b979: Waiting [2022-10-12T02:15:34.638Z] 86bbec2aaacd: Waiting [2022-10-12T02:15:34.638Z] d0c4b47475fc: Verifying Checksum [2022-10-12T02:15:34.638Z] d0c4b47475fc: Download complete [2022-10-12T02:15:34.638Z] d32db5db7311: Verifying Checksum [2022-10-12T02:15:34.638Z] d32db5db7311: Download complete [2022-10-12T02:15:34.638Z] 86bbec2aaacd: Download complete [2022-10-12T02:15:34.638Z] e10730c5d714: Verifying Checksum [2022-10-12T02:15:34.638Z] e10730c5d714: Download complete [2022-10-12T02:15:34.638Z] 9b18e9b68314: Verifying Checksum [2022-10-12T02:15:35.634Z] 9b18e9b68314: Pull complete [2022-10-12T02:15:35.907Z] d5ac0230b979: Verifying Checksum [2022-10-12T02:15:35.907Z] d5ac0230b979: Download complete [2022-10-12T02:15:36.517Z] d32db5db7311: Pull complete [2022-10-12T02:15:36.790Z] d0c4b47475fc: Pull complete [2022-10-12T02:15:37.383Z] 5dd5c2283517: Download complete [2022-10-12T02:15:37.975Z] 5831b945b038: Verifying Checksum [2022-10-12T02:15:37.975Z] 5831b945b038: Download complete [2022-10-12T02:15:50.338Z] 5831b945b038: Pull complete [2022-10-12T02:15:50.338Z] 86bbec2aaacd: Pull complete [2022-10-12T02:15:50.607Z] e10730c5d714: Pull complete [2022-10-12T02:15:57.270Z] 5dd5c2283517: Pull complete [2022-10-12T02:15:58.687Z] d5ac0230b979: Pull complete [2022-10-12T02:15:58.687Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-12T02:15:58.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-12T02:15:58.687Z] ---> 59b3b1a385d4 [2022-10-12T02:15:58.687Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:16:00.644Z] ---> Running in 27faae7948ea [2022-10-12T02:16:00.644Z] Removing intermediate container 27faae7948ea [2022-10-12T02:16:00.644Z] ---> b8d0007cb6aa [2022-10-12T02:16:00.644Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:16:00.915Z] ---> Running in 824b7f5b2f6a [2022-10-12T02:16:01.186Z] Removing intermediate container 824b7f5b2f6a [2022-10-12T02:16:01.186Z] ---> 4d8a205fb77d [2022-10-12T02:16:01.186Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:16:01.186Z] ---> Running in 1babd101c674 [2022-10-12T02:16:01.777Z] Removing intermediate container 1babd101c674 [2022-10-12T02:16:01.777Z] ---> 215defaa14e2 [2022-10-12T02:16:01.777Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:16:01.777Z] ---> Running in f098c26ffd6b [2022-10-12T02:16:02.044Z] Removing intermediate container f098c26ffd6b [2022-10-12T02:16:02.044Z] ---> 1943a49525ec [2022-10-12T02:16:02.044Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:16:02.044Z] ---> Running in f5001fd90d67 [2022-10-12T02:16:02.315Z] Removing intermediate container f5001fd90d67 [2022-10-12T02:16:02.315Z] ---> c65774fd6fd2 [2022-10-12T02:16:02.315Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:16:02.585Z] ---> Running in ad0aba05ad7f [2022-10-12T02:16:04.546Z] Removing intermediate container ad0aba05ad7f [2022-10-12T02:16:04.546Z] ---> fe8c5bdd326a [2022-10-12T02:16:04.546Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:16:04.546Z] ---> Running in 83d0346630ca [2022-10-12T02:16:05.508Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T02:16:06.473Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T02:16:07.440Z] OK: 221 MiB in 51 packages [2022-10-12T02:16:08.410Z] Removing intermediate container 83d0346630ca [2022-10-12T02:16:08.410Z] ---> 63c2627916ef [2022-10-12T02:16:08.410Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-12T02:16:08.410Z] ---> Running in 4cc7dbae8238 [2022-10-12T02:16:08.677Z] Removing intermediate container 4cc7dbae8238 [2022-10-12T02:16:08.677Z] ---> 77fdbd29922f [2022-10-12T02:16:08.677Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-12T02:16:09.263Z] ---> 0ee18c96c6b7 [2022-10-12T02:16:09.263Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:16:09.263Z] ---> Running in f73533c86992 [2022-10-12T02:17:05.706Z] Removing intermediate container f73533c86992 [2022-10-12T02:17:05.706Z] ---> e5c6654047ea [2022-10-12T02:17:05.706Z] Step 13/14 : COPY . . [2022-10-12T02:17:05.706Z] ---> c664d73e388d [2022-10-12T02:17:05.706Z] Step 14/14 : RUN ${MAKE} [2022-10-12T02:17:05.706Z] ---> Running in 51628fb14cf0 [2022-10-12T02:17:05.706Z] noop [2022-10-12T02:17:05.706Z] Removing intermediate container 51628fb14cf0 [2022-10-12T02:17:05.706Z] ---> 10dac107acde [2022-10-12T02:17:05.706Z] Successfully built 10dac107acde [2022-10-12T02:17:05.706Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:17:06.052Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T02:17:06.052Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:17:06.247Z] prd-ubuntu20.04-docker-arm64-4c-16g-7706 does not seem to be running inside a container [2022-10-12T02:17:06.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T02:17:07.563Z] $ docker top b682dab233b34e7a0a2b4fd68992fd598982682f7a553fe9335cd4d34f5f4968 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:17:08.405Z] + go version [2022-10-12T02:17:08.405Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-12T02:17:08.426Z] $ docker stop --time=1 b682dab233b34e7a0a2b4fd68992fd598982682f7a553fe9335cd4d34f5f4968 [2022-10-12T02:17:10.069Z] $ docker rm -f b682dab233b34e7a0a2b4fd68992fd598982682f7a553fe9335cd4d34f5f4968 [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:17:10.582Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T02:17:10.582Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:17:10.758Z] prd-ubuntu20.04-docker-arm64-4c-16g-7706 does not seem to be running inside a container [2022-10-12T02:17:10.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T02:17:12.126Z] $ docker top 29f9a8b909b234a1287ab8a5d7c98844ded4f3fbf63767eb2a97ebd3186a8218 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:17:12.963Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh [2022-10-12T02:17:13.299Z] + make test [2022-10-12T02:17:13.567Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-12T02:17:15.511Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-12T02:19:07.244Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-12T02:19:07.244Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.172s coverage: 28.2% of statements [2022-10-12T02:19:07.244Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-12T02:19:15.458Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.481s coverage: 86.5% of statements [2022-10-12T02:19:15.458Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-12T02:19:15.458Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T02:19:54.356Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T02:19:54.356Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T02:19:54.356Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T02:19:54.379Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T02:19:54.398Z] $ docker stop --time=1 29f9a8b909b234a1287ab8a5d7c98844ded4f3fbf63767eb2a97ebd3186a8218 [2022-10-12T02:19:56.321Z] $ docker rm -f 29f9a8b909b234a1287ab8a5d7c98844ded4f3fbf63767eb2a97ebd3186a8218 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T02:19:57.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T02:19:57.400Z] Warning: overwriting stash ‘coverage-report’ [2022-10-12T02:19:57.952Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T02:19:58.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T02:19:58.866Z] + ls -al . [2022-10-12T02:19:58.866Z] total 232 [2022-10-12T02:19:58.866Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 02:17 . [2022-10-12T02:19:58.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:15 .. [2022-10-12T02:19:58.866Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:15 .git [2022-10-12T02:19:58.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:15 .github [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 12 02:15 .gitignore [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 02:15 .golangci.yml [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 02:15 Attribution.txt [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 02:15 CHANGELOG.md [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 02:15 Dockerfile [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 02:15 GOVERNANCE.md [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 02:15 Jenkinsfile [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 02:15 LICENSE [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 02:15 Makefile [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 02:15 OWNERS.md [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 02:15 README.md [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:12 VERSION [2022-10-12T02:19:58.866Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:15 bin [2022-10-12T02:19:58.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:15 cmd [2022-10-12T02:19:58.866Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 12 02:19 coverage.out [2022-10-12T02:19:58.866Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 02:15 doc [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 02:15 go.mod [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 02:15 go.sum [2022-10-12T02:19:58.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:15 internal [2022-10-12T02:19:58.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:15 snap [2022-10-12T02:19:58.866Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:19:59.250Z] + 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=e62772acba2629e5e85c07c20038cd47759a26e9 --label arch=arm64 --label version=0.0.0 . [2022-10-12T02:20:01.248Z] Sending build context to Docker daemon 14.78MB [2022-10-12T02:20:01.248Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T02:20:01.248Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-12T02:20:01.248Z] ---> 10dac107acde [2022-10-12T02:20:01.248Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-12T02:20:01.248Z] ---> Running in 43786c98614b [2022-10-12T02:20:01.542Z] Removing intermediate container 43786c98614b [2022-10-12T02:20:01.542Z] ---> 9c97fb6fa319 [2022-10-12T02:20:01.542Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T02:20:01.542Z] ---> Running in e0a3b21c7138 [2022-10-12T02:20:03.509Z] Removing intermediate container e0a3b21c7138 [2022-10-12T02:20:03.509Z] ---> 0084cb6baa67 [2022-10-12T02:20:03.509Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T02:20:03.509Z] ---> Running in dd8c65b8b888 [2022-10-12T02:20:03.782Z] Removing intermediate container dd8c65b8b888 [2022-10-12T02:20:03.782Z] ---> 2ace13a6d36a [2022-10-12T02:20:03.782Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T02:20:03.782Z] ---> Running in 52af4d36a7ba [2022-10-12T02:20:04.376Z] Removing intermediate container 52af4d36a7ba [2022-10-12T02:20:04.376Z] ---> 941cbed5e8e8 [2022-10-12T02:20:04.376Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-12T02:20:04.645Z] ---> Running in 9466f924c172 [2022-10-12T02:20:05.230Z] Removing intermediate container 9466f924c172 [2022-10-12T02:20:05.231Z] ---> 5cb9c71a9860 [2022-10-12T02:20:05.231Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T02:20:05.231Z] ---> Running in 8918db83a1ac [2022-10-12T02:20:09.502Z] Removing intermediate container 8918db83a1ac [2022-10-12T02:20:09.502Z] ---> 1b4d7e1f827b [2022-10-12T02:20:09.502Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T02:20:09.502Z] ---> Running in cd0ec534028f [2022-10-12T02:20:11.454Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T02:20:12.430Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T02:20:13.853Z] OK: 221 MiB in 51 packages [2022-10-12T02:20:14.822Z] Removing intermediate container cd0ec534028f [2022-10-12T02:20:14.822Z] ---> 3e1fe572c2a4 [2022-10-12T02:20:14.822Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-12T02:20:14.822Z] ---> Running in 957cff2e81b0 [2022-10-12T02:20:15.091Z] Removing intermediate container 957cff2e81b0 [2022-10-12T02:20:15.091Z] ---> 9d35e99dc1c5 [2022-10-12T02:20:15.091Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-12T02:20:15.679Z] ---> 5810fba92a52 [2022-10-12T02:20:15.679Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T02:20:15.970Z] ---> Running in 7613ecb63496 [2022-10-12T02:20:17.926Z] Removing intermediate container 7613ecb63496 [2022-10-12T02:20:17.926Z] ---> ca3ab8b93fa8 [2022-10-12T02:20:17.926Z] Step 13/27 : COPY . . [2022-10-12T02:20:19.894Z] ---> f11d948bff87 [2022-10-12T02:20:19.895Z] Step 14/27 : RUN ${MAKE} [2022-10-12T02:20:19.895Z] ---> Running in e83b7386c7f1 [2022-10-12T02:20:20.862Z] 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:22:57.577Z] Removing intermediate container e83b7386c7f1 [2022-10-12T02:22:57.577Z] ---> d70391ef3ab5 [2022-10-12T02:22:57.577Z] Step 15/27 : FROM alpine:3.16 [2022-10-12T02:22:57.577Z] 3.16: Pulling from library/alpine [2022-10-12T02:22:57.577Z] 9b18e9b68314: Already exists [2022-10-12T02:22:57.577Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T02:22:57.577Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T02:22:57.577Z] ---> a6215f271958 [2022-10-12T02:22:57.577Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-12T02:22:57.577Z] ---> Running in 255869fe37b1 [2022-10-12T02:22:57.577Z] Removing intermediate container 255869fe37b1 [2022-10-12T02:22:57.577Z] ---> aede596296f3 [2022-10-12T02:22:57.577Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-12T02:22:57.577Z] ---> Running in 6d3bcab31493 [2022-10-12T02:22:57.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T02:22:57.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T02:22:57.577Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-12T02:22:57.577Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T02:22:57.577Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-12T02:22:57.577Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T02:22:57.577Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-12T02:22:57.577Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-12T02:22:57.577Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T02:22:57.577Z] OK: 8 MiB in 20 packages [2022-10-12T02:22:57.577Z] Removing intermediate container 6d3bcab31493 [2022-10-12T02:22:57.577Z] ---> d9bc0ce5d246 [2022-10-12T02:22:57.577Z] Step 18/27 : WORKDIR / [2022-10-12T02:22:57.577Z] ---> Running in fd8a3ee57e99 [2022-10-12T02:22:57.577Z] Removing intermediate container fd8a3ee57e99 [2022-10-12T02:22:57.577Z] ---> f3613af13e43 [2022-10-12T02:22:57.578Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-12T02:22:57.578Z] ---> 16e396aa8f41 [2022-10-12T02:22:57.578Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-12T02:22:57.578Z] ---> bba443cebf79 [2022-10-12T02:22:57.578Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-12T02:22:57.578Z] ---> df50f829a9f9 [2022-10-12T02:22:57.578Z] Step 22/27 : EXPOSE 59984 [2022-10-12T02:22:57.578Z] ---> Running in 7115ce04993d [2022-10-12T02:22:57.578Z] Removing intermediate container 7115ce04993d [2022-10-12T02:22:57.578Z] ---> 499d4cc9f320 [2022-10-12T02:22:57.578Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-12T02:22:57.578Z] ---> Running in b51623243d70 [2022-10-12T02:22:57.578Z] Removing intermediate container b51623243d70 [2022-10-12T02:22:57.578Z] ---> a01a409d3ae3 [2022-10-12T02:22:57.578Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T02:22:57.578Z] ---> Running in bd14cd7a38cf [2022-10-12T02:22:57.578Z] Removing intermediate container bd14cd7a38cf [2022-10-12T02:22:57.578Z] ---> eaf594656192 [2022-10-12T02:22:57.578Z] Step 25/27 : LABEL arch=arm64 [2022-10-12T02:22:57.578Z] ---> Running in 5f7af045a7ec [2022-10-12T02:22:57.578Z] Removing intermediate container 5f7af045a7ec [2022-10-12T02:22:57.578Z] ---> 1bc6d9ea1af0 [2022-10-12T02:22:57.578Z] Step 26/27 : LABEL git_sha=e62772acba2629e5e85c07c20038cd47759a26e9 [2022-10-12T02:22:57.578Z] ---> Running in a7eb35515eae [2022-10-12T02:22:57.578Z] Removing intermediate container a7eb35515eae [2022-10-12T02:22:57.578Z] ---> c4a42f57f5ac [2022-10-12T02:22:57.578Z] Step 27/27 : LABEL version=0.0.0 [2022-10-12T02:22:57.578Z] ---> Running in a4a10e69d6cf [2022-10-12T02:22:57.578Z] Removing intermediate container a4a10e69d6cf [2022-10-12T02:22:57.578Z] ---> 29a6a1794681 [2022-10-12T02:22:57.578Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T02:22:57.578Z] Successfully built 29a6a1794681 [2022-10-12T02:22:57.578Z] 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:22:58.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T02:22:58.001Z] [2022-10-12T02:22:58.002Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:22:58.328Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T02:22:58.328Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-12T02:22:58.328Z] 8998bd30e6a1: Pulling fs layer [2022-10-12T02:22:58.328Z] 04944245beec: Pulling fs layer [2022-10-12T02:22:58.328Z] 699f458cf7ca: Pulling fs layer [2022-10-12T02:22:58.328Z] 765212b225bb: Pulling fs layer [2022-10-12T02:22:58.328Z] f23df028b6ca: Pulling fs layer [2022-10-12T02:22:58.328Z] d65c8cfc05b1: Pulling fs layer [2022-10-12T02:22:58.328Z] 2437ff75d9bd: Pulling fs layer [2022-10-12T02:22:58.328Z] f23df028b6ca: Waiting [2022-10-12T02:22:58.328Z] d65c8cfc05b1: Waiting [2022-10-12T02:22:58.328Z] 2437ff75d9bd: Waiting [2022-10-12T02:22:58.328Z] 765212b225bb: Waiting [2022-10-12T02:22:58.596Z] 04944245beec: Verifying Checksum [2022-10-12T02:22:58.596Z] 04944245beec: Download complete [2022-10-12T02:22:58.596Z] 765212b225bb: Verifying Checksum [2022-10-12T02:22:58.596Z] 765212b225bb: Download complete [2022-10-12T02:22:58.596Z] f23df028b6ca: Download complete [2022-10-12T02:22:58.596Z] d65c8cfc05b1: Verifying Checksum [2022-10-12T02:22:58.596Z] d65c8cfc05b1: Download complete [2022-10-12T02:22:58.866Z] 699f458cf7ca: Verifying Checksum [2022-10-12T02:22:58.866Z] 699f458cf7ca: Download complete [2022-10-12T02:22:59.149Z] 8998bd30e6a1: Verifying Checksum [2022-10-12T02:22:59.150Z] 8998bd30e6a1: Download complete [2022-10-12T02:23:01.742Z] 2437ff75d9bd: Verifying Checksum [2022-10-12T02:23:01.742Z] 2437ff75d9bd: Download complete [2022-10-12T02:23:03.151Z] 8998bd30e6a1: Pull complete [2022-10-12T02:23:03.739Z] 04944245beec: Pull complete [2022-10-12T02:23:05.148Z] 699f458cf7ca: Pull complete [2022-10-12T02:23:05.148Z] 765212b225bb: Pull complete [2022-10-12T02:23:06.119Z] f23df028b6ca: Pull complete [2022-10-12T02:23:06.119Z] d65c8cfc05b1: Pull complete [2022-10-12T02:23:21.102Z] 2437ff75d9bd: Pull complete [2022-10-12T02:23:21.102Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-12T02:23:21.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T02:23:21.102Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:23:21.282Z] prd-ubuntu20.04-docker-arm64-4c-16g-7706 does not seem to be running inside a container [2022-10-12T02:23:21.340Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-12T02:23:24.015Z] $ docker top f7320f3799ad3fd218b8111a54dfdb2a77bb4f61de1b44e52c2cbda90363dc55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:24.512Z] ---> job-cost.sh [2022-10-12T02:23:24.776Z] lf-activate-venv: SKIPPING [2022-10-12T02:23:24.776Z] INFO: No Stack... [2022-10-12T02:23:25.354Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-12T02:23:25.933Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T02:23:26.242Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [2022-10-12T02:23:26.242Z] + cut -d, -f6 [Pipeline] lock [2022-10-12T02:23:26.301Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-6-stack-cost] [2022-10-12T02:23:26.308Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-6-stack-cost] did not exist. Created. [2022-10-12T02:23:26.308Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T02:23:26.630Z] /w/workspace/device-onvif-camera/6@tmp/durable-8fd85ed9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-12T02:23:26.956Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-12T02:23:26.977Z] Warning: overwriting stash ‘stack-cost’ [2022-10-12T02:23:27.029Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T02:23:27.035Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T02:23:27.054Z] $ docker stop --time=1 f7320f3799ad3fd218b8111a54dfdb2a77bb4f61de1b44e52c2cbda90363dc55 [2022-10-12T02:23:28.502Z] $ docker rm -f f7320f3799ad3fd218b8111a54dfdb2a77bb4f61de1b44e52c2cbda90363dc55 [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:23:28.846Z] provisioning config files... [2022-10-12T02:23:28.854Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config4844910041398902128tmp [Pipeline] { [Pipeline] sh [2022-10-12T02:23:29.143Z] + set +x [2022-10-12T02:23:29.143Z] + curl -s https://codecov.io/bash [2022-10-12T02:23:29.143Z] + bash -s -- [2022-10-12T02:23:29.143Z] [2022-10-12T02:23:29.143Z] _____ _ [2022-10-12T02:23:29.143Z] / ____| | | [2022-10-12T02:23:29.143Z] | | ___ __| | ___ ___ _____ __ [2022-10-12T02:23:29.143Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-12T02:23:29.143Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-12T02:23:29.143Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-12T02:23:29.143Z] Bash-1.0.6 [2022-10-12T02:23:29.143Z] [2022-10-12T02:23:29.143Z] [2022-10-12T02:23:29.143Z] ==> git version 2.25.1 found [2022-10-12T02:23:29.143Z] ==> 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:23:29.143Z] Release-Date: 2020-01-08 [2022-10-12T02:23:29.143Z] 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:23:29.143Z] 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:23:29.143Z] ==> Jenkins CI detected. [2022-10-12T02:23:29.143Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-174 [2022-10-12T02:23:29.143Z] project root: . [2022-10-12T02:23:29.143Z] --> token set from env [2022-10-12T02:23:29.143Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-12T02:23:29.143Z] ==> Running gcov in . (disable via -X gcov) [2022-10-12T02:23:29.143Z] ==> Python coveragepy not found [2022-10-12T02:23:29.143Z] ==> Searching for coverage reports in: [2022-10-12T02:23:29.143Z] + . [2022-10-12T02:23:29.143Z] -> Found 1 reports [2022-10-12T02:23:29.143Z] ==> Detecting git/mercurial file structure [2022-10-12T02:23:29.143Z] ==> Reading reports [2022-10-12T02:23:29.143Z] + ./coverage.out bytes=78461 [2022-10-12T02:23:29.143Z] ==> Appending adjustments [2022-10-12T02:23:29.143Z] https://docs.codecov.io/docs/fixing-reports [2022-10-12T02:23:29.404Z] + Found adjustments [2022-10-12T02:23:29.404Z] ==> Gzipping contents [2022-10-12T02:23:29.404Z] 12K /tmp/codecov.nFGgNF.gz [2022-10-12T02:23:29.404Z] ==> Uploading reports [2022-10-12T02:23:29.404Z] url: https://codecov.io [2022-10-12T02:23:29.404Z] query: branch=PR-174&commit=c89c77e8399e9b17d0a11eac6bf4721cddf7804e&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-12T02:23:29.404Z] -> Pinging Codecov [2022-10-12T02:23:29.404Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-174&commit=c89c77e8399e9b17d0a11eac6bf4721cddf7804e&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-12T02:23:29.663Z] -> Uploading to [2022-10-12T02:23:29.663Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-12/F29A59C45E3A92E06B3E522C9905F8EF/c89c77e8399e9b17d0a11eac6bf4721cddf7804e/ed4bfaba-6376-4cab-aa35-12b825cba5ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T022329Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b9cf150a2a9c8bf22b64f6b18881def027e9533bee2756228d2cf2564067fa9f [2022-10-12T02:23:29.663Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T02:23:29.663Z] Dload Upload Total Spent Left Speed [2022-10-12T02:23:29.923Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10779 0 0 100 10779 0 46865 --:--:-- --:--:-- --:--:-- 46865 [2022-10-12T02:23:29.923Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c89c77e8399e9b17d0a11eac6bf4721cddf7804e [Pipeline] } [2022-10-12T02:23:29.930Z] 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:23:30.571Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-174/archives ] [2022-10-12T02:23:30.571Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-12T02:23:30.571Z] total 16 [2022-10-12T02:23:30.571Z] drwxr-xr-x 3 root root 4096 Oct 12 02:13 . [2022-10-12T02:23:30.571Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:13 .. [2022-10-12T02:23:30.571Z] drwxr-xr-x 2 root root 4096 Oct 12 02:13 cost [2022-10-12T02:23:30.571Z] -rw-r--r-- 1 root root 91 Oct 12 02:13 cost.csv [2022-10-12T02:23:30.571Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-12T02:23:30.571Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-12T02:23:30.571Z] total 16 [2022-10-12T02:23:30.571Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 02:13 . [2022-10-12T02:23:30.571Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:13 .. [2022-10-12T02:23:30.571Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 02:13 cost [2022-10-12T02:23:30.571Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 12 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:30.863Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:31.723Z] ---> package-listing.sh [2022-10-12T02:23:31.723Z] ++ facter osfamily [2022-10-12T02:23:31.723Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-12T02:23:31.984Z] + OS_FAMILY=debian [2022-10-12T02:23:31.984Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-174 [2022-10-12T02:23:31.984Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-12T02:23:31.984Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-12T02:23:31.984Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-12T02:23:31.984Z] + PACKAGES=/tmp/packages_start.txt [2022-10-12T02:23:31.984Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-12T02:23:31.984Z] + PACKAGES=/tmp/packages_end.txt [2022-10-12T02:23:31.984Z] + case "${OS_FAMILY}" in [2022-10-12T02:23:31.984Z] + dpkg -l [2022-10-12T02:23:31.984Z] + grep '^ii' [2022-10-12T02:23:31.984Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-12T02:23:31.984Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-12T02:23:31.984Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-12T02:23:31.984Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-12T02:23:31.984Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-174/archives/ [2022-10-12T02:23:31.984Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-174/archives/ [Pipeline] echo [2022-10-12T02:23:31.995Z] 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-174/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:23:32.275Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T02:23:32.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T02:23:32.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T02:23:32.913Z] prd-ubuntu20.04-docker-8c-8g-7703 does not seem to be running inside a container [2022-10-12T02:23:32.938Z] $ 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-174/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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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:23:33.184Z] $ docker top 07d4018b5a2dd2bf983217eda60a38ae248ea4eb99ec25e0cccdd0eaaa74e64a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T02:23:33.522Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-12T02:23:33.804Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-12T02:23:34.089Z] + ls /var/log/sa-host [2022-10-12T02:23:34.089Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T02:23:34.150Z] provisioning config files... [2022-10-12T02:23:34.159Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config12087366074235877892tmp [Pipeline] { [Pipeline] echo [2022-10-12T02:23:34.173Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:34.460Z] ---> create-netrc.sh [Pipeline] } [2022-10-12T02:23:34.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:34.781Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-12T02:23:34.787Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:35.069Z] ---> sudo-logs.sh [2022-10-12T02:23:35.069Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-12T02:23:35.095Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:35.376Z] ---> job-cost.sh [2022-10-12T02:23:35.376Z] lf-activate-venv: SKIPPING [2022-10-12T02:23:35.376Z] DEBUG: total: 0.2199999988079071 [2022-10-12T02:23:35.376Z] INFO: Retrieving Stack Cost... [2022-10-12T02:23:35.635Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T02:23:36.201Z] INFO: Archiving Costs [Pipeline] echo [2022-10-12T02:23:36.212Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T02:23:36.491Z] ---> logs-deploy.sh [2022-10-12T02:23:36.491Z] lf-activate-venv: SKIPPING [2022-10-12T02:23:36.491Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-174/6 [2022-10-12T02:23:36.491Z] INFO: archiving workspace using pattern(s): [2022-10-12T02:23:37.426Z] Archives upload complete. [2022-10-12T02:23:37.426Z] INFO: archiving logs to Nexus