Pull request #50 opened 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 farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c+d52eed5e0bdf095fe71ab1c2620e174378e09b3d (d05cd5d9994de46c23eaf21d88d1ebf99a38d9e7) 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-ssh17616890306177752528.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh13204173832232218423.key > 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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-usb-camera/branches/PR-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5365306598376215881.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-usb-camera/branches/PR-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3325765341352835827.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh15851131095765637251.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-50/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-usb-camera/branches/PR-50/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17965415464998369438.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-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-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19939 in /w/workspace/xfoundry_device-usb-camera_PR-50 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-50 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-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-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d52eed5e0bdf095fe71ab1c2620e174378e09b3d into PR head commit b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c Merge succeeded, producing b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c Checking out Revision b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c (PR-50) > git config core.sparsecheckout # timeout=10 > git checkout -f b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d52eed5e0bdf095fe71ab1c2620e174378e09b3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c # timeout=10 Commit message: "feat: make rtsp server configurable with snap options" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:58:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:58:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:58:28 ========================================================= 13:58:28 EdgeX Global Pipelines Version Info 13:58:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:58:29 ------------------- 13:58:29 stable info: 13:58:29 ------------------- 13:58:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:58:29 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:58:29 Message: update stable to v1.0.238 13:58:29 ------------------- 13:58:29 experimental info: 13:58:29 ------------------- 13:58:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:58:29 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:58:29 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:58:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:58:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:58:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:58:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:58:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:58:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-50 [Pipeline] echo 13:58:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-50 [Pipeline] echo 13:58:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-50 [Pipeline] echo 13:58:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c [Pipeline] echo 13:58:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b0ee5d7 [Pipeline] echo 13:58:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:58:31 provisioning config files... 13:58:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/config4130632854235618952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:58:31 ---> docker-login.sh 13:58:31 nexus3.edgexfoundry.org:10001 13:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:32 Configure a credential helper to remove this warning. See 13:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:32 13:58:32 Login Succeeded 13:58:32 nexus3.edgexfoundry.org:10002 13:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:32 Configure a credential helper to remove this warning. See 13:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:32 13:58:32 Login Succeeded 13:58:32 nexus3.edgexfoundry.org:10003 13:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:32 Configure a credential helper to remove this warning. See 13:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:32 13:58:32 Login Succeeded 13:58:32 nexus3.edgexfoundry.org:10004 13:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:32 Configure a credential helper to remove this warning. See 13:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:32 13:58:32 Login Succeeded 13:58:32 docker.io 13:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:33 Configure a credential helper to remove this warning. See 13:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:33 13:58:33 Login Succeeded 13:58:33 ---> docker-login.sh ends [Pipeline] } 13:58:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:58:33 + git rev-list -1 --merges b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c~1..b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c [Pipeline] echo 13:58:33 -----------> git rev-list -1 --merges b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c~1..b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c [false] [Pipeline] sh 13:58:34 + git log --format=format:%s -1 b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c [Pipeline] echo 13:58:34 ========================================================= 13:58:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:58:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:58:34 + git log --format=format:%s -1 b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c [Pipeline] echo 13:58:34 [semverPrep] GIT_COMMIT: b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c, Commit Message: feat: make rtsp server configurable with snap options [Pipeline] echo 13:58:34 [semverPrep] This is not a build commit. [Pipeline] sh 13:58:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:58:35 + grep -v github /etc/ssh/ssh_known_hosts 13:58:35 + [ -e /tmp/ssh_known_hosts ] 13:58:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:58:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:58:35 + sudo tee -a /etc/ssh/ssh_known_hosts 13:58:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:58:35 13:58:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:58:36 0.1.4: Pulling from edgex-devops/py-git-semver 13:58:36 b85a868b505f: Pulling fs layer 13:58:36 e2be974225ed: Pulling fs layer 13:58:36 339a4e72a1f5: Pulling fs layer 13:58:36 988bab9f4d93: Pulling fs layer 13:58:36 1469e6f7b9e6: Pulling fs layer 13:58:36 eaf3925da568: Pulling fs layer 13:58:36 1469e6f7b9e6: Waiting 13:58:36 988bab9f4d93: Waiting 13:58:36 bab4dde63d76: Pulling fs layer 13:58:36 bde34c3a00c8: Pulling fs layer 13:58:36 bde34c3a00c8: Waiting 13:58:36 bab4dde63d76: Waiting 13:58:36 eaf3925da568: Waiting 13:58:36 b352a97aabf1: Pulling fs layer 13:58:36 4872d77fe225: Pulling fs layer 13:58:36 5851b861e8e6: Pulling fs layer 13:58:36 4872d77fe225: Waiting 13:58:36 5851b861e8e6: Waiting 13:58:36 b352a97aabf1: Waiting 13:58:36 e2be974225ed: Verifying Checksum 13:58:36 e2be974225ed: Download complete 13:58:36 988bab9f4d93: Download complete 13:58:36 339a4e72a1f5: Verifying Checksum 13:58:36 339a4e72a1f5: Download complete 13:58:36 1469e6f7b9e6: Verifying Checksum 13:58:36 1469e6f7b9e6: Download complete 13:58:36 eaf3925da568: Verifying Checksum 13:58:36 eaf3925da568: Download complete 13:58:36 bde34c3a00c8: Download complete 13:58:36 b352a97aabf1: Download complete 13:58:36 4872d77fe225: Download complete 13:58:36 5851b861e8e6: Verifying Checksum 13:58:36 b85a868b505f: Verifying Checksum 13:58:36 b85a868b505f: Download complete 13:58:36 bab4dde63d76: Verifying Checksum 13:58:36 bab4dde63d76: Download complete 13:58:37 b85a868b505f: Pull complete 13:58:37 e2be974225ed: Pull complete 13:58:38 339a4e72a1f5: Pull complete 13:58:38 988bab9f4d93: Pull complete 13:58:38 1469e6f7b9e6: Pull complete 13:58:38 eaf3925da568: Pull complete 13:58:41 bab4dde63d76: Pull complete 13:58:41 bde34c3a00c8: Pull complete 13:58:41 b352a97aabf1: Pull complete 13:58:41 4872d77fe225: Pull complete 13:58:41 5851b861e8e6: Pull complete 13:58:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:58:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:58:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:58:41 prd-ubuntu20.04-docker-8c-8g-19939 does not seem to be running inside a container 13:58:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-50 -v /w/workspace/xfoundry_device-usb-camera_PR-50:/w/workspace/xfoundry_device-usb-camera_PR-50:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-50@tmp:/w/workspace/xfoundry_device-usb-camera_PR-50@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:58:43 $ docker top 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 -eo pid,comm 13:58:43 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). 13:58:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:58:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:58:43 [ssh-agent] Looking for ssh-agent implementation... 13:58:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:58:43 $ docker exec 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 ssh-agent 13:58:43 SSH_AUTH_SOCK=/tmp/ssh-kWKfHb5fMvqH/agent.35 13:58:43 SSH_AGENT_PID=42 13:58:43 Running ssh-add (command line suppressed) 13:58:43 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-50@tmp/private_key_9202714135048785919.key (/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/private_key_9202714135048785919.key) 13:58:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:58:44 + git tag --points-at HEAD [Pipeline] } 13:58:44 $ docker exec --env ******** --env ******** 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 ssh-agent -k 13:58:44 unset SSH_AUTH_SOCK; 13:58:44 unset SSH_AGENT_PID; 13:58:44 echo Agent pid 42 killed; 13:58:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:58:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:58:44 [ssh-agent] Looking for ssh-agent implementation... 13:58:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:58:44 $ docker exec 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 ssh-agent 13:58:44 SSH_AUTH_SOCK=/tmp/ssh-YfdXh6EkfCEN/agent.76 13:58:44 SSH_AGENT_PID=83 13:58:44 Running ssh-add (command line suppressed) 13:58:44 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-50@tmp/private_key_5392454023760862778.key (/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/private_key_5392454023760862778.key) 13:58:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:58:45 + git semver init 13:58:45 2022-07-14 13:58:45,263 [run_init] DEBUG init version:0.0.0 force:False 13:58:45 2022-07-14 13:58:45,264 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-50/.semver 13:58:45 2022-07-14 13:58:45,264 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-50/.semver 13:58:45 2022-07-14 13:58:45,265 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-50/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-50, universal_newlines=False, shell=None, istream=None) 13:58:45 2022-07-14 13:58:45,797 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-50/.git/info/exclude 13:58:45 2022-07-14 13:58:45,798 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-50/.semver/PR-50 with force:False 13:58:45 2022-07-14 13:58:45,798 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-50/.semver/PR-50 13:58:45 2022-07-14 13:58:45,803 [execute] INFO git cat-file --batch-check 13:58:45 2022-07-14 13:58:45,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-50/.semver, universal_newlines=False, shell=None, istream=) 13:58:45 2022-07-14 13:58:45,809 [execute] INFO git cat-file --batch 13:58:45 2022-07-14 13:58:45,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-50/.semver, universal_newlines=False, shell=None, istream=) 13:58:45 2022-07-14 13:58:45,815 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-50/.semver/PR-50 13:58:45 0.0.0 [Pipeline] } 13:58:45 $ docker exec --env ******** --env ******** 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 ssh-agent -k 13:58:46 unset SSH_AUTH_SOCK; 13:58:46 unset SSH_AGENT_PID; 13:58:46 echo Agent pid 83 killed; 13:58:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:58:46 + git semver [Pipeline] } 13:58:46 $ docker stop --time=1 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 13:58:48 $ docker rm -f 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 [Pipeline] // withDockerContainer [Pipeline] sh 13:58:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:58:48 Stashed 1 file(s) [Pipeline] echo 13:58:48 [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 13:58:49 provisioning config files... 13:58:49 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/config3058864396899005432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:58:49 ---> docker-login.sh 13:58:49 nexus3.edgexfoundry.org:10001 13:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:49 Configure a credential helper to remove this warning. See 13:58:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:49 13:58:49 Login Succeeded 13:58:49 nexus3.edgexfoundry.org:10002 13:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:50 Configure a credential helper to remove this warning. See 13:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:50 13:58:50 Login Succeeded 13:58:50 nexus3.edgexfoundry.org:10003 13:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:50 Configure a credential helper to remove this warning. See 13:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:50 13:58:50 Login Succeeded 13:58:50 nexus3.edgexfoundry.org:10004 13:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:50 Configure a credential helper to remove this warning. See 13:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:50 13:58:50 Login Succeeded 13:58:50 docker.io 13:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:50 Configure a credential helper to remove this warning. See 13:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:50 13:58:50 Login Succeeded 13:58:50 ---> docker-login.sh ends [Pipeline] } 13:58:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:58:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:58:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:58:51 ========================================================= 13:58:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:58:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:51 + 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 . 13:58:51 Sending build context to Docker daemon 712.7kB 13:58:51 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:58:51 Step 2/12 : FROM ${BASE} AS builder 13:58:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:58:51 2408cc74d12b: Pulling fs layer 13:58:51 ea60b727a1ce: Pulling fs layer 13:58:51 30c4a7721957: Pulling fs layer 13:58:51 370296b7ddb6: Pulling fs layer 13:58:51 7c6cee850709: Pulling fs layer 13:58:51 39a5fcdaea64: Pulling fs layer 13:58:51 d94ebbe4e438: Pulling fs layer 13:58:51 bcfd1f05c69d: Pulling fs layer 13:58:51 59ccb84bbe0f: Pulling fs layer 13:58:51 370296b7ddb6: Waiting 13:58:51 d94ebbe4e438: Waiting 13:58:51 bcfd1f05c69d: Waiting 13:58:51 39a5fcdaea64: Waiting 13:58:51 59ccb84bbe0f: Waiting 13:58:51 7c6cee850709: Waiting 13:58:51 30c4a7721957: Verifying Checksum 13:58:51 30c4a7721957: Download complete 13:58:51 ea60b727a1ce: Verifying Checksum 13:58:51 ea60b727a1ce: Download complete 13:58:51 7c6cee850709: Download complete 13:58:51 2408cc74d12b: Verifying Checksum 13:58:51 2408cc74d12b: Download complete 13:58:51 d94ebbe4e438: Download complete 13:58:51 2408cc74d12b: Pull complete 13:58:52 ea60b727a1ce: Pull complete 13:58:52 30c4a7721957: Pull complete 13:58:52 59ccb84bbe0f: Verifying Checksum 13:58:52 59ccb84bbe0f: Download complete 13:58:52 bcfd1f05c69d: Verifying Checksum 13:58:52 bcfd1f05c69d: Download complete 13:58:52 370296b7ddb6: Verifying Checksum 13:58:52 370296b7ddb6: Download complete 13:58:56 370296b7ddb6: Pull complete 13:58:56 7c6cee850709: Pull complete 13:58:56 39a5fcdaea64: Pull complete 13:58:56 d94ebbe4e438: Pull complete 13:58:59 bcfd1f05c69d: Pull complete 13:58:59 59ccb84bbe0f: Pull complete 13:58:59 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 13:58:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:58:59 ---> a4fb48ad2a94 13:58:59 Step 3/12 : ARG MAKE="make build" 13:59:01 ---> Running in d4b5518c94b7 13:59:01 Removing intermediate container d4b5518c94b7 13:59:01 ---> ac294a2a5933 13:59:01 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:59:01 ---> Running in 0a50ca92e252 13:59:01 Removing intermediate container 0a50ca92e252 13:59:01 ---> 723f44e933b8 13:59:01 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:59:01 ---> Running in 5047dbfd64bb 13:59:01 Removing intermediate container 5047dbfd64bb 13:59:01 ---> 9e3512cba50c 13:59:01 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:59:01 ---> Running in 722e5d45a9bc 13:59:02 Removing intermediate container 722e5d45a9bc 13:59:02 ---> 0ec6c2e38cd7 13:59:02 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:59:02 ---> Running in 8756dfd04fba 13:59:02 fetch https://nl.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:59:03 fetch https://nl.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:59:04 ERROR: unable to select packages: 13:59:04  so:libicui18n.so.71 (no such package): 13:59:04 required by: qt5-qtbase-5.15.3_git20220217-r1[so:libicui18n.so.71] 13:59:04 so:libicuuc.so.71 (no such package): 13:59:04 required by: qt5-qtbase-5.15.3_git20220217-r1[so:libicuuc.so.71] 13:59:04 Still waiting to schedule task 13:59:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:59:04 The command '/bin/sh -c apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA}' returned a non-zero code: 5 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [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 13:59:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:59:05 13:59:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:59:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:59:05 latest: Pulling from edgex-lftools-log-publisher 13:59:05 5eb5b503b376: Pulling fs layer 13:59:05 5c69ac0246d0: Pulling fs layer 13:59:05 ec43610c2a17: Pulling fs layer 13:59:05 3a2ae6a8a46f: Pulling fs layer 13:59:05 33b1e0a273af: Pulling fs layer 13:59:05 5d3b04190fa2: Pulling fs layer 13:59:05 2f39f015ded8: Pulling fs layer 13:59:05 5d3b04190fa2: Waiting 13:59:05 3a2ae6a8a46f: Waiting 13:59:05 2f39f015ded8: Waiting 13:59:05 33b1e0a273af: Waiting 13:59:05 5c69ac0246d0: Verifying Checksum 13:59:05 5c69ac0246d0: Download complete 13:59:05 3a2ae6a8a46f: Download complete 13:59:06 33b1e0a273af: Verifying Checksum 13:59:06 33b1e0a273af: Download complete 13:59:06 5d3b04190fa2: Verifying Checksum 13:59:06 5d3b04190fa2: Download complete 13:59:06 ec43610c2a17: Verifying Checksum 13:59:06 ec43610c2a17: Download complete 13:59:06 5eb5b503b376: Verifying Checksum 13:59:06 5eb5b503b376: Download complete 13:59:06 2f39f015ded8: Download complete 13:59:07 5eb5b503b376: Pull complete 13:59:08 5c69ac0246d0: Pull complete 13:59:08 ec43610c2a17: Pull complete 13:59:08 3a2ae6a8a46f: Pull complete 13:59:08 33b1e0a273af: Pull complete 13:59:08 5d3b04190fa2: Pull complete 13:59:14 2f39f015ded8: Pull complete 13:59:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:59:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:59:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:59:14 prd-ubuntu20.04-docker-8c-8g-19939 does not seem to be running inside a container 13:59:14 $ 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/xfoundry_device-usb-camera_PR-50 -v /w/workspace/xfoundry_device-usb-camera_PR-50:/w/workspace/xfoundry_device-usb-camera_PR-50:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-50@tmp:/w/workspace/xfoundry_device-usb-camera_PR-50@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 13:59:16 $ docker top 8d11ef7ebd03028d4657f2035fc8ed954d6672570a4ba387400418f879043af3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:59:16 ---> job-cost.sh 13:59:16 lf-activate-venv: SKIPPING 13:59:16 INFO: No Stack... 13:59:17 INFO: Retrieving Pricing Info for: v3-standard-8 13:59:17 INFO: Archiving Costs [Pipeline] sh 13:59:17 + cat /w/workspace/xfoundry_device-usb-camera_PR-50/archives/cost.csv 13:59:17 + cut -d, -f6 [Pipeline] lock 13:59:17 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] 13:59:17 Resource [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] did not exist. Created. 13:59:17 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:59:18 + echo total: 0.2199999988079071 [Pipeline] stash 13:59:18 Stashed 1 file(s) [Pipeline] } 13:59:18 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:59:18 $ docker stop --time=1 8d11ef7ebd03028d4657f2035fc8ed954d6672570a4ba387400418f879043af3 13:59:19 $ docker rm -f 8d11ef7ebd03028d4657f2035fc8ed954d6672570a4ba387400418f879043af3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:59:19 Failed in branch amd64 14:00:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19940 in /w/workspace/xfoundry_device-usb-camera_PR-50 [Pipeline] { [Pipeline] ws 14:00:37 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 14:00:38 Selected Git installation does not exist. Using Default 14:00:38 The recommended git tool is: NONE 14:00:44 using credential edgex-jenkins-ssh 14:00:44 Cloning the remote Git repository 14:00:44 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 14:00:45 > git init /w/workspace/device-usb-camera/1 # timeout=10 14:00:45 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 14:00:45 > git --version # timeout=10 14:00:45 > git --version # 'git version 2.25.1' 14:00:45 using GIT_SSH to set credentials SSH Credentials for GitHub 14:00:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:00:46 Merging remotes/origin/main commit d52eed5e0bdf095fe71ab1c2620e174378e09b3d into PR head commit b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c 14:00:46 Merge succeeded, producing b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c 14:00:46 Checking out Revision b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c (PR-50) 14:00:45 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 14:00:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:00:45 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 14:00:45 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 14:00:45 using GIT_SSH to set credentials SSH Credentials for GitHub 14:00:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:00:46 > git config core.sparsecheckout # timeout=10 14:00:46 > git checkout -f b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c # timeout=10 14:00:46 > git remote # timeout=10 14:00:46 > git config --get remote.origin.url # timeout=10 14:00:46 using GIT_SSH to set credentials SSH Credentials for GitHub 14:00:46 > git merge d52eed5e0bdf095fe71ab1c2620e174378e09b3d # timeout=10 14:00:46 > git rev-parse HEAD^{commit} # timeout=10 14:00:46 > git config core.sparsecheckout # timeout=10 14:00:46 > git checkout -f b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c # timeout=10 14:00:50 Commit message: "feat: make rtsp server configurable with snap options" 14:00:50 > git --version # timeout=10 14:00:50 > git --version # 'git version 2.25.1' 14:00:50 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:00:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:00:51 % Total % Received % Xferd Average Speed Time Time Time Current 14:00:51 Dload Upload Total Spent Left Speed 14:00:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 79051 0 --:--:-- --:--:-- --:--:-- 79051 [Pipeline] sh 14:00:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:00:53 + + sudosudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json tee 14:00:53 /etc/docker/daemon.new 14:00:53 { 14:00:53 "registry-mirrors": [ 14:00:53 "https://nexus3.edgexfoundry.org:10001" 14:00:53 ], 14:00:53 "bip": "10.250.0.254/24", 14:00:53 "hosts": [ 14:00:53 "tcp://0.0.0.0:5555", 14:00:53 "unix:///var/run/docker.sock" 14:00:53 ], 14:00:53 "mtu": 1458, 14:00:53 "selinux-enabled": true, 14:00:53 "seccomp-profile": "/etc/docker/seccomp.json" 14:00:53 } [Pipeline] sh 14:00:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:00:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:01:12 provisioning config files... 14:01:12 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config5269046201252858790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:01:12 ---> docker-login.sh 14:01:12 nexus3.edgexfoundry.org:10001 14:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:13 Configure a credential helper to remove this warning. See 14:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:13 14:01:13 Login Succeeded 14:01:13 nexus3.edgexfoundry.org:10002 14:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:13 Configure a credential helper to remove this warning. See 14:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:13 14:01:13 Login Succeeded 14:01:13 nexus3.edgexfoundry.org:10003 14:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:14 Configure a credential helper to remove this warning. See 14:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:14 14:01:14 Login Succeeded 14:01:14 nexus3.edgexfoundry.org:10004 14:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:15 Configure a credential helper to remove this warning. See 14:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:15 14:01:15 Login Succeeded 14:01:15 docker.io 14:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:15 Configure a credential helper to remove this warning. See 14:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:15 14:01:15 Login Succeeded 14:01:15 ---> docker-login.sh ends [Pipeline] } 14:01:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:01:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:01:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:01:16 ========================================================= 14:01:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:01:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:16 + 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 . 14:01:16 Sending build context to Docker daemon 469kB 14:01:16 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:01:16 Step 2/12 : FROM ${BASE} AS builder 14:01:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:01:17 b3c136eddcbf: Pulling fs layer 14:01:17 c0a3192eca97: Pulling fs layer 14:01:17 a050256f5b6f: Pulling fs layer 14:01:17 656be50a0ddc: Pulling fs layer 14:01:17 2bbca73fdf42: Pulling fs layer 14:01:17 46d945488cbd: Pulling fs layer 14:01:17 8a5474983e97: Pulling fs layer 14:01:17 329c88fbcd65: Pulling fs layer 14:01:17 656be50a0ddc: Waiting 14:01:17 2bbca73fdf42: Waiting 14:01:17 46d945488cbd: Waiting 14:01:17 8a5474983e97: Waiting 14:01:17 329c88fbcd65: Waiting 14:01:17 a050256f5b6f: Verifying Checksum 14:01:17 a050256f5b6f: Download complete 14:01:17 c0a3192eca97: Verifying Checksum 14:01:17 c0a3192eca97: Download complete 14:01:17 2bbca73fdf42: Verifying Checksum 14:01:17 2bbca73fdf42: Download complete 14:01:17 46d945488cbd: Verifying Checksum 14:01:17 46d945488cbd: Download complete 14:01:17 b3c136eddcbf: Verifying Checksum 14:01:17 b3c136eddcbf: Download complete 14:01:18 b3c136eddcbf: Pull complete 14:01:18 329c88fbcd65: Verifying Checksum 14:01:18 329c88fbcd65: Download complete 14:01:18 c0a3192eca97: Pull complete 14:01:18 a050256f5b6f: Pull complete 14:01:19 8a5474983e97: Verifying Checksum 14:01:19 8a5474983e97: Download complete 14:01:19 656be50a0ddc: Verifying Checksum 14:01:19 656be50a0ddc: Download complete 14:01:34 656be50a0ddc: Pull complete 14:01:34 2bbca73fdf42: Pull complete 14:01:34 46d945488cbd: Pull complete 14:01:39 8a5474983e97: Pull complete 14:01:41 329c88fbcd65: Pull complete 14:01:41 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 14:01:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:01:41 ---> ff4287adb874 14:01:41 Step 3/12 : ARG MAKE="make build" 14:01:41 ---> Running in 1cf52a448ab6 14:01:42 Removing intermediate container 1cf52a448ab6 14:01:42 ---> 7ed2a8d82bd4 14:01:42 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:01:42 ---> Running in 9a7dbeb63a7b 14:01:42 Removing intermediate container 9a7dbeb63a7b 14:01:42 ---> f2f153dd4b95 14:01:42 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 14:01:42 ---> Running in 73e62193e1a2 14:01:42 Removing intermediate container 73e62193e1a2 14:01:42 ---> db30c49d39bb 14:01:42 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:01:42 ---> Running in 824c7e823f5e 14:01:44 Removing intermediate container 824c7e823f5e 14:01:44 ---> 3f3e32aa803b 14:01:44 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:01:44 ---> Running in 22b536068678 14:01:46 fetch https://nl.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:01:47 fetch https://nl.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:01:48 (1/14) Installing libintl (0.21-r2) 14:01:48 (2/14) Installing eudev-libs (3.2.11-r0) 14:01:48 (3/14) Installing libjpeg-turbo (2.1.3-r1) 14:01:48 (4/14) Installing v4l-utils-libs (1.22.1-r1) 14:01:49 (5/14) Installing v4l-utils (1.22.1-r1) 14:01:49 (6/14) Installing udev-init-scripts (35-r0) 14:01:49 Executing udev-init-scripts-35-r0.post-install 14:01:49 (7/14) Installing libblkid (2.38-r1) 14:01:49 (8/14) Installing xz-libs (5.2.5-r1) 14:01:49 (9/14) Installing zstd-libs (1.5.2-r1) 14:01:49 (10/14) Installing kmod-libs (29-r2) 14:01:49 (11/14) Installing eudev (3.2.11-r0) 14:01:50 (12/14) Installing eudev-dev (3.2.11-r0) 14:01:50 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 14:01:50 (14/14) Installing v4l-utils-dev (1.22.1-r1) 14:01:50 Executing busybox-1.35.0-r13.trigger 14:01:50 Executing eudev-3.2.11-r0.trigger 14:01:50 OK: 228 MiB in 65 packages 14:01:51 Removing intermediate container 22b536068678 14:01:51 ---> d4359606d2c8 14:01:51 Step 8/12 : WORKDIR /device-usb-camera 14:01:51 ---> Running in f70ec3efd5c3 14:01:51 Removing intermediate container f70ec3efd5c3 14:01:51 ---> e24947a55e06 14:01:51 Step 9/12 : COPY go.mod vendor* ./ 14:01:52 ---> 6e7c8e6cd12f 14:01:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:01:52 ---> Running in b928e210ba6b 14:02:39 Removing intermediate container b928e210ba6b 14:02:39 ---> 683c8e7cac36 14:02:39 Step 11/12 : COPY . . 14:02:39 ---> 79604a696ac1 14:02:39 Step 12/12 : RUN ${MAKE} 14:02:39 ---> Running in b5ca35894f2d 14:02:39 noop 14:02:39 Removing intermediate container b5ca35894f2d 14:02:39 ---> e1428b51841b 14:02:39 Successfully built e1428b51841b 14:02:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:40 + docker inspect -f . ci-base-image-arm64 14:02:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:02:40 prd-ubuntu20.04-docker-arm64-4c-16g-19940 does not seem to be running inside a container 14:02:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat 14:02:42 $ docker top a72be1e85f8d0819310b71b89b2b6a9b3413f8446a5939218b72f417a4604911 -eo pid,comm [Pipeline] { [Pipeline] sh 14:02:43 + go version 14:02:43 go version go1.18.3 linux/arm64 [Pipeline] } 14:02:43 $ docker stop --time=1 a72be1e85f8d0819310b71b89b2b6a9b3413f8446a5939218b72f417a4604911 14:02:44 $ docker rm -f a72be1e85f8d0819310b71b89b2b6a9b3413f8446a5939218b72f417a4604911 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:45 + docker inspect -f . ci-base-image-arm64 14:02:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:02:45 prd-ubuntu20.04-docker-arm64-4c-16g-19940 does not seem to be running inside a container 14:02:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat 14:02:47 $ docker top 88c5247e6ac312dde3a1d85f709c3256520321db21f122fdf06c75613bc8a99a -eo pid,comm [Pipeline] { [Pipeline] sh 14:02:48 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 14:02:48 + make test 14:02:48 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 14:02:50 ? github.com/edgexfoundry/device-usb-camera [no test files] 14:04:12 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 14:04:12 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 14:04:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:04:12 CGO_ENABLED=1 go vet ./... 14:04:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:04:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:04:30 ./bin/test-attribution-txt.sh [Pipeline] echo 14:04:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:04:31 $ docker stop --time=1 88c5247e6ac312dde3a1d85f709c3256520321db21f122fdf06c75613bc8a99a 14:04:33 $ docker rm -f 88c5247e6ac312dde3a1d85f709c3256520321db21f122fdf06c75613bc8a99a [Pipeline] // withDockerContainer [Pipeline] sh 14:04:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:04:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:04:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:04:36 + ls -al . 14:04:36 total 160 14:04:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 14:04 . 14:04:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 14:00 .. 14:04:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 14:00 .git 14:04:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 14:00 .github 14:04:36 -rw-rw-r-- 1 jenkins jenkins 414 Jul 14 14:00 .gitignore 14:04:36 -rw-rw-r-- 1 jenkins jenkins 42 Jul 14 14:00 .golangci.yml 14:04:36 -rw-rw-r-- 1 jenkins jenkins 77 Jul 14 14:00 .hadolint.yml 14:04:36 -rw-rw-r-- 1 jenkins jenkins 8706 Jul 14 14:00 Attribution.txt 14:04:36 -rw-rw-r-- 1 jenkins jenkins 181 Jul 14 14:00 CHANGELOG.md 14:04:36 -rw-rw-r-- 1 jenkins jenkins 1891 Jul 14 14:00 Dockerfile 14:04:36 -rw-rw-r-- 1 jenkins jenkins 678 Jul 14 14:00 GOVERNANCE.md 14:04:36 -rw-rw-r-- 1 jenkins jenkins 659 Jul 14 14:00 Jenkinsfile 14:04:36 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 14 14:00 LICENSE 14:04:36 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 14 14:00 Makefile 14:04:36 -rw-rw-r-- 1 jenkins jenkins 622 Jul 14 14:00 OWNERS.md 14:04:36 -rw-rw-r-- 1 jenkins jenkins 11243 Jul 14 14:00 README.md 14:04:36 -rw-rw-r-- 1 jenkins jenkins 5 Jul 14 13:58 VERSION 14:04:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 14:00 bin 14:04:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 14:00 cmd 14:04:36 -rw-r--r-- 1 jenkins jenkins 10 Jul 14 14:02 coverage.out 14:04:36 -rw-rw-r-- 1 jenkins jenkins 140 Jul 14 14:00 docker-entrypoint.sh 14:04:36 -rw-rw-r-- 1 jenkins jenkins 3277 Jul 14 14:00 go.mod 14:04:36 -rw-rw-r-- 1 jenkins jenkins 35596 Jul 14 14:00 go.sum 14:04:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 14:00 internal 14:04:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 14:00 snap 14:04:36 -rw-rw-r-- 1 jenkins jenkins 231 Jul 14 14:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:36 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c --label arch=arm64 --label version=0.0.0 . 14:04:37 Sending build context to Docker daemon 470kB 14:04:37 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 14:04:37 Step 2/29 : FROM ${BASE} AS builder 14:04:37 ---> e1428b51841b 14:04:37 Step 3/29 : ARG MAKE="make build" 14:04:37 ---> Running in 771a74bb4a96 14:04:37 Removing intermediate container 771a74bb4a96 14:04:37 ---> a27e91008c11 14:04:37 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:04:37 ---> Running in 97acb9f21005 14:04:37 Removing intermediate container 97acb9f21005 14:04:37 ---> 00431ad7b226 14:04:37 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 14:04:38 ---> Running in ab211b08c617 14:04:38 Removing intermediate container ab211b08c617 14:04:38 ---> a6c0371c9f99 14:04:38 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:04:38 ---> Running in b2d9c0cde5b7 14:04:39 Removing intermediate container b2d9c0cde5b7 14:04:39 ---> 6ffa36ce2ac2 14:04:39 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:04:40 ---> Running in 6e6e66a39d69 14:04:41 fetch https://nl.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:04:42 fetch https://nl.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:04:42 OK: 228 MiB in 65 packages 14:04:43 Removing intermediate container 6e6e66a39d69 14:04:43 ---> 3ca4d5ee3ae2 14:04:43 Step 8/29 : WORKDIR /device-usb-camera 14:04:43 ---> Running in a19e7ff865a0 14:04:43 Removing intermediate container a19e7ff865a0 14:04:43 ---> 1d07d191ac8a 14:04:43 Step 9/29 : COPY go.mod vendor* ./ 14:04:44 ---> 776bd4f34652 14:04:44 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:04:44 ---> Running in 7165b4f6cb4d 14:04:46 Removing intermediate container 7165b4f6cb4d 14:04:46 ---> ae065c21e7a7 14:04:46 Step 11/29 : COPY . . 14:04:47 ---> d0c15212546e 14:04:47 Step 12/29 : RUN ${MAKE} 14:04:47 ---> Running in 2b5c34f2d7e7 14:04:48 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 14:07:10 Removing intermediate container 2b5c34f2d7e7 14:07:10 ---> 486d6a774c44 14:07:10 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 14:07:10 v0.18.4: Pulling from aler9/rtsp-simple-server 14:07:10 eab2503cf8f4: Pulling fs layer 14:07:10 97cd0a44c592: Pulling fs layer 14:07:10 eab2503cf8f4: Verifying Checksum 14:07:10 eab2503cf8f4: Download complete 14:07:10 eab2503cf8f4: Pull complete 14:07:10 97cd0a44c592: Pull complete 14:07:10 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 14:07:10 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 14:07:10 ---> 7f763cca56b3 14:07:10 Step 14/29 : FROM alpine:3.15 14:07:10 3.15: Pulling from library/alpine 14:07:10 9981e73032c8: Pulling fs layer 14:07:10 9981e73032c8: Verifying Checksum 14:07:10 9981e73032c8: Download complete 14:07:10 9981e73032c8: Pull complete 14:07:10 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 14:07:10 Status: Downloaded newer image for alpine:3.15 14:07:10 ---> 3fb3c9af89a9 14:07:10 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 14:07:10 ---> Running in 2a78b3f9a4bb 14:07:10 Removing intermediate container 2a78b3f9a4bb 14:07:10 ---> aed37ab38baf 14:07:10 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 14:07:10 ---> Running in 8e5d317102aa 14:07:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:07:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:07:10 (1/73) Installing dumb-init (1.2.5-r1) 14:07:10 (2/73) Installing sdl2 (2.0.16-r4) 14:07:10 (3/73) Installing libxau (1.0.9-r0) 14:07:10 (4/73) Installing libmd (1.0.3-r0) 14:07:10 (5/73) Installing libbsd (0.11.3-r1) 14:07:10 (6/73) Installing libxdmcp (1.1.3-r0) 14:07:10 (7/73) Installing libxcb (1.14-r2) 14:07:10 (8/73) Installing libx11 (1.7.2-r0) 14:07:10 (9/73) Installing aom-libs (3.2.0-r0) 14:07:10 (10/73) Installing alsa-lib (1.2.5.1-r1) 14:07:10 (11/73) Installing expat (2.4.7-r0) 14:07:10 (12/73) Installing brotli-libs (1.0.9-r5) 14:07:10 (13/73) Installing libbz2 (1.0.8-r1) 14:07:10 (14/73) Installing libpng (1.6.37-r1) 14:07:10 (15/73) Installing freetype (2.11.1-r2) 14:07:10 (16/73) Installing libuuid (2.37.4-r0) 14:07:10 (17/73) Installing fontconfig (2.13.1-r4) 14:07:10 (18/73) Installing fribidi (1.0.11-r0) 14:07:10 (19/73) Installing libffi (3.4.2-r1) 14:07:10 (20/73) Installing libintl (0.21-r0) 14:07:10 (21/73) Installing libblkid (2.37.4-r0) 14:07:10 (22/73) Installing libmount (2.37.4-r0) 14:07:10 (23/73) Installing pcre (8.45-r1) 14:07:10 (24/73) Installing glib (2.70.1-r0) 14:07:10 (25/73) Installing graphite2 (1.3.14-r0) 14:07:10 (26/73) Installing harfbuzz (3.0.0-r2) 14:07:10 (27/73) Installing libass (0.15.2-r0) 14:07:10 (28/73) Installing libdav1d (0.9.2-r0) 14:07:10 (29/73) Installing gmp (6.2.1-r1) 14:07:10 (30/73) Installing nettle (3.7.3-r0) 14:07:10 (31/73) Installing p11-kit (0.24.0-r1) 14:07:10 (32/73) Installing libtasn1 (4.18.0-r0) 14:07:10 (33/73) Installing libunistring (0.9.10-r1) 14:07:10 (34/73) Installing gnutls (3.7.1-r0) 14:07:10 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 14:07:10 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 14:07:10 (37/73) Installing lame (3.100-r0) 14:07:10 (38/73) Installing opus (1.3.1-r1) 14:07:10 (39/73) Installing libgomp (10.3.1_git20211027-r0) 14:07:10 (40/73) Installing soxr (0.1.3-r2) 14:07:10 (41/73) Installing libgcc (10.3.1_git20211027-r0) 14:07:10 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 14:07:10 (43/73) Installing libsrt (1.4.2-r1) 14:07:10 (44/73) Installing libssh (0.9.6-r1) 14:07:10 (45/73) Installing libogg (1.3.5-r0) 14:07:10 (46/73) Installing libtheora (1.1.1-r16) 14:07:10 (47/73) Installing libjpeg-turbo (2.1.2-r0) 14:07:10 (48/73) Installing v4l-utils-libs (1.22.1-r1) 14:07:10 (49/73) Installing libxext (1.3.4-r0) 14:07:10 (50/73) Installing libxfixes (6.0.0-r0) 14:07:10 (51/73) Installing libdrm (2.4.109-r0) 14:07:10 (52/73) Installing wayland-libs-client (1.19.0-r1) 14:07:10 (53/73) Installing libva (2.13.0-r0) 14:07:10 (54/73) Installing libvdpau (1.4-r0) 14:07:10 (55/73) Installing vidstab (1.1.0-r1) 14:07:10 (56/73) Installing libvorbis (1.3.7-r0) 14:07:10 (57/73) Installing libvpx (1.10.0-r0) 14:07:10 (58/73) Installing vulkan-loader (1.2.196-r0) 14:07:10 (59/73) Installing libwebp (1.2.2-r0) 14:07:10 (60/73) Installing x264-libs (20210613-r0) 14:07:10 (61/73) Installing x265-libs (3.5-r0) 14:07:10 (62/73) Installing xvidcore (1.3.7-r1) 14:07:10 (63/73) Installing ffmpeg-libs (4.4.1-r2) 14:07:10 (64/73) Installing ffmpeg (4.4.1-r2) 14:07:10 (65/73) Installing udev-init-scripts (35-r0) 14:07:10 Executing udev-init-scripts-35-r0.post-install 14:07:10 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 14:07:10 (67/73) Installing xz-libs (5.2.5-r1) 14:07:10 (68/73) Installing zstd-libs (1.5.0-r0) 14:07:10 (69/73) Installing kmod-libs (29-r2) 14:07:10 (70/73) Installing eudev (3.2.11_pre1-r0) 14:07:10 (71/73) Installing libsodium (1.0.18-r0) 14:07:10 (72/73) Installing libzmq (4.3.4-r0) 14:07:10 (73/73) Installing zeromq (4.3.4-r0) 14:07:10 Executing busybox-1.34.1-r5.trigger 14:07:10 Executing eudev-3.2.11_pre1-r0.trigger 14:07:10 OK: 67 MiB in 87 packages 14:07:10 Removing intermediate container 8e5d317102aa 14:07:10 ---> eb527c4b386c 14:07:10 Step 17/29 : WORKDIR / 14:07:10 ---> Running in 372405985c68 14:07:10 Removing intermediate container 372405985c68 14:07:10 ---> 99c0d9ec0c46 14:07:10 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 14:07:10 ---> a9431b81d1bc 14:07:10 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 14:07:10 ---> cdd61ac4e016 14:07:10 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 14:07:11 ---> 1644c70b5d59 14:07:11 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 14:07:11 ---> 78b41e6bb18c 14:07:11 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 14:07:12 ---> 04d2d974adbb 14:07:12 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 14:07:13 ---> 25727a398b65 14:07:13 Step 24/29 : EXPOSE 59983 14:07:13 ---> Running in beb5142a43ee 14:07:13 Removing intermediate container beb5142a43ee 14:07:13 ---> 315c76422ab0 14:07:13 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 14:07:13 ---> Running in 1e3a035df622 14:07:14 Removing intermediate container 1e3a035df622 14:07:14 ---> 69dc044cb703 14:07:14 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 14:07:14 ---> Running in 8a7ac0bac144 14:07:14 Removing intermediate container 8a7ac0bac144 14:07:14 ---> 8cb9aba351e9 14:07:14 Step 27/29 : LABEL arch=arm64 14:07:14 ---> Running in e827b35eb682 14:07:15 Removing intermediate container e827b35eb682 14:07:15 ---> 983656192910 14:07:15 Step 28/29 : LABEL git_sha=b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c 14:07:15 ---> Running in f688b0fb7131 14:07:15 Removing intermediate container f688b0fb7131 14:07:15 ---> 75d03f69c317 14:07:15 Step 29/29 : LABEL version=0.0.0 14:07:15 ---> Running in 02e4a93d9013 14:07:15 Removing intermediate container 02e4a93d9013 14:07:15 ---> b9aeae73ae96 14:07:15 [Warning] One or more build-args [ARCH] were not consumed 14:07:15 Successfully built b9aeae73ae96 14:07:15 Successfully tagged device-usb-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 14:07:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:07:16 14:07:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:07:17 arm64: Pulling from edgex-lftools-log-publisher 14:07:17 8998bd30e6a1: Pulling fs layer 14:07:17 04944245beec: Pulling fs layer 14:07:17 699f458cf7ca: Pulling fs layer 14:07:17 765212b225bb: Pulling fs layer 14:07:17 f23df028b6ca: Pulling fs layer 14:07:17 d65c8cfc05b1: Pulling fs layer 14:07:17 2437ff75d9bd: Pulling fs layer 14:07:17 f23df028b6ca: Waiting 14:07:17 d65c8cfc05b1: Waiting 14:07:17 2437ff75d9bd: Waiting 14:07:17 765212b225bb: Waiting 14:07:17 04944245beec: Verifying Checksum 14:07:17 765212b225bb: Download complete 14:07:17 f23df028b6ca: Verifying Checksum 14:07:17 f23df028b6ca: Download complete 14:07:17 d65c8cfc05b1: Verifying Checksum 14:07:17 d65c8cfc05b1: Download complete 14:07:17 699f458cf7ca: Verifying Checksum 14:07:17 699f458cf7ca: Download complete 14:07:17 8998bd30e6a1: Verifying Checksum 14:07:17 8998bd30e6a1: Download complete 14:07:20 2437ff75d9bd: Verifying Checksum 14:07:20 2437ff75d9bd: Download complete 14:07:22 8998bd30e6a1: Pull complete 14:07:22 04944245beec: Pull complete 14:07:24 699f458cf7ca: Pull complete 14:07:24 765212b225bb: Pull complete 14:07:25 f23df028b6ca: Pull complete 14:07:25 d65c8cfc05b1: Pull complete 14:07:40 2437ff75d9bd: Pull complete 14:07:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:07:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:07:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:41 prd-ubuntu20.04-docker-arm64-4c-16g-19940 does not seem to be running inside a container 14:07:41 $ 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-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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:arm64 cat 14:07:43 $ docker top e143ae599b46d0e6d5c45161a17c7a3cb3800f25ea6ed9930b1fcba71c928691 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:07:44 ---> job-cost.sh 14:07:44 lf-activate-venv: SKIPPING 14:07:44 INFO: No Stack... 14:07:44 INFO: Retrieving Pricing Info for: v3-standard-4 14:07:45 INFO: Archiving Costs [Pipeline] sh 14:07:46 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 14:07:46 + cut -d, -f6 [Pipeline] lock 14:07:46 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] 14:07:46 Resource [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] did not exist. Created. 14:07:46 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:07:47 /w/workspace/device-usb-camera/1@tmp/durable-91984083/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:07:48 + echo total: 0.10999999940395355 [Pipeline] stash 14:07:48 Warning: overwriting stash ‘stack-cost’ 14:07:48 Stashed 1 file(s) [Pipeline] } 14:07:48 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:07:48 $ docker stop --time=1 e143ae599b46d0e6d5c45161a17c7a3cb3800f25ea6ed9930b1fcba71c928691 14:07:49 $ docker rm -f e143ae599b46d0e6d5c45161a17c7a3cb3800f25ea6ed9930b1fcba71c928691 [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 14:07:52 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-50/archives ] 14:07:52 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-50/archives 14:07:52 total 16 14:07:52 drwxr-xr-x 3 root root 4096 Jul 14 13:59 . 14:07:52 drwxrwxr-x 10 jenkins jenkins 4096 Jul 14 13:59 .. 14:07:52 drwxr-xr-x 2 root root 4096 Jul 14 13:59 cost 14:07:52 -rw-r--r-- 1 root root 86 Jul 14 13:59 cost.csv 14:07:52 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-50/archives 14:07:52 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-50/archives 14:07:52 total 16 14:07:52 drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 13:59 . 14:07:52 drwxrwxr-x 10 jenkins jenkins 4096 Jul 14 13:59 .. 14:07:52 drwxr-xr-x 2 jenkins jenkins 4096 Jul 14 13:59 cost 14:07:52 -rw-r--r-- 1 jenkins jenkins 86 Jul 14 13:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:07:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:07:53 ---> package-listing.sh 14:07:53 ++ facter osfamily 14:07:53 ++ tr '[:upper:]' '[:lower:]' 14:07:54 + OS_FAMILY=debian 14:07:54 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-50 14:07:54 + START_PACKAGES=/tmp/packages_start.txt 14:07:54 + END_PACKAGES=/tmp/packages_end.txt 14:07:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:07:54 + PACKAGES=/tmp/packages_start.txt 14:07:54 + '[' /w/workspace/xfoundry_device-usb-camera_PR-50 ']' 14:07:54 + PACKAGES=/tmp/packages_end.txt 14:07:54 + case "${OS_FAMILY}" in 14:07:54 + dpkg -l 14:07:54 + grep '^ii' 14:07:54 + '[' -f /tmp/packages_start.txt ']' 14:07:54 + '[' -f /tmp/packages_end.txt ']' 14:07:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:07:54 + '[' /w/workspace/xfoundry_device-usb-camera_PR-50 ']' 14:07:54 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-50/archives/ 14:07:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-50/archives/ [Pipeline] echo 14:07: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/xfoundry_device-usb-camera_PR-50/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:07:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:55 prd-ubuntu20.04-docker-8c-8g-19939 does not seem to be running inside a container 14:07: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/xfoundry_device-usb-camera_PR-50/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-50 -v /w/workspace/xfoundry_device-usb-camera_PR-50:/w/workspace/xfoundry_device-usb-camera_PR-50:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-50@tmp:/w/workspace/xfoundry_device-usb-camera_PR-50@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:07:55 $ docker top 81d3d176436463a583c5da24f843015910ff0e5e228eb51672b0d1fa99548ab4 -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:55 + touch /tmp/pre-build-complete [Pipeline] sh 14:07:56 + mkdir -p /var/log/sysstat [Pipeline] sh 14:07:56 + ls /var/log/sa-host 14:07:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:07:56 provisioning config files... 14:07:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/config4332234431693537311tmp [Pipeline] { [Pipeline] echo 14:07:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:07:57 ---> create-netrc.sh [Pipeline] } 14:07:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:07:57 ---> python-tools-install.sh [Pipeline] echo 14:07:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:07:57 ---> sudo-logs.sh 14:07:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:07:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:07:58 ---> job-cost.sh 14:07:58 lf-activate-venv: SKIPPING 14:07:58 DEBUG: total: 0.2199999988079071 14:07:58 INFO: Retrieving Stack Cost... 14:07:58 INFO: Retrieving Pricing Info for: v3-standard-8 14:07:59 INFO: Archiving Costs [Pipeline] echo 14:07:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:07:59 ---> logs-deploy.sh 14:07:59 lf-activate-venv: SKIPPING 14:07:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-50/1 14:07:59 INFO: archiving workspace using pattern(s): 14:08:00 Archives upload complete. 14:08:00 INFO: archiving logs to Nexus