Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

akka 2.4.2 #49971

Closed
wants to merge 1 commit into from
Closed

akka 2.4.2 #49971

wants to merge 1 commit into from

Conversation

yous
Copy link
Contributor

@yous yous commented Mar 10, 2016

Bump akka to 2.4.2.

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you built your formula locally prior to submission with brew install <formula>?
  • Have you successfully ran brew tests with your changes locally?

@apjanke
Copy link
Contributor

apjanke commented Mar 10, 2016

Test bot run failed on two OSes with errors like this.

Failed to read test report file /Users/brew/Jenkins/prs/version/yosemite/brew-test-bot.xml
org.dom4j.DocumentException: Invalid byte 2 of 4-byte UTF-8 sequence. Nested exception: Invalid byte 2 of 4-byte UTF-8 sequence.
    at org.dom4j.io.SAXReader.read(SAXReader.java:484)
    at org.dom4j.io.SAXReader.read(SAXReader.java:264)
    at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:123)
    at hudson.tasks.junit.TestResult.parse(TestResult.java:286)
    at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:232)
    at hudson.tasks.junit.TestResult.parse(TestResult.java:167)

Looks like an internal Jenkins error. Let's just rerun it.

@BrewTestBot test this please

@apjanke
Copy link
Contributor

apjanke commented Mar 10, 2016

Hmmm. Same failure to read test results on Yosemite and El Capitan. Looks like maybe something is producing invalid UTF-8 in its output?

Failed to read test report file /Users/brew/Jenkins/prs/version/yosemite/brew-test-bot.xml
org.dom4j.DocumentException: Invalid byte 2 of 4-byte UTF-8 sequence. Nested exception: Invalid byte 2 of 4-byte UTF-8 sequence.
    at org.dom4j.io.SAXReader.read(SAXReader.java:484)

Any other maintainers know if we can grab that brew-test-bot.xml file to examine it directly without parsing it? Does it persist past the test run?

@apjanke apjanke added the bug label Mar 10, 2016
@DomT4
Copy link
Member

DomT4 commented Mar 10, 2016

It'll just "fail" repeatedly. The build itself is fine, otherwise Jenkins would red rather than yellow flag it. This is quite a well known Jenkins issue. The last time it was discussed @MikeMcQuaid was familiar with it but had forgotten how to hunt/resolve the issue, and given it's only a cosmetic problem we've more or less ignored it since.

@MikeMcQuaid
Copy link
Member

@apiri Stuff like that should be resolved by a regex like this: https://github.com/Homebrew/homebrew/blob/6c12be4db8434effc805b16bd6dc96f7c804bef2/Library/Homebrew/cmd/test-bot.rb#L920-L921

I'm 100% sure there's a better way of doing this so if you felt like it I'd be very grateful (you seem to be good at similar ratholes 😀)

@xu-cheng
Copy link
Member

I'm 100% sure there's a better way of doing this so if you felt like it I'd be very grateful (you seem to be good at similar ratholes 😀)

Yes, there is. According to http://stackoverflow.com/a/28152666 and http://stackoverflow.com/a/14323524, we should filter string based on XML spec. i.e.

output = step.output.gsub(/[^\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]/, "")

@apiri
Copy link
Contributor

apiri commented Mar 11, 2016

@MikeMcQuaid you got the wrong ap*! :) I think he is far better at those problems than myself.

@MikeMcQuaid
Copy link
Member

Yes, there is. According to http://stackoverflow.com/a/28152666 and http://stackoverflow.com/a/14323524, we should filter string based on XML spec. i.e.

@xu-cheng could you try a PR for that? Seems like the idea solution 👍

@MikeMcQuaid
Copy link
Member

@apiri sorry!

apjanke pushed a commit to apjanke/homebrew-core that referenced this pull request Apr 4, 2016
Closes Homebrew/legacy-homebrew#49971.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
@UniqMartin
Copy link
Contributor

@yous, what's the status here? Akka 2.4.4 seems to be out by now and I suspect we're better off creating a new pull request in Homebrew/homebrew-core, right?

(The Jenkins issues that had previously plagued this PR should be resolved by now.)

@yous
Copy link
Contributor Author

yous commented May 3, 2016

@UniqMartin Thanks for the bump. I made a new pull request Homebrew/homebrew-core#790, so closing this.

@yous yous closed this May 3, 2016
@ghost ghost removed the needs response label May 3, 2016
@yous yous deleted the akka-2.4.2 branch May 3, 2016 02:15
@UniqMartin
Copy link
Contributor

@yous Awesome, thanks!

@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants