question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ask a question : build fail for test.

See original GitHub issue

I am trying to run armeria in my laptop by following the CONTRIBUTING.md.

but I have a problem.

I typed command ./gradlew build site but it failed. I got below error message. `

Task :logback:compileTestJava FAILED C:\Users\Hanhg\Desktop\armeria\logback\src\test\java\com\linecorp\armeria\common\logback\RequestContextExportingAppenderTest.java:62: error: cannot find symbol import com.linecorp.armeria.common.thrift.ThriftReply; ^ symbol: class ThriftReply location: package com.linecorp.armeria.common.thrift C:\Users\Hanhg\Desktop\armeria\logback\src\test\java\com\linecorp\armeria\common\logback\RequestContextExportingAppenderTest.java:89: error: cannot find symbol private static final ThriftReply THRIFT_REPLY = ^ symbol: class ThriftReply location: class RequestContextExportingAppenderTest C:\Users\Hanhg\Desktop\armeria\logback\src\test\java\com\linecorp\armeria\common\logback\RequestContextExportingAppenderTest.java:90: error: cannot find symbol new ThriftReply(new TMessage(“hello”, TMessageType.REPLY, 1), ^ symbol: class ThriftReply location: class RequestContextExportingAppenderTest 3 errors

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ‘:logback:compileTestJava’.

Compilation failed; see the compiler error output for details.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org `

I tried to find error in RequestContextExportingAppenderTest.java but there are not compilation error or warning.

What should I do in this situation?

It is my development environment. Windows 10 IntelliJ IDEA 2019.1.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
trustincommented, Aug 8, 2019

You can improve the build speed by adding --parallel option 😃

1reaction
ikhooncommented, Aug 8, 2019

It is my development environment. Windows 10 IntelliJ IDEA 2019.1.1

Could you share your java version?

Read more comments on GitHub >

github_iconTop Results From Across the Web

unit testing - Should failing tests make the continuous build fail?
Based on that alone, yes, it should consider the build a failure and not continue. If you don't use that reasoning, then who...
Read more >
When to mark a build as failed? - SQA Stack Exchange
Personally, I think this is absolutely fine. Since you said you are using feature branches, only builds on top of these branches are...
Read more >
Helpful resources for test-takers - Pearson VUE
Explore helpful resources, like exam prep materials and FAQs, ... Build confidence before your exam. You asked ... Check out our frequently asked...
Read more >
Failure Analysis Methods for PDEs: Key Questions and ...
When you become aware of the issue, ask yourself the following questions to organize ... However, after the build, a failure is found...
Read more >
Debugging Failing Tests and Test Pipelines - GitLab
Make relevant stage group aware: When a test fails no matter the reason, an issue should be created and made known to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found