Push event to branch revert-42-upgrade-sdk Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7a1ec2de4e1205b0cbbb69de484870a0180aa385 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-ssh3746305226090805638.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh2507348939063314487.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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/revert-42-upgrade-sdk/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/revert-42-upgrade-sdk/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8499185558180033008.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/revert-42-upgrade-sdk/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17862152390812023432.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh16825238566336706611.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/revert-42-upgrade-sdk/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/revert-42-upgrade-sdk/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9599659660132638512.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15406 in /w/workspace/usb-camera_revert-42-upgrade-sdk [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 Avoid second fetch Checking out Revision 7a1ec2de4e1205b0cbbb69de484870a0180aa385 (revert-42-upgrade-sdk) Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/usb-camera_revert-42-upgrade-sdk # 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 core.sparsecheckout # timeout=10 > git checkout -f 7a1ec2de4e1205b0cbbb69de484870a0180aa385 # timeout=10 Commit message: "Revert "build: Upgrade sdk and paho.mqtt lib"" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:58:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:58:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:58:39 ========================================================= 04:58:39 EdgeX Global Pipelines Version Info 04:58:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:58:40 ------------------- 04:58:40 stable info: 04:58:40 ------------------- 04:58:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:58:40 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:58:40 Message: update stable to v1.0.234 04:58:40 ------------------- 04:58:40 experimental info: 04:58:40 ------------------- 04:58:40 Commited By: **** collab-it+edgex@linuxfoundation.org 04:58:40 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:58:40 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:58:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 04:58:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:58:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:58:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = revert-42-upgrade-sdk [Pipeline] echo 04:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = revert-42-upgrade-sdk [Pipeline] echo 04:58:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = revert-42-upgrade-sdk [Pipeline] echo 04:58:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a1ec2de4e1205b0cbbb69de484870a0180aa385 [Pipeline] echo 04:58:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a1ec2d [Pipeline] echo 04:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:58:42 provisioning config files... 04:58:42 copy managed file [device-usb-camera-settings] to file:/w/workspace/usb-camera_revert-42-upgrade-sdk@tmp/config5783420190337950668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:42 ---> docker-login.sh 04:58:42 nexus3.edgexfoundry.org:10001 04:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:42 Configure a credential helper to remove this warning. See 04:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:42 04:58:42 Login Succeeded 04:58:42 nexus3.edgexfoundry.org:10002 04:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:43 Configure a credential helper to remove this warning. See 04:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:43 04:58:43 Login Succeeded 04:58:43 nexus3.edgexfoundry.org:10003 04:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:43 Configure a credential helper to remove this warning. See 04:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:43 04:58:43 Login Succeeded 04:58:43 nexus3.edgexfoundry.org:10004 04:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:43 Configure a credential helper to remove this warning. See 04:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:43 04:58:43 Login Succeeded 04:58:43 docker.io 04:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:43 Configure a credential helper to remove this warning. See 04:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:43 04:58:43 Login Succeeded 04:58:44 ---> docker-login.sh ends [Pipeline] } 04:58:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:58:44 + git rev-list -1 --merges 7a1ec2de4e1205b0cbbb69de484870a0180aa385~1..7a1ec2de4e1205b0cbbb69de484870a0180aa385 [Pipeline] echo 04:58:44 -----------> git rev-list -1 --merges 7a1ec2de4e1205b0cbbb69de484870a0180aa385~1..7a1ec2de4e1205b0cbbb69de484870a0180aa385 7a1ec2de4e1205b0cbbb69de484870a0180aa385 [false] [Pipeline] sh 04:58:45 + git log --format=format:%s -1 7a1ec2de4e1205b0cbbb69de484870a0180aa385 [Pipeline] echo 04:58:45 ========================================================= 04:58:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:58:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:58:45 + git log --format=format:%s -1 7a1ec2de4e1205b0cbbb69de484870a0180aa385 [Pipeline] echo 04:58:45 [semverPrep] GIT_COMMIT: 7a1ec2de4e1205b0cbbb69de484870a0180aa385, Commit Message: Revert "build: Upgrade sdk and paho.mqtt lib" [Pipeline] echo 04:58:45 [semverPrep] This is not a build commit. [Pipeline] sh 04:58:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:58:45 + grep -v github /etc/ssh/ssh_known_hosts 04:58:45 + [ -e /tmp/ssh_known_hosts ] 04:58:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:58:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:58:45 + sudo tee -a /etc/ssh/ssh_known_hosts 04:58:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:58:46 04:58:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:58:46 0.1.4: Pulling from edgex-devops/py-git-semver 04:58:46 42c077c10790: Pulling fs layer 04:58:46 f63e77b7563a: Pulling fs layer 04:58:46 bd5fdadae976: Pulling fs layer 04:58:46 205491f53016: Pulling fs layer 04:58:46 df18705c85c3: Pulling fs layer 04:58:46 bdb3f477010e: Pulling fs layer 04:58:46 c8a8fc8e1c8f: Pulling fs layer 04:58:46 2c6e9b1d212d: Pulling fs layer 04:58:46 bdb8f0575790: Pulling fs layer 04:58:46 386e3cb2ff24: Pulling fs layer 04:58:46 2343380bae48: Pulling fs layer 04:58:46 c8a8fc8e1c8f: Waiting 04:58:46 bdb3f477010e: Waiting 04:58:46 2c6e9b1d212d: Waiting 04:58:46 df18705c85c3: Waiting 04:58:46 bdb8f0575790: Waiting 04:58:46 386e3cb2ff24: Waiting 04:58:46 2343380bae48: Waiting 04:58:46 205491f53016: Waiting 04:58:46 f63e77b7563a: Download complete 04:58:46 205491f53016: Verifying Checksum 04:58:46 205491f53016: Download complete 04:58:47 df18705c85c3: Verifying Checksum 04:58:47 df18705c85c3: Download complete 04:58:47 bdb3f477010e: Verifying Checksum 04:58:47 bdb3f477010e: Download complete 04:58:47 bd5fdadae976: Verifying Checksum 04:58:47 bd5fdadae976: Download complete 04:58:47 2c6e9b1d212d: Verifying Checksum 04:58:47 2c6e9b1d212d: Download complete 04:58:47 bdb8f0575790: Verifying Checksum 04:58:47 bdb8f0575790: Download complete 04:58:47 386e3cb2ff24: Download complete 04:58:47 2343380bae48: Verifying Checksum 04:58:47 2343380bae48: Download complete 04:58:47 42c077c10790: Verifying Checksum 04:58:47 42c077c10790: Download complete 04:58:47 c8a8fc8e1c8f: Download complete 04:58:48 42c077c10790: Pull complete 04:58:48 f63e77b7563a: Pull complete 04:58:48 bd5fdadae976: Pull complete 04:58:49 205491f53016: Pull complete 04:58:49 df18705c85c3: Pull complete 04:58:49 bdb3f477010e: Pull complete 04:58:51 c8a8fc8e1c8f: Pull complete 04:58:51 2c6e9b1d212d: Pull complete 04:58:51 bdb8f0575790: Pull complete 04:58:51 386e3cb2ff24: Pull complete 04:58:51 2343380bae48: Pull complete 04:58:51 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 04:58:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:58:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:51 prd-ubuntu20.04-docker-8c-8g-15406 does not seem to be running inside a container 04:58:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/usb-camera_revert-42-upgrade-sdk -v /w/workspace/usb-camera_revert-42-upgrade-sdk:/w/workspace/usb-camera_revert-42-upgrade-sdk:rw,z -v /w/workspace/usb-camera_revert-42-upgrade-sdk@tmp:/w/workspace/usb-camera_revert-42-upgrade-sdk@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:58:53 $ docker top 858b7fbbd03e1ae348bf2338daac50d3f733cbe6c94f966e2c997b11c225df26 -eo pid,comm 04:58:53 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). 04:58:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:58:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:53 [ssh-agent] Looking for ssh-agent implementation... 04:58:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:53 $ docker exec 858b7fbbd03e1ae348bf2338daac50d3f733cbe6c94f966e2c997b11c225df26 ssh-agent 04:58:53 SSH_AUTH_SOCK=/tmp/ssh-mtWh2KpjTQ82/agent.33 04:58:53 SSH_AGENT_PID=39 04:58:53 Running ssh-add (command line suppressed) 04:58:54 Identity added: /w/workspace/usb-camera_revert-42-upgrade-sdk@tmp/private_key_7958651783195694796.key (/w/workspace/usb-camera_revert-42-upgrade-sdk@tmp/private_key_7958651783195694796.key) 04:58:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:54 + git tag --points-at HEAD [Pipeline] } 04:58:54 $ docker exec --env ******** --env ******** 858b7fbbd03e1ae348bf2338daac50d3f733cbe6c94f966e2c997b11c225df26 ssh-agent -k 04:58:54 unset SSH_AUTH_SOCK; 04:58:54 unset SSH_AGENT_PID; 04:58:54 echo Agent pid 39 killed; 04:58:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:58:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:54 [ssh-agent] Looking for ssh-agent implementation... 04:58:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:54 $ docker exec 858b7fbbd03e1ae348bf2338daac50d3f733cbe6c94f966e2c997b11c225df26 ssh-agent 04:58:54 SSH_AUTH_SOCK=/tmp/ssh-2ZqWuNSTeaaB/agent.72 04:58:54 SSH_AGENT_PID=79 04:58:54 Running ssh-add (command line suppressed) 04:58:55 Identity added: /w/workspace/usb-camera_revert-42-upgrade-sdk@tmp/private_key_7576162377548007613.key (/w/workspace/usb-camera_revert-42-upgrade-sdk@tmp/private_key_7576162377548007613.key) 04:58:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:55 + git semver init 04:58:55 2022-06-23 04:58:55,599 [run_init] DEBUG init version:0.0.0 force:False 04:58:55 2022-06-23 04:58:55,600 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/usb-camera_revert-42-upgrade-sdk/.semver 04:58:55 2022-06-23 04:58:55,601 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/usb-camera_revert-42-upgrade-sdk/.semver 04:58:55 2022-06-23 04:58:55,601 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/usb-camera_revert-42-upgrade-sdk/.semver'], cwd=/w/workspace/usb-camera_revert-42-upgrade-sdk, universal_newlines=False, shell=None, istream=None) 04:58:56 2022-06-23 04:58:56,157 [append_file] DEBUG append to file:/w/workspace/usb-camera_revert-42-upgrade-sdk/.git/info/exclude 04:58:56 2022-06-23 04:58:56,158 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/usb-camera_revert-42-upgrade-sdk/.semver/revert-42-upgrade-sdk with force:False 04:58:56 2022-06-23 04:58:56,158 [write_file] DEBUG write to file:/w/workspace/usb-camera_revert-42-upgrade-sdk/.semver/revert-42-upgrade-sdk 04:58:56 2022-06-23 04:58:56,162 [execute] INFO git cat-file --batch-check 04:58:56 2022-06-23 04:58:56,162 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/usb-camera_revert-42-upgrade-sdk/.semver, universal_newlines=False, shell=None, istream=) 04:58:56 2022-06-23 04:58:56,168 [execute] INFO git cat-file --batch 04:58:56 2022-06-23 04:58:56,168 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/usb-camera_revert-42-upgrade-sdk/.semver, universal_newlines=False, shell=None, istream=) 04:58:56 2022-06-23 04:58:56,174 [read_version] DEBUG read version from /w/workspace/usb-camera_revert-42-upgrade-sdk/.semver/revert-42-upgrade-sdk 04:58:56 0.0.0 [Pipeline] } 04:58:56 $ docker exec --env ******** --env ******** 858b7fbbd03e1ae348bf2338daac50d3f733cbe6c94f966e2c997b11c225df26 ssh-agent -k 04:58:56 unset SSH_AUTH_SOCK; 04:58:56 unset SSH_AGENT_PID; 04:58:56 echo Agent pid 79 killed; 04:58:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:58:56 + git semver [Pipeline] } 04:58:57 $ docker stop --time=1 858b7fbbd03e1ae348bf2338daac50d3f733cbe6c94f966e2c997b11c225df26 04:58:58 $ docker rm -f 858b7fbbd03e1ae348bf2338daac50d3f733cbe6c94f966e2c997b11c225df26 [Pipeline] // withDockerContainer [Pipeline] sh 04:58:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:58:59 Stashed 1 file(s) [Pipeline] echo 04:58:59 [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 04:58:59 provisioning config files... 04:58:59 copy managed file [device-usb-camera-settings] to file:/w/workspace/usb-camera_revert-42-upgrade-sdk@tmp/config8417681102905909808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:59:00 ---> docker-login.sh 04:59:00 nexus3.edgexfoundry.org:10001 04:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:00 Configure a credential helper to remove this warning. See 04:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:00 04:59:00 Login Succeeded 04:59:00 nexus3.edgexfoundry.org:10002 04:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:00 Configure a credential helper to remove this warning. See 04:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:00 04:59:00 Login Succeeded 04:59:00 nexus3.edgexfoundry.org:10003 04:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:00 Configure a credential helper to remove this warning. See 04:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:00 04:59:00 Login Succeeded 04:59:00 nexus3.edgexfoundry.org:10004 04:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:00 Configure a credential helper to remove this warning. See 04:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:00 04:59:00 Login Succeeded 04:59:00 docker.io 04:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:00 Configure a credential helper to remove this warning. See 04:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:00 04:59:00 Login Succeeded 04:59:00 ---> docker-login.sh ends [Pipeline] } 04:59:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:59:01 [edgeX.isLTS] Checking if [revert-42-upgrade-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:59:01 [edgeX.isLTS] Checking if [revert-42-upgrade-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:59:01 ========================================================= 04:59:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:59:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:01 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:59:01 Sending build context to Docker daemon 635.9kB 04:59:01 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 04:59:01 Step 2/12 : FROM ${BASE} AS builder 04:59:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:59:01 59bf1c3509f3: Pulling fs layer 04:59:01 666ba61612fd: Pulling fs layer 04:59:01 8ed8ca486205: Pulling fs layer 04:59:01 cc1cd167ecdc: Pulling fs layer 04:59:01 c516ae0d96e1: Pulling fs layer 04:59:01 684cea983483: Pulling fs layer 04:59:01 dd3240ac7de5: Pulling fs layer 04:59:01 b1e948a4e11c: Pulling fs layer 04:59:01 a8fd76ee1af6: Pulling fs layer 04:59:01 646ad004c059: Pulling fs layer 04:59:01 684cea983483: Waiting 04:59:01 dd3240ac7de5: Waiting 04:59:01 b1e948a4e11c: Waiting 04:59:01 a8fd76ee1af6: Waiting 04:59:01 646ad004c059: Waiting 04:59:01 cc1cd167ecdc: Waiting 04:59:01 c516ae0d96e1: Waiting 04:59:01 8ed8ca486205: Verifying Checksum 04:59:01 8ed8ca486205: Download complete 04:59:01 666ba61612fd: Verifying Checksum 04:59:01 666ba61612fd: Download complete 04:59:01 c516ae0d96e1: Download complete 04:59:01 684cea983483: Verifying Checksum 04:59:01 684cea983483: Download complete 04:59:01 59bf1c3509f3: Verifying Checksum 04:59:01 59bf1c3509f3: Download complete 04:59:01 dd3240ac7de5: Verifying Checksum 04:59:01 dd3240ac7de5: Download complete 04:59:02 b1e948a4e11c: Verifying Checksum 04:59:02 b1e948a4e11c: Download complete 04:59:02 59bf1c3509f3: Pull complete 04:59:02 666ba61612fd: Pull complete 04:59:02 8ed8ca486205: Pull complete 04:59:02 646ad004c059: Verifying Checksum 04:59:02 646ad004c059: Download complete 04:59:02 a8fd76ee1af6: Verifying Checksum 04:59:02 a8fd76ee1af6: Download complete 04:59:02 cc1cd167ecdc: Verifying Checksum 04:59:02 cc1cd167ecdc: Download complete 04:59:06 cc1cd167ecdc: Pull complete 04:59:06 c516ae0d96e1: Pull complete 04:59:06 684cea983483: Pull complete 04:59:06 dd3240ac7de5: Pull complete 04:59:06 b1e948a4e11c: Pull complete 04:59:08 a8fd76ee1af6: Pull complete 04:59:09 646ad004c059: Pull complete 04:59:09 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 04:59:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:59:09 ---> 8f69c11f6b0c 04:59:09 Step 3/12 : ARG MAKE="make build" 04:59:11 ---> Running in 276fef730321 04:59:11 Removing intermediate container 276fef730321 04:59:11 ---> 1e46ed675f72 04:59:11 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:59:11 ---> Running in 212efe4a3e18 04:59:11 Removing intermediate container 212efe4a3e18 04:59:11 ---> 9a157868cbf5 04:59:11 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 04:59:11 ---> Running in f9f300a83fe4 04:59:11 Removing intermediate container f9f300a83fe4 04:59:11 ---> 2d9691121a48 04:59:11 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:59:11 ---> Running in 3782907ebfa6 04:59:12 Removing intermediate container 3782907ebfa6 04:59:12 ---> 35f3e9eecb08 04:59:12 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:59:12 ---> Running in c8cd16867999 04:59:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:59:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:59:13 (1/81) Installing mesa (21.2.6-r0) 04:59:13 (2/81) Installing libxau (1.0.9-r0) 04:59:13 (3/81) Installing libmd (1.0.3-r0) 04:59:13 (4/81) Installing libbsd (0.11.3-r1) 04:59:13 (5/81) Installing libxdmcp (1.1.3-r0) 04:59:13 (6/81) Installing libxcb (1.14-r2) 04:59:14 (7/81) Installing libx11 (1.7.2-r0) 04:59:14 (8/81) Installing libxext (1.3.4-r0) 04:59:14 (9/81) Installing libxfixes (6.0.0-r0) 04:59:14 (10/81) Installing libxxf86vm (1.1.4-r2) 04:59:14 (11/81) Installing libpciaccess (0.16-r0) 04:59:14 Still waiting to schedule task 04:59:14 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15403’ 04:59:14 (12/81) Installing libdrm (2.4.109-r0) 04:59:14 (13/81) Installing mesa-glapi (21.2.6-r0) 04:59:14 (14/81) Installing libxshmfence (1.3-r1) 04:59:14 (15/81) Installing mesa-gl (21.2.6-r0) 04:59:14 (16/81) Installing libice (1.0.10-r0) 04:59:14 (17/81) Installing libuuid (2.37.4-r0) 04:59:15 (18/81) Installing libsm (1.2.3-r0) 04:59:15 (19/81) Installing libxt (1.2.1-r0) 04:59:15 (20/81) Installing libxmu (1.1.3-r0) 04:59:15 (21/81) Installing xset (1.2.4-r0) 04:59:15 (22/81) Installing xprop (1.2.5-r0) 04:59:15 (23/81) Installing xdg-utils (1.1.3-r0) 04:59:15 (24/81) Installing dbus-libs (1.12.20-r4) 04:59:15 (25/81) Installing libffi (3.4.2-r1) 04:59:15 (26/81) Installing libintl (0.21-r0) 04:59:16 (27/81) Installing libblkid (2.37.4-r0) 04:59:16 (28/81) Installing libmount (2.37.4-r0) 04:59:16 (29/81) Installing pcre (8.45-r1) 04:59:16 (30/81) Installing glib (2.70.1-r0) 04:59:16 (31/81) Installing icu-libs (69.1-r1) 04:59:17 (32/81) Installing libpcre2-16 (10.40-r0) 04:59:17 (33/81) Installing zstd-libs (1.5.0-r0) 04:59:17 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 04:59:17 (35/81) Installing hicolor-icon-theme (0.17-r1) 04:59:17 (36/81) Installing wayland-libs-server (1.19.0-r1) 04:59:17 (37/81) Installing mesa-gbm (21.2.6-r0) 04:59:17 (38/81) Installing wayland-libs-client (1.19.0-r1) 04:59:18 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 04:59:18 (40/81) Installing libxcomposite (0.4.5-r0) 04:59:18 (41/81) Installing libbz2 (1.0.8-r1) 04:59:18 (42/81) Installing libpng (1.6.37-r1) 04:59:18 (43/81) Installing freetype (2.11.1-r2) 04:59:18 (44/81) Installing fontconfig (2.13.1-r4) 04:59:18 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 04:59:18 (46/81) Installing wayland-libs-egl (1.19.0-r1) 04:59:18 (47/81) Installing xkeyboard-config (2.34-r0) 04:59:19 (48/81) Installing xz-libs (5.2.5-r1) 04:59:19 (49/81) Installing libxml2 (2.9.14-r0) 04:59:19 (50/81) Installing libxkbcommon (1.3.1-r0) 04:59:19 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 04:59:19 (52/81) Installing mesa-egl (21.2.6-r0) 04:59:19 (53/81) Installing avahi-libs (0.8-r5) 04:59:19 (54/81) Installing nettle (3.7.3-r0) 04:59:19 (55/81) Installing p11-kit (0.24.0-r1) 04:59:19 (56/81) Installing libtasn1 (4.18.0-r0) 04:59:19 (57/81) Installing libunistring (0.9.10-r1) 04:59:19 (58/81) Installing gnutls (3.7.1-r0) 04:59:20 (59/81) Installing cups-libs (2.3.3-r6) 04:59:20 (60/81) Installing graphite2 (1.3.14-r0) 04:59:20 (61/81) Installing harfbuzz (3.0.0-r2) 04:59:20 (62/81) Installing libevdev (1.12.0-r0) 04:59:20 (63/81) Installing mtdev (1.1.6-r0) 04:59:20 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 04:59:20 (65/81) Installing libinput-libs (1.19.4-r0) 04:59:20 (66/81) Installing libjpeg-turbo (2.1.2-r0) 04:59:20 (67/81) Installing xcb-util-wm (0.4.1-r1) 04:59:20 (68/81) Installing xcb-util (0.4.0-r3) 04:59:20 (69/81) Installing xcb-util-image (0.4.0-r1) 04:59:20 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 04:59:21 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 04:59:21 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 04:59:21 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 04:59:21 (74/81) Installing v4l-utils-libs (1.22.1-r1) 04:59:21 (75/81) Installing v4l-utils (1.22.1-r1) 04:59:22 (76/81) Installing udev-init-scripts (35-r0) 04:59:22 Executing udev-init-scripts-35-r0.post-install 04:59:22 (77/81) Installing kmod-libs (29-r2) 04:59:22 (78/81) Installing eudev (3.2.11_pre1-r0) 04:59:22 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 04:59:22 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 04:59:22 (81/81) Installing v4l-utils-dev (1.22.1-r1) 04:59:22 Executing busybox-1.34.1-r3.trigger 04:59:22 Executing eudev-3.2.11_pre1-r0.trigger 04:59:22 OK: 335 MiB in 133 packages 04:59:24 Removing intermediate container c8cd16867999 04:59:24 ---> 9375d6fe848a 04:59:24 Step 8/12 : WORKDIR /device-usb-camera 04:59:24 ---> Running in 2db82cf1a2b6 04:59:24 Removing intermediate container 2db82cf1a2b6 04:59:24 ---> ca1fbbe1017b 04:59:24 Step 9/12 : COPY go.mod vendor* ./ 04:59:24 ---> 6c95ed020442 04:59:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:59:24 ---> Running in 1a30dfea6294 04:59:39 Removing intermediate container 1a30dfea6294 04:59:39 ---> 647c4fb2f62c 04:59:39 Step 11/12 : COPY . . 04:59:39 ---> a30a0af2837f 04:59:39 Step 12/12 : RUN ${MAKE} 04:59:39 ---> Running in 65504aa7b008 04:59:39 noop 04:59:39 Removing intermediate container 65504aa7b008 04:59:39 ---> 08e2e066f0ed 04:59:39 Successfully built 08e2e066f0ed 04:59:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:40 + docker inspect -f . ci-base-image-x86_64 04:59:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:40 prd-ubuntu20.04-docker-8c-8g-15406 does not seem to be running inside a container 04:59:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/usb-camera_revert-42-upgrade-sdk -v /w/workspace/usb-camera_revert-42-upgrade-sdk:/w/workspace/usb-camera_revert-42-upgrade-sdk:rw,z -v /w/workspace/usb-camera_revert-42-upgrade-sdk@tmp:/w/workspace/usb-camera_revert-42-upgrade-sdk@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 ******** ci-base-image-x86_64 cat 04:59:41 $ docker top 801da7ae0c6424d6d34113a476ce16f8123138348a3b1fb0f3e6303ba145cd8c -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:41 + go version 04:59:41 go version go1.17.7 linux/amd64 [Pipeline] } 04:59:41 $ docker stop --time=1 801da7ae0c6424d6d34113a476ce16f8123138348a3b1fb0f3e6303ba145cd8c 04:59:42 $ docker rm -f 801da7ae0c6424d6d34113a476ce16f8123138348a3b1fb0f3e6303ba145cd8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:43 + docker inspect -f . ci-base-image-x86_64 04:59:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:43 prd-ubuntu20.04-docker-8c-8g-15406 does not seem to be running inside a container 04:59:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/usb-camera_revert-42-upgrade-sdk -v /w/workspace/usb-camera_revert-42-upgrade-sdk:/w/workspace/usb-camera_revert-42-upgrade-sdk:rw,z -v /w/workspace/usb-camera_revert-42-upgrade-sdk@tmp:/w/workspace/usb-camera_revert-42-upgrade-sdk@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 ******** ci-base-image-x86_64 cat 04:59:44 $ docker top 3d35f08f54f0b8d575ad235570a31d900b38321416fb8e0cb61c287a00d94a18 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:59:44 + make test 04:59:44 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 04:59:44 ? github.com/edgexfoundry/device-usb-camera [no test files] 04:59:54 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 04:59:54 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 05:00:01 CGO_ENABLED=1 go vet ./... 05:00:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:00:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:00:05 ./bin/test-attribution-txt.sh [Pipeline] echo 05:00:05 [edgeX.isLTS] Checking if [revert-42-upgrade-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:00:05 $ docker stop --time=1 3d35f08f54f0b8d575ad235570a31d900b38321416fb8e0cb61c287a00d94a18 05:00:07 $ docker rm -f 3d35f08f54f0b8d575ad235570a31d900b38321416fb8e0cb61c287a00d94a18 [Pipeline] // withDockerContainer [Pipeline] sh 05:00:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:00:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:00:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:00:08 + ls -al . 05:00:08 total 164 05:00:08 drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 05:00 . 05:00:08 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 04:58 .. 05:00:08 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 04:58 .git 05:00:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 04:58 .github 05:00:08 -rw-rw-r-- 1 jenkins jenkins 349 Jun 23 04:58 .gitignore 05:00:08 -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 04:58 .golangci.yml 05:00:08 -rw-rw-r-- 1 jenkins jenkins 77 Jun 23 04:58 .hadolint.yml 05:00:08 drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 04:58 .semver 05:00:08 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 23 04:58 Attribution.txt 05:00:08 -rw-rw-r-- 1 jenkins jenkins 181 Jun 23 04:58 CHANGELOG.md 05:00:08 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 23 04:58 Dockerfile 05:00:08 -rw-rw-r-- 1 jenkins jenkins 678 Jun 23 04:58 GOVERNANCE.md 05:00:08 -rw-rw-r-- 1 jenkins jenkins 659 Jun 23 04:58 Jenkinsfile 05:00:08 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 04:58 LICENSE 05:00:08 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 23 04:58 Makefile 05:00:08 -rw-rw-r-- 1 jenkins jenkins 622 Jun 23 04:58 OWNERS.md 05:00:08 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 23 04:58 README.md 05:00:08 -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 04:58 VERSION 05:00:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 04:58 bin 05:00:08 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 04:58 cmd 05:00:08 -rw-r--r-- 1 jenkins jenkins 10 Jun 23 04:59 coverage.out 05:00:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 04:58 docker-compose 05:00:08 -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 04:58 docker-entrypoint.sh 05:00:08 -rw-rw-r-- 1 jenkins jenkins 3307 Jun 23 04:58 go.mod 05:00:08 -rw-rw-r-- 1 jenkins jenkins 35656 Jun 23 04:58 go.sum 05:00:08 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 04:58 internal 05:00:08 -rw-rw-r-- 1 jenkins jenkins 231 Jun 23 04:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:09 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7a1ec2de4e1205b0cbbb69de484870a0180aa385 --label arch=amd64 --label version=0.0.0 . 05:00:09 Sending build context to Docker daemon 636.9kB 05:00:09 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 05:00:09 Step 2/29 : FROM ${BASE} AS builder 05:00:09 ---> 08e2e066f0ed 05:00:09 Step 3/29 : ARG MAKE="make build" 05:00:09 ---> Running in fe00e922d586 05:00:09 Removing intermediate container fe00e922d586 05:00:09 ---> 9fc17c1782d4 05:00:09 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:00:09 ---> Running in 5089433c6d62 05:00:09 Removing intermediate container 5089433c6d62 05:00:09 ---> 3b81c93048a1 05:00:09 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 05:00:09 ---> Running in 4fdd20283e99 05:00:09 Removing intermediate container 4fdd20283e99 05:00:09 ---> fd94e73d4d44 05:00:09 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:00:09 ---> Running in bbc82d8b8d99 05:00:10 Removing intermediate container bbc82d8b8d99 05:00:10 ---> 12a9ac2f885b 05:00:10 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:00:10 ---> Running in efb55918ba9b 05:00:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:00:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:00:11 OK: 335 MiB in 133 packages 05:00:12 Removing intermediate container efb55918ba9b 05:00:12 ---> 402162e6ad6a 05:00:12 Step 8/29 : WORKDIR /device-usb-camera 05:00:12 ---> Running in 709a4561ed43 05:00:12 Removing intermediate container 709a4561ed43 05:00:12 ---> 2608187eae93 05:00:12 Step 9/29 : COPY go.mod vendor* ./ 05:00:12 ---> a0ab9c945239 05:00:12 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:00:12 ---> Running in 7dd5df909612 05:00:13 Removing intermediate container 7dd5df909612 05:00:13 ---> acc850ef1022 05:00:13 Step 11/29 : COPY . . 05:00:13 ---> 29f755468fa6 05:00:13 Step 12/29 : RUN ${MAKE} 05:00:13 ---> Running in d1c3d34fdcb7 05:00:13 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 05:00:35 Removing intermediate container d1c3d34fdcb7 05:00:35 ---> 6e243d2fd0b0 05:00:35 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 05:00:35 v0.18.4: Pulling from aler9/rtsp-simple-server 05:00:35 af6660deedbd: Pulling fs layer 05:00:35 97cd0a44c592: Pulling fs layer 05:00:35 97cd0a44c592: Verifying Checksum 05:00:35 97cd0a44c592: Download complete 05:00:35 af6660deedbd: Verifying Checksum 05:00:35 af6660deedbd: Download complete 05:00:35 af6660deedbd: Pull complete 05:00:35 97cd0a44c592: Pull complete 05:00:35 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 05:00:35 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 05:00:35 ---> fea57e182299 05:00:35 Step 14/29 : FROM alpine:3.15 05:00:35 3.15: Pulling from library/alpine 05:00:35 df9b9388f04a: Pulling fs layer 05:00:35 df9b9388f04a: Verifying Checksum 05:00:35 df9b9388f04a: Download complete 05:00:35 df9b9388f04a: Pull complete 05:00:35 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 05:00:35 Status: Downloaded newer image for alpine:3.15 05:00:35 ---> 0ac33e5f5afa 05:00:35 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 05:00:35 ---> Running in 3890639f9cc7 05:00:35 Removing intermediate container 3890639f9cc7 05:00:35 ---> 4950f0e32e9a 05:00:35 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 05:00:35 ---> Running in 895478bf4023 05:00:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:00:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:00:35 (1/74) Installing dumb-init (1.2.5-r1) 05:00:35 (2/74) Installing sdl2 (2.0.16-r4) 05:00:35 (3/74) Installing libxau (1.0.9-r0) 05:00:35 (4/74) Installing libmd (1.0.3-r0) 05:00:35 (5/74) Installing libbsd (0.11.3-r1) 05:00:35 (6/74) Installing libxdmcp (1.1.3-r0) 05:00:35 (7/74) Installing libxcb (1.14-r2) 05:00:35 (8/74) Installing libx11 (1.7.2-r0) 05:00:35 (9/74) Installing aom-libs (3.2.0-r0) 05:00:35 (10/74) Installing alsa-lib (1.2.5.1-r1) 05:00:35 (11/74) Installing expat (2.4.7-r0) 05:00:35 (12/74) Installing brotli-libs (1.0.9-r5) 05:00:35 (13/74) Installing libbz2 (1.0.8-r1) 05:00:35 (14/74) Installing libpng (1.6.37-r1) 05:00:35 (15/74) Installing freetype (2.11.1-r2) 05:00:35 (16/74) Installing libuuid (2.37.4-r0) 05:00:35 (17/74) Installing fontconfig (2.13.1-r4) 05:00:35 (18/74) Installing fribidi (1.0.11-r0) 05:00:35 (19/74) Installing libffi (3.4.2-r1) 05:00:35 (20/74) Installing libintl (0.21-r0) 05:00:35 (21/74) Installing libblkid (2.37.4-r0) 05:00:35 (22/74) Installing libmount (2.37.4-r0) 05:00:35 (23/74) Installing pcre (8.45-r1) 05:00:36 (24/74) Installing glib (2.70.1-r0) 05:00:36 (25/74) Installing graphite2 (1.3.14-r0) 05:00:36 (26/74) Installing harfbuzz (3.0.0-r2) 05:00:36 (27/74) Installing libass (0.15.2-r0) 05:00:36 (28/74) Installing libdav1d (0.9.2-r0) 05:00:36 (29/74) Installing gmp (6.2.1-r1) 05:00:36 (30/74) Installing nettle (3.7.3-r0) 05:00:36 (31/74) Installing p11-kit (0.24.0-r1) 05:00:36 (32/74) Installing libtasn1 (4.18.0-r0) 05:00:36 (33/74) Installing libunistring (0.9.10-r1) 05:00:36 (34/74) Installing gnutls (3.7.1-r0) 05:00:36 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 05:00:36 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 05:00:36 (37/74) Installing lame (3.100-r0) 05:00:36 (38/74) Installing opus (1.3.1-r1) 05:00:36 (39/74) Installing libgomp (10.3.1_git20211027-r0) 05:00:36 (40/74) Installing soxr (0.1.3-r2) 05:00:36 (41/74) Installing libgcc (10.3.1_git20211027-r0) 05:00:36 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 05:00:36 (43/74) Installing libsrt (1.4.2-r1) 05:00:36 (44/74) Installing libssh (0.9.6-r1) 05:00:36 (45/74) Installing libogg (1.3.5-r0) 05:00:36 (46/74) Installing libtheora (1.1.1-r16) 05:00:36 (47/74) Installing libjpeg-turbo (2.1.2-r0) 05:00:36 (48/74) Installing v4l-utils-libs (1.22.1-r1) 05:00:36 (49/74) Installing libxext (1.3.4-r0) 05:00:36 (50/74) Installing libxfixes (6.0.0-r0) 05:00:36 (51/74) Installing libpciaccess (0.16-r0) 05:00:36 (52/74) Installing libdrm (2.4.109-r0) 05:00:36 (53/74) Installing wayland-libs-client (1.19.0-r1) 05:00:36 (54/74) Installing libva (2.13.0-r0) 05:00:36 (55/74) Installing libvdpau (1.4-r0) 05:00:36 (56/74) Installing vidstab (1.1.0-r1) 05:00:36 (57/74) Installing libvorbis (1.3.7-r0) 05:00:36 (58/74) Installing libvpx (1.10.0-r0) 05:00:36 (59/74) Installing vulkan-loader (1.2.196-r0) 05:00:36 (60/74) Installing libwebp (1.2.2-r0) 05:00:36 (61/74) Installing x264-libs (20210613-r0) 05:00:36 (62/74) Installing x265-libs (3.5-r0) 05:00:36 (63/74) Installing xvidcore (1.3.7-r1) 05:00:36 (64/74) Installing ffmpeg-libs (4.4.1-r2) 05:00:36 (65/74) Installing ffmpeg (4.4.1-r2) 05:00:36 (66/74) Installing udev-init-scripts (35-r0) 05:00:36 Executing udev-init-scripts-35-r0.post-install 05:00:36 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 05:00:36 (68/74) Installing xz-libs (5.2.5-r1) 05:00:36 (69/74) Installing zstd-libs (1.5.0-r0) 05:00:36 (70/74) Installing kmod-libs (29-r2) 05:00:36 (71/74) Installing eudev (3.2.11_pre1-r0) 05:00:36 (72/74) Installing libsodium (1.0.18-r0) 05:00:36 (73/74) Installing libzmq (4.3.4-r0) 05:00:36 (74/74) Installing zeromq (4.3.4-r0) 05:00:36 Executing busybox-1.34.1-r5.trigger 05:00:36 Executing eudev-3.2.11_pre1-r0.trigger 05:00:36 OK: 78 MiB in 88 packages 05:00:38 Removing intermediate container 895478bf4023 05:00:38 ---> 40dca72be2f4 05:00:38 Step 17/29 : WORKDIR / 05:00:38 ---> Running in 2e3e48e5a171 05:00:38 Removing intermediate container 2e3e48e5a171 05:00:38 ---> a99d25fd8dbd 05:00:38 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 05:00:39 ---> c49b67b97708 05:00:39 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 05:00:39 ---> fce087f3e945 05:00:39 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 05:00:39 ---> f7f7c1e91dea 05:00:39 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 05:00:39 ---> 33af13255b20 05:00:39 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 05:00:39 ---> 2c0b4ef72360 05:00:39 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 05:00:40 ---> ef5f1ef5afe3 05:00:40 Step 24/29 : EXPOSE 59983 05:00:40 ---> Running in 734c1a9ebb09 05:00:40 Removing intermediate container 734c1a9ebb09 05:00:40 ---> 92696ff632e4 05:00:40 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 05:00:40 ---> Running in ac8ff9d9daca 05:00:40 Removing intermediate container ac8ff9d9daca 05:00:40 ---> b36f6cce2308 05:00:40 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 05:00:40 ---> Running in 989cd1d7fe80 05:00:40 Removing intermediate container 989cd1d7fe80 05:00:40 ---> b03465956e06 05:00:40 Step 27/29 : LABEL arch=amd64 05:00:40 ---> Running in ed4b7e58b8eb 05:00:40 Removing intermediate container ed4b7e58b8eb 05:00:40 ---> 933adc104e76 05:00:40 Step 28/29 : LABEL git_sha=7a1ec2de4e1205b0cbbb69de484870a0180aa385 05:00:40 ---> Running in 4d9461956037 05:00:40 Removing intermediate container 4d9461956037 05:00:40 ---> c452f7a9acce 05:00:40 Step 29/29 : LABEL version=0.0.0 05:00:40 ---> Running in f6a787cfc543 05:00:40 Removing intermediate container f6a787cfc543 05:00:40 ---> e80ad457bd53 05:00:40 [Warning] One or more build-args [ARCH] were not consumed 05:00:40 Successfully built e80ad457bd53 05:00:40 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:00:41 05:00:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:00:41 latest: Pulling from edgex-lftools-log-publisher 05:00:41 5eb5b503b376: Pulling fs layer 05:00:41 5c69ac0246d0: Pulling fs layer 05:00:41 ec43610c2a17: Pulling fs layer 05:00:41 3a2ae6a8a46f: Pulling fs layer 05:00:41 33b1e0a273af: Pulling fs layer 05:00:41 5d3b04190fa2: Pulling fs layer 05:00:41 2f39f015ded8: Pulling fs layer 05:00:41 3a2ae6a8a46f: Waiting 05:00:41 5d3b04190fa2: Waiting 05:00:41 2f39f015ded8: Waiting 05:00:41 5c69ac0246d0: Verifying Checksum 05:00:41 5c69ac0246d0: Download complete 05:00:41 3a2ae6a8a46f: Verifying Checksum 05:00:41 3a2ae6a8a46f: Download complete 05:00:41 33b1e0a273af: Verifying Checksum 05:00:41 33b1e0a273af: Download complete 05:00:41 5d3b04190fa2: Download complete 05:00:41 ec43610c2a17: Verifying Checksum 05:00:41 ec43610c2a17: Download complete 05:00:42 5eb5b503b376: Download complete 05:00:42 2f39f015ded8: Download complete 05:00:43 5eb5b503b376: Pull complete 05:00:43 5c69ac0246d0: Pull complete 05:00:44 ec43610c2a17: Pull complete 05:00:44 3a2ae6a8a46f: Pull complete 05:00:44 33b1e0a273af: Pull complete 05:00:44 5d3b04190fa2: Pull complete 05:00:48 2f39f015ded8: Pull complete 05:00:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:00:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:00:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:48 prd-ubuntu20.04-docker-8c-8g-15406 does not seem to be running inside a container 05:00:48 $ 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/usb-camera_revert-42-upgrade-sdk -v /w/workspace/usb-camera_revert-42-upgrade-sdk:/w/workspace/usb-camera_revert-42-upgrade-sdk:rw,z -v /w/workspace/usb-camera_revert-42-upgrade-sdk@tmp:/w/workspace/usb-camera_revert-42-upgrade-sdk@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:00:50 $ docker top 97e8c0d5b3a5bdfc87ff222fc4fa114966935bfd918d598248682e324d72dfed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:00:50 ---> job-cost.sh 05:00:50 lf-activate-venv: SKIPPING 05:00:50 INFO: No Stack... 05:00:51 INFO: Retrieving Pricing Info for: v3-standard-8 05:00:51 INFO: Archiving Costs [Pipeline] sh 05:00:52 + cat /w/workspace/usb-camera_revert-42-upgrade-sdk/archives/cost.csv 05:00:52 + cut -d, -f6 [Pipeline] lock 05:00:52 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-1-stack-cost] 05:00:52 Resource [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-1-stack-cost] did not exist. Created. 05:00:52 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:00:52 + echo total: 0.2199999988079071 [Pipeline] stash 05:00:52 Stashed 1 file(s) [Pipeline] } 05:00:52 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:00:52 $ docker stop --time=1 97e8c0d5b3a5bdfc87ff222fc4fa114966935bfd918d598248682e324d72dfed 05:00:53 $ docker rm -f 97e8c0d5b3a5bdfc87ff222fc4fa114966935bfd918d598248682e324d72dfed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:02:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15411 in /w/workspace/usb-camera_revert-42-upgrade-sdk [Pipeline] { [Pipeline] ws 05:02:03 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 05:02:03 Selected Git installation does not exist. Using Default 05:02:03 The recommended git tool is: NONE 05:02:10 using credential edgex-jenkins-ssh 05:02:10 Cloning the remote Git repository 05:02:10 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 05:02:10 > git init /w/workspace/device-usb-camera/1 # timeout=10 05:02:10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 05:02:10 > git --version # timeout=10 05:02:10 > git --version # 'git version 2.25.1' 05:02:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:02:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:02:11 Avoid second fetch 05:02:11 Checking out Revision 7a1ec2de4e1205b0cbbb69de484870a0180aa385 (revert-42-upgrade-sdk) 05:02:11 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 05:02:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:02:11 > git config core.sparsecheckout # timeout=10 05:02:11 > git checkout -f 7a1ec2de4e1205b0cbbb69de484870a0180aa385 # timeout=10 05:02:15 Commit message: "Revert "build: Upgrade sdk and paho.mqtt lib"" 05:02:16 > git --version # timeout=10 05:02:16 > git --version # 'git version 2.25.1' 05:02:16 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:02:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:02:17 % Total % Received % Xferd Average Speed Time Time Time Current 05:02:17 Dload Upload Total Spent Left Speed 05:02:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 184k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 05:02:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:02:18 + sudo tee /etc/docker/daemon.new 05:02:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:02:18 { 05:02:18 "registry-mirrors": [ 05:02:18 "https://nexus3.edgexfoundry.org:10001" 05:02:18 ], 05:02:18 "bip": "10.250.0.254/24", 05:02:18 "hosts": [ 05:02:18 "tcp://0.0.0.0:5555", 05:02:18 "unix:///var/run/docker.sock" 05:02:18 ], 05:02:18 "mtu": 1458, 05:02:18 "selinux-enabled": true, 05:02:18 "seccomp-profile": "/etc/docker/seccomp.json" 05:02:18 } [Pipeline] sh 05:02:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:02:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:37 provisioning config files... 05:02:37 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config6923898718549062001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:38 ---> docker-login.sh 05:02:38 nexus3.edgexfoundry.org:10001 05:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:38 Configure a credential helper to remove this warning. See 05:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:38 05:02:38 Login Succeeded 05:02:38 nexus3.edgexfoundry.org:10002 05:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:39 Configure a credential helper to remove this warning. See 05:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:39 05:02:39 Login Succeeded 05:02:39 nexus3.edgexfoundry.org:10003 05:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:40 Configure a credential helper to remove this warning. See 05:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:40 05:02:40 Login Succeeded 05:02:40 nexus3.edgexfoundry.org:10004 05:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:40 Configure a credential helper to remove this warning. See 05:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:40 05:02:40 Login Succeeded 05:02:40 docker.io 05:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:41 Configure a credential helper to remove this warning. See 05:02:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:41 05:02:41 Login Succeeded 05:02:41 ---> docker-login.sh ends [Pipeline] } 05:02:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:02:41 [edgeX.isLTS] Checking if [revert-42-upgrade-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:02:42 [edgeX.isLTS] Checking if [revert-42-upgrade-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:02:42 ========================================================= 05:02:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:02:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 05:02:42 Sending build context to Docker daemon 427.5kB 05:02:42 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:02:42 Step 2/12 : FROM ${BASE} AS builder 05:02:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:02:43 9b3977197b4f: Pulling fs layer 05:02:43 1a89e8eeedd5: Pulling fs layer 05:02:43 94645a83ff95: Pulling fs layer 05:02:43 e6fb740bc735: Pulling fs layer 05:02:43 3a77bd46dcc9: Pulling fs layer 05:02:43 355e64cbe906: Pulling fs layer 05:02:43 63ab81a10011: Pulling fs layer 05:02:43 555d1d1c4555: Pulling fs layer 05:02:43 7d9057610161: Pulling fs layer 05:02:43 355e64cbe906: Waiting 05:02:43 63ab81a10011: Waiting 05:02:43 555d1d1c4555: Waiting 05:02:43 7d9057610161: Waiting 05:02:43 e6fb740bc735: Waiting 05:02:43 3a77bd46dcc9: Waiting 05:02:43 94645a83ff95: Verifying Checksum 05:02:43 94645a83ff95: Download complete 05:02:43 1a89e8eeedd5: Download complete 05:02:43 3a77bd46dcc9: Verifying Checksum 05:02:43 3a77bd46dcc9: Download complete 05:02:43 355e64cbe906: Verifying Checksum 05:02:43 355e64cbe906: Download complete 05:02:43 9b3977197b4f: Download complete 05:02:43 63ab81a10011: Verifying Checksum 05:02:43 63ab81a10011: Download complete 05:02:44 9b3977197b4f: Pull complete 05:02:44 7d9057610161: Verifying Checksum 05:02:44 7d9057610161: Download complete 05:02:45 1a89e8eeedd5: Pull complete 05:02:45 94645a83ff95: Pull complete 05:02:45 555d1d1c4555: Verifying Checksum 05:02:45 555d1d1c4555: Download complete 05:02:46 e6fb740bc735: Verifying Checksum 05:02:46 e6fb740bc735: Download complete 05:03:01 e6fb740bc735: Pull complete 05:03:01 3a77bd46dcc9: Pull complete 05:03:01 355e64cbe906: Pull complete 05:03:01 63ab81a10011: Pull complete 05:03:06 555d1d1c4555: Pull complete 05:03:08 7d9057610161: Pull complete 05:03:08 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 05:03:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:03:08 ---> 819e984ddca1 05:03:08 Step 3/12 : ARG MAKE="make build" 05:03:10 ---> Running in c803a4484713 05:03:10 Removing intermediate container c803a4484713 05:03:10 ---> 6bbc6352d7a4 05:03:10 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:03:10 ---> Running in 3fc00b840feb 05:03:11 Removing intermediate container 3fc00b840feb 05:03:11 ---> 5ccf78194dbd 05:03:11 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 05:03:11 ---> Running in d0761eccb32a 05:03:12 Removing intermediate container d0761eccb32a 05:03:12 ---> 971af5df52a5 05:03:12 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:12 ---> Running in 1e161395742c 05:03:14 Removing intermediate container 1e161395742c 05:03:14 ---> 41b8d2b5ddbd 05:03:14 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:03:14 ---> Running in dcdd8ec23262 05:03:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:03:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:03:17 (1/14) Installing libintl (0.21-r0) 05:03:17 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 05:03:17 (3/14) Installing libjpeg-turbo (2.1.2-r0) 05:03:18 (4/14) Installing v4l-utils-libs (1.22.1-r1) 05:03:18 (5/14) Installing v4l-utils (1.22.1-r1) 05:03:18 (6/14) Installing udev-init-scripts (35-r0) 05:03:18 Executing udev-init-scripts-35-r0.post-install 05:03:18 (7/14) Installing libblkid (2.37.4-r0) 05:03:18 (8/14) Installing xz-libs (5.2.5-r1) 05:03:18 (9/14) Installing zstd-libs (1.5.0-r0) 05:03:18 (10/14) Installing kmod-libs (29-r2) 05:03:18 (11/14) Installing eudev (3.2.11_pre1-r0) 05:03:18 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 05:03:19 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 05:03:19 (14/14) Installing v4l-utils-dev (1.22.1-r1) 05:03:19 Executing busybox-1.34.1-r3.trigger 05:03:19 Executing eudev-3.2.11_pre1-r0.trigger 05:03:19 OK: 228 MiB in 66 packages 05:03:20 Removing intermediate container dcdd8ec23262 05:03:20 ---> f2bb2a77a6d3 05:03:20 Step 8/12 : WORKDIR /device-usb-camera 05:03:20 ---> Running in 596f9dba9f9a 05:03:21 Removing intermediate container 596f9dba9f9a 05:03:21 ---> ae1ca45683b4 05:03:21 Step 9/12 : COPY go.mod vendor* ./ 05:03:21 ---> 62fb8977fbb3 05:03:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:03:21 ---> Running in 46c4df890824 05:04:18 Removing intermediate container 46c4df890824 05:04:18 ---> 9ed10064ccc9 05:04:18 Step 11/12 : COPY . . 05:04:18 ---> fa3698f4c403 05:04:18 Step 12/12 : RUN ${MAKE} 05:04:18 ---> Running in d922332f0f6e 05:04:18 noop 05:04:18 Removing intermediate container d922332f0f6e 05:04:18 ---> 7e4102d54d66 05:04:18 Successfully built 7e4102d54d66 05:04:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:18 + docker inspect -f . ci-base-image-arm64 05:04:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:19 prd-ubuntu20.04-docker-arm64-4c-16g-15411 does not seem to be running inside a container 05:04:19 $ 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 ******** ci-base-image-arm64 cat 05:04:20 $ docker top 715c7672942ad3c40aa88958e08e0199b4de4a003156e4c6c087f18e014a2e7c -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:21 + go version 05:04:21 go version go1.17.7 linux/arm64 [Pipeline] } 05:04:21 $ docker stop --time=1 715c7672942ad3c40aa88958e08e0199b4de4a003156e4c6c087f18e014a2e7c 05:04:23 $ docker rm -f 715c7672942ad3c40aa88958e08e0199b4de4a003156e4c6c087f18e014a2e7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:24 + docker inspect -f . ci-base-image-arm64 05:04:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:24 prd-ubuntu20.04-docker-arm64-4c-16g-15411 does not seem to be running inside a container 05:04:25 $ 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 ******** ci-base-image-arm64 cat 05:04:26 $ docker top aa8701b26b43a6ae9135164a5f6c3819735d5d809ab1857cc73b2abbbbe230b8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:04:27 + make test 05:04:27 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 05:04:29 ? github.com/edgexfoundry/device-usb-camera [no test files] 05:06:06 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 05:06:06 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 05:06:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:06:06 CGO_ENABLED=1 go vet ./... 05:06:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:06:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:06:39 ./bin/test-attribution-txt.sh [Pipeline] echo 05:06:39 [edgeX.isLTS] Checking if [revert-42-upgrade-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:06:39 $ docker stop --time=1 aa8701b26b43a6ae9135164a5f6c3819735d5d809ab1857cc73b2abbbbe230b8 05:06:41 $ docker rm -f aa8701b26b43a6ae9135164a5f6c3819735d5d809ab1857cc73b2abbbbe230b8 [Pipeline] // withDockerContainer [Pipeline] sh 05:06:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:06:42 Warning: overwriting stash ‘coverage-report’ 05:06:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:06:43 + ls -al . 05:06:43 total 160 05:06:43 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 05:06 . 05:06:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 05:02 .. 05:06:43 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 05:02 .git 05:06:43 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:02 .github 05:06:43 -rw-rw-r-- 1 jenkins jenkins 349 Jun 23 05:02 .gitignore 05:06:43 -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 05:02 .golangci.yml 05:06:43 -rw-rw-r-- 1 jenkins jenkins 77 Jun 23 05:02 .hadolint.yml 05:06:43 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 23 05:02 Attribution.txt 05:06:43 -rw-rw-r-- 1 jenkins jenkins 181 Jun 23 05:02 CHANGELOG.md 05:06:43 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 23 05:02 Dockerfile 05:06:43 -rw-rw-r-- 1 jenkins jenkins 678 Jun 23 05:02 GOVERNANCE.md 05:06:43 -rw-rw-r-- 1 jenkins jenkins 659 Jun 23 05:02 Jenkinsfile 05:06:43 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 05:02 LICENSE 05:06:43 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 23 05:02 Makefile 05:06:43 -rw-rw-r-- 1 jenkins jenkins 622 Jun 23 05:02 OWNERS.md 05:06:43 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 23 05:02 README.md 05:06:43 -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 04:58 VERSION 05:06:43 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:02 bin 05:06:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 05:02 cmd 05:06:43 -rw-r--r-- 1 jenkins jenkins 10 Jun 23 05:04 coverage.out 05:06:43 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 05:02 docker-compose 05:06:43 -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 05:02 docker-entrypoint.sh 05:06:43 -rw-rw-r-- 1 jenkins jenkins 3307 Jun 23 05:02 go.mod 05:06:43 -rw-rw-r-- 1 jenkins jenkins 35656 Jun 23 05:02 go.sum 05:06:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 05:02 internal 05:06:43 -rw-rw-r-- 1 jenkins jenkins 231 Jun 23 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:44 + 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=7a1ec2de4e1205b0cbbb69de484870a0180aa385 --label arch=arm64 --label version=0.0.0 . 05:06:44 Sending build context to Docker daemon 428.5kB 05:06:44 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 05:06:44 Step 2/29 : FROM ${BASE} AS builder 05:06:44 ---> 7e4102d54d66 05:06:44 Step 3/29 : ARG MAKE="make build" 05:06:44 ---> Running in 9d01971d4c46 05:06:45 Removing intermediate container 9d01971d4c46 05:06:45 ---> ba1f67b19368 05:06:45 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:06:45 ---> Running in aa0547a400be 05:06:45 Removing intermediate container aa0547a400be 05:06:45 ---> 186c397e19ac 05:06:45 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 05:06:45 ---> Running in bad5b67f5fc9 05:06:45 Removing intermediate container bad5b67f5fc9 05:06:45 ---> de5391e65bd1 05:06:45 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:46 ---> Running in 68dc78680275 05:06:48 Removing intermediate container 68dc78680275 05:06:48 ---> ae7c95cb3646 05:06:48 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:06:48 ---> Running in 8363cd2241d7 05:06:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:06:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:06:50 OK: 228 MiB in 66 packages 05:06:51 Removing intermediate container 8363cd2241d7 05:06:51 ---> 978238a0cd48 05:06:51 Step 8/29 : WORKDIR /device-usb-camera 05:06:51 ---> Running in bef0d4c1d0d6 05:06:52 Removing intermediate container bef0d4c1d0d6 05:06:52 ---> 3a997a9e174f 05:06:52 Step 9/29 : COPY go.mod vendor* ./ 05:06:52 ---> 9b8620dea1a6 05:06:52 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:52 ---> Running in 1d30c65e82e7 05:06:54 Removing intermediate container 1d30c65e82e7 05:06:54 ---> fabad86cf95f 05:06:54 Step 11/29 : COPY . . 05:06:55 ---> dc132ea3e772 05:06:55 Step 12/29 : RUN ${MAKE} 05:06:55 ---> Running in c42d6529027a 05:06:56 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 05:09:18 Removing intermediate container c42d6529027a 05:09:18 ---> 3634ac1edeaf 05:09:18 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 05:09:18 v0.18.4: Pulling from aler9/rtsp-simple-server 05:09:18 eab2503cf8f4: Pulling fs layer 05:09:18 97cd0a44c592: Pulling fs layer 05:09:18 97cd0a44c592: Verifying Checksum 05:09:18 97cd0a44c592: Download complete 05:09:19 eab2503cf8f4: Verifying Checksum 05:09:19 eab2503cf8f4: Download complete 05:09:19 eab2503cf8f4: Pull complete 05:09:20 97cd0a44c592: Pull complete 05:09:20 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 05:09:20 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 05:09:20 ---> 7f763cca56b3 05:09:20 Step 14/29 : FROM alpine:3.15 05:09:30 3.15: Pulling from library/alpine 05:09:30 9981e73032c8: Pulling fs layer 05:09:30 9981e73032c8: Verifying Checksum 05:09:30 9981e73032c8: Download complete 05:09:30 9981e73032c8: Pull complete 05:09:30 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 05:09:30 Status: Downloaded newer image for alpine:3.15 05:09:30 ---> 3fb3c9af89a9 05:09:30 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 05:09:30 ---> Running in a8ba5794ce77 05:09:30 Removing intermediate container a8ba5794ce77 05:09:30 ---> 321775e96e6e 05:09:30 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 05:09:30 ---> Running in 141da84e8970 05:09:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:09:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:09:32 (1/73) Installing dumb-init (1.2.5-r1) 05:09:32 (2/73) Installing sdl2 (2.0.16-r4) 05:09:32 (3/73) Installing libxau (1.0.9-r0) 05:09:32 (4/73) Installing libmd (1.0.3-r0) 05:09:32 (5/73) Installing libbsd (0.11.3-r1) 05:09:32 (6/73) Installing libxdmcp (1.1.3-r0) 05:09:32 (7/73) Installing libxcb (1.14-r2) 05:09:32 (8/73) Installing libx11 (1.7.2-r0) 05:09:33 (9/73) Installing aom-libs (3.2.0-r0) 05:09:33 (10/73) Installing alsa-lib (1.2.5.1-r1) 05:09:33 (11/73) Installing expat (2.4.7-r0) 05:09:33 (12/73) Installing brotli-libs (1.0.9-r5) 05:09:33 (13/73) Installing libbz2 (1.0.8-r1) 05:09:33 (14/73) Installing libpng (1.6.37-r1) 05:09:33 (15/73) Installing freetype (2.11.1-r2) 05:09:33 (16/73) Installing libuuid (2.37.4-r0) 05:09:33 (17/73) Installing fontconfig (2.13.1-r4) 05:09:33 (18/73) Installing fribidi (1.0.11-r0) 05:09:33 (19/73) Installing libffi (3.4.2-r1) 05:09:33 (20/73) Installing libintl (0.21-r0) 05:09:33 (21/73) Installing libblkid (2.37.4-r0) 05:09:33 (22/73) Installing libmount (2.37.4-r0) 05:09:33 (23/73) Installing pcre (8.45-r1) 05:09:33 (24/73) Installing glib (2.70.1-r0) 05:09:33 (25/73) Installing graphite2 (1.3.14-r0) 05:09:33 (26/73) Installing harfbuzz (3.0.0-r2) 05:09:33 (27/73) Installing libass (0.15.2-r0) 05:09:33 (28/73) Installing libdav1d (0.9.2-r0) 05:09:33 (29/73) Installing gmp (6.2.1-r1) 05:09:33 (30/73) Installing nettle (3.7.3-r0) 05:09:33 (31/73) Installing p11-kit (0.24.0-r1) 05:09:33 (32/73) Installing libtasn1 (4.18.0-r0) 05:09:33 (33/73) Installing libunistring (0.9.10-r1) 05:09:33 (34/73) Installing gnutls (3.7.1-r0) 05:09:33 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 05:09:33 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 05:09:33 (37/73) Installing lame (3.100-r0) 05:09:33 (38/73) Installing opus (1.3.1-r1) 05:09:33 (39/73) Installing libgomp (10.3.1_git20211027-r0) 05:09:33 (40/73) Installing soxr (0.1.3-r2) 05:09:33 (41/73) Installing libgcc (10.3.1_git20211027-r0) 05:09:33 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 05:09:33 (43/73) Installing libsrt (1.4.2-r1) 05:09:34 (44/73) Installing libssh (0.9.6-r1) 05:09:34 (45/73) Installing libogg (1.3.5-r0) 05:09:34 (46/73) Installing libtheora (1.1.1-r16) 05:09:34 (47/73) Installing libjpeg-turbo (2.1.2-r0) 05:09:34 (48/73) Installing v4l-utils-libs (1.22.1-r1) 05:09:34 (49/73) Installing libxext (1.3.4-r0) 05:09:34 (50/73) Installing libxfixes (6.0.0-r0) 05:09:34 (51/73) Installing libdrm (2.4.109-r0) 05:09:34 (52/73) Installing wayland-libs-client (1.19.0-r1) 05:09:34 (53/73) Installing libva (2.13.0-r0) 05:09:34 (54/73) Installing libvdpau (1.4-r0) 05:09:34 (55/73) Installing vidstab (1.1.0-r1) 05:09:34 (56/73) Installing libvorbis (1.3.7-r0) 05:09:34 (57/73) Installing libvpx (1.10.0-r0) 05:09:34 (58/73) Installing vulkan-loader (1.2.196-r0) 05:09:34 (59/73) Installing libwebp (1.2.2-r0) 05:09:34 (60/73) Installing x264-libs (20210613-r0) 05:09:34 (61/73) Installing x265-libs (3.5-r0) 05:09:34 (62/73) Installing xvidcore (1.3.7-r1) 05:09:34 (63/73) Installing ffmpeg-libs (4.4.1-r2) 05:09:35 (64/73) Installing ffmpeg (4.4.1-r2) 05:09:35 (65/73) Installing udev-init-scripts (35-r0) 05:09:35 Executing udev-init-scripts-35-r0.post-install 05:09:35 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 05:09:35 (67/73) Installing xz-libs (5.2.5-r1) 05:09:35 (68/73) Installing zstd-libs (1.5.0-r0) 05:09:35 (69/73) Installing kmod-libs (29-r2) 05:09:35 (70/73) Installing eudev (3.2.11_pre1-r0) 05:09:35 (71/73) Installing libsodium (1.0.18-r0) 05:09:35 (72/73) Installing libzmq (4.3.4-r0) 05:09:35 (73/73) Installing zeromq (4.3.4-r0) 05:09:35 Executing busybox-1.34.1-r5.trigger 05:09:35 Executing eudev-3.2.11_pre1-r0.trigger 05:09:35 OK: 67 MiB in 87 packages 05:09:37 Removing intermediate container 141da84e8970 05:09:37 ---> 2d177e8173dd 05:09:37 Step 17/29 : WORKDIR / 05:09:37 ---> Running in 4006d8ebfe7f 05:09:38 Removing intermediate container 4006d8ebfe7f 05:09:38 ---> 89c5ce3f745e 05:09:38 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 05:09:40 ---> e8d333eba7fb 05:09:40 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 05:09:40 ---> 2f31c26ae645 05:09:40 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 05:09:41 ---> b245646f7c48 05:09:41 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 05:09:41 ---> 2b71024cced3 05:09:41 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 05:09:41 ---> cfa02281fe46 05:09:41 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 05:09:43 ---> 20c1b37d5ac6 05:09:43 Step 24/29 : EXPOSE 59983 05:09:43 ---> Running in 9c9e6d420454 05:09:43 Removing intermediate container 9c9e6d420454 05:09:43 ---> c5068a4b81a3 05:09:43 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 05:09:43 ---> Running in 816cf2257ccb 05:09:44 Removing intermediate container 816cf2257ccb 05:09:44 ---> 32cae09b4888 05:09:44 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 05:09:44 ---> Running in 9648ad452e80 05:09:44 Removing intermediate container 9648ad452e80 05:09:44 ---> cd5dbdf750e4 05:09:44 Step 27/29 : LABEL arch=arm64 05:09:44 ---> Running in 0b5c866a2e33 05:09:45 Removing intermediate container 0b5c866a2e33 05:09:45 ---> 71c67e1d8fc5 05:09:45 Step 28/29 : LABEL git_sha=7a1ec2de4e1205b0cbbb69de484870a0180aa385 05:09:45 ---> Running in d16777a70875 05:09:45 Removing intermediate container d16777a70875 05:09:45 ---> 4a54e79f5b36 05:09:45 Step 29/29 : LABEL version=0.0.0 05:09:45 ---> Running in 783372d3f809 05:09:45 Removing intermediate container 783372d3f809 05:09:45 ---> f37ac8f4d8d8 05:09:45 [Warning] One or more build-args [ARCH] were not consumed 05:09:45 Successfully built f37ac8f4d8d8 05:09:45 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 05:09:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:09:46 05:09:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:09:47 arm64: Pulling from edgex-lftools-log-publisher 05:09:47 8998bd30e6a1: Pulling fs layer 05:09:47 04944245beec: Pulling fs layer 05:09:47 699f458cf7ca: Pulling fs layer 05:09:47 765212b225bb: Pulling fs layer 05:09:47 f23df028b6ca: Pulling fs layer 05:09:47 d65c8cfc05b1: Pulling fs layer 05:09:47 2437ff75d9bd: Pulling fs layer 05:09:47 765212b225bb: Waiting 05:09:47 f23df028b6ca: Waiting 05:09:47 d65c8cfc05b1: Waiting 05:09:47 2437ff75d9bd: Waiting 05:09:47 04944245beec: Verifying Checksum 05:09:47 04944245beec: Download complete 05:09:47 765212b225bb: Download complete 05:09:47 f23df028b6ca: Download complete 05:09:47 d65c8cfc05b1: Verifying Checksum 05:09:47 d65c8cfc05b1: Download complete 05:09:47 699f458cf7ca: Verifying Checksum 05:09:47 699f458cf7ca: Download complete 05:09:47 8998bd30e6a1: Download complete 05:09:50 2437ff75d9bd: Verifying Checksum 05:09:50 2437ff75d9bd: Download complete 05:09:51 8998bd30e6a1: Pull complete 05:09:52 04944245beec: Pull complete 05:09:54 699f458cf7ca: Pull complete 05:09:54 765212b225bb: Pull complete 05:09:55 f23df028b6ca: Pull complete 05:09:55 d65c8cfc05b1: Pull complete 05:10:10 2437ff75d9bd: Pull complete 05:10:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:10:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:10 prd-ubuntu20.04-docker-arm64-4c-16g-15411 does not seem to be running inside a container 05:10:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:10:13 $ docker top ff42b9de0d95dfc0fdca4b1cc37325b96675405c2aa69dee1cac0375f67c4bcb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:14 ---> job-cost.sh 05:10:14 lf-activate-venv: SKIPPING 05:10:14 INFO: No Stack... 05:10:14 INFO: Retrieving Pricing Info for: v3-standard-4 05:10:15 INFO: Archiving Costs [Pipeline] sh 05:10:16 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 05:10:16 + cut -d, -f6 [Pipeline] lock 05:10:16 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-1-stack-cost] 05:10:16 Resource [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-1-stack-cost] did not exist. Created. 05:10:16 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:10:17 /w/workspace/device-usb-camera/1@tmp/durable-4b7731d2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:10:18 + echo total: 0.10999999940395355 [Pipeline] stash 05:10:18 Warning: overwriting stash ‘stack-cost’ 05:10:18 Stashed 1 file(s) [Pipeline] } 05:10:18 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-revert-42-upgrade-sdk-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:10:18 $ docker stop --time=1 ff42b9de0d95dfc0fdca4b1cc37325b96675405c2aa69dee1cac0375f67c4bcb 05:10:20 $ docker rm -f ff42b9de0d95dfc0fdca4b1cc37325b96675405c2aa69dee1cac0375f67c4bcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:10:21 provisioning config files... 05:10:21 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/usb-camera_revert-42-upgrade-sdk@tmp/config1437587259909970056tmp [Pipeline] { [Pipeline] sh 05:10:21 + set +x 05:10:21 + bash -s -- 05:10:21 + curl -s https://codecov.io/bash 05:10:21 05:10:21 _____ _ 05:10:21 / ____| | | 05:10:21 | | ___ __| | ___ ___ _____ __ 05:10:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:10:21 | |___| (_) | (_| | __/ (_| (_) \ V / 05:10:21 \_____\___/ \__,_|\___|\___\___/ \_/ 05:10:21 Bash-1.0.6 05:10:21 05:10:21 05:10:21 ==> git version 2.25.1 found 05:10:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:10:21 Release-Date: 2020-01-08 05:10:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:10:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:10:21 ==> Jenkins CI detected. 05:10:21 current dir:  /w/workspace/usb-camera_revert-42-upgrade-sdk 05:10:21 project root: . 05:10:21 --> token set from env 05:10:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:10:21 ==> Running gcov in . (disable via -X gcov) 05:10:21 ==> Python coveragepy not found 05:10:21 ==> Searching for coverage reports in: 05:10:21 + . 05:10:21 -> Found 1 reports 05:10:21 ==> Detecting git/mercurial file structure 05:10:21 ==> Reading reports 05:10:21 + ./coverage.out bytes=10 05:10:21 ==> Appending adjustments 05:10:21 https://docs.codecov.io/docs/fixing-reports 05:10:21 + Found adjustments 05:10:21 ==> Gzipping contents 05:10:21 4.0K /tmp/codecov.GyWprm.gz 05:10:21 ==> Uploading reports 05:10:21 url: https://codecov.io 05:10:21 query: branch=revert-42-upgrade-sdk&commit=7a1ec2de4e1205b0cbbb69de484870a0180aa385&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Frevert-42-upgrade-sdk%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 05:10:21 -> Pinging Codecov 05:10:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=revert-42-upgrade-sdk&commit=7a1ec2de4e1205b0cbbb69de484870a0180aa385&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Frevert-42-upgrade-sdk%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 05:10:21 -> Uploading to 05:10:21 https://storage.googleapis.com/codecov/v4/raw/2022-06-23/73D8F5FF140700D3E01443B452E23636/7a1ec2de4e1205b0cbbb69de484870a0180aa385/732165c1-c256-4a31-ba0e-c9c12915dd48.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220623T051021Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45c989b6dcab0c6bfaf26e61a83db935fb092c72980be40c77d289d7bbeea50b 05:10:21 % Total % Received % Xferd Average Speed Time Time Time Current 05:10:21 Dload Upload Total Spent Left Speed 05:10:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1019 0 0 100 1019 0 5044 --:--:-- --:--:-- --:--:-- 5044 05:10:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/7a1ec2de4e1205b0cbbb69de484870a0180aa385 [Pipeline] } 05:10:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:10:23 + [ -d /w/workspace/usb-camera_revert-42-upgrade-sdk/archives ] 05:10:23 + ls -al /w/workspace/usb-camera_revert-42-upgrade-sdk/archives 05:10:23 total 16 05:10:23 drwxr-xr-x 3 root root 4096 Jun 23 05:00 . 05:10:23 drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 05:00 .. 05:10:23 drwxr-xr-x 2 root root 4096 Jun 23 05:00 cost 05:10:23 -rw-r--r-- 1 root root 103 Jun 23 05:00 cost.csv 05:10:23 + sudo chown -R jenkins:jenkins /w/workspace/usb-camera_revert-42-upgrade-sdk/archives 05:10:23 + ls -al /w/workspace/usb-camera_revert-42-upgrade-sdk/archives 05:10:23 total 16 05:10:23 drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 05:00 . 05:10:23 drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 05:00 .. 05:10:23 drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 05:00 cost 05:10:23 -rw-r--r-- 1 jenkins jenkins 103 Jun 23 05:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:10:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:10:25 ---> package-listing.sh 05:10:25 ++ facter osfamily 05:10:25 ++ tr '[:upper:]' '[:lower:]' 05:10:25 + OS_FAMILY=debian 05:10:25 + workspace=/w/workspace/usb-camera_revert-42-upgrade-sdk 05:10:25 + START_PACKAGES=/tmp/packages_start.txt 05:10:25 + END_PACKAGES=/tmp/packages_end.txt 05:10:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:10:25 + PACKAGES=/tmp/packages_start.txt 05:10:25 + '[' /w/workspace/usb-camera_revert-42-upgrade-sdk ']' 05:10:25 + PACKAGES=/tmp/packages_end.txt 05:10:25 + case "${OS_FAMILY}" in 05:10:25 + dpkg -l 05:10:25 + grep '^ii' 05:10:25 + '[' -f /tmp/packages_start.txt ']' 05:10:25 + '[' -f /tmp/packages_end.txt ']' 05:10:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:10:25 + '[' /w/workspace/usb-camera_revert-42-upgrade-sdk ']' 05:10:25 + mkdir -p /w/workspace/usb-camera_revert-42-upgrade-sdk/archives/ 05:10:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/usb-camera_revert-42-upgrade-sdk/archives/ [Pipeline] echo 05:10:25 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/usb-camera_revert-42-upgrade-sdk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:10:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:10:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:26 prd-ubuntu20.04-docker-8c-8g-15406 does not seem to be running inside a container 05:10:26 $ 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/usb-camera_revert-42-upgrade-sdk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/usb-camera_revert-42-upgrade-sdk -v /w/workspace/usb-camera_revert-42-upgrade-sdk:/w/workspace/usb-camera_revert-42-upgrade-sdk:rw,z -v /w/workspace/usb-camera_revert-42-upgrade-sdk@tmp:/w/workspace/usb-camera_revert-42-upgrade-sdk@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:10:27 $ docker top 35f7bd25edb3cbbba649a1a7ea6043a8411e1007435f7643b881d2bd2fae59a7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:27 + touch /tmp/pre-build-complete [Pipeline] sh 05:10:27 + mkdir -p /var/log/sysstat [Pipeline] sh 05:10:28 + ls /var/log/sa-host 05:10:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:10:28 provisioning config files... 05:10:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/usb-camera_revert-42-upgrade-sdk@tmp/config4473554463200210907tmp [Pipeline] { [Pipeline] echo 05:10:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:10:28 ---> create-netrc.sh [Pipeline] } 05:10:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:10:29 ---> python-tools-install.sh [Pipeline] echo 05:10:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:10:29 ---> sudo-logs.sh 05:10:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:10:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:10:29 ---> job-cost.sh 05:10:29 lf-activate-venv: SKIPPING 05:10:29 DEBUG: total: 0.2199999988079071 05:10:29 INFO: Retrieving Stack Cost... 05:10:30 INFO: Retrieving Pricing Info for: v3-standard-8 05:10:30 INFO: Archiving Costs [Pipeline] echo 05:10:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:10:30 ---> logs-deploy.sh 05:10:30 lf-activate-venv: SKIPPING 05:10:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/revert-42-upgrade-sdk/1 05:10:30 INFO: archiving workspace using pattern(s): 05:10:31 Archives upload complete. 05:10:31 INFO: archiving logs to Nexus