Pull request #180 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 5d7a9db6a708ff5f4775a07ba788f56c414f1565 rather than 560594ef4bd4e076c6088df215d67c9cfb59bdca Obtained Jenkinsfile from 5d7a9db6a708ff5f4775a07ba788f56c414f1565 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-ssh10149728448642692790.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh17176579516674868636.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-180/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-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3731640379302980222.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh11622520742970318728.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-180/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-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1876781310347342031.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-69650 in /w/workspace/undry_device-onvif-camera_PR-180 [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-180 # 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 Merging remotes/origin/main commit 5d7a9db6a708ff5f4775a07ba788f56c414f1565 into PR head commit 560594ef4bd4e076c6088df215d67c9cfb59bdca Merge succeeded, producing d690737cfe4079a8d070e67a59bd598b6129d7d2 Checking out Revision d690737cfe4079a8d070e67a59bd598b6129d7d2 (PR-180) 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/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 560594ef4bd4e076c6088df215d67c9cfb59bdca # 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 5d7a9db6a708ff5f4775a07ba788f56c414f1565 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d690737cfe4079a8d070e67a59bd598b6129d7d2 # timeout=10 Commit message: "Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD" > git rev-list --no-walk 525b448516f7ccbfc29b672512b49cbee4360610 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T02:29:59.850Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T02:29:59.889Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T02:29:59.900Z] ========================================================= [2022-10-25T02:29:59.900Z] EdgeX Global Pipelines Version Info [2022-10-25T02:29:59.900Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T02:30:00.609Z] ------------------- [2022-10-25T02:30:00.609Z] stable info: [2022-10-25T02:30:00.609Z] ------------------- [2022-10-25T02:30:00.609Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T02:30:00.609Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T02:30:00.609Z] Message: update stable to v1.0.243 [2022-10-25T02:30:01.191Z] ------------------- [2022-10-25T02:30:01.191Z] experimental info: [2022-10-25T02:30:01.191Z] ------------------- [2022-10-25T02:30:01.191Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T02:30:01.191Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T02:30:01.191Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T02:30:01.401Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-25T02:30:01.410Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-25T02:30:01.418Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T02:30:01.426Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T02:30:01.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T02:30:01.443Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T02:30:01.451Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T02:30:01.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T02:30:01.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T02:30:01.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T02:30:01.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T02:30:01.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-25T02:30:01.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T02:30:01.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T02:30:01.516Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T02:30:01.524Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T02:30:01.531Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T02:30:01.539Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T02:30:01.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T02:30:01.555Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T02:30:01.563Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-25T02:30:01.572Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-25T02:30:01.590Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T02:30:01.606Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T02:30:01.614Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T02:30:01.622Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T02:30:01.637Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T02:30:01.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo [2022-10-25T02:30:01.655Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo [2022-10-25T02:30:01.663Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo [2022-10-25T02:30:01.671Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d690737cfe4079a8d070e67a59bd598b6129d7d2 [Pipeline] echo [2022-10-25T02:30:01.679Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d690737 [Pipeline] echo [2022-10-25T02:30:01.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T02:30:01.718Z] provisioning config files... [2022-10-25T02:30:01.734Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config5192341404632410848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T02:30:02.034Z] ---> docker-login.sh [2022-10-25T02:30:02.034Z] nexus3.edgexfoundry.org:10001 [2022-10-25T02:30:02.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T02:30:02.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T02:30:02.557Z] Configure a credential helper to remove this warning. See [2022-10-25T02:30:02.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T02:30:02.557Z] [2022-10-25T02:30:02.557Z] Login Succeeded [2022-10-25T02:30:02.557Z] nexus3.edgexfoundry.org:10002 [2022-10-25T02:30:02.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T02:30:02.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T02:30:02.818Z] Configure a credential helper to remove this warning. See [2022-10-25T02:30:02.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T02:30:02.818Z] [2022-10-25T02:30:02.818Z] Login Succeeded [2022-10-25T02:30:02.818Z] nexus3.edgexfoundry.org:10003 [2022-10-25T02:30:02.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T02:30:02.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T02:30:02.818Z] Configure a credential helper to remove this warning. See [2022-10-25T02:30:02.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T02:30:02.818Z] [2022-10-25T02:30:02.818Z] Login Succeeded [2022-10-25T02:30:02.818Z] nexus3.edgexfoundry.org:10004 [2022-10-25T02:30:03.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T02:30:03.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T02:30:03.078Z] Configure a credential helper to remove this warning. See [2022-10-25T02:30:03.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T02:30:03.078Z] [2022-10-25T02:30:03.078Z] Login Succeeded [2022-10-25T02:30:03.078Z] docker.io [2022-10-25T02:30:03.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T02:30:04.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T02:30:04.019Z] Configure a credential helper to remove this warning. See [2022-10-25T02:30:04.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T02:30:04.019Z] [2022-10-25T02:30:04.019Z] Login Succeeded [2022-10-25T02:30:04.019Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T02:30:04.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T02:30:04.402Z] + git rev-list -1 --merges d690737cfe4079a8d070e67a59bd598b6129d7d2~1..d690737cfe4079a8d070e67a59bd598b6129d7d2 [Pipeline] echo [2022-10-25T02:30:04.434Z] -----------> git rev-list -1 --merges d690737cfe4079a8d070e67a59bd598b6129d7d2~1..d690737cfe4079a8d070e67a59bd598b6129d7d2 d690737cfe4079a8d070e67a59bd598b6129d7d2 [2022-10-25T02:30:04.434Z] d690737cfe4079a8d070e67a59bd598b6129d7d2 [false] [Pipeline] sh [2022-10-25T02:30:04.723Z] + git log --format=format:%s -1 d690737cfe4079a8d070e67a59bd598b6129d7d2 [Pipeline] echo [2022-10-25T02:30:04.735Z] ========================================================= [2022-10-25T02:30:04.735Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T02:30:04.735Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T02:30:05.052Z] + git log --format=format:%s -1 d690737cfe4079a8d070e67a59bd598b6129d7d2 [Pipeline] echo [2022-10-25T02:30:05.062Z] [semverPrep] GIT_COMMIT: d690737cfe4079a8d070e67a59bd598b6129d7d2, Commit Message: Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD [Pipeline] echo [2022-10-25T02:30:05.070Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T02:30:05.496Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T02:30:05.496Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T02:30:05.496Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T02:30:05.496Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T02:30:05.496Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T02:30:05.496Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T02:30:05.496Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T02:30:05.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T02:30:05.910Z] [2022-10-25T02:30:05.910Z] 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-25T02:30:06.205Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T02:30:06.206Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T02:30:06.206Z] b85a868b505f: Pulling fs layer [2022-10-25T02:30:06.206Z] e2be974225ed: Pulling fs layer [2022-10-25T02:30:06.206Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T02:30:06.206Z] 988bab9f4d93: Pulling fs layer [2022-10-25T02:30:06.206Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T02:30:06.206Z] eaf3925da568: Pulling fs layer [2022-10-25T02:30:06.206Z] bab4dde63d76: Pulling fs layer [2022-10-25T02:30:06.206Z] bde34c3a00c8: Pulling fs layer [2022-10-25T02:30:06.206Z] b352a97aabf1: Pulling fs layer [2022-10-25T02:30:06.206Z] 4872d77fe225: Pulling fs layer [2022-10-25T02:30:06.206Z] 5851b861e8e6: Pulling fs layer [2022-10-25T02:30:06.206Z] 988bab9f4d93: Waiting [2022-10-25T02:30:06.206Z] bde34c3a00c8: Waiting [2022-10-25T02:30:06.206Z] 1469e6f7b9e6: Waiting [2022-10-25T02:30:06.206Z] eaf3925da568: Waiting [2022-10-25T02:30:06.206Z] b352a97aabf1: Waiting [2022-10-25T02:30:06.206Z] 4872d77fe225: Waiting [2022-10-25T02:30:06.206Z] bab4dde63d76: Waiting [2022-10-25T02:30:06.206Z] 5851b861e8e6: Waiting [2022-10-25T02:30:06.206Z] e2be974225ed: Verifying Checksum [2022-10-25T02:30:06.206Z] e2be974225ed: Download complete [2022-10-25T02:30:06.206Z] 988bab9f4d93: Verifying Checksum [2022-10-25T02:30:06.206Z] 988bab9f4d93: Download complete [2022-10-25T02:30:06.466Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T02:30:06.466Z] 1469e6f7b9e6: Download complete [2022-10-25T02:30:06.466Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T02:30:06.466Z] 339a4e72a1f5: Download complete [2022-10-25T02:30:06.466Z] eaf3925da568: Verifying Checksum [2022-10-25T02:30:06.466Z] eaf3925da568: Download complete [2022-10-25T02:30:06.466Z] bde34c3a00c8: Verifying Checksum [2022-10-25T02:30:06.466Z] bde34c3a00c8: Download complete [2022-10-25T02:30:06.466Z] b352a97aabf1: Verifying Checksum [2022-10-25T02:30:06.466Z] b352a97aabf1: Download complete [2022-10-25T02:30:06.466Z] 4872d77fe225: Verifying Checksum [2022-10-25T02:30:06.466Z] 4872d77fe225: Download complete [2022-10-25T02:30:06.466Z] 5851b861e8e6: Verifying Checksum [2022-10-25T02:30:06.466Z] 5851b861e8e6: Download complete [2022-10-25T02:30:06.466Z] b85a868b505f: Verifying Checksum [2022-10-25T02:30:06.466Z] b85a868b505f: Download complete [2022-10-25T02:30:06.725Z] bab4dde63d76: Verifying Checksum [2022-10-25T02:30:06.725Z] bab4dde63d76: Download complete [2022-10-25T02:30:08.100Z] b85a868b505f: Pull complete [2022-10-25T02:30:08.100Z] e2be974225ed: Pull complete [2022-10-25T02:30:08.667Z] 339a4e72a1f5: Pull complete [2022-10-25T02:30:08.667Z] 988bab9f4d93: Pull complete [2022-10-25T02:30:08.928Z] 1469e6f7b9e6: Pull complete [2022-10-25T02:30:08.928Z] eaf3925da568: Pull complete [2022-10-25T02:30:10.831Z] bab4dde63d76: Pull complete [2022-10-25T02:30:10.831Z] bde34c3a00c8: Pull complete [2022-10-25T02:30:11.091Z] b352a97aabf1: Pull complete [2022-10-25T02:30:11.091Z] 4872d77fe225: Pull complete [2022-10-25T02:30:11.350Z] 5851b861e8e6: Pull complete [2022-10-25T02:30:11.350Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T02:30:11.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T02:30:11.350Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T02:30:11.444Z] prd-ubuntu20.04-docker-8c-8g-69650 does not seem to be running inside a container [2022-10-25T02:30:11.488Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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-devops/py-git-semver:0.1.4 cat [2022-10-25T02:30:14.606Z] $ docker top 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a -eo pid,comm [2022-10-25T02:30:14.672Z] 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-25T02:30:14.672Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T02:30:14.708Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T02:30:14.708Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T02:30:14.819Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T02:30:14.827Z] $ docker exec 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a ssh-agent [2022-10-25T02:30:14.945Z] SSH_AUTH_SOCK=/tmp/ssh-oLCEXkvMWWfv/agent.33 [2022-10-25T02:30:14.945Z] SSH_AGENT_PID=39 [2022-10-25T02:30:14.952Z] Running ssh-add (command line suppressed) [2022-10-25T02:30:15.054Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_15456205742264461800.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_15456205742264461800.key) [2022-10-25T02:30:15.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T02:30:15.360Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T02:30:15.381Z] $ docker exec --env ******** --env ******** 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a ssh-agent -k [2022-10-25T02:30:15.480Z] unset SSH_AUTH_SOCK; [2022-10-25T02:30:15.481Z] unset SSH_AGENT_PID; [2022-10-25T02:30:15.481Z] echo Agent pid 39 killed; [2022-10-25T02:30:15.486Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T02:30:15.510Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T02:30:15.510Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T02:30:15.643Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T02:30:15.650Z] $ docker exec 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a ssh-agent [2022-10-25T02:30:15.766Z] SSH_AUTH_SOCK=/tmp/ssh-srKojsjQJwqU/agent.71 [2022-10-25T02:30:15.766Z] SSH_AGENT_PID=77 [2022-10-25T02:30:15.770Z] Running ssh-add (command line suppressed) [2022-10-25T02:30:15.889Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_14379519043349298070.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_14379519043349298070.key) [2022-10-25T02:30:15.904Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T02:30:16.190Z] + git semver init [2022-10-25T02:30:16.449Z] 2022-10-25 02:30:16,404 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T02:30:16.449Z] 2022-10-25 02:30:16,405 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver [2022-10-25T02:30:16.449Z] 2022-10-25 02:30:16,405 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-180/.semver [2022-10-25T02:30:16.449Z] 2022-10-25 02:30:16,406 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-180/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-180, universal_newlines=False, shell=None, istream=None) [2022-10-25T02:30:17.831Z] 2022-10-25 02:30:17,487 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude [2022-10-25T02:30:17.831Z] 2022-10-25 02:30:17,488 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 with force:False [2022-10-25T02:30:17.831Z] 2022-10-25 02:30:17,488 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 [2022-10-25T02:30:17.831Z] 2022-10-25 02:30:17,493 [execute] INFO git cat-file --batch-check [2022-10-25T02:30:17.831Z] 2022-10-25 02:30:17,493 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T02:30:17.831Z] 2022-10-25 02:30:17,500 [execute] INFO git cat-file --batch [2022-10-25T02:30:17.831Z] 2022-10-25 02:30:17,501 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T02:30:17.831Z] 2022-10-25 02:30:17,507 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 [2022-10-25T02:30:17.831Z] 0.0.0 [Pipeline] } [2022-10-25T02:30:17.845Z] $ docker exec --env ******** --env ******** 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a ssh-agent -k [2022-10-25T02:30:17.946Z] unset SSH_AUTH_SOCK; [2022-10-25T02:30:17.946Z] unset SSH_AGENT_PID; [2022-10-25T02:30:17.947Z] echo Agent pid 77 killed; [2022-10-25T02:30:17.953Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T02:30:18.257Z] + git semver [Pipeline] } [2022-10-25T02:30:18.536Z] $ docker stop --time=1 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a [2022-10-25T02:30:19.875Z] $ docker rm -f 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T02:30:20.212Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T02:30:20.394Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T02:30:20.397Z] [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-25T02:30:20.530Z] provisioning config files... [2022-10-25T02:30:20.540Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config7718720057032767012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T02:30:20.838Z] ---> docker-login.sh [2022-10-25T02:30:20.838Z] nexus3.edgexfoundry.org:10001 [2022-10-25T02:30:20.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T02:30:20.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T02:30:20.838Z] Configure a credential helper to remove this warning. See [2022-10-25T02:30:20.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T02:30:20.838Z] [2022-10-25T02:30:20.838Z] Login Succeeded [2022-10-25T02:30:20.838Z] nexus3.edgexfoundry.org:10002 [2022-10-25T02:30:20.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T02:30:20.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T02:30:20.838Z] Configure a credential helper to remove this warning. See [2022-10-25T02:30:20.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T02:30:20.838Z] [2022-10-25T02:30:20.838Z] Login Succeeded [2022-10-25T02:30:20.838Z] nexus3.edgexfoundry.org:10003 [2022-10-25T02:30:21.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T02:30:21.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T02:30:21.097Z] Configure a credential helper to remove this warning. See [2022-10-25T02:30:21.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T02:30:21.097Z] [2022-10-25T02:30:21.097Z] Login Succeeded [2022-10-25T02:30:21.097Z] nexus3.edgexfoundry.org:10004 [2022-10-25T02:30:21.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T02:30:21.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T02:30:21.097Z] Configure a credential helper to remove this warning. See [2022-10-25T02:30:21.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T02:30:21.097Z] [2022-10-25T02:30:21.097Z] Login Succeeded [2022-10-25T02:30:21.097Z] docker.io [2022-10-25T02:30:21.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T02:30:21.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T02:30:21.614Z] Configure a credential helper to remove this warning. See [2022-10-25T02:30:21.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T02:30:21.614Z] [2022-10-25T02:30:21.614Z] Login Succeeded [2022-10-25T02:30:21.614Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T02:30:21.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T02:30:21.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T02:30:21.687Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T02:30:21.693Z] ========================================================= [2022-10-25T02:30:21.693Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T02:30:21.693Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T02:30:22.028Z] + 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-25T02:30:22.028Z] Sending build context to Docker daemon 27.16MB [2022-10-25T02:30:22.028Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T02:30:22.028Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-25T02:30:22.291Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T02:30:22.291Z] 213ec9aee27d: Pulling fs layer [2022-10-25T02:30:22.291Z] 4583459ba037: Pulling fs layer [2022-10-25T02:30:22.291Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T02:30:22.291Z] 53926ce57604: Pulling fs layer [2022-10-25T02:30:22.291Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T02:30:22.291Z] 30f14e443154: Pulling fs layer [2022-10-25T02:30:22.291Z] 801331c1e519: Pulling fs layer [2022-10-25T02:30:22.291Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T02:30:22.291Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T02:30:22.291Z] 801331c1e519: Waiting [2022-10-25T02:30:22.291Z] 30f14e443154: Waiting [2022-10-25T02:30:22.291Z] 53926ce57604: Waiting [2022-10-25T02:30:22.291Z] 99cc6dd402b0: Waiting [2022-10-25T02:30:22.291Z] 7d9ed39f4882: Waiting [2022-10-25T02:30:22.291Z] 21b2b0c7a3f4: Waiting [2022-10-25T02:30:22.291Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T02:30:22.291Z] 93c1e223e6f2: Download complete [2022-10-25T02:30:22.291Z] 4583459ba037: Download complete [2022-10-25T02:30:22.291Z] 21b2b0c7a3f4: Download complete [2022-10-25T02:30:22.291Z] 30f14e443154: Verifying Checksum [2022-10-25T02:30:22.291Z] 30f14e443154: Download complete [2022-10-25T02:30:22.291Z] 213ec9aee27d: Verifying Checksum [2022-10-25T02:30:22.291Z] 801331c1e519: Verifying Checksum [2022-10-25T02:30:22.291Z] 801331c1e519: Download complete [2022-10-25T02:30:22.558Z] 213ec9aee27d: Pull complete [2022-10-25T02:30:22.558Z] 4583459ba037: Pull complete [2022-10-25T02:30:22.829Z] 93c1e223e6f2: Pull complete [2022-10-25T02:30:22.829Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T02:30:22.829Z] 7d9ed39f4882: Download complete [2022-10-25T02:30:23.091Z] 53926ce57604: Verifying Checksum [2022-10-25T02:30:23.091Z] 53926ce57604: Download complete [2022-10-25T02:30:23.091Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T02:30:23.091Z] 99cc6dd402b0: Download complete [2022-10-25T02:30:27.280Z] 53926ce57604: Pull complete [2022-10-25T02:30:27.280Z] 21b2b0c7a3f4: Pull complete [2022-10-25T02:30:27.280Z] 30f14e443154: Pull complete [2022-10-25T02:30:27.280Z] 801331c1e519: Pull complete [2022-10-25T02:30:29.812Z] 99cc6dd402b0: Pull complete [2022-10-25T02:30:30.071Z] 7d9ed39f4882: Pull complete [2022-10-25T02:30:30.329Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T02:30:30.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T02:30:30.329Z] ---> 1dedd983c030 [2022-10-25T02:30:30.329Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-25T02:30:35.502Z] Still waiting to schedule task [2022-10-25T02:30:35.502Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-69672’ is offline [2022-10-25T02:30:36.903Z] ---> Running in 94ff9593f3e0 [2022-10-25T02:30:36.903Z] Removing intermediate container 94ff9593f3e0 [2022-10-25T02:30:36.903Z] ---> f77c6e4dd1db [2022-10-25T02:30:36.903Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T02:30:36.903Z] ---> Running in ba855a90b8ea [2022-10-25T02:30:36.903Z] Removing intermediate container ba855a90b8ea [2022-10-25T02:30:36.903Z] ---> b759fd5b1e08 [2022-10-25T02:30:36.903Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T02:30:36.903Z] ---> Running in ae3fdc1c5165 [2022-10-25T02:30:36.903Z] Removing intermediate container ae3fdc1c5165 [2022-10-25T02:30:36.903Z] ---> d15f7c3ddf50 [2022-10-25T02:30:36.903Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T02:30:36.903Z] ---> Running in c067f5d1fb7b [2022-10-25T02:30:36.903Z] Removing intermediate container c067f5d1fb7b [2022-10-25T02:30:36.903Z] ---> fda587f56fb3 [2022-10-25T02:30:36.903Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-25T02:30:36.903Z] ---> Running in 44b66c899dbf [2022-10-25T02:30:36.903Z] Removing intermediate container 44b66c899dbf [2022-10-25T02:30:36.903Z] ---> 8e856d162502 [2022-10-25T02:30:36.903Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T02:30:36.903Z] ---> Running in e833df779b4a [2022-10-25T02:30:37.470Z] Removing intermediate container e833df779b4a [2022-10-25T02:30:37.470Z] ---> b7214afbeb40 [2022-10-25T02:30:37.470Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T02:30:37.470Z] ---> Running in 46c694458137 [2022-10-25T02:30:37.728Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T02:30:38.666Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T02:30:38.924Z] OK: 211 MiB in 51 packages [2022-10-25T02:30:39.192Z] Removing intermediate container 46c694458137 [2022-10-25T02:30:39.192Z] ---> 176f69b7eb7d [2022-10-25T02:30:39.192Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-25T02:30:39.451Z] ---> Running in 5e3f1fd83eda [2022-10-25T02:30:39.451Z] Removing intermediate container 5e3f1fd83eda [2022-10-25T02:30:39.451Z] ---> 29bfa628921c [2022-10-25T02:30:39.451Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-25T02:30:39.451Z] ---> 96c48e35600d [2022-10-25T02:30:39.451Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T02:30:39.709Z] ---> Running in ba9a1a994457 [2022-10-25T02:31:11.798Z] Removing intermediate container ba9a1a994457 [2022-10-25T02:31:11.798Z] ---> 8037b5e7a5fc [2022-10-25T02:31:11.798Z] Step 13/14 : COPY . . [2022-10-25T02:31:11.798Z] ---> 1b7e504bf8c9 [2022-10-25T02:31:11.798Z] Step 14/14 : RUN ${MAKE} [2022-10-25T02:31:11.798Z] ---> Running in 20f8c992a946 [2022-10-25T02:31:11.798Z] noop [2022-10-25T02:31:11.798Z] Removing intermediate container 20f8c992a946 [2022-10-25T02:31:11.798Z] ---> 7b4208f70d1e [2022-10-25T02:31:11.798Z] Successfully built 7b4208f70d1e [2022-10-25T02:31:11.798Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T02:31:12.123Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T02:31:12.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T02:31:12.189Z] prd-ubuntu20.04-docker-8c-8g-69650 does not seem to be running inside a container [2022-10-25T02:31:12.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T02:31:12.600Z] $ docker top 86ebf6c17e7ea2230a69913dd72c5c73a2989f464421de821f2945e8cb4e8fb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T02:31:12.930Z] + go version [2022-10-25T02:31:12.930Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T02:31:12.941Z] $ docker stop --time=1 86ebf6c17e7ea2230a69913dd72c5c73a2989f464421de821f2945e8cb4e8fb4 [2022-10-25T02:31:14.267Z] $ docker rm -f 86ebf6c17e7ea2230a69913dd72c5c73a2989f464421de821f2945e8cb4e8fb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T02:31:14.657Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T02:31:14.657Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T02:31:14.716Z] prd-ubuntu20.04-docker-8c-8g-69650 does not seem to be running inside a container [2022-10-25T02:31:14.746Z] $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T02:31:15.069Z] $ docker top 9f53e90768848b34e0bf1fcd2b2c281d7668ca4bb76119d0b891eb47141d2d81 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T02:31:15.401Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh [2022-10-25T02:31:15.692Z] + make test [2022-10-25T02:31:15.692Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T02:31:15.948Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-25T02:31:28.140Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-25T02:31:28.140Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements [2022-10-25T02:31:28.140Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-25T02:31:28.140Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.408s coverage: 86.5% of statements [2022-10-25T02:31:36.240Z] 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-25T02:31:36.240Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T02:31:38.766Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T02:31:38.766Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T02:31:38.766Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T02:31:38.776Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T02:31:38.788Z] $ docker stop --time=1 9f53e90768848b34e0bf1fcd2b2c281d7668ca4bb76119d0b891eb47141d2d81 [2022-10-25T02:31:42.219Z] $ docker rm -f 9f53e90768848b34e0bf1fcd2b2c281d7668ca4bb76119d0b891eb47141d2d81 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T02:31:42.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T02:31:42.726Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T02:31:43.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T02:31:43.687Z] + ls -al . [2022-10-25T02:31:43.687Z] total 244 [2022-10-25T02:31:43.687Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 02:31 . [2022-10-25T02:31:43.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 02:29 .. [2022-10-25T02:31:43.687Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 02:31 .git [2022-10-25T02:31:43.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:29 .github [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 02:29 .gitignore [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 02:29 .golangci.yml [2022-10-25T02:31:43.687Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 02:30 .semver [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 02:29 Attribution.txt [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 02:29 CHANGELOG.md [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 02:29 Dockerfile [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 02:29 GOVERNANCE.md [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 02:29 Jenkinsfile [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 02:29 LICENSE [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 02:29 Makefile [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 02:29 OWNERS.md [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 02:29 README.md [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 02:30 VERSION [2022-10-25T02:31:43.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 02:29 bin [2022-10-25T02:31:43.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:29 cmd [2022-10-25T02:31:43.687Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 02:31 coverage.out [2022-10-25T02:31:43.687Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 02:29 doc [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 02:29 go.mod [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 02:29 go.sum [2022-10-25T02:31:43.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 02:29 internal [2022-10-25T02:31:43.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 02:29 snap [2022-10-25T02:31:43.687Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 02:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T02:31:44.002Z] + 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=d690737cfe4079a8d070e67a59bd598b6129d7d2 --label arch=amd64 --label version=0.0.0 . [2022-10-25T02:31:44.002Z] Sending build context to Docker daemon 27.24MB [2022-10-25T02:31:44.002Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T02:31:44.002Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-25T02:31:44.002Z] ---> 7b4208f70d1e [2022-10-25T02:31:44.002Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-25T02:31:44.570Z] ---> Running in 679ba9695542 [2022-10-25T02:31:44.828Z] Removing intermediate container 679ba9695542 [2022-10-25T02:31:44.828Z] ---> a6848990f7f6 [2022-10-25T02:31:44.828Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T02:31:44.828Z] ---> Running in 3808ef6d8e9f [2022-10-25T02:31:44.828Z] Removing intermediate container 3808ef6d8e9f [2022-10-25T02:31:44.828Z] ---> f0e32b68dca5 [2022-10-25T02:31:44.828Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T02:31:44.828Z] ---> Running in 7a05c69b5e0b [2022-10-25T02:31:45.087Z] Removing intermediate container 7a05c69b5e0b [2022-10-25T02:31:45.087Z] ---> ffa7068783f8 [2022-10-25T02:31:45.087Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T02:31:45.087Z] ---> Running in cc557dc0a359 [2022-10-25T02:31:45.087Z] Removing intermediate container cc557dc0a359 [2022-10-25T02:31:45.087Z] ---> 2a263a3332c4 [2022-10-25T02:31:45.087Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-25T02:31:45.087Z] ---> Running in e31ef80b091c [2022-10-25T02:31:45.360Z] Removing intermediate container e31ef80b091c [2022-10-25T02:31:45.360Z] ---> ded7e1014425 [2022-10-25T02:31:45.360Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T02:31:45.360Z] ---> Running in b97ea2cf5d41 [2022-10-25T02:31:45.926Z] Removing intermediate container b97ea2cf5d41 [2022-10-25T02:31:45.926Z] ---> 30d2ad99620d [2022-10-25T02:31:45.926Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T02:31:45.926Z] ---> Running in 0177648c2942 [2022-10-25T02:31:46.185Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T02:31:47.122Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T02:31:47.382Z] OK: 211 MiB in 51 packages [2022-10-25T02:31:48.317Z] Removing intermediate container 0177648c2942 [2022-10-25T02:31:48.317Z] ---> d4c83e1f8afc [2022-10-25T02:31:48.317Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-25T02:31:48.885Z] ---> Running in 75216a116041 [2022-10-25T02:31:49.144Z] Removing intermediate container 75216a116041 [2022-10-25T02:31:49.144Z] ---> 7d3b8ec8532e [2022-10-25T02:31:49.144Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-25T02:31:49.711Z] ---> 8f4a7d7c43bd [2022-10-25T02:31:49.711Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T02:31:49.970Z] ---> Running in 40ed7d231b7a [2022-10-25T02:31:51.869Z] Removing intermediate container 40ed7d231b7a [2022-10-25T02:31:51.869Z] ---> a88c9456e202 [2022-10-25T02:31:51.869Z] Step 13/27 : COPY . . [2022-10-25T02:31:53.258Z] ---> 8bbd72924cce [2022-10-25T02:31:53.258Z] Step 14/27 : RUN ${MAKE} [2022-10-25T02:31:53.515Z] ---> Running in a5e6cd1c7e62 [2022-10-25T02:31:54.082Z] 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-25T02:32:20.636Z] Removing intermediate container a5e6cd1c7e62 [2022-10-25T02:32:20.636Z] ---> 61e38aa7f6bd [2022-10-25T02:32:20.636Z] Step 15/27 : FROM alpine:3.16 [2022-10-25T02:32:20.636Z] 3.16: Pulling from library/alpine [2022-10-25T02:32:20.636Z] 213ec9aee27d: Already exists [2022-10-25T02:32:20.636Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T02:32:20.636Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T02:32:20.636Z] ---> 9c6f07244728 [2022-10-25T02:32:20.636Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T02:32:20.636Z] ---> Running in 34db735f6d04 [2022-10-25T02:32:20.636Z] Removing intermediate container 34db735f6d04 [2022-10-25T02:32:20.636Z] ---> 4817d4ad0c26 [2022-10-25T02:32:20.636Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T02:32:20.636Z] ---> Running in c3eb7b6e8d46 [2022-10-25T02:32:20.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T02:32:20.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T02:32:20.636Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T02:32:20.636Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T02:32:20.636Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T02:32:20.636Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T02:32:20.636Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T02:32:20.636Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T02:32:20.636Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T02:32:20.636Z] OK: 8 MiB in 20 packages [2022-10-25T02:32:20.636Z] Removing intermediate container c3eb7b6e8d46 [2022-10-25T02:32:20.636Z] ---> e1de8c1bbaad [2022-10-25T02:32:20.636Z] Step 18/27 : WORKDIR / [2022-10-25T02:32:20.636Z] ---> Running in fa96230e3c58 [2022-10-25T02:32:20.636Z] Removing intermediate container fa96230e3c58 [2022-10-25T02:32:20.636Z] ---> 80463d11bfaf [2022-10-25T02:32:20.636Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-25T02:32:20.894Z] ---> acaa807f5267 [2022-10-25T02:32:20.894Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-25T02:32:20.894Z] ---> 80987d4132af [2022-10-25T02:32:20.894Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-25T02:32:21.153Z] ---> 800777ea3b9f [2022-10-25T02:32:21.153Z] Step 22/27 : EXPOSE 59984 [2022-10-25T02:32:21.153Z] ---> Running in 67bf3e480b48 [2022-10-25T02:32:21.153Z] Removing intermediate container 67bf3e480b48 [2022-10-25T02:32:21.153Z] ---> 19f63df2c641 [2022-10-25T02:32:21.153Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-25T02:32:21.412Z] ---> Running in 5d44bb8c31d2 [2022-10-25T02:32:21.412Z] Removing intermediate container 5d44bb8c31d2 [2022-10-25T02:32:21.412Z] ---> bcfc52fab1c6 [2022-10-25T02:32:21.412Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T02:32:21.412Z] ---> Running in 09c706b7cbdd [2022-10-25T02:32:21.670Z] Removing intermediate container 09c706b7cbdd [2022-10-25T02:32:21.670Z] ---> fc40f4c832b6 [2022-10-25T02:32:21.670Z] Step 25/27 : LABEL arch=amd64 [2022-10-25T02:32:21.670Z] ---> Running in 2f0f4cdc618d [2022-10-25T02:32:21.670Z] Removing intermediate container 2f0f4cdc618d [2022-10-25T02:32:21.670Z] ---> 81fc54981640 [2022-10-25T02:32:21.670Z] Step 26/27 : LABEL git_sha=d690737cfe4079a8d070e67a59bd598b6129d7d2 [2022-10-25T02:32:21.670Z] ---> Running in 4a5154eba17a [2022-10-25T02:32:21.928Z] Removing intermediate container 4a5154eba17a [2022-10-25T02:32:21.928Z] ---> 5dd4ff679548 [2022-10-25T02:32:21.928Z] Step 27/27 : LABEL version=0.0.0 [2022-10-25T02:32:21.928Z] ---> Running in e1a2d78e9113 [2022-10-25T02:32:21.928Z] Removing intermediate container e1a2d78e9113 [2022-10-25T02:32:21.928Z] ---> 9eedce598edf [2022-10-25T02:32:21.928Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T02:32:21.928Z] Successfully built 9eedce598edf [2022-10-25T02:32:21.928Z] 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-25T02:32:22.365Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T02:32:22.365Z] [2022-10-25T02:32:22.365Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T02:32:22.670Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T02:32:22.670Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T02:32:22.670Z] 5eb5b503b376: Pulling fs layer [2022-10-25T02:32:22.670Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T02:32:22.670Z] ec43610c2a17: Pulling fs layer [2022-10-25T02:32:22.670Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T02:32:22.670Z] 33b1e0a273af: Pulling fs layer [2022-10-25T02:32:22.670Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T02:32:22.670Z] 2f39f015ded8: Pulling fs layer [2022-10-25T02:32:22.670Z] 3a2ae6a8a46f: Waiting [2022-10-25T02:32:22.670Z] 33b1e0a273af: Waiting [2022-10-25T02:32:22.670Z] 5d3b04190fa2: Waiting [2022-10-25T02:32:22.670Z] 2f39f015ded8: Waiting [2022-10-25T02:32:22.670Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T02:32:22.670Z] 5c69ac0246d0: Download complete [2022-10-25T02:32:22.670Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T02:32:22.670Z] 3a2ae6a8a46f: Download complete [2022-10-25T02:32:22.928Z] 33b1e0a273af: Verifying Checksum [2022-10-25T02:32:22.928Z] 33b1e0a273af: Download complete [2022-10-25T02:32:22.928Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T02:32:22.928Z] 5d3b04190fa2: Download complete [2022-10-25T02:32:22.928Z] ec43610c2a17: Verifying Checksum [2022-10-25T02:32:22.928Z] ec43610c2a17: Download complete [2022-10-25T02:32:22.928Z] 5eb5b503b376: Verifying Checksum [2022-10-25T02:32:22.928Z] 5eb5b503b376: Download complete [2022-10-25T02:32:23.494Z] 2f39f015ded8: Download complete [2022-10-25T02:32:24.429Z] 5eb5b503b376: Pull complete [2022-10-25T02:32:24.429Z] 5c69ac0246d0: Pull complete [2022-10-25T02:32:24.688Z] ec43610c2a17: Pull complete [2022-10-25T02:32:24.948Z] 3a2ae6a8a46f: Pull complete [2022-10-25T02:32:25.207Z] 33b1e0a273af: Pull complete [2022-10-25T02:32:25.207Z] 5d3b04190fa2: Pull complete [2022-10-25T02:32:29.393Z] 2f39f015ded8: Pull complete [2022-10-25T02:32:29.393Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T02:32:29.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T02:32:29.393Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T02:32:29.458Z] prd-ubuntu20.04-docker-8c-8g-69650 does not seem to be running inside a container [2022-10-25T02:32:29.482Z] $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T02:32:34.463Z] $ docker top 04a4ce57c73d616f1374ef1e55d84ea84bba67cc6116448f4a9f5981ec346bb0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T02:32:34.889Z] ---> job-cost.sh [2022-10-25T02:32:34.889Z] lf-activate-venv: SKIPPING [2022-10-25T02:32:34.889Z] INFO: No Stack... [2022-10-25T02:32:35.148Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T02:32:35.716Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T02:32:36.006Z] + cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv [2022-10-25T02:32:36.006Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T02:32:36.018Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] [2022-10-25T02:32:36.025Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] did not exist. Created. [2022-10-25T02:32:36.025Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T02:32:36.338Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T02:32:36.369Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T02:32:36.375Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T02:32:36.391Z] $ docker stop --time=1 04a4ce57c73d616f1374ef1e55d84ea84bba67cc6116448f4a9f5981ec346bb0 [2022-10-25T02:32:37.665Z] $ docker rm -f 04a4ce57c73d616f1374ef1e55d84ea84bba67cc6116448f4a9f5981ec346bb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T04:50:54.824Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-84551 in /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] { [Pipeline] ws [2022-10-25T04:50:54.847Z] Running in /w/workspace/device-onvif-camera/10 [Pipeline] { [Pipeline] checkout [2022-10-25T04:50:54.879Z] The recommended git tool is: git [2022-10-25T04:50:59.683Z] using credential edgex-jenkins-ssh [2022-10-25T04:50:59.701Z] Cloning the remote Git repository [2022-10-25T04:50:59.737Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T04:50:59.805Z] > git init /w/workspace/device-onvif-camera/10 # timeout=10 [2022-10-25T04:50:59.962Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T04:50:59.963Z] > git --version # timeout=10 [2022-10-25T04:50:59.987Z] > git --version # 'git version 2.25.1' [2022-10-25T04:50:59.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T04:51:00.040Z] Verifying host key using known hosts file [2022-10-25T04:51:00.233Z] 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-25T04:51:00.245Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T04:51:01.623Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-25T04:51:01.643Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T04:51:02.539Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-25T04:51:02.581Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T04:51:02.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T04:51:02.587Z] Verifying host key using known hosts file [2022-10-25T04:51:02.594Z] 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-25T04:51:02.605Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T04:51:04.445Z] Merging remotes/origin/main commit 5d7a9db6a708ff5f4775a07ba788f56c414f1565 into PR head commit 560594ef4bd4e076c6088df215d67c9cfb59bdca [2022-10-25T04:51:04.458Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T04:51:04.480Z] > git checkout -f 560594ef4bd4e076c6088df215d67c9cfb59bdca # timeout=10 [2022-10-25T04:51:04.775Z] > git remote # timeout=10 [2022-10-25T04:51:04.794Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T04:51:04.810Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T04:51:04.815Z] Verifying host key using known hosts file [2022-10-25T04:51:04.821Z] 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-25T04:51:04.835Z] > git merge 5d7a9db6a708ff5f4775a07ba788f56c414f1565 # timeout=10 [2022-10-25T04:51:05.367Z] Merge succeeded, producing 82450a2d5032a949362903be53b5038406ebabdb [2022-10-25T04:51:05.367Z] Checking out Revision 82450a2d5032a949362903be53b5038406ebabdb (PR-180) [2022-10-25T04:51:05.338Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T04:51:05.370Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T04:51:05.391Z] > git checkout -f 82450a2d5032a949362903be53b5038406ebabdb # timeout=10 [2022-10-25T04:51:08.874Z] Commit message: "Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD" [2022-10-25T04:51:08.878Z] > git rev-list --no-walk 525b448516f7ccbfc29b672512b49cbee4360610 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T04:51:09.758Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T04:51:09.758Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T04:51:09.758Z] Dload Upload Total Spent Left Speed [2022-10-25T04:51:09.758Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 105k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh [2022-10-25T04:51:10.518Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T04:51:10.843Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-10-25T04:51:10.843Z] sudo tee /etc/docker/daemon.new [2022-10-25T04:51:10.843Z] { [2022-10-25T04:51:10.843Z] "registry-mirrors": [ [2022-10-25T04:51:10.843Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T04:51:10.843Z] ], [2022-10-25T04:51:10.843Z] "bip": "10.250.0.254/24", [2022-10-25T04:51:10.843Z] "hosts": [ [2022-10-25T04:51:10.843Z] "tcp://0.0.0.0:5555", [2022-10-25T04:51:10.843Z] "unix:///var/run/docker.sock" [2022-10-25T04:51:10.843Z] ], [2022-10-25T04:51:10.843Z] "mtu": 1458, [2022-10-25T04:51:10.843Z] "selinux-enabled": true, [2022-10-25T04:51:10.843Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T04:51:10.843Z] } [Pipeline] sh [2022-10-25T04:51:11.169Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T04:51:11.497Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T04:51:29.749Z] provisioning config files... [2022-10-25T04:51:29.769Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/10@tmp/config10948238937797900018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:51:30.105Z] ---> docker-login.sh [2022-10-25T04:51:30.105Z] nexus3.edgexfoundry.org:10001 [2022-10-25T04:51:30.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:51:30.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:51:30.645Z] Configure a credential helper to remove this warning. See [2022-10-25T04:51:30.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:51:30.645Z] [2022-10-25T04:51:30.645Z] Login Succeeded [2022-10-25T04:51:30.645Z] nexus3.edgexfoundry.org:10002 [2022-10-25T04:51:30.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:51:30.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:51:30.911Z] Configure a credential helper to remove this warning. See [2022-10-25T04:51:30.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:51:30.911Z] [2022-10-25T04:51:30.911Z] Login Succeeded [2022-10-25T04:51:30.911Z] nexus3.edgexfoundry.org:10003 [2022-10-25T04:51:31.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:51:31.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:51:31.451Z] Configure a credential helper to remove this warning. See [2022-10-25T04:51:31.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:51:31.451Z] [2022-10-25T04:51:31.451Z] Login Succeeded [2022-10-25T04:51:31.451Z] nexus3.edgexfoundry.org:10004 [2022-10-25T04:51:31.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:51:31.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:51:31.719Z] Configure a credential helper to remove this warning. See [2022-10-25T04:51:31.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:51:31.719Z] [2022-10-25T04:51:31.719Z] Login Succeeded [2022-10-25T04:51:31.719Z] docker.io [2022-10-25T04:51:31.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:51:32.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:51:32.257Z] Configure a credential helper to remove this warning. See [2022-10-25T04:51:32.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:51:32.257Z] [2022-10-25T04:51:32.257Z] Login Succeeded [2022-10-25T04:51:32.257Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T04:51:32.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T04:51:32.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T04:51:32.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T04:51:32.428Z] ========================================================= [2022-10-25T04:51:32.428Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T04:51:32.428Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:51:32.766Z] + 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-25T04:51:33.358Z] Sending build context to Docker daemon 20.47MB [2022-10-25T04:51:33.358Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T04:51:33.358Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-25T04:51:33.358Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T04:51:33.358Z] 9b18e9b68314: Pulling fs layer [2022-10-25T04:51:33.358Z] d32db5db7311: Pulling fs layer [2022-10-25T04:51:33.358Z] d0c4b47475fc: Pulling fs layer [2022-10-25T04:51:33.628Z] 5831b945b038: Pulling fs layer [2022-10-25T04:51:33.628Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T04:51:33.628Z] e10730c5d714: Pulling fs layer [2022-10-25T04:51:33.628Z] 5dd5c2283517: Pulling fs layer [2022-10-25T04:51:33.628Z] d5ac0230b979: Pulling fs layer [2022-10-25T04:51:33.628Z] 5831b945b038: Waiting [2022-10-25T04:51:33.628Z] e10730c5d714: Waiting [2022-10-25T04:51:33.628Z] 86bbec2aaacd: Waiting [2022-10-25T04:51:33.628Z] d5ac0230b979: Waiting [2022-10-25T04:51:33.628Z] d0c4b47475fc: Download complete [2022-10-25T04:51:33.628Z] d32db5db7311: Download complete [2022-10-25T04:51:33.628Z] 86bbec2aaacd: Verifying Checksum [2022-10-25T04:51:33.628Z] 86bbec2aaacd: Download complete [2022-10-25T04:51:33.628Z] e10730c5d714: Verifying Checksum [2022-10-25T04:51:33.628Z] e10730c5d714: Download complete [2022-10-25T04:51:33.628Z] 9b18e9b68314: Verifying Checksum [2022-10-25T04:51:34.627Z] 9b18e9b68314: Pull complete [2022-10-25T04:51:34.627Z] d5ac0230b979: Verifying Checksum [2022-10-25T04:51:34.627Z] d5ac0230b979: Download complete [2022-10-25T04:51:35.219Z] d32db5db7311: Pull complete [2022-10-25T04:51:35.219Z] d0c4b47475fc: Pull complete [2022-10-25T04:51:35.810Z] 5dd5c2283517: Verifying Checksum [2022-10-25T04:51:35.810Z] 5dd5c2283517: Download complete [2022-10-25T04:51:36.768Z] 5831b945b038: Verifying Checksum [2022-10-25T04:51:36.768Z] 5831b945b038: Download complete [2022-10-25T04:51:49.090Z] 5831b945b038: Pull complete [2022-10-25T04:51:49.090Z] 86bbec2aaacd: Pull complete [2022-10-25T04:51:49.090Z] e10730c5d714: Pull complete [2022-10-25T04:51:55.755Z] 5dd5c2283517: Pull complete [2022-10-25T04:51:57.167Z] d5ac0230b979: Pull complete [2022-10-25T04:51:57.167Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T04:51:57.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T04:51:57.167Z] ---> 59b3b1a385d4 [2022-10-25T04:51:57.167Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-25T04:51:58.578Z] ---> Running in 495da315b590 [2022-10-25T04:51:58.845Z] Removing intermediate container 495da315b590 [2022-10-25T04:51:58.845Z] ---> 5272463deeef [2022-10-25T04:51:58.845Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T04:51:59.114Z] ---> Running in 381ceca3bdcc [2022-10-25T04:51:59.381Z] Removing intermediate container 381ceca3bdcc [2022-10-25T04:51:59.381Z] ---> 2fad91fce470 [2022-10-25T04:51:59.381Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T04:51:59.381Z] ---> Running in 459218c69534 [2022-10-25T04:51:59.660Z] Removing intermediate container 459218c69534 [2022-10-25T04:51:59.660Z] ---> 62404d287a6e [2022-10-25T04:51:59.660Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T04:51:59.660Z] ---> Running in 4eb0905f1a63 [2022-10-25T04:51:59.938Z] Removing intermediate container 4eb0905f1a63 [2022-10-25T04:51:59.938Z] ---> 78d3ca75c92d [2022-10-25T04:51:59.938Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-25T04:52:00.205Z] ---> Running in 0ea1313462d2 [2022-10-25T04:52:00.474Z] Removing intermediate container 0ea1313462d2 [2022-10-25T04:52:00.474Z] ---> 833171270085 [2022-10-25T04:52:00.474Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T04:52:00.474Z] ---> Running in 1a2b8024aaaa [2022-10-25T04:52:02.445Z] Removing intermediate container 1a2b8024aaaa [2022-10-25T04:52:02.445Z] ---> b618db245dfc [2022-10-25T04:52:02.445Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T04:52:02.445Z] ---> Running in b978fac8de42 [2022-10-25T04:52:03.406Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T04:52:03.990Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T04:52:04.953Z] OK: 221 MiB in 51 packages [2022-10-25T04:52:05.911Z] Removing intermediate container b978fac8de42 [2022-10-25T04:52:05.911Z] ---> 99efd7af80d3 [2022-10-25T04:52:05.911Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-25T04:52:05.911Z] ---> Running in a028d7186509 [2022-10-25T04:52:06.178Z] Removing intermediate container a028d7186509 [2022-10-25T04:52:06.178Z] ---> f0e3d7613550 [2022-10-25T04:52:06.178Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-25T04:52:06.763Z] ---> 2e1c5f824228 [2022-10-25T04:52:06.763Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T04:52:06.763Z] ---> Running in de60890311bb [2022-10-25T04:53:03.184Z] Removing intermediate container de60890311bb [2022-10-25T04:53:03.184Z] ---> 27f10f94a621 [2022-10-25T04:53:03.184Z] Step 13/14 : COPY . . [2022-10-25T04:53:03.184Z] ---> 6620bf9b1516 [2022-10-25T04:53:03.184Z] Step 14/14 : RUN ${MAKE} [2022-10-25T04:53:03.184Z] ---> Running in a1a6a77ff8ea [2022-10-25T04:53:03.184Z] noop [2022-10-25T04:53:03.184Z] Removing intermediate container a1a6a77ff8ea [2022-10-25T04:53:03.184Z] ---> c9c43280082e [2022-10-25T04:53:03.184Z] Successfully built c9c43280082e [2022-10-25T04:53:03.184Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:53:03.538Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T04:53:03.538Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:53:03.759Z] prd-ubuntu20.04-docker-arm64-4c-16g-84551 does not seem to be running inside a container [2022-10-25T04:53:03.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T04:53:05.014Z] $ docker top 1538dfe79518d18eeaacd6990f27a83668db98e5511ed6ecbe88fb2d1537b105 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T04:53:05.841Z] + go version [2022-10-25T04:53:05.841Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T04:53:05.858Z] $ docker stop --time=1 1538dfe79518d18eeaacd6990f27a83668db98e5511ed6ecbe88fb2d1537b105 [2022-10-25T04:53:07.493Z] $ docker rm -f 1538dfe79518d18eeaacd6990f27a83668db98e5511ed6ecbe88fb2d1537b105 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:53:08.039Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T04:53:08.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:53:08.202Z] prd-ubuntu20.04-docker-arm64-4c-16g-84551 does not seem to be running inside a container [2022-10-25T04:53:08.265Z] $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T04:53:09.370Z] $ docker top 7b88b677cecbf1c3259932e675ffe687038b2c7a8992441f4d14a8ca7f11ad0d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T04:53:09.881Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/10 [Pipeline] fileExists [Pipeline] sh [2022-10-25T04:53:10.204Z] + make test [2022-10-25T04:53:10.204Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T04:53:12.162Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-25T04:54:48.857Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-25T04:54:48.857Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.194s coverage: 28.2% of statements [2022-10-25T04:54:48.857Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-25T04:55:07.110Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.921s coverage: 86.5% of statements [2022-10-25T04:55:07.110Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T04:55:07.110Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T04:55:39.389Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T04:55:39.389Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T04:55:39.389Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T04:55:39.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T04:55:39.422Z] $ docker stop --time=1 7b88b677cecbf1c3259932e675ffe687038b2c7a8992441f4d14a8ca7f11ad0d [2022-10-25T04:55:41.362Z] $ docker rm -f 7b88b677cecbf1c3259932e675ffe687038b2c7a8992441f4d14a8ca7f11ad0d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T04:55:42.265Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T04:55:42.286Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T04:55:42.838Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T04:55:43.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T04:55:43.635Z] + ls -al . [2022-10-25T04:55:43.635Z] total 240 [2022-10-25T04:55:43.636Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 04:53 . [2022-10-25T04:55:43.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:50 .. [2022-10-25T04:55:43.636Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 04:51 .git [2022-10-25T04:55:43.636Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:51 .github [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 04:51 .gitignore [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 04:51 .golangci.yml [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 04:51 Attribution.txt [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 04:51 CHANGELOG.md [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 04:51 Dockerfile [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 04:51 GOVERNANCE.md [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 04:51 Jenkinsfile [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 04:51 LICENSE [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 04:51 Makefile [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 04:51 OWNERS.md [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 04:51 README.md [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 02:30 VERSION [2022-10-25T04:55:43.636Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 04:51 bin [2022-10-25T04:55:43.636Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:51 cmd [2022-10-25T04:55:43.636Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 04:55 coverage.out [2022-10-25T04:55:43.636Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 04:51 doc [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 04:51 go.mod [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 04:51 go.sum [2022-10-25T04:55:43.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:51 internal [2022-10-25T04:55:43.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:51 snap [2022-10-25T04:55:43.636Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 04:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:55:44.020Z] + 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=82450a2d5032a949362903be53b5038406ebabdb --label arch=arm64 --label version=0.0.0 . [2022-10-25T04:55:45.010Z] Sending build context to Docker daemon 20.55MB [2022-10-25T04:55:45.010Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T04:55:45.010Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-25T04:55:45.010Z] ---> c9c43280082e [2022-10-25T04:55:45.010Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-25T04:55:45.010Z] ---> Running in 886fe0e9c3df [2022-10-25T04:55:45.291Z] Removing intermediate container 886fe0e9c3df [2022-10-25T04:55:45.291Z] ---> 3de1d195fe43 [2022-10-25T04:55:45.291Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T04:55:45.559Z] ---> Running in e4d710f0150b [2022-10-25T04:55:47.009Z] Removing intermediate container e4d710f0150b [2022-10-25T04:55:47.009Z] ---> 4dfcb1fa8c6d [2022-10-25T04:55:47.009Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T04:55:47.009Z] ---> Running in d109dbeb4e09 [2022-10-25T04:55:47.277Z] Removing intermediate container d109dbeb4e09 [2022-10-25T04:55:47.277Z] ---> a1f1c44c423c [2022-10-25T04:55:47.277Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T04:55:47.277Z] ---> Running in 7c4dd7babb08 [2022-10-25T04:55:47.545Z] Removing intermediate container 7c4dd7babb08 [2022-10-25T04:55:47.545Z] ---> eebed2c65ece [2022-10-25T04:55:47.545Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-25T04:55:47.545Z] ---> Running in 7b61f6aecac0 [2022-10-25T04:55:48.144Z] Removing intermediate container 7b61f6aecac0 [2022-10-25T04:55:48.144Z] ---> 554bf2383938 [2022-10-25T04:55:48.144Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T04:55:48.144Z] ---> Running in 6efb72c7d51f [2022-10-25T04:55:49.559Z] Removing intermediate container 6efb72c7d51f [2022-10-25T04:55:49.559Z] ---> af20007b684f [2022-10-25T04:55:49.559Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T04:55:49.559Z] ---> Running in 249e95007028 [2022-10-25T04:55:50.975Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T04:55:51.560Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T04:55:52.521Z] OK: 221 MiB in 51 packages [2022-10-25T04:55:53.934Z] Removing intermediate container 249e95007028 [2022-10-25T04:55:53.934Z] ---> 6f24ea095f93 [2022-10-25T04:55:53.934Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-25T04:55:53.934Z] ---> Running in 54fa958f7a3f [2022-10-25T04:55:54.204Z] Removing intermediate container 54fa958f7a3f [2022-10-25T04:55:54.204Z] ---> c2a2614cc0dd [2022-10-25T04:55:54.204Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-25T04:55:54.793Z] ---> 6218db6691aa [2022-10-25T04:55:54.793Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T04:55:54.793Z] ---> Running in ab5c169923fb [2022-10-25T04:55:56.766Z] Removing intermediate container ab5c169923fb [2022-10-25T04:55:56.766Z] ---> 93743fc165bf [2022-10-25T04:55:56.766Z] Step 13/27 : COPY . . [2022-10-25T04:56:00.111Z] ---> 8e721910acbb [2022-10-25T04:56:00.111Z] Step 14/27 : RUN ${MAKE} [2022-10-25T04:56:00.111Z] ---> Running in 5b12eef60ead [2022-10-25T04:56:02.704Z] 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-25T04:58:24.382Z] Removing intermediate container 5b12eef60ead [2022-10-25T04:58:24.382Z] ---> 6c0e1a323736 [2022-10-25T04:58:24.382Z] Step 15/27 : FROM alpine:3.16 [2022-10-25T04:58:24.382Z] 3.16: Pulling from library/alpine [2022-10-25T04:58:24.382Z] 9b18e9b68314: Already exists [2022-10-25T04:58:24.382Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T04:58:24.382Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T04:58:24.382Z] ---> a6215f271958 [2022-10-25T04:58:24.382Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T04:58:24.382Z] ---> Running in 6a6d400c259b [2022-10-25T04:58:24.382Z] Removing intermediate container 6a6d400c259b [2022-10-25T04:58:24.382Z] ---> 63088f19415b [2022-10-25T04:58:24.382Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T04:58:24.382Z] ---> Running in b0118e206680 [2022-10-25T04:58:24.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T04:58:24.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T04:58:24.382Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T04:58:24.382Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T04:58:24.382Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T04:58:24.382Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T04:58:24.382Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T04:58:24.382Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T04:58:24.382Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T04:58:24.382Z] OK: 8 MiB in 20 packages [2022-10-25T04:58:25.350Z] Removing intermediate container b0118e206680 [2022-10-25T04:58:25.350Z] ---> 1e4e37de3a1e [2022-10-25T04:58:25.350Z] Step 18/27 : WORKDIR / [2022-10-25T04:58:25.350Z] ---> Running in df2377a3469e [2022-10-25T04:58:25.350Z] Removing intermediate container df2377a3469e [2022-10-25T04:58:25.350Z] ---> 12a513eb03bf [2022-10-25T04:58:25.350Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-25T04:58:26.766Z] ---> 22ffd6c77fc5 [2022-10-25T04:58:26.766Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-25T04:58:27.350Z] ---> 0d915a1fc3e6 [2022-10-25T04:58:27.350Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-25T04:58:27.932Z] ---> 1fcf1137dc6f [2022-10-25T04:58:27.932Z] Step 22/27 : EXPOSE 59984 [2022-10-25T04:58:27.932Z] ---> Running in 734dce295401 [2022-10-25T04:58:28.198Z] Removing intermediate container 734dce295401 [2022-10-25T04:58:28.198Z] ---> 86dedfcfd610 [2022-10-25T04:58:28.198Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-25T04:58:28.198Z] ---> Running in 477d39b8ce6d [2022-10-25T04:58:28.464Z] Removing intermediate container 477d39b8ce6d [2022-10-25T04:58:28.464Z] ---> 0510a8b25734 [2022-10-25T04:58:28.464Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T04:58:28.464Z] ---> Running in 00d922481d86 [2022-10-25T04:58:29.047Z] Removing intermediate container 00d922481d86 [2022-10-25T04:58:29.047Z] ---> 7cf1267f54b6 [2022-10-25T04:58:29.047Z] Step 25/27 : LABEL arch=arm64 [2022-10-25T04:58:29.047Z] ---> Running in f900e975aa60 [2022-10-25T04:58:29.314Z] Removing intermediate container f900e975aa60 [2022-10-25T04:58:29.314Z] ---> dcbf2cbf7cc2 [2022-10-25T04:58:29.314Z] Step 26/27 : LABEL git_sha=82450a2d5032a949362903be53b5038406ebabdb [2022-10-25T04:58:29.314Z] ---> Running in c8f46a842c73 [2022-10-25T04:58:29.582Z] Removing intermediate container c8f46a842c73 [2022-10-25T04:58:29.582Z] ---> b7c40c731edf [2022-10-25T04:58:29.582Z] Step 27/27 : LABEL version=0.0.0 [2022-10-25T04:58:29.582Z] ---> Running in ec186b792998 [2022-10-25T04:58:29.848Z] Removing intermediate container ec186b792998 [2022-10-25T04:58:29.848Z] ---> 0dcf2e2121ba [2022-10-25T04:58:29.848Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T04:58:29.848Z] Successfully built 0dcf2e2121ba [2022-10-25T04:58:29.848Z] 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-25T04:58:30.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T04:58:30.548Z] [2022-10-25T04:58:30.548Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:58:30.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T04:58:30.873Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T04:58:30.873Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T04:58:30.873Z] 04944245beec: Pulling fs layer [2022-10-25T04:58:30.873Z] 699f458cf7ca: Pulling fs layer [2022-10-25T04:58:30.873Z] 765212b225bb: Pulling fs layer [2022-10-25T04:58:30.873Z] f23df028b6ca: Pulling fs layer [2022-10-25T04:58:30.873Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T04:58:30.873Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T04:58:30.873Z] 765212b225bb: Waiting [2022-10-25T04:58:30.873Z] f23df028b6ca: Waiting [2022-10-25T04:58:30.873Z] d65c8cfc05b1: Waiting [2022-10-25T04:58:30.873Z] 2437ff75d9bd: Waiting [2022-10-25T04:58:31.141Z] 04944245beec: Verifying Checksum [2022-10-25T04:58:31.141Z] 04944245beec: Download complete [2022-10-25T04:58:31.141Z] 765212b225bb: Verifying Checksum [2022-10-25T04:58:31.141Z] 765212b225bb: Download complete [2022-10-25T04:58:31.141Z] f23df028b6ca: Verifying Checksum [2022-10-25T04:58:31.141Z] f23df028b6ca: Download complete [2022-10-25T04:58:31.141Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T04:58:31.141Z] d65c8cfc05b1: Download complete [2022-10-25T04:58:31.409Z] 699f458cf7ca: Verifying Checksum [2022-10-25T04:58:31.409Z] 699f458cf7ca: Download complete [2022-10-25T04:58:31.675Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T04:58:31.675Z] 8998bd30e6a1: Download complete [2022-10-25T04:58:34.257Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T04:58:34.257Z] 2437ff75d9bd: Download complete [2022-10-25T04:58:35.670Z] 8998bd30e6a1: Pull complete [2022-10-25T04:58:36.252Z] 04944245beec: Pull complete [2022-10-25T04:58:37.656Z] 699f458cf7ca: Pull complete [2022-10-25T04:58:37.656Z] 765212b225bb: Pull complete [2022-10-25T04:58:38.242Z] f23df028b6ca: Pull complete [2022-10-25T04:58:38.509Z] d65c8cfc05b1: Pull complete [2022-10-25T04:58:53.494Z] 2437ff75d9bd: Pull complete [2022-10-25T04:58:53.494Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T04:58:53.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T04:58:53.494Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:58:53.666Z] prd-ubuntu20.04-docker-arm64-4c-16g-84551 does not seem to be running inside a container [2022-10-25T04:58:53.728Z] $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-25T04:58:56.238Z] $ docker top 137397af7fcf60c79845d3d261da882efcaa99b067aaada38163690f88d7c804 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:58:57.057Z] ---> job-cost.sh [2022-10-25T04:58:57.057Z] lf-activate-venv: SKIPPING [2022-10-25T04:58:57.057Z] INFO: No Stack... [2022-10-25T04:58:57.636Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T04:58:58.589Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T04:58:58.905Z] + cut -d, -f6 [2022-10-25T04:58:58.905Z] + cat /w/workspace/device-onvif-camera/10/archives/cost.csv [Pipeline] lock [2022-10-25T04:58:58.962Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] [2022-10-25T04:58:58.971Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] did not exist. Created. [2022-10-25T04:58:58.971Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T04:58:59.303Z] /w/workspace/device-onvif-camera/10@tmp/durable-33ad040c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T04:58:59.944Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T04:58:59.965Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T04:59:00.018Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T04:59:00.027Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T04:59:00.043Z] $ docker stop --time=1 137397af7fcf60c79845d3d261da882efcaa99b067aaada38163690f88d7c804 [2022-10-25T04:59:01.506Z] $ docker rm -f 137397af7fcf60c79845d3d261da882efcaa99b067aaada38163690f88d7c804 [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-25T04:59:01.918Z] provisioning config files... [2022-10-25T04:59:01.924Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config1876219213406295443tmp [Pipeline] { [Pipeline] sh [2022-10-25T04:59:02.216Z] + set +x [2022-10-25T04:59:02.216Z] + curl -s https://codecov.io/bash [2022-10-25T04:59:02.216Z] + bash -s -- [2022-10-25T04:59:02.216Z] [2022-10-25T04:59:02.216Z] _____ _ [2022-10-25T04:59:02.216Z] / ____| | | [2022-10-25T04:59:02.216Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T04:59:02.216Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T04:59:02.216Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T04:59:02.216Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T04:59:02.216Z] Bash-1.0.6 [2022-10-25T04:59:02.216Z] [2022-10-25T04:59:02.216Z] [2022-10-25T04:59:02.216Z] ==> git version 2.25.1 found [2022-10-25T04:59:02.216Z] ==> 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-25T04:59:02.216Z] Release-Date: 2020-01-08 [2022-10-25T04:59:02.216Z] 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-25T04:59:02.216Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T04:59:02.216Z] ==> Jenkins CI detected. [2022-10-25T04:59:02.216Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-180 [2022-10-25T04:59:02.216Z] project root: . [2022-10-25T04:59:02.216Z] --> token set from env [2022-10-25T04:59:02.216Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T04:59:02.216Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T04:59:02.216Z] ==> Python coveragepy not found [2022-10-25T04:59:02.216Z] ==> Searching for coverage reports in: [2022-10-25T04:59:02.216Z] + . [2022-10-25T04:59:02.216Z] -> Found 1 reports [2022-10-25T04:59:02.216Z] ==> Detecting git/mercurial file structure [2022-10-25T04:59:02.216Z] ==> Reading reports [2022-10-25T04:59:02.216Z] + ./coverage.out bytes=78636 [2022-10-25T04:59:02.216Z] ==> Appending adjustments [2022-10-25T04:59:02.216Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T04:59:02.476Z] + Found adjustments [2022-10-25T04:59:02.476Z] ==> Gzipping contents [2022-10-25T04:59:02.476Z] 12K /tmp/codecov.8kSmfh.gz [2022-10-25T04:59:02.476Z] ==> Uploading reports [2022-10-25T04:59:02.476Z] url: https://codecov.io [2022-10-25T04:59:02.476Z] query: branch=PR-180&commit=d690737cfe4079a8d070e67a59bd598b6129d7d2&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-10-25T04:59:02.476Z] -> Pinging Codecov [2022-10-25T04:59:02.476Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-180&commit=d690737cfe4079a8d070e67a59bd598b6129d7d2&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-10-25T04:59:02.734Z] -> Uploading to [2022-10-25T04:59:02.734Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/F29A59C45E3A92E06B3E522C9905F8EF/d690737cfe4079a8d070e67a59bd598b6129d7d2/442f7888-5a9c-406b-9ede-e625838d2527.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T045902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07ff3255a0480c244beefeab0db2d955458e08bd244001ca307ec4e2756934e7 [2022-10-25T04:59:02.734Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T04:59:02.734Z] Dload Upload Total Spent Left Speed [2022-10-25T04:59:02.993Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10813 0 0 100 10813 0 42238 --:--:-- --:--:-- --:--:-- 42403 [2022-10-25T04:59:02.993Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d690737cfe4079a8d070e67a59bd598b6129d7d2 [Pipeline] } [2022-10-25T04:59:02.999Z] 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-25T04:59:03.650Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] [2022-10-25T04:59:03.650Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-25T04:59:03.650Z] total 16 [2022-10-25T04:59:03.650Z] drwxr-xr-x 3 root root 4096 Oct 25 02:32 . [2022-10-25T04:59:03.650Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 02:32 .. [2022-10-25T04:59:03.650Z] drwxr-xr-x 2 root root 4096 Oct 25 02:32 cost [2022-10-25T04:59:03.650Z] -rw-r--r-- 1 root root 92 Oct 25 02:32 cost.csv [2022-10-25T04:59:03.650Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-25T04:59:03.650Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-25T04:59:03.650Z] total 16 [2022-10-25T04:59:03.650Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 02:32 . [2022-10-25T04:59:03.650Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 02:32 .. [2022-10-25T04:59:03.650Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 02:32 cost [2022-10-25T04:59:03.650Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 25 02:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:59:03.940Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:59:04.794Z] ---> package-listing.sh [2022-10-25T04:59:04.794Z] ++ facter osfamily [2022-10-25T04:59:04.794Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T04:59:05.054Z] + OS_FAMILY=debian [2022-10-25T04:59:05.054Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-180 [2022-10-25T04:59:05.054Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T04:59:05.054Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T04:59:05.054Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T04:59:05.054Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T04:59:05.054Z] + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' [2022-10-25T04:59:05.054Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T04:59:05.054Z] + case "${OS_FAMILY}" in [2022-10-25T04:59:05.054Z] + dpkg -l [2022-10-25T04:59:05.054Z] + grep '^ii' [2022-10-25T04:59:05.054Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T04:59:05.054Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T04:59:05.054Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T04:59:05.054Z] + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' [2022-10-25T04:59:05.054Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ [2022-10-25T04:59:05.054Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-180/archives/ [Pipeline] echo [2022-10-25T04:59:05.064Z] 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-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T04:59:05.354Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:59:05.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T04:59:05.654Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:59:05.724Z] prd-ubuntu20.04-docker-8c-8g-69650 does not seem to be running inside a container [2022-10-25T04:59:05.861Z] $ 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-180/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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T04:59:06.047Z] $ docker top 3e9cfc57e56ba2dc6bbd2aea4e3a930046a115ef047e592487af82a602a7a892 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T04:59:06.430Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T04:59:06.739Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T04:59:07.023Z] + ls /var/log/sa-host [2022-10-25T04:59:07.023Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T04:59:07.176Z] provisioning config files... [2022-10-25T04:59:07.185Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config9468129424827956731tmp [Pipeline] { [Pipeline] echo [2022-10-25T04:59:07.200Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:59:07.481Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T04:59:07.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:59:07.824Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T04:59:07.831Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:59:08.114Z] ---> sudo-logs.sh [2022-10-25T04:59:08.114Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T04:59:08.139Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:59:08.432Z] ---> job-cost.sh [2022-10-25T04:59:08.432Z] lf-activate-venv: SKIPPING [2022-10-25T04:59:08.432Z] DEBUG: total: 0.2199999988079071 [2022-10-25T04:59:08.432Z] INFO: Retrieving Stack Cost... [2022-10-25T04:59:09.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T04:59:09.568Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T04:59:09.577Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:59:09.857Z] ---> logs-deploy.sh [2022-10-25T04:59:09.857Z] lf-activate-venv: SKIPPING [2022-10-25T04:59:09.857Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/10 [2022-10-25T04:59:09.857Z] INFO: archiving workspace using pattern(s): [2022-10-25T04:59:10.791Z] Archives upload complete. [2022-10-25T04:59:11.050Z] INFO: archiving logs to Nexus [2022-10-25T04:59:11.618Z] ---> uname -a: [2022-10-25T04:59:11.618Z] Linux prd-ubuntu20-04-docker-8c-8g-69650 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-25T04:59:11.618Z] [2022-10-25T04:59:11.618Z] [2022-10-25T04:59:11.618Z] ---> lscpu: [2022-10-25T04:59:11.618Z] Architecture: x86_64 [2022-10-25T04:59:11.618Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-25T04:59:11.618Z] Byte Order: Little Endian [2022-10-25T04:59:11.618Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-25T04:59:11.618Z] CPU(s): 8 [2022-10-25T04:59:11.618Z] On-line CPU(s) list: 0-7 [2022-10-25T04:59:11.618Z] Thread(s) per core: 1 [2022-10-25T04:59:11.618Z] Core(s) per socket: 1 [2022-10-25T04:59:11.618Z] Socket(s): 8 [2022-10-25T04:59:11.618Z] NUMA node(s): 1 [2022-10-25T04:59:11.618Z] Vendor ID: AuthenticAMD [2022-10-25T04:59:11.618Z] CPU family: 23 [2022-10-25T04:59:11.618Z] Model: 49 [2022-10-25T04:59:11.618Z] Model name: AMD EPYC-Rome Processor [2022-10-25T04:59:11.618Z] Stepping: 0 [2022-10-25T04:59:11.618Z] CPU MHz: 2799.988 [2022-10-25T04:59:11.618Z] BogoMIPS: 5599.97 [2022-10-25T04:59:11.618Z] Virtualization: AMD-V [2022-10-25T04:59:11.618Z] Hypervisor vendor: KVM [2022-10-25T04:59:11.618Z] Virtualization type: full [2022-10-25T04:59:11.618Z] L1d cache: 256 KiB [2022-10-25T04:59:11.618Z] L1i cache: 256 KiB [2022-10-25T04:59:11.618Z] L2 cache: 4 MiB [2022-10-25T04:59:11.618Z] L3 cache: 128 MiB [2022-10-25T04:59:11.618Z] NUMA node0 CPU(s): 0-7 [2022-10-25T04:59:11.618Z] Vulnerability Itlb multihit: Not affected [2022-10-25T04:59:11.618Z] Vulnerability L1tf: Not affected [2022-10-25T04:59:11.618Z] Vulnerability Mds: Not affected [2022-10-25T04:59:11.618Z] Vulnerability Meltdown: Not affected [2022-10-25T04:59:11.618Z] Vulnerability Mmio stale data: Not affected [2022-10-25T04:59:11.618Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-25T04:59:11.618Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-25T04:59:11.618Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-25T04:59:11.618Z] Vulnerability Srbds: Not affected [2022-10-25T04:59:11.618Z] Vulnerability Tsx async abort: Not affected [2022-10-25T04:59:11.618Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-25T04:59:11.618Z] [2022-10-25T04:59:11.618Z] [2022-10-25T04:59:11.618Z] ---> nproc: [2022-10-25T04:59:11.618Z] 8 [2022-10-25T04:59:11.618Z] [2022-10-25T04:59:11.618Z] [2022-10-25T04:59:11.618Z] ---> df -h: [2022-10-25T04:59:11.618Z] Filesystem Size Used Avail Use% Mounted on [2022-10-25T04:59:11.618Z] overlay 155G 12G 144G 8% / [2022-10-25T04:59:11.618Z] tmpfs 64M 0 64M 0% /dev [2022-10-25T04:59:11.618Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-10-25T04:59:11.618Z] shm 64M 0 64M 0% /dev/shm [2022-10-25T04:59:11.618Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-10-25T04:59:11.618Z] [2022-10-25T04:59:11.618Z]