[GitHub] [mesos] edi33416 opened a new pull request #366: Fix Windows build issue generated by 3rdparty wclayer

2020-06-23 Thread GitBox


edi33416 opened a new pull request #366:
URL: https://github.com/apache/mesos/pull/366


   I've been trying to build Mesos on Windows and failed for `master`, 
`1.10.0`, `1.9.0` and `1.8.0`.
   
   The build fails with the following error:
   ```
-- extracting...
  src='C:/workspace/mesos/build2/3rdparty/wclayer-WIP/src/archive.tar'
  dst='C:/workspace/mesos/build2/3rdparty/wclayer-WIP/src/wclayer-WIP'
 -- extracting... [tar xf]
   CUSTOMBUILD : CMake error : Problem with archive_read_open_file(): 
Unrecognized archive format 
[C:\workspace\mesos\build2\3rdparty\wclayer-WIP.vcxproj]
 -- extracting... [error clean up]
   CUSTOMBUILD : CMake error : Problem extracting tar: 
C:/workspace/mesos/build2/3rdparty/wclayer-WIP/src/archive.tar 
[C:\workspace\mesos\build2\3rdparty\wclayer-WIP.vcxproj]
 CMake Error at wclayer-WIP-stamp/extract-wclayer-WIP.cmake:33 (message):
   CUSTOMBUILD : error : extract of 
[C:\workspace\mesos\build2\3rdparty\wclayer-WIP.vcxproj]
   'C:/workspace/mesos/build2/3rdparty/wclayer-WIP/src/archive.tar' failed
   ```
   
   The reason the build is failing is because it attempts to extract 
`3rdparty/wclayer-WIP/src/archive.tar`. It fails because, as the `file` command 
will tell you, this is a binary and not a tar archive.
   
   The fix is easy, change the `DOWNLOAD_NO_EXTRACT` from `FALSE` to `TRUE`.
   
   This should be probably be backported all the way to `1.8.x`.
   
   I was able to build `1.6.x` and `1.7.x` easily, as they don't use `wclayer`



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




Re: Review Request 72600: Remove credential text format support.

2020-06-23 Thread Mesos Reviewbot

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72600/#review221052
---



Bad patch!

Reviews applied: [72600]

Failed command: ['bash', '-c', "set -o pipefail; export OS='ubuntu:16.04' 
BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose 
--disable-libtool-wrappers --disable-parallel-test-execution' 
ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/jenkins/buildbot.sh 2>&1 | 
tee build_72600"]

Error:
..
 Rescinded offer 3c2204ab-6d15-445d-a0e7-720d0a32f589-O3
I0623 07:52:16.820606  3444 sched.cpp:971] Scheduler::offerRescinded took 
37208ns
I0623 07:52:16.821358  3429 hierarchical.cpp:1643] Recovered ports(allocated: 
storage/default-role):[31000-32000]; disk(allocated: 
storage/default-role)(reservations: 
[(DYNAMIC,storage),(DYNAMIC,storage/default-role,test-principal)])[MOUNT(org.apache.mesos.csi.test.local,/tmp/CSIVersion_StorageLocalResourceProviderTest_OperatorOperationsWithResourceProviderResources_v1_mosYsJ/2GB-0084d8bf-3b5a-4eea-9234-fe11dce7fd8f,test)]:2048;
 cpus(allocated: storage/default-role):2; mem(allocated: 
storage/default-role):1024; disk(allocated: storage/default-role):1024 (total: 
cpus:2; mem:1024; disk:1024; ports:[31000-32000]; disk(reservations: 
[(DYNAMIC,storage),(DYNAMIC,storage/default-role,test-principal)])[MOUNT(org.apache.mesos.csi.test.local,/tmp/CSIVersion_StorageLocalResourceProviderTest_OperatorOperationsWithResourceProviderResources_v1_mosYsJ/2GB-0084d8bf-3b5a-4eea-9234-fe11dce7fd8f,test)]:2048,
 offered or allocated: {}) on agent 3c2204ab-6d15-445d-a0e7-720d0a32f589-S0 
from framework 3c220
 4ab-6d15-445d-a0e7-720d0a32f589-
