You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Alex Clemmer <cl...@gmail.com> on 2016/12/07 20:02:55 UTC

Review Request 54493: Turned off Master's auth flags tests when platform doesn't support it.

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

Review request for mesos, Andrew Schwartzmeyer, Daniel Pravat, and Joseph Wu.


Bugs: MESOS-6717
    https://issues.apache.org/jira/browse/MESOS-6717


Repository: mesos


Description
-------

This commit marks the resolution of all known issues blocking
MESOS-6717.

The issue this commit specifically will address the problem that all
Agent tests will fail on platforms that don't support authentication
(i.e., platforms where CMake does not pass `-DHAS_AUTHENTICATION` into
the compiler). In particular, passing the `--authentication` flag into
the Master on platforms that do not support authentication will cause
the Master to return an error, which in turn causes the test harness to
ungracefully exit. Since Windows in particular needs to be able to run
Agent tests that pass, but does not yet support authentication, it is
important to address this issue.

Our resolution here involves:

  1. Exposing `HAS_AUTHENTICATION` as part of the CMake configuration
     phase, so that users can pass something like
     `-DHAS_AUTHENTICATION=0` to opt out.
  2. Setting the default for the CMake `HAS_AUTHENTICATION` flag to be
     `TRUE`, since this is the default path.
  3. Causing CMake to error out if `HAS_AUTHENTICATION` is set to `TRUE`
     on Windows, where it is not yet supported.


Diffs
-----

  cmake/CompilationConfigure.cmake 6bd07e0050f9e66b245683e97dc44b51fcc37ea0 
  src/Makefile.am 5736349e9b898f0e46ccfdaa73d437e2bc4974dc 
  src/tests/mesos.cpp 8fd8bcb033f47e2538aa36cd373c892a882afdfd 
  support/windows-build.bat b3b6d0bbe877cf3794a5c616374ffce8c1b1552c 

Diff: https://reviews.apache.org/r/54493/diff/


Testing
-------


Thanks,

Alex Clemmer


Re: Review Request 54493: Turned off Master's auth flags tests when platform doesn't support it.

Posted by Mesos ReviewBot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54493/#review158515
-----------------------------------------------------------



Patch looks great!

Reviews applied: [54324, 53550, 53551, 53552, 52778, 54395, 54415, 54446, 54453, 54462, 54470, 54519, 54489, 54490, 54493]

Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker_build.sh

- Mesos ReviewBot


On Dec. 8, 2016, 7:26 a.m., Alex Clemmer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54493/
> -----------------------------------------------------------
> 
> (Updated Dec. 8, 2016, 7:26 a.m.)
> 
> 
> Review request for mesos, Andrew Schwartzmeyer, Daniel Pravat, and Joseph Wu.
> 
> 
> Bugs: MESOS-6717
>     https://issues.apache.org/jira/browse/MESOS-6717
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This commit marks the resolution of all known issues blocking
> MESOS-6717.
> 
> The issue this commit specifically will address the problem that all
> Agent tests will fail on platforms that don't support authentication
> (i.e., platforms where CMake does not pass `-DHAS_AUTHENTICATION` into
> the compiler). In particular, passing the `--authentication` flag into
> the Master on platforms that do not support authentication will cause
> the Master to return an error, which in turn causes the test harness to
> ungracefully exit. Since Windows in particular needs to be able to run
> Agent tests that pass, but does not yet support authentication, it is
> important to address this issue.
> 
> Our resolution here involves:
> 
>   1. Exposing `HAS_AUTHENTICATION` as part of the CMake configuration
>      phase, so that users can pass something like
>      `-DHAS_AUTHENTICATION=0` to opt out.
>   2. Setting the default for the CMake `HAS_AUTHENTICATION` flag to be
>      `TRUE`, since this is the default path.
>   3. Causing CMake to error out if `HAS_AUTHENTICATION` is set to `TRUE`
>      on Windows, where it is not yet supported.
> 
> 
> Diffs
> -----
> 
>   cmake/CompilationConfigure.cmake 6bd07e0050f9e66b245683e97dc44b51fcc37ea0 
>   src/Makefile.am 5736349e9b898f0e46ccfdaa73d437e2bc4974dc 
>   src/tests/mesos.cpp 8fd8bcb033f47e2538aa36cd373c892a882afdfd 
>   support/windows-build.bat b3b6d0bbe877cf3794a5c616374ffce8c1b1552c 
> 
> Diff: https://reviews.apache.org/r/54493/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alex Clemmer
> 
>


