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 02:29:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:29:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:29:59 ========================================================= 02:29:59 EdgeX Global Pipelines Version Info 02:29:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:30:00 ------------------- 02:30:00 stable info: 02:30:00 ------------------- 02:30:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:30:00 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 02:30:00 Message: update stable to v1.0.243 02:30:01 ------------------- 02:30:01 experimental info: 02:30:01 ------------------- 02:30:01 Commited By: **** collab-it+edgex@linuxfoundation.org 02:30:01 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 02:30:01 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d690737cfe4079a8d070e67a59bd598b6129d7d2 [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d690737 [Pipeline] echo 02:30:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:01 provisioning config files... 02:30:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config5192341404632410848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:02 ---> docker-login.sh 02:30:02 nexus3.edgexfoundry.org:10001 02:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:02 Configure a credential helper to remove this warning. See 02:30:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:02 02:30:02 Login Succeeded 02:30:02 nexus3.edgexfoundry.org:10002 02:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:02 Configure a credential helper to remove this warning. See 02:30:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:02 02:30:02 Login Succeeded 02:30:02 nexus3.edgexfoundry.org:10003 02:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:02 Configure a credential helper to remove this warning. See 02:30:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:02 02:30:02 Login Succeeded 02:30:02 nexus3.edgexfoundry.org:10004 02:30:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:03 Configure a credential helper to remove this warning. See 02:30:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:03 02:30:03 Login Succeeded 02:30:03 docker.io 02:30:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:04 Configure a credential helper to remove this warning. See 02:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:04 02:30:04 Login Succeeded 02:30:04 ---> docker-login.sh ends [Pipeline] } 02:30:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:30:04 + git rev-list -1 --merges d690737cfe4079a8d070e67a59bd598b6129d7d2~1..d690737cfe4079a8d070e67a59bd598b6129d7d2 [Pipeline] echo 02:30:04 -----------> git rev-list -1 --merges d690737cfe4079a8d070e67a59bd598b6129d7d2~1..d690737cfe4079a8d070e67a59bd598b6129d7d2 d690737cfe4079a8d070e67a59bd598b6129d7d2 02:30:04 d690737cfe4079a8d070e67a59bd598b6129d7d2 [false] [Pipeline] sh 02:30:04 + git log --format=format:%s -1 d690737cfe4079a8d070e67a59bd598b6129d7d2 [Pipeline] echo 02:30:04 ========================================================= 02:30:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:30:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:30:05 + git log --format=format:%s -1 d690737cfe4079a8d070e67a59bd598b6129d7d2 [Pipeline] echo 02:30:05 [semverPrep] GIT_COMMIT: d690737cfe4079a8d070e67a59bd598b6129d7d2, Commit Message: Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD [Pipeline] echo 02:30:05 [semverPrep] This is not a build commit. [Pipeline] sh 02:30:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:30:05 + grep -v github /etc/ssh/ssh_known_hosts 02:30:05 + [ -e /tmp/ssh_known_hosts ] 02:30:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:30:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:30:05 + sudo tee -a /etc/ssh/ssh_known_hosts 02:30:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:05 02:30:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:06 0.1.4: Pulling from edgex-devops/py-git-semver 02:30:06 b85a868b505f: Pulling fs layer 02:30:06 e2be974225ed: Pulling fs layer 02:30:06 339a4e72a1f5: Pulling fs layer 02:30:06 988bab9f4d93: Pulling fs layer 02:30:06 1469e6f7b9e6: Pulling fs layer 02:30:06 eaf3925da568: Pulling fs layer 02:30:06 bab4dde63d76: Pulling fs layer 02:30:06 bde34c3a00c8: Pulling fs layer 02:30:06 b352a97aabf1: Pulling fs layer 02:30:06 4872d77fe225: Pulling fs layer 02:30:06 5851b861e8e6: Pulling fs layer 02:30:06 988bab9f4d93: Waiting 02:30:06 bde34c3a00c8: Waiting 02:30:06 1469e6f7b9e6: Waiting 02:30:06 eaf3925da568: Waiting 02:30:06 b352a97aabf1: Waiting 02:30:06 4872d77fe225: Waiting 02:30:06 bab4dde63d76: Waiting 02:30:06 5851b861e8e6: Waiting 02:30:06 e2be974225ed: Verifying Checksum 02:30:06 e2be974225ed: Download complete 02:30:06 988bab9f4d93: Verifying Checksum 02:30:06 988bab9f4d93: Download complete 02:30:06 1469e6f7b9e6: Verifying Checksum 02:30:06 1469e6f7b9e6: Download complete 02:30:06 339a4e72a1f5: Verifying Checksum 02:30:06 339a4e72a1f5: Download complete 02:30:06 eaf3925da568: Verifying Checksum 02:30:06 eaf3925da568: Download complete 02:30:06 bde34c3a00c8: Verifying Checksum 02:30:06 bde34c3a00c8: Download complete 02:30:06 b352a97aabf1: Verifying Checksum 02:30:06 b352a97aabf1: Download complete 02:30:06 4872d77fe225: Verifying Checksum 02:30:06 4872d77fe225: Download complete 02:30:06 5851b861e8e6: Verifying Checksum 02:30:06 5851b861e8e6: Download complete 02:30:06 b85a868b505f: Verifying Checksum 02:30:06 b85a868b505f: Download complete 02:30:06 bab4dde63d76: Verifying Checksum 02:30:06 bab4dde63d76: Download complete 02:30:08 b85a868b505f: Pull complete 02:30:08 e2be974225ed: Pull complete 02:30:08 339a4e72a1f5: Pull complete 02:30:08 988bab9f4d93: Pull complete 02:30:08 1469e6f7b9e6: Pull complete 02:30:08 eaf3925da568: Pull complete 02:30:10 bab4dde63d76: Pull complete 02:30:10 bde34c3a00c8: Pull complete 02:30:11 b352a97aabf1: Pull complete 02:30:11 4872d77fe225: Pull complete 02:30:11 5851b861e8e6: Pull complete 02:30:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:30:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:11 prd-ubuntu20.04-docker-8c-8g-69650 does not seem to be running inside a container 02:30:11 $ 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 02:30:14 $ docker top 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a -eo pid,comm 02:30:14 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). 02:30:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:30:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:14 [ssh-agent] Looking for ssh-agent implementation... 02:30:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:14 $ docker exec 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a ssh-agent 02:30:14 SSH_AUTH_SOCK=/tmp/ssh-oLCEXkvMWWfv/agent.33 02:30:14 SSH_AGENT_PID=39 02:30:14 Running ssh-add (command line suppressed) 02:30:15 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) 02:30:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:15 + git tag --points-at HEAD [Pipeline] } 02:30:15 $ docker exec --env ******** --env ******** 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a ssh-agent -k 02:30:15 unset SSH_AUTH_SOCK; 02:30:15 unset SSH_AGENT_PID; 02:30:15 echo Agent pid 39 killed; 02:30:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:30:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:15 [ssh-agent] Looking for ssh-agent implementation... 02:30:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:15 $ docker exec 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a ssh-agent 02:30:15 SSH_AUTH_SOCK=/tmp/ssh-srKojsjQJwqU/agent.71 02:30:15 SSH_AGENT_PID=77 02:30:15 Running ssh-add (command line suppressed) 02:30:15 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) 02:30:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:16 + git semver init 02:30:16 2022-10-25 02:30:16,404 [run_init] DEBUG init version:0.0.0 force:False 02:30:16 2022-10-25 02:30:16,405 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver 02:30:16 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 02:30:16 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) 02:30:17 2022-10-25 02:30:17,487 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude 02:30:17 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 02:30:17 2022-10-25 02:30:17,488 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 02:30:17 2022-10-25 02:30:17,493 [execute] INFO git cat-file --batch-check 02:30:17 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=) 02:30:17 2022-10-25 02:30:17,500 [execute] INFO git cat-file --batch 02:30:17 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=) 02:30:17 2022-10-25 02:30:17,507 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 02:30:17 0.0.0 [Pipeline] } 02:30:17 $ docker exec --env ******** --env ******** 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a ssh-agent -k 02:30:17 unset SSH_AUTH_SOCK; 02:30:17 unset SSH_AGENT_PID; 02:30:17 echo Agent pid 77 killed; 02:30:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:30:18 + git semver [Pipeline] } 02:30:18 $ docker stop --time=1 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a 02:30:19 $ docker rm -f 9748cb444dcbd2dfb8b40978d164c9ebc5d08396fa790d770586ecdb5f7f3b6a [Pipeline] // withDockerContainer [Pipeline] sh 02:30:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:30:20 Stashed 1 file(s) [Pipeline] echo 02:30:20 [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 02:30:20 provisioning config files... 02:30:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config7718720057032767012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:20 ---> docker-login.sh 02:30:20 nexus3.edgexfoundry.org:10001 02:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:20 Configure a credential helper to remove this warning. See 02:30:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:20 02:30:20 Login Succeeded 02:30:20 nexus3.edgexfoundry.org:10002 02:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:20 Configure a credential helper to remove this warning. See 02:30:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:20 02:30:20 Login Succeeded 02:30:20 nexus3.edgexfoundry.org:10003 02:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:21 Configure a credential helper to remove this warning. See 02:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:21 02:30:21 Login Succeeded 02:30:21 nexus3.edgexfoundry.org:10004 02:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:21 Configure a credential helper to remove this warning. See 02:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:21 02:30:21 Login Succeeded 02:30:21 docker.io 02:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:21 Configure a credential helper to remove this warning. See 02:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:21 02:30:21 Login Succeeded 02:30:21 ---> docker-login.sh ends [Pipeline] } 02:30:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:30:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:30:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:30:21 ========================================================= 02:30:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:30:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:22 + 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 . 02:30:22 Sending build context to Docker daemon 27.16MB 02:30:22 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 02:30:22 Step 2/14 : FROM ${BASE} AS builder 02:30:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:30:22 213ec9aee27d: Pulling fs layer 02:30:22 4583459ba037: Pulling fs layer 02:30:22 93c1e223e6f2: Pulling fs layer 02:30:22 53926ce57604: Pulling fs layer 02:30:22 21b2b0c7a3f4: Pulling fs layer 02:30:22 30f14e443154: Pulling fs layer 02:30:22 801331c1e519: Pulling fs layer 02:30:22 99cc6dd402b0: Pulling fs layer 02:30:22 7d9ed39f4882: Pulling fs layer 02:30:22 801331c1e519: Waiting 02:30:22 30f14e443154: Waiting 02:30:22 53926ce57604: Waiting 02:30:22 99cc6dd402b0: Waiting 02:30:22 7d9ed39f4882: Waiting 02:30:22 21b2b0c7a3f4: Waiting 02:30:22 93c1e223e6f2: Verifying Checksum 02:30:22 93c1e223e6f2: Download complete 02:30:22 4583459ba037: Download complete 02:30:22 21b2b0c7a3f4: Download complete 02:30:22 30f14e443154: Verifying Checksum 02:30:22 30f14e443154: Download complete 02:30:22 213ec9aee27d: Verifying Checksum 02:30:22 801331c1e519: Verifying Checksum 02:30:22 801331c1e519: Download complete 02:30:22 213ec9aee27d: Pull complete 02:30:22 4583459ba037: Pull complete 02:30:22 93c1e223e6f2: Pull complete 02:30:22 7d9ed39f4882: Verifying Checksum 02:30:22 7d9ed39f4882: Download complete 02:30:23 53926ce57604: Verifying Checksum 02:30:23 53926ce57604: Download complete 02:30:23 99cc6dd402b0: Verifying Checksum 02:30:23 99cc6dd402b0: Download complete 02:30:27 53926ce57604: Pull complete 02:30:27 21b2b0c7a3f4: Pull complete 02:30:27 30f14e443154: Pull complete 02:30:27 801331c1e519: Pull complete 02:30:29 99cc6dd402b0: Pull complete 02:30:30 7d9ed39f4882: Pull complete 02:30:30 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 02:30:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:30:30 ---> 1dedd983c030 02:30:30 Step 3/14 : ARG ADD_BUILD_TAGS="" 02:30:35 Still waiting to schedule task 02:30:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-69672’ is offline 02:30:36 ---> Running in 94ff9593f3e0 02:30:36 Removing intermediate container 94ff9593f3e0 02:30:36 ---> f77c6e4dd1db 02:30:36 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:30:36 ---> Running in ba855a90b8ea 02:30:36 Removing intermediate container ba855a90b8ea 02:30:36 ---> b759fd5b1e08 02:30:36 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:30:36 ---> Running in ae3fdc1c5165 02:30:36 Removing intermediate container ae3fdc1c5165 02:30:36 ---> d15f7c3ddf50 02:30:36 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 02:30:36 ---> Running in c067f5d1fb7b 02:30:36 Removing intermediate container c067f5d1fb7b 02:30:36 ---> fda587f56fb3 02:30:36 Step 7/14 : LABEL Name=edgex-device-onvif-camera 02:30:36 ---> Running in 44b66c899dbf 02:30:36 Removing intermediate container 44b66c899dbf 02:30:36 ---> 8e856d162502 02:30:36 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:30:36 ---> Running in e833df779b4a 02:30:37 Removing intermediate container e833df779b4a 02:30:37 ---> b7214afbeb40 02:30:37 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:30:37 ---> Running in 46c694458137 02:30:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:30:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:30:38 OK: 211 MiB in 51 packages 02:30:39 Removing intermediate container 46c694458137 02:30:39 ---> 176f69b7eb7d 02:30:39 Step 10/14 : WORKDIR /device-onvif-camera 02:30:39 ---> Running in 5e3f1fd83eda 02:30:39 Removing intermediate container 5e3f1fd83eda 02:30:39 ---> 29bfa628921c 02:30:39 Step 11/14 : COPY go.mod vendor* ./ 02:30:39 ---> 96c48e35600d 02:30:39 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:30:39 ---> Running in ba9a1a994457 02:31:11 Removing intermediate container ba9a1a994457 02:31:11 ---> 8037b5e7a5fc 02:31:11 Step 13/14 : COPY . . 02:31:11 ---> 1b7e504bf8c9 02:31:11 Step 14/14 : RUN ${MAKE} 02:31:11 ---> Running in 20f8c992a946 02:31:11 noop 02:31:11 Removing intermediate container 20f8c992a946 02:31:11 ---> 7b4208f70d1e 02:31:11 Successfully built 7b4208f70d1e 02:31:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:12 + docker inspect -f . ci-base-image-x86_64 02:31:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:12 prd-ubuntu20.04-docker-8c-8g-69650 does not seem to be running inside a container 02:31:12 $ 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 02:31:12 $ docker top 86ebf6c17e7ea2230a69913dd72c5c73a2989f464421de821f2945e8cb4e8fb4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:31:12 + go version 02:31:12 go version go1.18.7 linux/amd64 [Pipeline] } 02:31:12 $ docker stop --time=1 86ebf6c17e7ea2230a69913dd72c5c73a2989f464421de821f2945e8cb4e8fb4 02:31:14 $ 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 02:31:14 + docker inspect -f . ci-base-image-x86_64 02:31:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:14 prd-ubuntu20.04-docker-8c-8g-69650 does not seem to be running inside a container 02:31:14 $ 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 02:31:15 $ docker top 9f53e90768848b34e0bf1fcd2b2c281d7668ca4bb76119d0b891eb47141d2d81 -eo pid,comm [Pipeline] { [Pipeline] sh 02:31:15 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh 02:31:15 + make test 02:31:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:31:15 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:31:28 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:31:28 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements 02:31:28 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:31:28 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.408s coverage: 86.5% of statements 02:31:36 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." 02:31:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:31:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:31:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:31:38 ./bin/test-attribution-txt.sh [Pipeline] echo 02:31:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:31:38 $ docker stop --time=1 9f53e90768848b34e0bf1fcd2b2c281d7668ca4bb76119d0b891eb47141d2d81 02:31:42 $ docker rm -f 9f53e90768848b34e0bf1fcd2b2c281d7668ca4bb76119d0b891eb47141d2d81 [Pipeline] // withDockerContainer [Pipeline] sh 02:31:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:31:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:31:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:31:43 + ls -al . 02:31:43 total 244 02:31:43 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 02:31 . 02:31:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 02:29 .. 02:31:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 02:31 .git 02:31:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:29 .github 02:31:43 -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 02:29 .gitignore 02:31:43 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 02:29 .golangci.yml 02:31:43 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 02:30 .semver 02:31:43 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 02:29 Attribution.txt 02:31:43 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 02:29 CHANGELOG.md 02:31:43 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 02:29 Dockerfile 02:31:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 02:29 GOVERNANCE.md 02:31:43 -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 02:29 Jenkinsfile 02:31:43 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 02:29 LICENSE 02:31:43 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 02:29 Makefile 02:31:43 -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 02:29 OWNERS.md 02:31:43 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 02:29 README.md 02:31:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 02:30 VERSION 02:31:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 02:29 bin 02:31:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 02:29 cmd 02:31:43 -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 02:31 coverage.out 02:31:43 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 02:29 doc 02:31:43 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 02:29 go.mod 02:31:43 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 02:29 go.sum 02:31:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 02:29 internal 02:31:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 02:29 snap 02:31:43 -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 02:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:44 + 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 . 02:31:44 Sending build context to Docker daemon 27.24MB 02:31:44 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 02:31:44 Step 2/27 : FROM ${BASE} AS builder 02:31:44 ---> 7b4208f70d1e 02:31:44 Step 3/27 : ARG ADD_BUILD_TAGS="" 02:31:44 ---> Running in 679ba9695542 02:31:44 Removing intermediate container 679ba9695542 02:31:44 ---> a6848990f7f6 02:31:44 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:31:44 ---> Running in 3808ef6d8e9f 02:31:44 Removing intermediate container 3808ef6d8e9f 02:31:44 ---> f0e32b68dca5 02:31:44 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:31:44 ---> Running in 7a05c69b5e0b 02:31:45 Removing intermediate container 7a05c69b5e0b 02:31:45 ---> ffa7068783f8 02:31:45 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 02:31:45 ---> Running in cc557dc0a359 02:31:45 Removing intermediate container cc557dc0a359 02:31:45 ---> 2a263a3332c4 02:31:45 Step 7/27 : LABEL Name=edgex-device-onvif-camera 02:31:45 ---> Running in e31ef80b091c 02:31:45 Removing intermediate container e31ef80b091c 02:31:45 ---> ded7e1014425 02:31:45 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:31:45 ---> Running in b97ea2cf5d41 02:31:45 Removing intermediate container b97ea2cf5d41 02:31:45 ---> 30d2ad99620d 02:31:45 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:31:45 ---> Running in 0177648c2942 02:31:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:31:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:31:47 OK: 211 MiB in 51 packages 02:31:48 Removing intermediate container 0177648c2942 02:31:48 ---> d4c83e1f8afc 02:31:48 Step 10/27 : WORKDIR /device-onvif-camera 02:31:48 ---> Running in 75216a116041 02:31:49 Removing intermediate container 75216a116041 02:31:49 ---> 7d3b8ec8532e 02:31:49 Step 11/27 : COPY go.mod vendor* ./ 02:31:49 ---> 8f4a7d7c43bd 02:31:49 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:31:49 ---> Running in 40ed7d231b7a 02:31:51 Removing intermediate container 40ed7d231b7a 02:31:51 ---> a88c9456e202 02:31:51 Step 13/27 : COPY . . 02:31:53 ---> 8bbd72924cce 02:31:53 Step 14/27 : RUN ${MAKE} 02:31:53 ---> Running in a5e6cd1c7e62 02:31:54 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 02:32:20 Removing intermediate container a5e6cd1c7e62 02:32:20 ---> 61e38aa7f6bd 02:32:20 Step 15/27 : FROM alpine:3.16 02:32:20 3.16: Pulling from library/alpine 02:32:20 213ec9aee27d: Already exists 02:32:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:32:20 Status: Downloaded newer image for alpine:3.16 02:32:20 ---> 9c6f07244728 02:32:20 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:32:20 ---> Running in 34db735f6d04 02:32:20 Removing intermediate container 34db735f6d04 02:32:20 ---> 4817d4ad0c26 02:32:20 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 02:32:20 ---> Running in c3eb7b6e8d46 02:32:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:32:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:32:20 (1/6) Installing dumb-init (1.2.5-r1) 02:32:20 (2/6) Installing libgcc (11.2.1_git20220219-r2) 02:32:20 (3/6) Installing libsodium (1.0.18-r0) 02:32:20 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 02:32:20 (5/6) Installing libzmq (4.3.4-r0) 02:32:20 (6/6) Installing zeromq (4.3.4-r0) 02:32:20 Executing busybox-1.35.0-r17.trigger 02:32:20 OK: 8 MiB in 20 packages 02:32:20 Removing intermediate container c3eb7b6e8d46 02:32:20 ---> e1de8c1bbaad 02:32:20 Step 18/27 : WORKDIR / 02:32:20 ---> Running in fa96230e3c58 02:32:20 Removing intermediate container fa96230e3c58 02:32:20 ---> 80463d11bfaf 02:32:20 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 02:32:20 ---> acaa807f5267 02:32:20 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 02:32:20 ---> 80987d4132af 02:32:20 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:32:21 ---> 800777ea3b9f 02:32:21 Step 22/27 : EXPOSE 59984 02:32:21 ---> Running in 67bf3e480b48 02:32:21 Removing intermediate container 67bf3e480b48 02:32:21 ---> 19f63df2c641 02:32:21 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 02:32:21 ---> Running in 5d44bb8c31d2 02:32:21 Removing intermediate container 5d44bb8c31d2 02:32:21 ---> bcfc52fab1c6 02:32:21 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:32:21 ---> Running in 09c706b7cbdd 02:32:21 Removing intermediate container 09c706b7cbdd 02:32:21 ---> fc40f4c832b6 02:32:21 Step 25/27 : LABEL arch=amd64 02:32:21 ---> Running in 2f0f4cdc618d 02:32:21 Removing intermediate container 2f0f4cdc618d 02:32:21 ---> 81fc54981640 02:32:21 Step 26/27 : LABEL git_sha=d690737cfe4079a8d070e67a59bd598b6129d7d2 02:32:21 ---> Running in 4a5154eba17a 02:32:21 Removing intermediate container 4a5154eba17a 02:32:21 ---> 5dd4ff679548 02:32:21 Step 27/27 : LABEL version=0.0.0 02:32:21 ---> Running in e1a2d78e9113 02:32:21 Removing intermediate container e1a2d78e9113 02:32:21 ---> 9eedce598edf 02:32:21 [Warning] One or more build-args [ARCH] were not consumed 02:32:21 Successfully built 9eedce598edf 02:32:21 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 02:32:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:22 02:32:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:22 latest: Pulling from edgex-lftools-log-publisher 02:32:22 5eb5b503b376: Pulling fs layer 02:32:22 5c69ac0246d0: Pulling fs layer 02:32:22 ec43610c2a17: Pulling fs layer 02:32:22 3a2ae6a8a46f: Pulling fs layer 02:32:22 33b1e0a273af: Pulling fs layer 02:32:22 5d3b04190fa2: Pulling fs layer 02:32:22 2f39f015ded8: Pulling fs layer 02:32:22 3a2ae6a8a46f: Waiting 02:32:22 33b1e0a273af: Waiting 02:32:22 5d3b04190fa2: Waiting 02:32:22 2f39f015ded8: Waiting 02:32:22 5c69ac0246d0: Verifying Checksum 02:32:22 5c69ac0246d0: Download complete 02:32:22 3a2ae6a8a46f: Verifying Checksum 02:32:22 3a2ae6a8a46f: Download complete 02:32:22 33b1e0a273af: Verifying Checksum 02:32:22 33b1e0a273af: Download complete 02:32:22 5d3b04190fa2: Verifying Checksum 02:32:22 5d3b04190fa2: Download complete 02:32:22 ec43610c2a17: Verifying Checksum 02:32:22 ec43610c2a17: Download complete 02:32:22 5eb5b503b376: Verifying Checksum 02:32:22 5eb5b503b376: Download complete 02:32:23 2f39f015ded8: Download complete 02:32:24 5eb5b503b376: Pull complete 02:32:24 5c69ac0246d0: Pull complete 02:32:24 ec43610c2a17: Pull complete 02:32:24 3a2ae6a8a46f: Pull complete 02:32:25 33b1e0a273af: Pull complete 02:32:25 5d3b04190fa2: Pull complete 02:32:29 2f39f015ded8: Pull complete 02:32:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:32:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:29 prd-ubuntu20.04-docker-8c-8g-69650 does not seem to be running inside a container 02:32:29 $ 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 02:32:34 $ docker top 04a4ce57c73d616f1374ef1e55d84ea84bba67cc6116448f4a9f5981ec346bb0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:34 ---> job-cost.sh 02:32:34 lf-activate-venv: SKIPPING 02:32:34 INFO: No Stack... 02:32:35 INFO: Retrieving Pricing Info for: v3-standard-8 02:32:35 INFO: Archiving Costs [Pipeline] sh 02:32:36 + cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv 02:32:36 + cut -d, -f6 [Pipeline] lock 02:32:36 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] 02:32:36 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] did not exist. Created. 02:32:36 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:32:36 + echo total: 0.2199999988079071 [Pipeline] stash 02:32:36 Stashed 1 file(s) [Pipeline] } 02:32:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] [Pipeline] // lock [Pipeline] } 02:32:36 $ docker stop --time=1 04a4ce57c73d616f1374ef1e55d84ea84bba67cc6116448f4a9f5981ec346bb0 02:32:37 $ docker rm -f 04a4ce57c73d616f1374ef1e55d84ea84bba67cc6116448f4a9f5981ec346bb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:50:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-84551 in /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] { [Pipeline] ws 04:50:54 Running in /w/workspace/device-onvif-camera/10 [Pipeline] { [Pipeline] checkout 04:50:54 The recommended git tool is: git 04:50:59 using credential edgex-jenkins-ssh 04:50:59 Cloning the remote Git repository 04:50:59 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:50:59 > git init /w/workspace/device-onvif-camera/10 # timeout=10 04:50:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:50:59 > git --version # timeout=10 04:50:59 > git --version # 'git version 2.25.1' 04:50:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:51:00 Verifying host key using known hosts file 04:51:00 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. 04:51:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:51:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:51:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:51:02 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:51:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:51:02 using GIT_SSH to set credentials SSH Credentials for GitHub 04:51:02 Verifying host key using known hosts file 04:51:02 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. 04:51:02 > 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 04:51:04 Merging remotes/origin/main commit 5d7a9db6a708ff5f4775a07ba788f56c414f1565 into PR head commit 560594ef4bd4e076c6088df215d67c9cfb59bdca 04:51:04 > git config core.sparsecheckout # timeout=10 04:51:04 > git checkout -f 560594ef4bd4e076c6088df215d67c9cfb59bdca # timeout=10 04:51:04 > git remote # timeout=10 04:51:04 > git config --get remote.origin.url # timeout=10 04:51:04 using GIT_SSH to set credentials SSH Credentials for GitHub 04:51:04 Verifying host key using known hosts file 04:51:04 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. 04:51:04 > git merge 5d7a9db6a708ff5f4775a07ba788f56c414f1565 # timeout=10 04:51:05 Merge succeeded, producing 82450a2d5032a949362903be53b5038406ebabdb 04:51:05 Checking out Revision 82450a2d5032a949362903be53b5038406ebabdb (PR-180) 04:51:05 > git rev-parse HEAD^{commit} # timeout=10 04:51:05 > git config core.sparsecheckout # timeout=10 04:51:05 > git checkout -f 82450a2d5032a949362903be53b5038406ebabdb # timeout=10 04:51:08 Commit message: "Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD" 04:51:08 > git rev-list --no-walk 525b448516f7ccbfc29b672512b49cbee4360610 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:51:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:51:09 % Total % Received % Xferd Average Speed Time Time Time Current 04:51:09 Dload Upload Total Spent Left Speed 04:51:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 105k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh 04:51:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:51:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 04:51:10 sudo tee /etc/docker/daemon.new 04:51:10 { 04:51:10 "registry-mirrors": [ 04:51:10 "https://nexus3.edgexfoundry.org:10001" 04:51:10 ], 04:51:10 "bip": "10.250.0.254/24", 04:51:10 "hosts": [ 04:51:10 "tcp://0.0.0.0:5555", 04:51:10 "unix:///var/run/docker.sock" 04:51:10 ], 04:51:10 "mtu": 1458, 04:51:10 "selinux-enabled": true, 04:51:10 "seccomp-profile": "/etc/docker/seccomp.json" 04:51:10 } [Pipeline] sh 04:51:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:51:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:51:29 provisioning config files... 04:51:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/10@tmp/config10948238937797900018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:51:30 ---> docker-login.sh 04:51:30 nexus3.edgexfoundry.org:10001 04:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:51:30 Configure a credential helper to remove this warning. See 04:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:51:30 04:51:30 Login Succeeded 04:51:30 nexus3.edgexfoundry.org:10002 04:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:51:30 Configure a credential helper to remove this warning. See 04:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:51:30 04:51:30 Login Succeeded 04:51:30 nexus3.edgexfoundry.org:10003 04:51:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:51:31 Configure a credential helper to remove this warning. See 04:51:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:51:31 04:51:31 Login Succeeded 04:51:31 nexus3.edgexfoundry.org:10004 04:51:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:51:31 Configure a credential helper to remove this warning. See 04:51:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:51:31 04:51:31 Login Succeeded 04:51:31 docker.io 04:51:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:51:32 Configure a credential helper to remove this warning. See 04:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:51:32 04:51:32 Login Succeeded 04:51:32 ---> docker-login.sh ends [Pipeline] } 04:51:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:51:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:51:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:51:32 ========================================================= 04:51:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:51:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:32 + 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 . 04:51:33 Sending build context to Docker daemon 20.47MB 04:51:33 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 04:51:33 Step 2/14 : FROM ${BASE} AS builder 04:51:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:51:33 9b18e9b68314: Pulling fs layer 04:51:33 d32db5db7311: Pulling fs layer 04:51:33 d0c4b47475fc: Pulling fs layer 04:51:33 5831b945b038: Pulling fs layer 04:51:33 86bbec2aaacd: Pulling fs layer 04:51:33 e10730c5d714: Pulling fs layer 04:51:33 5dd5c2283517: Pulling fs layer 04:51:33 d5ac0230b979: Pulling fs layer 04:51:33 5831b945b038: Waiting 04:51:33 e10730c5d714: Waiting 04:51:33 86bbec2aaacd: Waiting 04:51:33 d5ac0230b979: Waiting 04:51:33 d0c4b47475fc: Download complete 04:51:33 d32db5db7311: Download complete 04:51:33 86bbec2aaacd: Verifying Checksum 04:51:33 86bbec2aaacd: Download complete 04:51:33 e10730c5d714: Verifying Checksum 04:51:33 e10730c5d714: Download complete 04:51:33 9b18e9b68314: Verifying Checksum 04:51:34 9b18e9b68314: Pull complete 04:51:34 d5ac0230b979: Verifying Checksum 04:51:34 d5ac0230b979: Download complete 04:51:35 d32db5db7311: Pull complete 04:51:35 d0c4b47475fc: Pull complete 04:51:35 5dd5c2283517: Verifying Checksum 04:51:35 5dd5c2283517: Download complete 04:51:36 5831b945b038: Verifying Checksum 04:51:36 5831b945b038: Download complete 04:51:49 5831b945b038: Pull complete 04:51:49 86bbec2aaacd: Pull complete 04:51:49 e10730c5d714: Pull complete 04:51:55 5dd5c2283517: Pull complete 04:51:57 d5ac0230b979: Pull complete 04:51:57 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 04:51:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:51:57 ---> 59b3b1a385d4 04:51:57 Step 3/14 : ARG ADD_BUILD_TAGS="" 04:51:58 ---> Running in 495da315b590 04:51:58 Removing intermediate container 495da315b590 04:51:58 ---> 5272463deeef 04:51:58 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:51:59 ---> Running in 381ceca3bdcc 04:51:59 Removing intermediate container 381ceca3bdcc 04:51:59 ---> 2fad91fce470 04:51:59 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:51:59 ---> Running in 459218c69534 04:51:59 Removing intermediate container 459218c69534 04:51:59 ---> 62404d287a6e 04:51:59 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 04:51:59 ---> Running in 4eb0905f1a63 04:51:59 Removing intermediate container 4eb0905f1a63 04:51:59 ---> 78d3ca75c92d 04:51:59 Step 7/14 : LABEL Name=edgex-device-onvif-camera 04:52:00 ---> Running in 0ea1313462d2 04:52:00 Removing intermediate container 0ea1313462d2 04:52:00 ---> 833171270085 04:52:00 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:52:00 ---> Running in 1a2b8024aaaa 04:52:02 Removing intermediate container 1a2b8024aaaa 04:52:02 ---> b618db245dfc 04:52:02 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:52:02 ---> Running in b978fac8de42 04:52:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:52:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:52:04 OK: 221 MiB in 51 packages 04:52:05 Removing intermediate container b978fac8de42 04:52:05 ---> 99efd7af80d3 04:52:05 Step 10/14 : WORKDIR /device-onvif-camera 04:52:05 ---> Running in a028d7186509 04:52:06 Removing intermediate container a028d7186509 04:52:06 ---> f0e3d7613550 04:52:06 Step 11/14 : COPY go.mod vendor* ./ 04:52:06 ---> 2e1c5f824228 04:52:06 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:52:06 ---> Running in de60890311bb 04:53:03 Removing intermediate container de60890311bb 04:53:03 ---> 27f10f94a621 04:53:03 Step 13/14 : COPY . . 04:53:03 ---> 6620bf9b1516 04:53:03 Step 14/14 : RUN ${MAKE} 04:53:03 ---> Running in a1a6a77ff8ea 04:53:03 noop 04:53:03 Removing intermediate container a1a6a77ff8ea 04:53:03 ---> c9c43280082e 04:53:03 Successfully built c9c43280082e 04:53:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:03 + docker inspect -f . ci-base-image-arm64 04:53:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:03 prd-ubuntu20.04-docker-arm64-4c-16g-84551 does not seem to be running inside a container 04:53:03 $ 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 04:53:05 $ docker top 1538dfe79518d18eeaacd6990f27a83668db98e5511ed6ecbe88fb2d1537b105 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:05 + go version 04:53:05 go version go1.18.7 linux/arm64 [Pipeline] } 04:53:05 $ docker stop --time=1 1538dfe79518d18eeaacd6990f27a83668db98e5511ed6ecbe88fb2d1537b105 04:53:07 $ 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 04:53:08 + docker inspect -f . ci-base-image-arm64 04:53:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:08 prd-ubuntu20.04-docker-arm64-4c-16g-84551 does not seem to be running inside a container 04:53:08 $ 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 04:53:09 $ docker top 7b88b677cecbf1c3259932e675ffe687038b2c7a8992441f4d14a8ca7f11ad0d -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:09 + git config --global --add safe.directory /w/workspace/device-onvif-camera/10 [Pipeline] fileExists [Pipeline] sh 04:53:10 + make test 04:53:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:53:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:54:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:54:48 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.194s coverage: 28.2% of statements 04:54:48 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:55:07 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.921s coverage: 86.5% of statements 04:55:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:55:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:55:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:55:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:55:39 ./bin/test-attribution-txt.sh [Pipeline] echo 04:55:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:55:39 $ docker stop --time=1 7b88b677cecbf1c3259932e675ffe687038b2c7a8992441f4d14a8ca7f11ad0d 04:55:41 $ docker rm -f 7b88b677cecbf1c3259932e675ffe687038b2c7a8992441f4d14a8ca7f11ad0d [Pipeline] // withDockerContainer [Pipeline] sh 04:55:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:55:42 Warning: overwriting stash ‘coverage-report’ 04:55:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:55:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:55:43 + ls -al . 04:55:43 total 240 04:55:43 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 04:53 . 04:55:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:50 .. 04:55:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 04:51 .git 04:55:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:51 .github 04:55:43 -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 04:51 .gitignore 04:55:43 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 04:51 .golangci.yml 04:55:43 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 04:51 Attribution.txt 04:55:43 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 04:51 CHANGELOG.md 04:55:43 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 04:51 Dockerfile 04:55:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 04:51 GOVERNANCE.md 04:55:43 -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 04:51 Jenkinsfile 04:55:43 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 04:51 LICENSE 04:55:43 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 04:51 Makefile 04:55:43 -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 04:51 OWNERS.md 04:55:43 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 04:51 README.md 04:55:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 02:30 VERSION 04:55:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 04:51 bin 04:55:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:51 cmd 04:55:43 -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 04:55 coverage.out 04:55:43 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 04:51 doc 04:55:43 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 04:51 go.mod 04:55:43 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 04:51 go.sum 04:55:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:51 internal 04:55:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:51 snap 04:55:43 -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 04:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:44 + 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 . 04:55:45 Sending build context to Docker daemon 20.55MB 04:55:45 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 04:55:45 Step 2/27 : FROM ${BASE} AS builder 04:55:45 ---> c9c43280082e 04:55:45 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:55:45 ---> Running in 886fe0e9c3df 04:55:45 Removing intermediate container 886fe0e9c3df 04:55:45 ---> 3de1d195fe43 04:55:45 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:55:45 ---> Running in e4d710f0150b 04:55:47 Removing intermediate container e4d710f0150b 04:55:47 ---> 4dfcb1fa8c6d 04:55:47 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:55:47 ---> Running in d109dbeb4e09 04:55:47 Removing intermediate container d109dbeb4e09 04:55:47 ---> a1f1c44c423c 04:55:47 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:55:47 ---> Running in 7c4dd7babb08 04:55:47 Removing intermediate container 7c4dd7babb08 04:55:47 ---> eebed2c65ece 04:55:47 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:55:47 ---> Running in 7b61f6aecac0 04:55:48 Removing intermediate container 7b61f6aecac0 04:55:48 ---> 554bf2383938 04:55:48 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:55:48 ---> Running in 6efb72c7d51f 04:55:49 Removing intermediate container 6efb72c7d51f 04:55:49 ---> af20007b684f 04:55:49 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:49 ---> Running in 249e95007028 04:55:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:55:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:55:52 OK: 221 MiB in 51 packages 04:55:53 Removing intermediate container 249e95007028 04:55:53 ---> 6f24ea095f93 04:55:53 Step 10/27 : WORKDIR /device-onvif-camera 04:55:53 ---> Running in 54fa958f7a3f 04:55:54 Removing intermediate container 54fa958f7a3f 04:55:54 ---> c2a2614cc0dd 04:55:54 Step 11/27 : COPY go.mod vendor* ./ 04:55:54 ---> 6218db6691aa 04:55:54 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:54 ---> Running in ab5c169923fb 04:55:56 Removing intermediate container ab5c169923fb 04:55:56 ---> 93743fc165bf 04:55:56 Step 13/27 : COPY . . 04:56:00 ---> 8e721910acbb 04:56:00 Step 14/27 : RUN ${MAKE} 04:56:00 ---> Running in 5b12eef60ead 04:56:02 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 04:58:24 Removing intermediate container 5b12eef60ead 04:58:24 ---> 6c0e1a323736 04:58:24 Step 15/27 : FROM alpine:3.16 04:58:24 3.16: Pulling from library/alpine 04:58:24 9b18e9b68314: Already exists 04:58:24 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:58:24 Status: Downloaded newer image for alpine:3.16 04:58:24 ---> a6215f271958 04:58:24 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:58:24 ---> Running in 6a6d400c259b 04:58:24 Removing intermediate container 6a6d400c259b 04:58:24 ---> 63088f19415b 04:58:24 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 04:58:24 ---> Running in b0118e206680 04:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:58:24 (1/6) Installing dumb-init (1.2.5-r1) 04:58:24 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:58:24 (3/6) Installing libsodium (1.0.18-r0) 04:58:24 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:58:24 (5/6) Installing libzmq (4.3.4-r0) 04:58:24 (6/6) Installing zeromq (4.3.4-r0) 04:58:24 Executing busybox-1.35.0-r17.trigger 04:58:24 OK: 8 MiB in 20 packages 04:58:25 Removing intermediate container b0118e206680 04:58:25 ---> 1e4e37de3a1e 04:58:25 Step 18/27 : WORKDIR / 04:58:25 ---> Running in df2377a3469e 04:58:25 Removing intermediate container df2377a3469e 04:58:25 ---> 12a513eb03bf 04:58:25 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:58:26 ---> 22ffd6c77fc5 04:58:26 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:58:27 ---> 0d915a1fc3e6 04:58:27 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:58:27 ---> 1fcf1137dc6f 04:58:27 Step 22/27 : EXPOSE 59984 04:58:27 ---> Running in 734dce295401 04:58:28 Removing intermediate container 734dce295401 04:58:28 ---> 86dedfcfd610 04:58:28 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:58:28 ---> Running in 477d39b8ce6d 04:58:28 Removing intermediate container 477d39b8ce6d 04:58:28 ---> 0510a8b25734 04:58:28 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:58:28 ---> Running in 00d922481d86 04:58:29 Removing intermediate container 00d922481d86 04:58:29 ---> 7cf1267f54b6 04:58:29 Step 25/27 : LABEL arch=arm64 04:58:29 ---> Running in f900e975aa60 04:58:29 Removing intermediate container f900e975aa60 04:58:29 ---> dcbf2cbf7cc2 04:58:29 Step 26/27 : LABEL git_sha=82450a2d5032a949362903be53b5038406ebabdb 04:58:29 ---> Running in c8f46a842c73 04:58:29 Removing intermediate container c8f46a842c73 04:58:29 ---> b7c40c731edf 04:58:29 Step 27/27 : LABEL version=0.0.0 04:58:29 ---> Running in ec186b792998 04:58:29 Removing intermediate container ec186b792998 04:58:29 ---> 0dcf2e2121ba 04:58:29 [Warning] One or more build-args [ARCH] were not consumed 04:58:29 Successfully built 0dcf2e2121ba 04:58:29 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 04:58:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:58:30 04:58:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:58:30 arm64: Pulling from edgex-lftools-log-publisher 04:58:30 8998bd30e6a1: Pulling fs layer 04:58:30 04944245beec: Pulling fs layer 04:58:30 699f458cf7ca: Pulling fs layer 04:58:30 765212b225bb: Pulling fs layer 04:58:30 f23df028b6ca: Pulling fs layer 04:58:30 d65c8cfc05b1: Pulling fs layer 04:58:30 2437ff75d9bd: Pulling fs layer 04:58:30 765212b225bb: Waiting 04:58:30 f23df028b6ca: Waiting 04:58:30 d65c8cfc05b1: Waiting 04:58:30 2437ff75d9bd: Waiting 04:58:31 04944245beec: Verifying Checksum 04:58:31 04944245beec: Download complete 04:58:31 765212b225bb: Verifying Checksum 04:58:31 765212b225bb: Download complete 04:58:31 f23df028b6ca: Verifying Checksum 04:58:31 f23df028b6ca: Download complete 04:58:31 d65c8cfc05b1: Verifying Checksum 04:58:31 d65c8cfc05b1: Download complete 04:58:31 699f458cf7ca: Verifying Checksum 04:58:31 699f458cf7ca: Download complete 04:58:31 8998bd30e6a1: Verifying Checksum 04:58:31 8998bd30e6a1: Download complete 04:58:34 2437ff75d9bd: Verifying Checksum 04:58:34 2437ff75d9bd: Download complete 04:58:35 8998bd30e6a1: Pull complete 04:58:36 04944245beec: Pull complete 04:58:37 699f458cf7ca: Pull complete 04:58:37 765212b225bb: Pull complete 04:58:38 f23df028b6ca: Pull complete 04:58:38 d65c8cfc05b1: Pull complete 04:58:53 2437ff75d9bd: Pull complete 04:58:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:58:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:58:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:53 prd-ubuntu20.04-docker-arm64-4c-16g-84551 does not seem to be running inside a container 04:58:53 $ 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 04:58:56 $ docker top 137397af7fcf60c79845d3d261da882efcaa99b067aaada38163690f88d7c804 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:57 ---> job-cost.sh 04:58:57 lf-activate-venv: SKIPPING 04:58:57 INFO: No Stack... 04:58:57 INFO: Retrieving Pricing Info for: v3-standard-4 04:58:58 INFO: Archiving Costs [Pipeline] sh 04:58:58 + cut -d, -f6 04:58:58 + cat /w/workspace/device-onvif-camera/10/archives/cost.csv [Pipeline] lock 04:58:58 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] 04:58:58 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] did not exist. Created. 04:58:58 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:58:59 /w/workspace/device-onvif-camera/10@tmp/durable-33ad040c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:58:59 + echo total: 0.10999999940395355 [Pipeline] stash 04:58:59 Warning: overwriting stash ‘stack-cost’ 04:59:00 Stashed 1 file(s) [Pipeline] } 04:59:00 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-10-stack-cost] [Pipeline] // lock [Pipeline] } 04:59:00 $ docker stop --time=1 137397af7fcf60c79845d3d261da882efcaa99b067aaada38163690f88d7c804 04:59:01 $ 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 04:59:01 provisioning config files... 04:59:01 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config1876219213406295443tmp [Pipeline] { [Pipeline] sh 04:59:02 + set +x 04:59:02 + curl -s https://codecov.io/bash 04:59:02 + bash -s -- 04:59:02 04:59:02 _____ _ 04:59:02 / ____| | | 04:59:02 | | ___ __| | ___ ___ _____ __ 04:59:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:59:02 | |___| (_) | (_| | __/ (_| (_) \ V / 04:59:02 \_____\___/ \__,_|\___|\___\___/ \_/ 04:59:02 Bash-1.0.6 04:59:02 04:59:02 04:59:02 ==> git version 2.25.1 found 04:59:02 ==> 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 04:59:02 Release-Date: 2020-01-08 04:59:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:59:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:59:02 ==> Jenkins CI detected. 04:59:02 current dir:  /w/workspace/undry_device-onvif-camera_PR-180 04:59:02 project root: . 04:59:02 --> token set from env 04:59:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:59:02 ==> Running gcov in . (disable via -X gcov) 04:59:02 ==> Python coveragepy not found 04:59:02 ==> Searching for coverage reports in: 04:59:02 + . 04:59:02 -> Found 1 reports 04:59:02 ==> Detecting git/mercurial file structure 04:59:02 ==> Reading reports 04:59:02 + ./coverage.out bytes=78636 04:59:02 ==> Appending adjustments 04:59:02 https://docs.codecov.io/docs/fixing-reports 04:59:02 + Found adjustments 04:59:02 ==> Gzipping contents 04:59:02 12K /tmp/codecov.8kSmfh.gz 04:59:02 ==> Uploading reports 04:59:02 url: https://codecov.io 04:59:02 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= 04:59:02 -> Pinging Codecov 04:59:02 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= 04:59:02 -> Uploading to 04:59:02 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 04:59:02 % Total % Received % Xferd Average Speed Time Time Time Current 04:59:02 Dload Upload Total Spent Left Speed 04:59:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10813 0 0 100 10813 0 42238 --:--:-- --:--:-- --:--:-- 42403 04:59:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d690737cfe4079a8d070e67a59bd598b6129d7d2 [Pipeline] } 04:59:02 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 04:59:03 + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] 04:59:03 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 04:59:03 total 16 04:59:03 drwxr-xr-x 3 root root 4096 Oct 25 02:32 . 04:59:03 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 02:32 .. 04:59:03 drwxr-xr-x 2 root root 4096 Oct 25 02:32 cost 04:59:03 -rw-r--r-- 1 root root 92 Oct 25 02:32 cost.csv 04:59:03 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives 04:59:03 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 04:59:03 total 16 04:59:03 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 02:32 . 04:59:03 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 02:32 .. 04:59:03 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 02:32 cost 04:59:03 -rw-r--r-- 1 jenkins jenkins 92 Oct 25 02:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:59:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:59:04 ---> package-listing.sh 04:59:04 ++ facter osfamily 04:59:04 ++ tr '[:upper:]' '[:lower:]' 04:59:05 + OS_FAMILY=debian 04:59:05 + workspace=/w/workspace/undry_device-onvif-camera_PR-180 04:59:05 + START_PACKAGES=/tmp/packages_start.txt 04:59:05 + END_PACKAGES=/tmp/packages_end.txt 04:59:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:59:05 + PACKAGES=/tmp/packages_start.txt 04:59:05 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 04:59:05 + PACKAGES=/tmp/packages_end.txt 04:59:05 + case "${OS_FAMILY}" in 04:59:05 + dpkg -l 04:59:05 + grep '^ii' 04:59:05 + '[' -f /tmp/packages_start.txt ']' 04:59:05 + '[' -f /tmp/packages_end.txt ']' 04:59:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:59:05 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 04:59:05 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ 04:59:05 + 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 04:59:05 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 04:59:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:59:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:05 prd-ubuntu20.04-docker-8c-8g-69650 does not seem to be running inside a container 04:59:05 $ 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 04:59:06 $ docker top 3e9cfc57e56ba2dc6bbd2aea4e3a930046a115ef047e592487af82a602a7a892 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:06 + touch /tmp/pre-build-complete [Pipeline] sh 04:59:06 + mkdir -p /var/log/sysstat [Pipeline] sh 04:59:07 + ls /var/log/sa-host 04:59:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:59:07 provisioning config files... 04:59:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config9468129424827956731tmp [Pipeline] { [Pipeline] echo 04:59:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:59:07 ---> create-netrc.sh [Pipeline] } 04:59:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:59:07 ---> python-tools-install.sh [Pipeline] echo 04:59:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:59:08 ---> sudo-logs.sh 04:59:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:59:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:59:08 ---> job-cost.sh 04:59:08 lf-activate-venv: SKIPPING 04:59:08 DEBUG: total: 0.2199999988079071 04:59:08 INFO: Retrieving Stack Cost... 04:59:09 INFO: Retrieving Pricing Info for: v3-standard-8 04:59:09 INFO: Archiving Costs [Pipeline] echo 04:59:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:59:09 ---> logs-deploy.sh 04:59:09 lf-activate-venv: SKIPPING 04:59:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/10 04:59:09 INFO: archiving workspace using pattern(s): 04:59:10 Archives upload complete. 04:59:11 INFO: archiving logs to Nexus 04:59:11 ---> uname -a: 04:59:11 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 04:59:11 04:59:11 04:59:11 ---> lscpu: 04:59:11 Architecture: x86_64 04:59:11 CPU op-mode(s): 32-bit, 64-bit 04:59:11 Byte Order: Little Endian 04:59:11 Address sizes: 40 bits physical, 48 bits virtual 04:59:11 CPU(s): 8 04:59:11 On-line CPU(s) list: 0-7 04:59:11 Thread(s) per core: 1 04:59:11 Core(s) per socket: 1 04:59:11 Socket(s): 8 04:59:11 NUMA node(s): 1 04:59:11 Vendor ID: AuthenticAMD 04:59:11 CPU family: 23 04:59:11 Model: 49 04:59:11 Model name: AMD EPYC-Rome Processor 04:59:11 Stepping: 0 04:59:11 CPU MHz: 2799.988 04:59:11 BogoMIPS: 5599.97 04:59:11 Virtualization: AMD-V 04:59:11 Hypervisor vendor: KVM 04:59:11 Virtualization type: full 04:59:11 L1d cache: 256 KiB 04:59:11 L1i cache: 256 KiB 04:59:11 L2 cache: 4 MiB 04:59:11 L3 cache: 128 MiB 04:59:11 NUMA node0 CPU(s): 0-7 04:59:11 Vulnerability Itlb multihit: Not affected 04:59:11 Vulnerability L1tf: Not affected 04:59:11 Vulnerability Mds: Not affected 04:59:11 Vulnerability Meltdown: Not affected 04:59:11 Vulnerability Mmio stale data: Not affected 04:59:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:59:11 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:59:11 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:59:11 Vulnerability Srbds: Not affected 04:59:11 Vulnerability Tsx async abort: Not affected 04:59:11 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 04:59:11 04:59:11 04:59:11 ---> nproc: 04:59:11 8 04:59:11 04:59:11 04:59:11 ---> df -h: 04:59:11 Filesystem Size Used Avail Use% Mounted on 04:59:11 overlay 155G 12G 144G 8% / 04:59:11 tmpfs 64M 0 64M 0% /dev 04:59:11 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:59:11 shm 64M 0 64M 0% /dev/shm 04:59:11 /dev/vda1 155G 12G 144G 8% /facter-os 04:59:11 04:59:11