I am trying to build (`./gradlew build`) but getti...
# getting-started
q
I am trying to build (
./gradlew build
) but getting different error. Can anyone <!here> fix it?
b
Hi Sunil. Can you paste in what is shown within the integration test report at the file path shown?
q
@big-carpet-38439 do you mean index.html?
b
Yep
q
Copy code
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="x-ua-compatible" content="IE=edge"/>
<title>Test results - Test Summary</title>
<link href="css/base-style.css" rel="stylesheet" type="text/css"/>
<link href="css/style.css" rel="stylesheet" type="text/css"/>
<script src="js/report.js" type="text/javascript"></script>
</head>
<body>
<div id="content">
<h1>Test Summary</h1>
<div id="summary">
<table>
<tr>
<td>
<div class="summaryGroup">
<table>
<tr>
<td>
<div class="infoBox" id="tests">
<div class="counter">5</div>
<p>tests</p>
</div>
</td>
<td>
<div class="infoBox" id="failures">
<div class="counter">5</div>
<p>failures</p>
</div>
</td>
<td>
<div class="infoBox" id="ignored">
<div class="counter">0</div>
<p>ignored</p>
</div>
</td>
<td>
<div class="infoBox" id="duration">
<div class="counter">0s</div>
<p>duration</p>
</div>
</td>
</tr>
</table>
</div>
</td>
<td>
<div class="infoBox failures" id="successRate">
<div class="percent">0%</div>
<p>successful</p>
</div>
</td>
</tr>
</table>
</div>
<div id="tabs">
<ul class="tabLinks">
<li>
<a href="#tab0">Failed tests</a>
</li>
<li>
<a href="#tab1">Packages</a>
</li>
<li>
<a href="#tab2">Classes</a>
</li>
</ul>
<div id="tab0" class="tab">
<h2>Failed tests</h2>
<ul class="linkList">
<li>
<a href="classes/com.linkedin.metadata.ChartSearchSanityTest.html">ChartSearchSanityTest</a>.
<a href="classes/com.linkedin.metadata.ChartSearchSanityTest.html#initializationError">initializationError</a>
</li>
<li>
<a href="classes/com.linkedin.metadata.CorpUserSearchSanityTest.html">CorpUserSearchSanityTest</a>.
<a href="classes/com.linkedin.metadata.CorpUserSearchSanityTest.html#initializationError">initializationError</a>
</li>
<li>
<a href="classes/com.linkedin.metadata.DashboardSearchSanityTest.html">DashboardSearchSanityTest</a>.
<a href="classes/com.linkedin.metadata.DashboardSearchSanityTest.html#initializationError">initializationError</a>
</li>
<li>
<a href="classes/com.linkedin.metadata.DataProcessSearchSanityTest.html">DataProcessSearchSanityTest</a>.
<a href="classes/com.linkedin.metadata.DataProcessSearchSanityTest.html#initializationError">initializationError</a>
</li>
<li>
<a href="classes/com.linkedin.metadata.DatsetsSearchSanityTest.html">DatsetsSearchSanityTest</a>.
<a href="classes/com.linkedin.metadata.DatsetsSearchSanityTest.html#initializationError">initializationError</a>
</li>
</ul>
</div>
<div id="tab1" class="tab">
<h2>Packages</h2>
<table>
<thead>
<tr>
<th>Package</th>
<th>Tests</th>
<th>Failures</th>
<th>Ignored</th>
<th>Duration</th>
<th>Success rate</th>
</tr>
</thead>
<tbody>
<tr>
<td class="failures">
<a href="packages/com.linkedin.metadata.html">com.linkedin.metadata</a>
</td>
<td>5</td>
<td>5</td>
<td>0</td>
<td>0s</td>
<td class="failures">0%</td>
</tr>
</tbody>
</table>
</div>
<div id="tab2" class="tab">
<h2>Classes</h2>
<table>
<thead>
<tr>
<th>Class</th>
<th>Tests</th>
<th>Failures</th>
<th>Ignored</th>
<th>Duration</th>
<th>Success rate</th>
</tr>
</thead>
<tbody>
<tr>
<td class="failures">
<a href="classes/com.linkedin.metadata.ChartSearchSanityTest.html">com.linkedin.metadata.ChartSearchSanityTest</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="classes/com.linkedin.metadata.CorpUserSearchSanityTest.html">com.linkedin.metadata.CorpUserSearchSanityTest</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="classes/com.linkedin.metadata.DashboardSearchSanityTest.html">com.linkedin.metadata.DashboardSearchSanityTest</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="classes/com.linkedin.metadata.DataProcessSearchSanityTest.html">com.linkedin.metadata.DataProcessSearchSanityTest</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="classes/com.linkedin.metadata.DatsetsSearchSanityTest.html">com.linkedin.metadata.DatsetsSearchSanityTest</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0s</td>
<td class="failures">0%</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="footer">
<p>
<div>
<label class="hidden" id="label-for-line-wrapping-toggle" for="line-wrapping-toggle">Wrap lines
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
</label>
</div>Generated by 
<a href="<http://www.gradle.org>">Gradle 5.6.4</a> at 28 Jan, 2021 10:27:44 PM</p>
</div>
</div>
</body>
</html>
b
Looks like the failure is the same
Please perform the following and try again
Docker Desktop > Settings > Experimental Features > Use gRPC FUSE for file sharing > Disable, and apply the changes
q
okay, lemme try again
Same Error again
c
+1, also I can see the error is :
Copy code
Caused by: com.github.dockerjava.api.exception.NotFoundException: {"message":"No such image: testcontainersofficial/ryuk:0.3.0"}
@big-carpet-38439 ^
b
Oh interesting.. Maybe this container was removed
c
this is
testcontainers/ryuk:0.3.0
b
For now you guys can try to pull the image locally first:
Copy code
docker pull testcontainers/ryuk:0.3.0
and then try once more
That's temporary, it looks like we may need to bump our version of testcontainers, as per this discussion: https://github.com/testcontainers/testcontainers-java/issues/3574
Any way we can bump this version to 1.15.1 @microscopic-receptionist-23548 https://github.com/linkedin/datahub-gma/blob/master/build.gradle#L65
(GMA change)
c
did docker pull for both
testcontainers/ryuk:0.3.0
and
testcontainersofficial/ryuk:0.3.0
getting this now :
Copy code
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:323)
	... 64 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:498)
	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:325)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
	... 65 more
Caused by: java.lang.IllegalStateException: Container exited with code 137
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:470)
	... 67 more
b
oh jeeze
m
feel free to open whatever PRs you need to against GMA @big-carpet-38439
👍 1