Re: Review Request 54493: Turned off Master's auth flags tests when platform doesn't support it.

Posted by Joseph Wu <jo...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54493/#review159343
-----------------------------------------------------------


Ship it!





cmake/CompilationConfigure.cmake (line 60)
<https://reviews.apache.org/r/54493/#comment230308>

    Slight tweak here: s/agent/agent to master/
    as there is also HTTP auth (basic auth) which will work regardless of platform.



docs/windows.md (line 46)
<https://reviews.apache.org/r/54493/#comment230307>

    This change will be unnecessary after: https://reviews.apache.org/r/54792/
    
    I'll remove it before committing.


- Joseph Wu


On Dec. 11, 2016, 6:53 p.m., Alex Clemmer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54493/
> -----------------------------------------------------------
> 
> (Updated Dec. 11, 2016, 6:53 p.m.)
> 
> 
> Review request for mesos, Andrew Schwartzmeyer, Daniel Pravat, and Joseph Wu.
> 
> 
> Bugs: MESOS-6717
>     https://issues.apache.org/jira/browse/MESOS-6717
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This commit marks the resolution of all known issues blocking
> MESOS-6717.
> 
> The issue this commit specifically will address the problem that all
> Agent tests will fail on platforms that don't support authentication
> (i.e., platforms where CMake does not pass `-DHAS_AUTHENTICATION` into
> the compiler). In particular, passing the `--authentication` flag into
> the Master on platforms that do not support authentication will cause
> the Master to return an error, which in turn causes the test harness to
> ungracefully exit. Since Windows in particular needs to be able to run
> Agent tests that pass, but does not yet support authentication, it is
> important to address this issue.
> 
> Our resolution here involves:
> 
>   1. Exposing `HAS_AUTHENTICATION` as part of the CMake configuration
>      phase, so that users can pass something like
>      `-DHAS_AUTHENTICATION=0` to opt out.
>   2. Setting the default for the CMake `HAS_AUTHENTICATION` flag to be
>      `TRUE`, since this is the default path.
>   3. Causing CMake to error out if `HAS_AUTHENTICATION` is set to `TRUE`
>      on Windows, where it is not yet supported.
> 
> 
> Diffs
> -----
> 
>   cmake/CompilationConfigure.cmake 6bd07e0050f9e66b245683e97dc44b51fcc37ea0 
>   docs/windows.md 0301527d7315b427c8a6ed14fef72c73908103f9 
>   src/Makefile.am 5736349e9b898f0e46ccfdaa73d437e2bc4974dc 
>   src/tests/mesos.cpp 8fd8bcb033f47e2538aa36cd373c892a882afdfd 
>   support/windows-build.bat b3b6d0bbe877cf3794a5c616374ffce8c1b1552c 
> 
> Diff: https://reviews.apache.org/r/54493/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alex Clemmer
> 
>


Re: Review Request 54493: Turned off Master's auth flags tests when platform doesn't support it.

Posted by Alex Clemmer <cl...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54493/
-----------------------------------------------------------

(Updated Dec. 12, 2016, 2:53 a.m.)


Review request for mesos, Andrew Schwartzmeyer, Daniel Pravat, and Joseph Wu.


Changes
-------

Remove dependency on old patches, since they have been pushed to `master`.


