Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 07d7568c4aa69296c110ad64a28331e8173121ad rather than 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Obtained Jenkinsfile from 07d7568c4aa69296c110ad64a28331e8173121ad 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-ssh6090363029930407272.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17061479021204745230.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-153/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-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3040576241237819239.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2578974474867072335.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-153/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-153/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16739853086706510882.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-1280 in /w/workspace/undry_device-onvif-camera_PR-153 [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-153 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07d7568c4aa69296c110ad64a28331e8173121ad into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Merge succeeded, producing 8356ddb591ab8c61522897e5c7e34dfacabe037b Checking out Revision 8356ddb591ab8c61522897e5c7e34dfacabe037b (PR-153) > git config core.sparsecheckout # timeout=10 > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # 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 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8356ddb591ab8c61522897e5c7e34dfacabe037b # timeout=10 Commit message: "Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:11:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:11:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:11:06 ========================================================= 02:11:06 EdgeX Global Pipelines Version Info 02:11:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:11:07 ------------------- 02:11:07 stable info: 02:11:07 ------------------- 02:11:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:11:07 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:11:07 Message: update stable to v1.0.239 > git rev-list --no-walk f43f3e7f803e7c8ac421823274e1992d92a8e402 # timeout=10 02:11:07 ------------------- 02:11:07 experimental info: 02:11:07 ------------------- 02:11:07 Commited By: **** collab-it+edgex@linuxfoundation.org 02:11:07 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:11:07 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:11:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:11:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:11:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:11:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo 02:11:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo 02:11:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo 02:11:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8356ddb591ab8c61522897e5c7e34dfacabe037b [Pipeline] echo 02:11:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8356ddb [Pipeline] echo 02:11:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:08 provisioning config files... 02:11:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config4027659530698049917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:08 ---> docker-login.sh 02:11:08 nexus3.edgexfoundry.org:10001 02:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:08 Configure a credential helper to remove this warning. See 02:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:08 02:11:08 Login Succeeded 02:11:08 nexus3.edgexfoundry.org:10002 02:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:09 Configure a credential helper to remove this warning. See 02:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:09 02:11:09 Login Succeeded 02:11:09 nexus3.edgexfoundry.org:10003 02:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:09 Configure a credential helper to remove this warning. See 02:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:09 02:11:09 Login Succeeded 02:11:09 nexus3.edgexfoundry.org:10004 02:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:09 Configure a credential helper to remove this warning. See 02:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:09 02:11:09 Login Succeeded 02:11:09 docker.io 02:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:09 Configure a credential helper to remove this warning. See 02:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:09 02:11:09 Login Succeeded 02:11:09 ---> docker-login.sh ends [Pipeline] } 02:11:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:11:09 + git rev-list -1 --merges 8356ddb591ab8c61522897e5c7e34dfacabe037b~1..8356ddb591ab8c61522897e5c7e34dfacabe037b [Pipeline] echo 02:11:09 -----------> git rev-list -1 --merges 8356ddb591ab8c61522897e5c7e34dfacabe037b~1..8356ddb591ab8c61522897e5c7e34dfacabe037b 8356ddb591ab8c61522897e5c7e34dfacabe037b 02:11:09 8356ddb591ab8c61522897e5c7e34dfacabe037b [false] [Pipeline] sh 02:11:10 + git log --format=format:%s -1 8356ddb591ab8c61522897e5c7e34dfacabe037b [Pipeline] echo 02:11:10 ========================================================= 02:11:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:11:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:11:10 + git log --format=format:%s -1 8356ddb591ab8c61522897e5c7e34dfacabe037b [Pipeline] echo 02:11:10 [semverPrep] GIT_COMMIT: 8356ddb591ab8c61522897e5c7e34dfacabe037b, Commit Message: Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD [Pipeline] echo 02:11:10 [semverPrep] This is not a build commit. [Pipeline] sh 02:11:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:11:10 + grep -v github /etc/ssh/ssh_known_hosts 02:11:10 + [ -e /tmp/ssh_known_hosts ] 02:11:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:11:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:11:10 + sudo tee -a /etc/ssh/ssh_known_hosts 02:11:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:11 02:11:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:11 0.1.4: Pulling from edgex-devops/py-git-semver 02:11:11 b85a868b505f: Pulling fs layer 02:11:11 e2be974225ed: Pulling fs layer 02:11:11 339a4e72a1f5: Pulling fs layer 02:11:11 988bab9f4d93: Pulling fs layer 02:11:11 1469e6f7b9e6: Pulling fs layer 02:11:11 eaf3925da568: Pulling fs layer 02:11:11 bab4dde63d76: Pulling fs layer 02:11:11 bde34c3a00c8: Pulling fs layer 02:11:11 b352a97aabf1: Pulling fs layer 02:11:11 4872d77fe225: Pulling fs layer 02:11:11 5851b861e8e6: Pulling fs layer 02:11:11 bab4dde63d76: Waiting 02:11:11 bde34c3a00c8: Waiting 02:11:11 b352a97aabf1: Waiting 02:11:11 5851b861e8e6: Waiting 02:11:11 4872d77fe225: Waiting 02:11:11 988bab9f4d93: Waiting 02:11:11 1469e6f7b9e6: Waiting 02:11:11 eaf3925da568: Waiting 02:11:11 e2be974225ed: Download complete 02:11:11 988bab9f4d93: Verifying Checksum 02:11:11 988bab9f4d93: Download complete 02:11:11 339a4e72a1f5: Verifying Checksum 02:11:11 339a4e72a1f5: Download complete 02:11:11 eaf3925da568: Verifying Checksum 02:11:11 eaf3925da568: Download complete 02:11:11 1469e6f7b9e6: Verifying Checksum 02:11:11 1469e6f7b9e6: Download complete 02:11:11 bde34c3a00c8: Verifying Checksum 02:11:11 bde34c3a00c8: Download complete 02:11:11 b352a97aabf1: Download complete 02:11:11 b85a868b505f: Verifying Checksum 02:11:11 b85a868b505f: Download complete 02:11:11 4872d77fe225: Download complete 02:11:11 5851b861e8e6: Verifying Checksum 02:11:11 5851b861e8e6: Download complete 02:11:12 bab4dde63d76: Verifying Checksum 02:11:12 bab4dde63d76: Download complete 02:11:13 b85a868b505f: Pull complete 02:11:13 e2be974225ed: Pull complete 02:11:14 339a4e72a1f5: Pull complete 02:11:14 988bab9f4d93: Pull complete 02:11:14 1469e6f7b9e6: Pull complete 02:11:14 eaf3925da568: Pull complete 02:11:16 bab4dde63d76: Pull complete 02:11:16 bde34c3a00c8: Pull complete 02:11:16 b352a97aabf1: Pull complete 02:11:16 4872d77fe225: Pull complete 02:11:16 5851b861e8e6: Pull complete 02:11:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:16 prd-ubuntu20.04-docker-8c-8g-1280 does not seem to be running inside a container 02:11:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:11:18 $ docker top dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f -eo pid,comm 02:11:18 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:11:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:11:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:18 [ssh-agent] Looking for ssh-agent implementation... 02:11:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:18 $ docker exec dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f ssh-agent 02:11:18 SSH_AUTH_SOCK=/tmp/ssh-xN6qglT0cL7e/agent.33 02:11:18 SSH_AGENT_PID=39 02:11:18 Running ssh-add (command line suppressed) 02:11:18 Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_438868625270042220.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_438868625270042220.key) 02:11:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:19 + git tag --points-at HEAD [Pipeline] } 02:11:19 $ docker exec --env ******** --env ******** dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f ssh-agent -k 02:11:19 unset SSH_AUTH_SOCK; 02:11:19 unset SSH_AGENT_PID; 02:11:19 echo Agent pid 39 killed; 02:11:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:11:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:19 [ssh-agent] Looking for ssh-agent implementation... 02:11:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:19 $ docker exec dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f ssh-agent 02:11:19 SSH_AUTH_SOCK=/tmp/ssh-pPUBtuZCHWpy/agent.72 02:11:19 SSH_AGENT_PID=78 02:11:19 Running ssh-add (command line suppressed) 02:11:19 Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_614980698844979823.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_614980698844979823.key) 02:11:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:19 + git semver init 02:11:20 2022-09-27 02:11:19,992 [run_init] DEBUG init version:0.0.0 force:False 02:11:20 2022-09-27 02:11:19,993 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-153/.semver 02:11:20 2022-09-27 02:11:19,994 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-153/.semver 02:11:20 2022-09-27 02:11:19,994 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-153/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-153, universal_newlines=False, shell=None, istream=None) 02:11:21 2022-09-27 02:11:20,932 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-153/.git/info/exclude 02:11:21 2022-09-27 02:11:20,932 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 with force:False 02:11:21 2022-09-27 02:11:20,933 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 02:11:21 2022-09-27 02:11:20,936 [execute] INFO git cat-file --batch-check 02:11:21 2022-09-27 02:11:20,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) 02:11:21 2022-09-27 02:11:20,942 [execute] INFO git cat-file --batch 02:11:21 2022-09-27 02:11:20,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) 02:11:21 2022-09-27 02:11:20,946 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 02:11:21 0.0.0 [Pipeline] } 02:11:21 $ docker exec --env ******** --env ******** dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f ssh-agent -k 02:11:21 unset SSH_AUTH_SOCK; 02:11:21 unset SSH_AGENT_PID; 02:11:21 echo Agent pid 78 killed; 02:11:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:11:21 + git semver [Pipeline] } 02:11:21 $ docker stop --time=1 dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f 02:11:23 $ docker rm -f dd7866eb69e5f1788135eb692d7b7cfeb73d861fa4d86e5805eff61fba4e739f [Pipeline] // withDockerContainer [Pipeline] sh 02:11:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:11:23 Stashed 1 file(s) [Pipeline] echo 02:11:23 [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:11:23 provisioning config files... 02:11:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config8265507324812036781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:24 ---> docker-login.sh 02:11:24 nexus3.edgexfoundry.org:10001 02:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:24 Configure a credential helper to remove this warning. See 02:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:24 02:11:24 Login Succeeded 02:11:24 nexus3.edgexfoundry.org:10002 02:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:24 Configure a credential helper to remove this warning. See 02:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:24 02:11:24 Login Succeeded 02:11:24 nexus3.edgexfoundry.org:10003 02:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:24 Configure a credential helper to remove this warning. See 02:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:24 02:11:24 Login Succeeded 02:11:24 nexus3.edgexfoundry.org:10004 02:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:24 Configure a credential helper to remove this warning. See 02:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:24 02:11:24 Login Succeeded 02:11:24 docker.io 02:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:24 Configure a credential helper to remove this warning. See 02:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:24 02:11:24 Login Succeeded 02:11:24 ---> docker-login.sh ends [Pipeline] } 02:11:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:11:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:24 ========================================================= 02:11:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:11:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:25 + 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:11:25 Sending build context to Docker daemon 20.74MB 02:11:25 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 02:11:25 Step 2/13 : FROM ${BASE} AS builder 02:11:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:11:25 2408cc74d12b: Pulling fs layer 02:11:25 ea60b727a1ce: Pulling fs layer 02:11:25 30c4a7721957: Pulling fs layer 02:11:25 370296b7ddb6: Pulling fs layer 02:11:25 7c6cee850709: Pulling fs layer 02:11:25 39a5fcdaea64: Pulling fs layer 02:11:25 d94ebbe4e438: Pulling fs layer 02:11:25 bcfd1f05c69d: Pulling fs layer 02:11:25 59ccb84bbe0f: Pulling fs layer 02:11:25 7c6cee850709: Waiting 02:11:25 d94ebbe4e438: Waiting 02:11:25 370296b7ddb6: Waiting 02:11:25 39a5fcdaea64: Waiting 02:11:25 bcfd1f05c69d: Waiting 02:11:25 59ccb84bbe0f: Waiting 02:11:25 30c4a7721957: Verifying Checksum 02:11:25 30c4a7721957: Download complete 02:11:25 ea60b727a1ce: Verifying Checksum 02:11:25 ea60b727a1ce: Download complete 02:11:25 7c6cee850709: Verifying Checksum 02:11:25 7c6cee850709: Download complete 02:11:25 39a5fcdaea64: Verifying Checksum 02:11:25 39a5fcdaea64: Download complete 02:11:25 2408cc74d12b: Verifying Checksum 02:11:25 2408cc74d12b: Download complete 02:11:25 d94ebbe4e438: Verifying Checksum 02:11:25 d94ebbe4e438: Download complete 02:11:25 2408cc74d12b: Pull complete 02:11:25 ea60b727a1ce: Pull complete 02:11:25 30c4a7721957: Pull complete 02:11:26 bcfd1f05c69d: Verifying Checksum 02:11:26 bcfd1f05c69d: Download complete 02:11:26 59ccb84bbe0f: Verifying Checksum 02:11:26 59ccb84bbe0f: Download complete 02:11:26 370296b7ddb6: Verifying Checksum 02:11:26 370296b7ddb6: Download complete 02:11:30 370296b7ddb6: Pull complete 02:11:30 7c6cee850709: Pull complete 02:11:30 39a5fcdaea64: Pull complete 02:11:30 d94ebbe4e438: Pull complete 02:11:33 bcfd1f05c69d: Pull complete 02:11:33 59ccb84bbe0f: Pull complete 02:11:33 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 02:11:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:11:33 ---> a4fb48ad2a94 02:11:33 Step 3/13 : ARG MAKE="make build" 02:11:35 ---> Running in 5990af0c22da 02:11:35 Removing intermediate container 5990af0c22da 02:11:35 ---> 31d71e08b3bc 02:11:35 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:11:35 ---> Running in 964e7751255a 02:11:35 Removing intermediate container 964e7751255a 02:11:35 ---> d29f25562816 02:11:35 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 02:11:35 ---> Running in 6a15d0df56d4 02:11:35 Removing intermediate container 6a15d0df56d4 02:11:35 ---> 55d529ef110c 02:11:35 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:11:35 ---> Running in f6e3acfa441d 02:11:35 Removing intermediate container f6e3acfa441d 02:11:35 ---> 21f43904176f 02:11:35 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:11:35 ---> Running in 76619f4357c0 02:11:36 Removing intermediate container 76619f4357c0 02:11:36 ---> 1c96d6c9bf8f 02:11:36 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:11:36 ---> Running in dedcee6d84ce 02:11:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:11:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:11:37 OK: 211 MiB in 51 packages 02:11:37 Removing intermediate container dedcee6d84ce 02:11:37 ---> 05972bc99402 02:11:37 Step 9/13 : WORKDIR /device-onvif-camera 02:11:37 ---> Running in 8a1c0a0634b4 02:11:38 Removing intermediate container 8a1c0a0634b4 02:11:38 ---> 7579a78660ad 02:11:38 Step 10/13 : COPY go.mod vendor* ./ 02:11:38 ---> 9a09b7422107 02:11:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:11:38 ---> Running in 89a48621b1a4 02:11:38 Still waiting to schedule task 02:11:38 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:12:00 Removing intermediate container 89a48621b1a4 02:12:00 ---> 74fe5e9b1dd9 02:12:00 Step 12/13 : COPY . . 02:12:00 ---> 1a5105f13e3e 02:12:00 Step 13/13 : RUN ${MAKE} 02:12:00 ---> Running in ca60d72649bb 02:12:00 noop 02:12:00 Removing intermediate container ca60d72649bb 02:12:00 ---> f8cea7d4d032 02:12:00 Successfully built f8cea7d4d032 02:12:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:00 + docker inspect -f . ci-base-image-x86_64 02:12:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:00 prd-ubuntu20.04-docker-8c-8g-1280 does not seem to be running inside a container 02:12:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:12:01 $ docker top b31b118b20549fe8ec950d51661fa955aef495759f7d2e109660b3c4d2d8e04f -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:01 + go version 02:12:01 go version go1.18.3 linux/amd64 [Pipeline] } 02:12:01 $ docker stop --time=1 b31b118b20549fe8ec950d51661fa955aef495759f7d2e109660b3c4d2d8e04f 02:12:02 $ docker rm -f b31b118b20549fe8ec950d51661fa955aef495759f7d2e109660b3c4d2d8e04f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:03 + docker inspect -f . ci-base-image-x86_64 02:12:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:03 prd-ubuntu20.04-docker-8c-8g-1280 does not seem to be running inside a container 02:12:03 $ 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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:12:03 $ docker top c465ec15e6819e5719a16f66a60773f6a991d04866a7633bd77e2a5adfbc584d -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:04 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] fileExists [Pipeline] sh 02:12:04 + make test 02:12:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:12:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:12:16 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:12:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements 02:12:16 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:12:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.455s coverage: 86.5% of statements 02:12:25 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:12:25 internal/driver/onvifdiscovery_test.go:19:2: `uuid1` is unused (deadcode) 02:12:25 uuid1 = "1793ddc8-28b0-11ed-a261-0242ac120002" 02:12:25 ^ 02:12:25 make: *** [Makefile:58: lint] Error 1 [Pipeline] } 02:12:25 $ docker stop --time=1 c465ec15e6819e5719a16f66a60773f6a991d04866a7633bd77e2a5adfbc584d 02:12:26 $ docker rm -f c465ec15e6819e5719a16f66a60773f6a991d04866a7633bd77e2a5adfbc584d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:27 02:12:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:27 latest: Pulling from edgex-lftools-log-publisher 02:12:27 5eb5b503b376: Pulling fs layer 02:12:27 5c69ac0246d0: Pulling fs layer 02:12:27 ec43610c2a17: Pulling fs layer 02:12:27 3a2ae6a8a46f: Pulling fs layer 02:12:27 33b1e0a273af: Pulling fs layer 02:12:27 5d3b04190fa2: Pulling fs layer 02:12:27 2f39f015ded8: Pulling fs layer 02:12:27 33b1e0a273af: Waiting 02:12:27 5d3b04190fa2: Waiting 02:12:27 2f39f015ded8: Waiting 02:12:27 3a2ae6a8a46f: Waiting 02:12:27 5c69ac0246d0: Verifying Checksum 02:12:27 3a2ae6a8a46f: Verifying Checksum 02:12:27 3a2ae6a8a46f: Download complete 02:12:27 33b1e0a273af: Verifying Checksum 02:12:27 33b1e0a273af: Download complete 02:12:27 5d3b04190fa2: Download complete 02:12:27 ec43610c2a17: Verifying Checksum 02:12:27 ec43610c2a17: Download complete 02:12:27 5eb5b503b376: Download complete 02:12:28 2f39f015ded8: Download complete 02:12:28 5eb5b503b376: Pull complete 02:12:29 5c69ac0246d0: Pull complete 02:12:29 ec43610c2a17: Pull complete 02:12:29 3a2ae6a8a46f: Pull complete 02:12:30 33b1e0a273af: Pull complete 02:12:30 5d3b04190fa2: Pull complete 02:12:34 2f39f015ded8: Pull complete 02:12:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:12:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:34 prd-ubuntu20.04-docker-8c-8g-1280 does not seem to be running inside a container 02:12:34 $ 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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:12:35 $ docker top c7e04d7eb3157b8cf8488a458fb6eea028cf0b4f7a1ae72295ee89acb86112cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:36 ---> job-cost.sh 02:12:36 lf-activate-venv: SKIPPING 02:12:36 INFO: No Stack... 02:12:36 INFO: Retrieving Pricing Info for: v3-standard-8 02:12:37 INFO: Archiving Costs [Pipeline] sh 02:12:37 + cat+ /w/workspace/undry_device-onvif-camera_PR-153/archives/cost.csv 02:12:37 cut -d, -f6 [Pipeline] lock 02:12:37 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] 02:12:37 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] did not exist. Created. 02:12:37 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:12:37 + echo total: 0.2199999988079071 [Pipeline] stash 02:12:37 Stashed 1 file(s) [Pipeline] } 02:12:37 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] [Pipeline] // lock [Pipeline] } 02:12:37 $ docker stop --time=1 c7e04d7eb3157b8cf8488a458fb6eea028cf0b4f7a1ae72295ee89acb86112cf 02:12:38 $ docker rm -f c7e04d7eb3157b8cf8488a458fb6eea028cf0b4f7a1ae72295ee89acb86112cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:12:38 Failed in branch amd64 02:14:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1282 in /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] { [Pipeline] ws 02:14:19 Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout 02:14:19 The recommended git tool is: git 02:14:25 using credential edgex-jenkins-ssh 02:14:25 Cloning the remote Git repository 02:14:25 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:14:25 > git init /w/workspace/device-onvif-camera/5 # timeout=10 02:14:25 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:14:25 > git --version # timeout=10 02:14:25 > git --version # 'git version 2.25.1' 02:14:25 using GIT_SSH to set credentials SSH Credentials for GitHub 02:14:25 Verifying host key using known hosts file 02:14:26 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. 02:14:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:14:27 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:14:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:14:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:14:28 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:14:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:14:28 Verifying host key using known hosts file 02:14:28 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. 02:14:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:14:28 Merging remotes/origin/main commit 07d7568c4aa69296c110ad64a28331e8173121ad into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 02:14:29 Merge succeeded, producing bd38a216c74155d78c9d5a41b711f518272ed920 02:14:29 Checking out Revision bd38a216c74155d78c9d5a41b711f518272ed920 (PR-153) 02:14:29 > git config core.sparsecheckout # timeout=10 02:14:29 > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 02:14:29 > git remote # timeout=10 02:14:29 > git config --get remote.origin.url # timeout=10 02:14:29 using GIT_SSH to set credentials SSH Credentials for GitHub 02:14:29 Verifying host key using known hosts file 02:14:29 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. 02:14:29 > git merge 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 02:14:29 > git rev-parse HEAD^{commit} # timeout=10 02:14:29 > git config core.sparsecheckout # timeout=10 02:14:29 > git checkout -f bd38a216c74155d78c9d5a41b711f518272ed920 # timeout=10 02:14:33 Commit message: "Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD" 02:14:33 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:14:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:14:34 % Total % Received % Xferd Average Speed Time Time Time Current 02:14:34 Dload Upload Total Spent Left Speed 02:14:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 78762 0 --:--:-- --:--:-- --:--:-- 78762 02:14:33 > git rev-list --no-walk f43f3e7f803e7c8ac421823274e1992d92a8e402 # timeout=10 [Pipeline] sh 02:14:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:14:35 + sudo tee /etc/docker/daemon.new 02:14:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:14:35 { 02:14:35 "registry-mirrors": [ 02:14:35 "https://nexus3.edgexfoundry.org:10001" 02:14:35 ], 02:14:35 "bip": "10.250.0.254/24", 02:14:35 "hosts": [ 02:14:35 "tcp://0.0.0.0:5555", 02:14:35 "unix:///var/run/docker.sock" 02:14:35 ], 02:14:35 "mtu": 1458, 02:14:35 "selinux-enabled": true, 02:14:35 "seccomp-profile": "/etc/docker/seccomp.json" 02:14:35 } [Pipeline] sh 02:14:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:14:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:14:54 provisioning config files... 02:14:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config1760759812558583787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:14:54 ---> docker-login.sh 02:14:54 nexus3.edgexfoundry.org:10001 02:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:55 Configure a credential helper to remove this warning. See 02:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:55 02:14:55 Login Succeeded 02:14:55 nexus3.edgexfoundry.org:10002 02:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:55 Configure a credential helper to remove this warning. See 02:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:55 02:14:55 Login Succeeded 02:14:55 nexus3.edgexfoundry.org:10003 02:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:56 Configure a credential helper to remove this warning. See 02:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:56 02:14:56 Login Succeeded 02:14:56 nexus3.edgexfoundry.org:10004 02:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:56 Configure a credential helper to remove this warning. See 02:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:56 02:14:56 Login Succeeded 02:14:56 docker.io 02:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:57 Configure a credential helper to remove this warning. See 02:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:57 02:14:57 Login Succeeded 02:14:57 ---> docker-login.sh ends [Pipeline] } 02:14:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:14:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:14:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:14:57 ========================================================= 02:14:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:14:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:57 + 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 . 02:14:58 Sending build context to Docker daemon 14.2MB 02:14:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 02:14:58 Step 2/13 : FROM ${BASE} AS builder 02:14:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:14:58 b3c136eddcbf: Pulling fs layer 02:14:58 c0a3192eca97: Pulling fs layer 02:14:58 a050256f5b6f: Pulling fs layer 02:14:58 656be50a0ddc: Pulling fs layer 02:14:58 2bbca73fdf42: Pulling fs layer 02:14:58 46d945488cbd: Pulling fs layer 02:14:58 8a5474983e97: Pulling fs layer 02:14:58 329c88fbcd65: Pulling fs layer 02:14:58 656be50a0ddc: Waiting 02:14:58 2bbca73fdf42: Waiting 02:14:58 46d945488cbd: Waiting 02:14:58 8a5474983e97: Waiting 02:14:58 329c88fbcd65: Waiting 02:14:58 a050256f5b6f: Verifying Checksum 02:14:58 a050256f5b6f: Download complete 02:14:58 c0a3192eca97: Download complete 02:14:58 2bbca73fdf42: Verifying Checksum 02:14:58 2bbca73fdf42: Download complete 02:14:58 46d945488cbd: Download complete 02:14:58 b3c136eddcbf: Verifying Checksum 02:14:58 b3c136eddcbf: Download complete 02:14:59 329c88fbcd65: Verifying Checksum 02:14:59 329c88fbcd65: Download complete 02:15:00 b3c136eddcbf: Pull complete 02:15:00 c0a3192eca97: Pull complete 02:15:00 8a5474983e97: Verifying Checksum 02:15:00 8a5474983e97: Download complete 02:15:00 a050256f5b6f: Pull complete 02:15:01 656be50a0ddc: Verifying Checksum 02:15:01 656be50a0ddc: Download complete 02:15:13 656be50a0ddc: Pull complete 02:15:13 2bbca73fdf42: Pull complete 02:15:13 46d945488cbd: Pull complete 02:15:18 8a5474983e97: Pull complete 02:15:20 329c88fbcd65: Pull complete 02:15:20 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 02:15:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:15:20 ---> ff4287adb874 02:15:20 Step 3/13 : ARG MAKE="make build" 02:15:21 ---> Running in c225abff864f 02:15:22 Removing intermediate container c225abff864f 02:15:22 ---> 239a989bd721 02:15:22 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:15:22 ---> Running in 0146b0072e7c 02:15:22 Removing intermediate container 0146b0072e7c 02:15:22 ---> 6f84155b3db0 02:15:22 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 02:15:22 ---> Running in 72bf8277fe7b 02:15:23 Removing intermediate container 72bf8277fe7b 02:15:23 ---> 51967dbc2e0d 02:15:23 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:15:23 ---> Running in 37a47999e7bc 02:15:23 Removing intermediate container 37a47999e7bc 02:15:23 ---> 2aeb5e846afa 02:15:23 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:15:23 ---> Running in 22da826153fe 02:15:25 Removing intermediate container 22da826153fe 02:15:25 ---> 5d8e0a2437de 02:15:25 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:15:25 ---> Running in 2cf26866923d 02:15:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:15:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:15:28 OK: 221 MiB in 51 packages 02:15:29 Removing intermediate container 2cf26866923d 02:15:29 ---> 99893d64ba14 02:15:29 Step 9/13 : WORKDIR /device-onvif-camera 02:15:29 ---> Running in b6a08d3cc215 02:15:29 Removing intermediate container b6a08d3cc215 02:15:29 ---> bacf3abff697 02:15:29 Step 10/13 : COPY go.mod vendor* ./ 02:15:30 ---> f09de637d550 02:15:30 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:15:30 ---> Running in f74701ba004a 02:16:26 Removing intermediate container f74701ba004a 02:16:26 ---> cc4cb4d3fbfb 02:16:26 Step 12/13 : COPY . . 02:16:26 ---> a6db7fe47e32 02:16:26 Step 13/13 : RUN ${MAKE} 02:16:26 ---> Running in 453d8995ff17 02:16:26 noop 02:16:26 Removing intermediate container 453d8995ff17 02:16:26 ---> 9abdd04cdac8 02:16:26 Successfully built 9abdd04cdac8 02:16:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:27 + docker inspect -f . ci-base-image-arm64 02:16:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:16:27 prd-ubuntu20.04-docker-arm64-4c-16g-1282 does not seem to be running inside a container 02:16:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:16:28 $ docker top 417088b143b72e3d4c88de8509fd53eb02bbc9184346585b9db1f17c16fb4bc0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:16:29 + go version 02:16:29 go version go1.18.3 linux/arm64 [Pipeline] } 02:16:29 $ docker stop --time=1 417088b143b72e3d4c88de8509fd53eb02bbc9184346585b9db1f17c16fb4bc0 02:16:31 $ docker rm -f 417088b143b72e3d4c88de8509fd53eb02bbc9184346585b9db1f17c16fb4bc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:31 + docker inspect -f . ci-base-image-arm64 02:16:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:16:31 prd-ubuntu20.04-docker-arm64-4c-16g-1282 does not seem to be running inside a container 02:16:31 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:16:33 $ docker top aad28970445112168124536ff9c501bdb839256617a6969bb0802738136fc386 -eo pid,comm [Pipeline] { [Pipeline] sh 02:16:33 + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh 02:16:34 + make test 02:16:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:16:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:18:13 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:18:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.194s coverage: 28.2% of statements 02:18:21 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:18:39 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.355s coverage: 86.5% of statements 02:18:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:18:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:19:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:19:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:19:18 ./bin/test-attribution-txt.sh [Pipeline] echo 02:19:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:19:18 $ docker stop --time=1 aad28970445112168124536ff9c501bdb839256617a6969bb0802738136fc386 02:19:20 $ docker rm -f aad28970445112168124536ff9c501bdb839256617a6969bb0802738136fc386 [Pipeline] // withDockerContainer [Pipeline] sh 02:19:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:19:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:19:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:19:23 + ls -al . 02:19:23 total 232 02:19:23 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 02:16 . 02:19:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 02:14 .. 02:19:23 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 02:14 .git 02:19:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 02:14 .github 02:19:23 -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 02:14 .gitignore 02:19:23 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 02:14 .golangci.yml 02:19:23 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 02:14 Attribution.txt 02:19:23 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 02:14 CHANGELOG.md 02:19:23 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 27 02:14 Dockerfile 02:19:23 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 02:14 GOVERNANCE.md 02:19:23 -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 02:14 Jenkinsfile 02:19:23 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 02:14 LICENSE 02:19:23 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 27 02:14 Makefile 02:19:23 -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 02:14 OWNERS.md 02:19:23 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 27 02:14 README.md 02:19:23 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 02:11 VERSION 02:19:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 02:14 bin 02:19:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 02:14 cmd 02:19:23 -rw-r--r-- 1 jenkins jenkins 78461 Sep 27 02:18 coverage.out 02:19:23 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 02:14 doc 02:19:23 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 02:14 go.mod 02:19:23 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 27 02:14 go.sum 02:19:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 02:14 internal 02:19:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 02:14 snap 02:19:23 -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 02:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:19:23 + 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=bd38a216c74155d78c9d5a41b711f518272ed920 --label arch=arm64 --label version=0.0.0 . 02:19:25 Sending build context to Docker daemon 14.28MB 02:19:25 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 02:19:25 Step 2/26 : FROM ${BASE} AS builder 02:19:25 ---> 9abdd04cdac8 02:19:25 Step 3/26 : ARG MAKE="make build" 02:19:25 ---> Running in c785147153ed 02:19:25 Removing intermediate container c785147153ed 02:19:25 ---> 366122f7586f 02:19:25 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:19:25 ---> Running in b00bc83a4d25 02:19:27 Removing intermediate container b00bc83a4d25 02:19:27 ---> 8543f1c1bb58 02:19:27 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 02:19:27 ---> Running in 6f519e9edde3 02:19:28 Removing intermediate container 6f519e9edde3 02:19:28 ---> ad6ab903cb92 02:19:28 Step 6/26 : LABEL Name=edgex-device-onvif-camera 02:19:28 ---> Running in fd57e22a93b4 02:19:28 Removing intermediate container fd57e22a93b4 02:19:28 ---> 0eac391d88d4 02:19:28 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:19:28 ---> Running in e373c37a319a 02:19:32 Removing intermediate container e373c37a319a 02:19:32 ---> a615b24b98f3 02:19:32 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:19:32 ---> Running in 8a89374284f4 02:19:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:19:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:19:36 OK: 221 MiB in 51 packages 02:19:37 Removing intermediate container 8a89374284f4 02:19:37 ---> eccbce9c7af5 02:19:37 Step 9/26 : WORKDIR /device-onvif-camera 02:19:38 ---> Running in 4cce80ddb231 02:19:38 Removing intermediate container 4cce80ddb231 02:19:38 ---> 94ee92b1c97d 02:19:38 Step 10/26 : COPY go.mod vendor* ./ 02:19:39 ---> d4366a7dfa0c 02:19:39 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:19:39 ---> Running in 1d023afc7540 02:19:41 Removing intermediate container 1d023afc7540 02:19:41 ---> a3aefe0d9c31 02:19:41 Step 12/26 : COPY . . 02:19:43 ---> f9a6ccf00e18 02:19:43 Step 13/26 : RUN ${MAKE} 02:19:43 ---> Running in 9f0fcb2f8133 02:19:44 CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:22:21 Removing intermediate container 9f0fcb2f8133 02:22:21 ---> 6d413e392170 02:22:21 Step 14/26 : FROM alpine:3.16 02:22:21 3.16: Pulling from library/alpine 02:22:21 9b18e9b68314: Pulling fs layer 02:22:21 9b18e9b68314: Verifying Checksum 02:22:21 9b18e9b68314: Download complete 02:22:21 9b18e9b68314: Pull complete 02:22:21 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:22:21 Status: Downloaded newer image for alpine:3.16 02:22:21 ---> a6215f271958 02:22:21 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:22:21 ---> Running in 69116212e8ae 02:22:21 Removing intermediate container 69116212e8ae 02:22:21 ---> f5b11d1a2275 02:22:21 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:22:21 ---> Running in 8234c1f9b4a4 02:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:22:21 (1/6) Installing dumb-init (1.2.5-r1) 02:22:21 (2/6) Installing libgcc (11.2.1_git20220219-r2) 02:22:21 (3/6) Installing libsodium (1.0.18-r0) 02:22:21 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 02:22:21 (5/6) Installing libzmq (4.3.4-r0) 02:22:21 (6/6) Installing zeromq (4.3.4-r0) 02:22:21 Executing busybox-1.35.0-r17.trigger 02:22:21 OK: 8 MiB in 20 packages 02:22:21 Removing intermediate container 8234c1f9b4a4 02:22:21 ---> a203d9e8112a 02:22:21 Step 17/26 : WORKDIR / 02:22:21 ---> Running in bf4217ee8177 02:22:21 Removing intermediate container bf4217ee8177 02:22:21 ---> 39442046aff9 02:22:21 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 02:22:21 ---> 7ff06f07f2c2 02:22:21 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 02:22:21 ---> e449b2baae26 02:22:21 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:22:21 ---> 5b64895f7d55 02:22:21 Step 21/26 : EXPOSE 59984 02:22:21 ---> Running in 384ab0ab8096 02:22:21 Removing intermediate container 384ab0ab8096 02:22:21 ---> 3e0d4324e1f3 02:22:21 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 02:22:21 ---> Running in 2de81e098e65 02:22:21 Removing intermediate container 2de81e098e65 02:22:21 ---> fd98464e1838 02:22:21 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:22:21 ---> Running in 5d213bf45746 02:22:21 Removing intermediate container 5d213bf45746 02:22:21 ---> c19029097295 02:22:21 Step 24/26 : LABEL arch=arm64 02:22:21 ---> Running in 40ed5f72e0c4 02:22:21 Removing intermediate container 40ed5f72e0c4 02:22:21 ---> 5aa8cf156ec0 02:22:21 Step 25/26 : LABEL git_sha=bd38a216c74155d78c9d5a41b711f518272ed920 02:22:21 ---> Running in 5587d144a330 02:22:21 Removing intermediate container 5587d144a330 02:22:21 ---> 58c1518faa0b 02:22:21 Step 26/26 : LABEL version=0.0.0 02:22:21 ---> Running in 6ad558bf2344 02:22:21 Removing intermediate container 6ad558bf2344 02:22:21 ---> eac6d12a2447 02:22:21 [Warning] One or more build-args [ARCH] were not consumed 02:22:21 Successfully built eac6d12a2447 02:22:21 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 02:22:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:21 02:22:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:22 arm64: Pulling from edgex-lftools-log-publisher 02:22:22 8998bd30e6a1: Pulling fs layer 02:22:22 04944245beec: Pulling fs layer 02:22:22 699f458cf7ca: Pulling fs layer 02:22:22 765212b225bb: Pulling fs layer 02:22:22 f23df028b6ca: Pulling fs layer 02:22:22 d65c8cfc05b1: Pulling fs layer 02:22:22 2437ff75d9bd: Pulling fs layer 02:22:22 f23df028b6ca: Waiting 02:22:22 d65c8cfc05b1: Waiting 02:22:22 765212b225bb: Waiting 02:22:22 2437ff75d9bd: Waiting 02:22:22 04944245beec: Verifying Checksum 02:22:22 04944245beec: Download complete 02:22:22 765212b225bb: Verifying Checksum 02:22:22 765212b225bb: Download complete 02:22:22 f23df028b6ca: Verifying Checksum 02:22:22 f23df028b6ca: Download complete 02:22:22 d65c8cfc05b1: Verifying Checksum 02:22:22 d65c8cfc05b1: Download complete 02:22:22 699f458cf7ca: Verifying Checksum 02:22:22 699f458cf7ca: Download complete 02:22:22 8998bd30e6a1: Verifying Checksum 02:22:22 8998bd30e6a1: Download complete 02:22:25 2437ff75d9bd: Verifying Checksum 02:22:25 2437ff75d9bd: Download complete 02:22:26 8998bd30e6a1: Pull complete 02:22:27 04944245beec: Pull complete 02:22:28 699f458cf7ca: Pull complete 02:22:28 765212b225bb: Pull complete 02:22:29 f23df028b6ca: Pull complete 02:22:29 d65c8cfc05b1: Pull complete 02:22:44 2437ff75d9bd: Pull complete 02:22:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:22:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:22:44 prd-ubuntu20.04-docker-arm64-4c-16g-1282 does not seem to be running inside a container 02:22:45 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:22:47 $ docker top ad15e42451f3d69597c82ce06032b0401bfc06391674dda22d3c8f1e3b64c381 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:22:48 ---> job-cost.sh 02:22:48 lf-activate-venv: SKIPPING 02:22:48 INFO: No Stack... 02:22:48 INFO: Retrieving Pricing Info for: v3-standard-4 02:22:49 INFO: Archiving Costs [Pipeline] sh 02:22:50 + cat /w/workspace/device-onvif-camera/5/archives/cost.csv 02:22:50 + cut -d, -f6 [Pipeline] lock 02:22:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] 02:22:50 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] did not exist. Created. 02:22:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:22:50 /w/workspace/device-onvif-camera/5@tmp/durable-ab914fab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:22:50 + echo total: 0.10999999940395355 [Pipeline] stash 02:22:50 Warning: overwriting stash ‘stack-cost’ 02:22:50 Stashed 1 file(s) [Pipeline] } 02:22:50 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-5-stack-cost] [Pipeline] // lock [Pipeline] } 02:22:51 $ docker stop --time=1 ad15e42451f3d69597c82ce06032b0401bfc06391674dda22d3c8f1e3b64c381 02:22:52 $ docker rm -f ad15e42451f3d69597c82ce06032b0401bfc06391674dda22d3c8f1e3b64c381 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:22:53 + [ -d /w/workspace/undry_device-onvif-camera_PR-153/archives ] 02:22:53 + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives 02:22:53 total 16 02:22:53 drwxr-xr-x 3 root root 4096 Sep 27 02:12 . 02:22:53 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 02:12 .. 02:22:53 drwxr-xr-x 2 root root 4096 Sep 27 02:12 cost 02:22:53 -rw-r--r-- 1 root root 91 Sep 27 02:12 cost.csv 02:22:53 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-153/archives 02:22:53 + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives 02:22:53 total 16 02:22:53 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 02:12 . 02:22:53 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 02:12 .. 02:22:53 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 02:12 cost 02:22:53 -rw-r--r-- 1 jenkins jenkins 91 Sep 27 02:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:22:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:22:54 ---> package-listing.sh 02:22:54 ++ facter osfamily 02:22:54 ++ tr '[:upper:]' '[:lower:]' 02:22:54 + OS_FAMILY=debian 02:22:54 + workspace=/w/workspace/undry_device-onvif-camera_PR-153 02:22:54 + START_PACKAGES=/tmp/packages_start.txt 02:22:54 + END_PACKAGES=/tmp/packages_end.txt 02:22:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:22:54 + PACKAGES=/tmp/packages_start.txt 02:22:54 + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' 02:22:54 + PACKAGES=/tmp/packages_end.txt 02:22:54 + case "${OS_FAMILY}" in 02:22:54 + dpkg -l 02:22:54 + grep '^ii' 02:22:54 + '[' -f /tmp/packages_start.txt ']' 02:22:54 + '[' -f /tmp/packages_end.txt ']' 02:22:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:22:54 + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' 02:22:54 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-153/archives/ 02:22:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-153/archives/ [Pipeline] echo 02:22:54 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-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:22:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:22:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:22:55 prd-ubuntu20.04-docker-8c-8g-1280 does not seem to be running inside a container 02:22:55 $ 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-153/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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:22:55 $ docker top c28f966880c9b91f73592b03388fed445191258def9cc51eaf869cc69434b729 -eo pid,comm [Pipeline] { [Pipeline] sh 02:22:56 + touch /tmp/pre-build-complete [Pipeline] sh 02:22:56 + mkdir -p /var/log/sysstat [Pipeline] sh 02:22:56 + ls /var/log/sa-host 02:22:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:22:56 provisioning config files... 02:22:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config6147729544279209825tmp [Pipeline] { [Pipeline] echo 02:22:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:22:57 ---> create-netrc.sh [Pipeline] } 02:22:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:22:57 ---> python-tools-install.sh [Pipeline] echo 02:22:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:22:57 ---> sudo-logs.sh 02:22:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:22:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:22:58 ---> job-cost.sh 02:22:58 lf-activate-venv: SKIPPING 02:22:58 DEBUG: total: 0.2199999988079071 02:22:58 INFO: Retrieving Stack Cost... 02:22:58 INFO: Retrieving Pricing Info for: v3-standard-8 02:22:59 INFO: Archiving Costs [Pipeline] echo 02:22:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:22:59 ---> logs-deploy.sh 02:22:59 lf-activate-venv: SKIPPING 02:22:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-153/5 02:22:59 INFO: archiving workspace using pattern(s): 02:23:00 Archives upload complete. 02:23:00 INFO: archiving logs to Nexus 02:23:00 ---> uname -a: 02:23:00 Linux prd-ubuntu20-04-docker-8c-8g-1280 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:23:00 02:23:00 02:23:00 ---> lscpu: 02:23:00 Architecture: x86_64 02:23:00 CPU op-mode(s): 32-bit, 64-bit 02:23:00 Byte Order: Little Endian 02:23:00 Address sizes: 40 bits physical, 48 bits virtual 02:23:00 CPU(s): 8 02:23:00 On-line CPU(s) list: 0-7 02:23:00 Thread(s) per core: 1 02:23:00 Core(s) per socket: 1 02:23:00 Socket(s): 8 02:23:00 NUMA node(s): 1 02:23:00 Vendor ID: AuthenticAMD 02:23:00 CPU family: 23 02:23:00 Model: 49 02:23:00 Model name: AMD EPYC-Rome Processor 02:23:00 Stepping: 0 02:23:00 CPU MHz: 2799.998 02:23:00 BogoMIPS: 5599.99 02:23:00 Virtualization: AMD-V 02:23:00 Hypervisor vendor: KVM 02:23:00 Virtualization type: full 02:23:00 L1d cache: 256 KiB 02:23:00 L1i cache: 256 KiB 02:23:00 L2 cache: 4 MiB 02:23:00 L3 cache: 128 MiB 02:23:00 NUMA node0 CPU(s): 0-7 02:23:00 Vulnerability Itlb multihit: Not affected 02:23:00 Vulnerability L1tf: Not affected 02:23:00 Vulnerability Mds: Not affected 02:23:00 Vulnerability Meltdown: Not affected 02:23:00 Vulnerability Mmio stale data: Not affected 02:23:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:23:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:23:00 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:23:00 Vulnerability Srbds: Not affected 02:23:00 Vulnerability Tsx async abort: Not affected 02:23:00 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 02:23:00 02:23:00 02:23:00 ---> nproc: 02:23:00 8 02:23:00 02:23:00