Re: Review Request 62857: Fix broken end-to-end tests

2017-10-10 Thread Joshua Cohen


> On Oct. 10, 2017, 2:29 p.m., Joshua Cohen wrote:
> > I'd be shocked if they've been failing for over a year. We've had three 
> > releases since then and the release candidate verification script runs the 
> > end to end tests.
> > 
> > If I had to hazard a guess, I'd point the finger at something changing in 
> > curl w/ the High Sierra update? I'm running the e2e tests locally right now 
> > (I'm still on Sierra) to confirm they're working there.
> 
> Joshua Cohen wrote:
> Oh wait, the curl version being used is from within the Vagrant image, 
> not the host system. So... perhaps something changed in the curl version in 
> vagrant?

I was just able to verify the failure. So it's not specific to your system or 
host OS. It'd be interesting to bisect to see what actually caused the failure, 
but either way your fix lgtm.


- Joshua


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


On Oct. 10, 2017, 6:21 a.m., Bill Farner wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62857/
> ---
> 
> (Updated Oct. 10, 2017, 6:21 a.m.)
> 
> 
> Review request for Aurora, David McLaughlin and Stephan Erb.
> 
> 
> Repository: aurora
> 
> 
> Description
> ---
> 
> TContentAwareServlet constrains the supported Content-Type headers,
> resulting in test_kerberos_end_to_end.sh failing with the error
> `Unsupported Content-Type: application/x-www-form-urlencoded`, which
> is the Content-Type header curl chooses when the --data-binary
> argument is passed
> 
> 
> Diffs
> -
> 
>   src/test/sh/org/apache/aurora/e2e/test_kerberos_end_to_end.sh 
> ecb3d3f50e77b800eb0d05618c7740c42fca28c2 
> 
> 
> Diff: https://reviews.apache.org/r/62857/diff/1/
> 
> 
> Testing
> ---
> 
> ./src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
> 
> Based on what i'm seeing, it appears that these tests should have been 
> failing since the introduction of `TContentAwareServlet` 
> [0105a15](https://github.com/apache/aurora/commit/0105a15) in Aug 2016.  Is 
> that true, or have others actually seen them passing somehow?
> 
> 
> Thanks,
> 
> Bill Farner
> 
>



Re: Review Request 62857: Fix broken end-to-end tests

2017-10-10 Thread Stephan Erb

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


Ship it!




Ship It!

- Stephan Erb


On Oct. 10, 2017, 8:21 a.m., Bill Farner wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62857/
> ---
> 
> (Updated Oct. 10, 2017, 8:21 a.m.)
> 
> 
> Review request for Aurora, David McLaughlin and Stephan Erb.
> 
> 
> Repository: aurora
> 
> 
> Description
> ---
> 
> TContentAwareServlet constrains the supported Content-Type headers,
> resulting in test_kerberos_end_to_end.sh failing with the error
> "Unsupported Content-Type: application/x-www-form-urlencoded", which
> is the Content-Type header curl chooses when the --data-binary
> argument is passed
> 
> 
> Diffs
> -
> 
>   src/test/sh/org/apache/aurora/e2e/test_kerberos_end_to_end.sh 
> ecb3d3f50e77b800eb0d05618c7740c42fca28c2 
> 
> 
> Diff: https://reviews.apache.org/r/62857/diff/1/
> 
> 
> Testing
> ---
> 
> ./src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
> 
> Based on what i'm seeing, it appears that these tests should have been 
> failing since the introduction of `TContentAwareServlet` 
> [0105a15](https://github.com/apache/aurora/commit/0105a15) in Aug 2016.  Is 
> that true, or have others actually seen them passing somehow?
> 
> 
> Thanks,
> 
> Bill Farner
> 
>



Re: Review Request 62857: Fix broken end-to-end tests

2017-10-10 Thread Stephan Erb


> On Oct. 10, 2017, 4:59 p.m., Stephan Erb wrote:
> > I have been running the end-to-end tests from time to time and have not 
> > seen this problem, yet.
> > 
> > Code wide, I also don't think this should be necessary. We are defaulting 
> > to json if there is no accept header in order to maintain compatibility. 
> > See [1] and [2]
> > 
> > [1] 
> > https://github.com/apache/aurora/commit/0105a15#diff-7b5266c03f44c6cec3de918741c37171R108
> > [2] 
> > https://github.com/apache/aurora/commit/0105a15#diff-8c860297930ef9ce9d2e9885f577b2b8R115

Oh, I have not been reading your supplied error properly. 

Maybe I am running with an old vagrant box that has not seen the latest updates?


- Stephan


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


On Oct. 10, 2017, 8:21 a.m., Bill Farner wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62857/
> ---
> 
> (Updated Oct. 10, 2017, 8:21 a.m.)
> 
> 
> Review request for Aurora, David McLaughlin and Stephan Erb.
> 
> 
> Repository: aurora
> 
> 
> Description
> ---
> 
> TContentAwareServlet constrains the supported Content-Type headers,
> resulting in test_kerberos_end_to_end.sh failing with the error
> "Unsupported Content-Type: application/x-www-form-urlencoded", which
> is the Content-Type header curl chooses when the --data-binary
> argument is passed
> 
> 
> Diffs
> -
> 
>   src/test/sh/org/apache/aurora/e2e/test_kerberos_end_to_end.sh 
> ecb3d3f50e77b800eb0d05618c7740c42fca28c2 
> 
> 
> Diff: https://reviews.apache.org/r/62857/diff/1/
> 
> 
> Testing
> ---
> 
> ./src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
> 
> Based on what i'm seeing, it appears that these tests should have been 
> failing since the introduction of `TContentAwareServlet` 
> [0105a15](https://github.com/apache/aurora/commit/0105a15) in Aug 2016.  Is 
> that true, or have others actually seen them passing somehow?
> 
> 
> Thanks,
> 
> Bill Farner
> 
>



Re: Review Request 62857: Fix broken end-to-end tests

2017-10-10 Thread Stephan Erb

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



I have been running the end-to-end tests from time to time and have not seen 
this problem, yet.

Code wide, I also don't think this should be necessary. We are defaulting to 
json if there is no accept header in order to maintain compatibility. See [1] 
and [2]

[1] 
https://github.com/apache/aurora/commit/0105a15#diff-7b5266c03f44c6cec3de918741c37171R108
[2] 
https://github.com/apache/aurora/commit/0105a15#diff-8c860297930ef9ce9d2e9885f577b2b8R115

- Stephan Erb


On Oct. 10, 2017, 8:21 a.m., Bill Farner wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62857/
> ---
> 
> (Updated Oct. 10, 2017, 8:21 a.m.)
> 
> 
> Review request for Aurora, David McLaughlin and Stephan Erb.
> 
> 
> Repository: aurora
> 
> 
> Description
> ---
> 
> TContentAwareServlet constrains the supported Content-Type headers,
> resulting in test_kerberos_end_to_end.sh failing with the error
> "Unsupported Content-Type: application/x-www-form-urlencoded", which
> is the Content-Type header curl chooses when the --data-binary
> argument is passed
> 
> 
> Diffs
> -
> 
>   src/test/sh/org/apache/aurora/e2e/test_kerberos_end_to_end.sh 
> ecb3d3f50e77b800eb0d05618c7740c42fca28c2 
> 
> 
> Diff: https://reviews.apache.org/r/62857/diff/1/
> 
> 
> Testing
> ---
> 
> ./src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
> 
> Based on what i'm seeing, it appears that these tests should have been 
> failing since the introduction of `TContentAwareServlet` 
> [0105a15](https://github.com/apache/aurora/commit/0105a15) in Aug 2016.  Is 
> that true, or have others actually seen them passing somehow?
> 
> 
> Thanks,
> 
> Bill Farner
> 
>



Re: Review Request 62857: Fix broken end-to-end tests

2017-10-10 Thread Joshua Cohen


> On Oct. 10, 2017, 2:29 p.m., Joshua Cohen wrote:
> > I'd be shocked if they've been failing for over a year. We've had three 
> > releases since then and the release candidate verification script runs the 
> > end to end tests.
> > 
> > If I had to hazard a guess, I'd point the finger at something changing in 
> > curl w/ the High Sierra update? I'm running the e2e tests locally right now 
> > (I'm still on Sierra) to confirm they're working there.

Oh wait, the curl version being used is from within the Vagrant image, not the 
host system. So... perhaps something changed in the curl version in vagrant?


- Joshua


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


On Oct. 10, 2017, 6:21 a.m., Bill Farner wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62857/
> ---
> 
> (Updated Oct. 10, 2017, 6:21 a.m.)
> 
> 
> Review request for Aurora, David McLaughlin and Stephan Erb.
> 
> 
> Repository: aurora
> 
> 
> Description
> ---
> 
> TContentAwareServlet constrains the supported Content-Type headers,
> resulting in test_kerberos_end_to_end.sh failing with the error
> "Unsupported Content-Type: application/x-www-form-urlencoded", which
> is the Content-Type header curl chooses when the --data-binary
> argument is passed
> 
> 
> Diffs
> -
> 
>   src/test/sh/org/apache/aurora/e2e/test_kerberos_end_to_end.sh 
> ecb3d3f50e77b800eb0d05618c7740c42fca28c2 
> 
> 
> Diff: https://reviews.apache.org/r/62857/diff/1/
> 
> 
> Testing
> ---
> 
> ./src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
> 
> Based on what i'm seeing, it appears that these tests should have been 
> failing since the introduction of `TContentAwareServlet` 
> [0105a15](https://github.com/apache/aurora/commit/0105a15) in Aug 2016.  Is 
> that true, or have others actually seen them passing somehow?
> 
> 
> Thanks,
> 
> Bill Farner
> 
>



Re: Review Request 62857: Fix broken end-to-end tests

2017-10-10 Thread Joshua Cohen

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


Ship it!




Regardless... ship away!

- Joshua Cohen


On Oct. 10, 2017, 6:21 a.m., Bill Farner wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62857/
> ---
> 
> (Updated Oct. 10, 2017, 6:21 a.m.)
> 
> 
> Review request for Aurora, David McLaughlin and Stephan Erb.
> 
> 
> Repository: aurora
> 
> 
> Description
> ---
> 
> TContentAwareServlet constrains the supported Content-Type headers,
> resulting in test_kerberos_end_to_end.sh failing with the error
> "Unsupported Content-Type: application/x-www-form-urlencoded", which
> is the Content-Type header curl chooses when the --data-binary
> argument is passed
> 
> 
> Diffs
> -
> 
>   src/test/sh/org/apache/aurora/e2e/test_kerberos_end_to_end.sh 
> ecb3d3f50e77b800eb0d05618c7740c42fca28c2 
> 
> 
> Diff: https://reviews.apache.org/r/62857/diff/1/
> 
> 
> Testing
> ---
> 
> ./src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
> 
> Based on what i'm seeing, it appears that these tests should have been 
> failing since the introduction of `TContentAwareServlet` 
> [0105a15](https://github.com/apache/aurora/commit/0105a15) in Aug 2016.  Is 
> that true, or have others actually seen them passing somehow?
> 
> 
> Thanks,
> 
> Bill Farner
> 
>



Re: Review Request 62857: Fix broken end-to-end tests

2017-10-10 Thread Joshua Cohen

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



I'd be shocked if they've been failing for over a year. We've had three 
releases since then and the release candidate verification script runs the end 
to end tests.

If I had to hazard a guess, I'd point the finger at something changing in curl 
w/ the High Sierra update? I'm running the e2e tests locally right now (I'm 
still on Sierra) to confirm they're working there.

- Joshua Cohen


On Oct. 10, 2017, 6:21 a.m., Bill Farner wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62857/
> ---
> 
> (Updated Oct. 10, 2017, 6:21 a.m.)
> 
> 
> Review request for Aurora, David McLaughlin and Stephan Erb.
> 
> 
> Repository: aurora
> 
> 
> Description
> ---
> 
> TContentAwareServlet constrains the supported Content-Type headers,
> resulting in test_kerberos_end_to_end.sh failing with the error
> "Unsupported Content-Type: application/x-www-form-urlencoded", which
> is the Content-Type header curl chooses when the --data-binary
> argument is passed
> 
> 
> Diffs
> -
> 
>   src/test/sh/org/apache/aurora/e2e/test_kerberos_end_to_end.sh 
> ecb3d3f50e77b800eb0d05618c7740c42fca28c2 
> 
> 
> Diff: https://reviews.apache.org/r/62857/diff/1/
> 
> 
> Testing
> ---
> 
> ./src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
> 
> Based on what i'm seeing, it appears that these tests should have been 
> failing since the introduction of `TContentAwareServlet` 
> [0105a15](https://github.com/apache/aurora/commit/0105a15) in Aug 2016.  Is 
> that true, or have others actually seen them passing somehow?
> 
> 
> Thanks,
> 
> Bill Farner
> 
>



Re: Review Request 62857: Fix broken end-to-end tests

2017-10-10 Thread Aurora ReviewBot

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


Ship it!




Master (0169b81) is green with this patch.
  ./build-support/jenkins/build.sh

I will refresh this build result if you post a review containing "@ReviewBot 
retry"

- Aurora ReviewBot


On Oct. 10, 2017, 6:21 a.m., Bill Farner wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62857/
> ---
> 
> (Updated Oct. 10, 2017, 6:21 a.m.)
> 
> 
> Review request for Aurora, David McLaughlin and Stephan Erb.
> 
> 
> Repository: aurora
> 
> 
> Description
> ---
> 
> TContentAwareServlet constrains the supported Content-Type headers,
> resulting in test_kerberos_end_to_end.sh failing with the error
> "Unsupported Content-Type: application/x-www-form-urlencoded", which
> is the Content-Type header curl chooses when the --data-binary
> argument is passed
> 
> 
> Diffs
> -
> 
>   src/test/sh/org/apache/aurora/e2e/test_kerberos_end_to_end.sh 
> ecb3d3f50e77b800eb0d05618c7740c42fca28c2 
> 
> 
> Diff: https://reviews.apache.org/r/62857/diff/1/
> 
> 
> Testing
> ---
> 
> ./src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
> 
> Based on what i'm seeing, it appears that these tests should have been 
> failing since the introduction of `TContentAwareServlet` 
> [0105a15](https://github.com/apache/aurora/commit/0105a15) in Aug 2016.  Is 
> that true, or have others actually seen them passing somehow?
> 
> 
> Thanks,
> 
> Bill Farner
> 
>