Bugs: MESOS-6717
    https://issues.apache.org/jira/browse/MESOS-6717


Repository: mesos


Description
-------

This commit marks the resolution of all known issues blocking
MESOS-6717.

The issue this commit specifically will address the problem that all
Agent tests will fail on platforms that don't support authentication
(i.e., platforms where CMake does not pass `-DHAS_AUTHENTICATION` into
the compiler). In particular, passing the `--authentication` flag into
the Master on platforms that do not support authentication will cause
the Master to return an error, which in turn causes the test harness to
ungracefully exit. Since Windows in particular needs to be able to run
Agent tests that pass, but does not yet support authentication, it is
important to address this issue.

Our resolution here involves:

  1. Exposing `HAS_AUTHENTICATION` as part of the CMake configuration
     phase, so that users can pass something like
     `-DHAS_AUTHENTICATION=0` to opt out.
  2. Setting the default for the CMake `HAS_AUTHENTICATION` flag to be
     `TRUE`, since this is the default path.
  3. Causing CMake to error out if `HAS_AUTHENTICATION` is set to `TRUE`
     on Windows, where it is not yet supported.


Diffs
-----

  cmake/CompilationConfigure.cmake 6bd07e0050f9e66b245683e97dc44b51fcc37ea0 
  docs/windows.md 0301527d7315b427c8a6ed14fef72c73908103f9 
  src/Makefile.am 5736349e9b898f0e46ccfdaa73d437e2bc4974dc 
  src/tests/mesos.cpp 8fd8bcb033f47e2538aa36cd373c892a882afdfd 
  support/windows-build.bat b3b6d0bbe877cf3794a5c616374ffce8c1b1552c 

Diff: https://reviews.apache.org/r/54493/diff/


Testing
-------


Thanks,

Alex Clemmer


Re: Review Request 54493: Turned off Master's auth flags tests when platform doesn't support it.

Posted by Alex Clemmer <cl...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54493/
-----------------------------------------------------------

(Updated Dec. 9, 2016, 7:56 p.m.)


Review request for mesos, Andrew Schwartzmeyer, Daniel Pravat, and Joseph Wu.


Bugs: MESOS-6717
    https://issues.apache.org/jira/browse/MESOS-6717


Repository: mesos


Description
-------

This commit marks the resolution of all known issues blocking
MESOS-6717.

The issue this commit specifically will address the problem that all
Agent tests will fail on platforms that don't support authentication
(i.e., platforms where CMake does not pass `-DHAS_AUTHENTICATION` into
the compiler). In particular, passing the `--authentication` flag into
the Master on platforms that do not support authentication will cause
the Master to return an error, which in turn causes the test harness to
ungracefully exit. Since Windows in particular needs to be able to run
Agent tests that pass, but does not yet support authentication, it is
important to address this issue.

Our resolution here involves:

  1. Exposing `HAS_AUTHENTICATION` as part of the CMake configuration
     phase, so that users can pass something like
     `-DHAS_AUTHENTICATION=0` to opt out.
  2. Setting the default for the CMake `HAS_AUTHENTICATION` flag to be
     `TRUE`, since this is the default path.
  3. Causing CMake to error out if `HAS_AUTHENTICATION` is set to `TRUE`
     on Windows, where it is not yet supported.


Diffs (updated)
-----

  cmake/CompilationConfigure.cmake 6bd07e0050f9e66b245683e97dc44b51fcc37ea0 
  docs/windows.md 0301527d7315b427c8a6ed14fef72c73908103f9 
  src/Makefile.am 5736349e9b898f0e46ccfdaa73d437e2bc4974dc 
  src/tests/mesos.cpp 8fd8bcb033f47e2538aa36cd373c892a882afdfd 
  support/windows-build.bat b3b6d0bbe877cf3794a5c616374ffce8c1b1552c 

Diff: https://reviews.apache.org/r/54493/diff/


Testing
-------


Thanks,