I0623 07:52:16.821663  3431 master.cpp:11775] Removing offer 
3c2204ab-6d15-445d-a0e7-720d0a32f589-O3
I0623 07:52:16.824956  3429 hierarchical.cpp:1692] Framework 
3c2204ab-6d15-445d-a0e7-720d0a32f589- filtered agent 
3c2204ab-6d15-445d-a0e7-720d0a32f589-S0 for 5secs
I0623 07:52:16.829517  3433 master.cpp:11640] Sending operation '' (uuid: 
cba1409b-b965-4962-a738-795488dfbf33) to agent 
3c2204ab-6d15-445d-a0e7-720d0a32f589-S0 at slave(1246)@172.17.0.2:43897 
(339f494d23da)
I0623 07:52:16.830696  3448 slave.cpp:4557] Ignoring new checkpointed resources 
and operations identical to the current version
I0623 07:52:16.836056  3427 provider.cpp:498] Received APPLY_OPERATION event
I0623 07:52:16.836138  3427 provider.cpp:1351] Received CREATE operation '' 
(uuid: cba1409b-b965-4962-a738-795488dfbf33)
I0623 07:52:16.839687  3449 master.cpp:5521] Processing REVIVE call for 
framework 3c2204ab-6d15-445d-a0e7-720d0a32f589- (default) at 
scheduler-77d14167-d2ac-4074-84e2-4185b5570ab0@172.17.0.2:43897
I0623 07:52:16.840831  3433 http.cpp:1436] HTTP POST for 
/slave(1246)/api/v1/resource_provider from 172.17.0.2:40650
I0623 07:52:16.840850  3440 hierarchical.cpp:1788] Unsuppressed offers and 
cleared filters for roles { storage/default-role } of framework 
3c2204ab-6d15-445d-a0e7-720d0a32f589-
I0623 07:52:16.842257  3430 slave.cpp:8714] Handling resource provider message 
'UPDATE_OPERATION_STATUS: (uuid: e0adf2e6-34fc-4e50-99e9-b4136a2ce1f8) for 
framework  (latest state: OPERATION_FINISHED, status update state: 
OPERATION_FINISHED)'
I0623 07:52:16.842622  3430 slave.cpp:9167] Updating the state of operation 
with no ID (uuid: e0adf2e6-34fc-4e50-99e9-b4136a2ce1f8) for an operation API 
call (latest state: OPERATION_FINISHED, status update state: OPERATION_FINISHED)
I0623 07:52:16.842736  3430 slave.cpp:8921] Forwarding status update of 
operation with no ID (operation_uuid: e0adf2e6-34fc-4e50-99e9-b4136a2ce1f8) for 
an operator API call
I0623 07:52:16.843538  3445 master.cpp:11292] Updating the state of operation 
'' (uuid: e0adf2e6-34fc-4e50-99e9-b4136a2ce1f8) for an operator API call 
(latest state: OPERATION_PENDING, status update state: OPERATION_FINISHED)
I0623 07:52:16.844627  3438 slave.cpp:4557] Ignoring new checkpointed resources 
and operations identical to the current version
I0623 07:52:16.845515  3440 hierarchical.cpp:1920] Performed allocation for 1 
agents in 4.00204ms
I0623 07:52:16.846909  3441 master.cpp:9476] Sending offers [ 
3c2204ab-6d15-445d-a0e7-720d0a32f589-O4 ] to framework 
3c2204ab-6d15-445d-a0e7-720d0a32f589- (default) at 
scheduler-77d14167-d2ac-4074-84e2-4185b5570ab0@172.17.0.2:43897
I0623 07:52:16.848012  3449 sched.cpp:934] Scheduler::resourceOffers took 
115146ns
I0623 07:52:16.955051  3431 status_update_manager_process.hpp:152] Received 
operation status update OPERATION_FINISHED (Status UUID: 
21b75336-dae2-41a9-bec9-cd5ddca58847) for operation UUID 
cba1409b-b965-4962-a738-795488dfbf33 on agent 
3c2204ab-6d15-445d-a0e7-720d0a32f589-S0
I0623 07:52:16.955256  3431 status_update_manager_process.hpp:414] Creating 
operation status update stream cba1409b-b965-4962-a738-795488dfbf33 
checkpoint=true
I0623 07:52:16.955415  3427