Alex Clemmer


Re: Review Request 54493: Turned off Master's auth flags tests when platform doesn't support it.

Posted by Alex Clemmer <cl...@gmail.com>.

> On Dec. 9, 2016, 1:59 a.m., Joseph Wu wrote:
> > src/tests/mesos.cpp, lines 203-205
> > <https://reviews.apache.org/r/54493/diff/2/?file=1579698#file1579698line203>
> >
> >     We shouldn't need to set this flag to `None()` explicitly.  It should default to such.

I actually prefer explicit init, but let's do it your way. :)


> On Dec. 9, 2016, 1:59 a.m., Joseph Wu wrote:
> > support/windows-build.bat, line 52
> > <https://reviews.apache.org/r/54493/diff/2/?file=1579699#file1579699line52>
> >
> >     There's a similar line in `docs/windows.md` which should be updated.

Oh, sorry. It occurred to me we were missing docs, but I forgot that I turned off the `docs/` directory in VSCode's search, so I figured we moved them to a different repository.


> On Dec. 9, 2016, 1:59 a.m., Joseph Wu wrote:
> > cmake/CompilationConfigure.cmake, line 55
> > <https://reviews.apache.org/r/54493/diff/2/?file=1579696#file1579696line55>
> >
> >     `TRUE`.
> >     
> >     I guess we should standardize this at some point (probably as part of the CMake style guide (https://issues.apache.org/jira/browse/MESOS-3107 )).  For options, there are 3+ synonyms that CMake accepts for "true" or "false".  At the moment, this file uses 2 of them (ON/TRUE, OFF/FALSE).

Yes, this was leftover from when I tried to make the flag `-DHAS_AUTHENTICATION=${HAS_AUTHENTICATION}`, which ended up not working. I should have changed it to `ON`.


- Alex


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


On Dec. 8, 2016, 7:26 a.m., Alex Clemmer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54493/
> -----------------------------------------------------------
> 
> (Updated Dec. 8, 2016, 7:26 a.m.)
> 
> 
> Review request for mesos, Andrew Schwartzmeyer, Daniel Pravat, and Joseph Wu.
> 
> 
> Bugs: MESOS-6717
>     https://issues.apache.org/jira/browse/MESOS-6717
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This commit marks the resolution of all known issues blocking
> MESOS-6717.
> 
> The issue this commit specifically will address the problem that all
> Agent tests will fail on platforms that don't support authentication
> (i.e., platforms where CMake does not pass `-DHAS_AUTHENTICATION` into
> the compiler). In particular, passing the `--authentication` flag into
> the Master on platforms that do not support authentication will cause
> the Master to return an error, which in turn causes the test harness to
> ungracefully exit. Since Windows in particular needs to be able to run
> Agent tests that pass, but does not yet support authentication, it is
> important to address this issue.
> 
> Our resolution here involves:
> 
>   1. Exposing `HAS_AUTHENTICATION` as part of the CMake configuration
>      phase, so that users can pass something like
>      `-DHAS_AUTHENTICATION=0` to opt out.
>   2. Setting the default for the CMake `HAS_AUTHENTICATION` flag to be
>      `TRUE`, since this is the default path.
>   3. Causing CMake to error out if `HAS_AUTHENTICATION` is set to `TRUE`
>      on Windows, where it is not yet supported.
> 
> 
> Diffs
> -----
> 
>   cmake/CompilationConfigure.cmake 6bd07e0050f9e66b245683e97dc44b51fcc37ea0 
>   src/Makefile.am 5736349e9b898f0e46ccfdaa73d437e2bc4974dc 
>   src/tests/mesos.cpp 8fd8bcb033f47e2538aa36cd373c892a882afdfd 
>   support/windows-build.bat b3b6d0bbe877cf3794a5c616374ffce8c1b1552c 
> 
> Diff: https://reviews.apache.org/r/54493/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alex Clemmer
> 
>


Re: Review Request 54493: Turned off Master's auth flags tests when platform doesn't support it.

Posted by Joseph Wu <jo...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54493/#review158622
-----------------------------------------------------------




cmake/CompilationConfigure.cmake (line 55)
<https://reviews.apache.org/r/54493/#comment229411>

    `TRUE`.
    
    I guess we should standardize this at some point (probably as part of the CMake style guide (https://issues.apache.org/jira/browse/MESOS-3107 )).  For options, there are 3+ synonyms that CMake accepts for "true" or "false".  At the moment, this file uses 2 of them (ON/TRUE, OFF/FALSE).



src/tests/mesos.cpp (lines 203 - 205)
<https://reviews.apache.org/r/54493/#comment229412>

    We shouldn't need to set this flag to `None()` explicitly.  It should default to such.



support/windows-build.bat (line 52)
<https://reviews.apache.org/r/54493/#comment229413>

    There's a similar line in `docs/windows.md` which should be updated.


- Joseph Wu


On Dec. 7, 2016, 11:26 p.m., Alex Clemmer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54493/
> -----------------------------------------------------------
> 
> (Updated Dec. 7, 2016, 11:26 p.m.)
> 
> 
> Review request for mesos, Andrew Schwartzmeyer, Daniel Pravat, and Joseph Wu.
> 
> 
> Bugs: MESOS-6717
>     https://issues.apache.org/jira/browse/MESOS-6717
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This commit marks the resolution of all known issues blocking
> MESOS-6717.
> 
> The issue this commit specifically will address the problem that all
> Agent tests will fail on platforms that don't support authentication
> (i.e., platforms where CMake does not pass `-DHAS_AUTHENTICATION` into
> the compiler). In particular, passing the `--authentication` flag into
> the Master on platforms that do not support authentication will cause
> the Master to return an error, which in turn causes the test harness to
> ungracefully exit. Since Windows in particular needs to be able to run
> Agent tests that pass, but does not yet support authentication, it is
> important to address this issue.
> 
> Our resolution here involves:
> 
>   1. Exposing `HAS_AUTHENTICATION` as part of the CMake configuration
>      phase, so that users can pass something like
>      `-DHAS_AUTHENTICATION=0` to opt out.
>   2. Setting the default for the CMake `HAS_AUTHENTICATION` flag to be
>      `TRUE`, since this is the default path.
>   3. Causing CMake to error out if `HAS_AUTHENTICATION` is set to `TRUE`
>      on Windows, where it is not yet supported.
> 
> 
> Diffs
> -----
> 
>   cmake/CompilationConfigure.cmake 6bd07e0050f9e66b245683e97dc44b51fcc37ea0 
>   src/Makefile.am 5736349e9b898f0e46ccfdaa73d437e2bc4974dc 
>   src/tests/mesos.cpp 8fd8bcb033f47e2538aa36cd373c892a882afdfd 
>   support/windows-build.bat b3b6d0bbe877cf3794a5c616374ffce8c1b1552c 
> 
> Diff: https://reviews.apache.org/r/54493/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alex Clemmer
> 
>


Re: Review Request 54493: Turned off Master's auth flags tests when platform doesn't support it.

Posted by Alex Clemmer <cl...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54493/
-----------------------------------------------------------

(Updated Dec. 8, 2016, 7:26 a.m.)


Review request for mesos, Andrew Schwartzmeyer, Daniel Pravat, and Joseph Wu.


Changes
-------

Change the tests to also not pass a credential in when `HAS_AUTHENTICATION` is not set. If we don't this issue causes all Agent tests to fail on Windows.


Bugs: MESOS-6717
    https://issues.apache.org/jira/browse/MESOS-6717


Repository: mesos


Description
-------

This commit marks the resolution of all known issues blocking
MESOS-6717.

The issue this commit specifically will address the problem that all
Agent tests will fail on platforms that don't support authentication
(i.e., platforms where CMake does not pass `-DHAS_AUTHENTICATION` into
the compiler). In particular, passing the `--authentication` flag into
the Master on platforms that do not support authentication will cause
the Master to return an error, which in turn causes the test harness to
ungracefully exit. Since Windows in particular needs to be able to run
Agent tests that pass, but does not yet support authentication, it is
important to address this issue.

Our resolution here involves:

  1. Exposing `HAS_AUTHENTICATION` as part of the CMake configuration
     phase, so that users can pass something like
     `-DHAS_AUTHENTICATION=0` to opt out.
  2. Setting the default for the CMake `HAS_AUTHENTICATION` flag to be
     `TRUE`, since this is the default path.
  3. Causing CMake to error out if `HAS_AUTHENTICATION` is set to `TRUE`
     on Windows, where it is not yet supported.


Diffs (updated)
-----

  cmake/CompilationConfigure.cmake 6bd07e0050f9e66b245683e97dc44b51fcc37ea0 
  src/Makefile.am 5736349e9b898f0e46ccfdaa73d437e2bc4974dc 
  src/tests/mesos.cpp 8fd8bcb033f47e2538aa36cd373c892a882afdfd 
  support/windows-build.bat b3b6d0bbe877cf3794a5c616374ffce8c1b1552c 

Diff: https://reviews.apache.org/r/54493/diff/


Testing
-------


Thanks,

Alex Clemmer


Re: Review Request 54493: Turned off Master's auth flags tests when platform doesn't support it.

Posted by Mesos ReviewBot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54493/#review158484
-----------------------------------------------------------



Patch looks great!

Reviews applied: [54324, 53550, 53551, 53552, 52778, 54395, 54415, 54446, 54453, 54462, 54470, 54489, 54490, 54493]

Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker_build.sh

- Mesos ReviewBot


On Dec. 7, 2016, 8:02 p.m., Alex Clemmer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54493/
> -----------------------------------------------------------
> 
> (Updated Dec. 7, 2016, 8:02 p.m.)
> 
> 
> Review request for mesos, Andrew Schwartzmeyer, Daniel Pravat, and Joseph Wu.
> 
> 
> Bugs: MESOS-6717
>     https://issues.apache.org/jira/browse/MESOS-6717
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This commit marks the resolution of all known issues blocking
> MESOS-6717.
> 
> The issue this commit specifically will address the problem that all
> Agent tests will fail on platforms that don't support authentication
> (i.e., platforms where CMake does not pass `-DHAS_AUTHENTICATION` into
> the compiler). In particular, passing the `--authentication` flag into
> the Master on platforms that do not support authentication will cause
> the Master to return an error, which in turn causes the test harness to
> ungracefully exit. Since Windows in particular needs to be able to run
> Agent tests that pass, but does not yet support authentication, it is
> important to address this issue.
> 
> Our resolution here involves:
> 
>   1. Exposing `HAS_AUTHENTICATION` as part of the CMake configuration
>      phase, so that users can pass something like
>      `-DHAS_AUTHENTICATION=0` to opt out.
>   2. Setting the default for the CMake `HAS_AUTHENTICATION` flag to be
>      `TRUE`, since this is the default path.
>   3. Causing CMake to error out if `HAS_AUTHENTICATION` is set to `TRUE`
>      on Windows, where it is not yet supported.
> 
> 
> Diffs
> -----
> 
>   cmake/CompilationConfigure.cmake 6bd07e0050f9e66b245683e97dc44b51fcc37ea0 
>   src/Makefile.am 5736349e9b898f0e46ccfdaa73d437e2bc4974dc 
>   src/tests/mesos.cpp 8fd8bcb033f47e2538aa36cd373c892a882afdfd 
>   support/windows-build.bat b3b6d0bbe877cf3794a5c616374ffce8c1b1552c 
> 
> Diff: https://reviews.apache.org/r/54493/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alex Clemmer
> 
>