Fix Debezium Connectors to pass integration test

2021-07-22 Thread Neng Lu
Hi All,

I spent some time digging into the debezium connector integration test
issue. And found that currently the connector's `ack()` method is a
blocking call. This results in the blocking of two threads
(public/default/debezium-mongodb-source-0 and pulsar-io-X) and thus the
offset is never committed successfully.

I have prepared a fix here: https://github.com/apache/pulsar/pull/11435


Best Regards,
Neng Lu


Re: Integration tests failing in Pulsar CI with error code 137 (out of memory error)

2021-07-22 Thread Lari Hotari
After a few more attempts, the issue was resolved.

It seems that GitHub made a change in their latest update to VMs which
leaves less memory available for builds.
The root cause of the issue seemed that swap space had been disabled for
some builds a long time ago to save diskspace. Re-enabling the swap space
was the most impactful change.

Linux cgroups are used in the GitHub Actions Runner VM to limit resources.
When using cgroups, I have the assumption that without swap space OOMs
could happen even in the case where all RAM isn't fully consumed.

Pulsar CI is still in bad shape. There are a few very flaky tests, such as
RackAwareTest which causes most builds to fail. The root cause of
RackAwareTest seems to be a production code issue and a new issue has been
created to track it: https://github.com/apache/pulsar/issues/11433 .
RackAwareTest will be moved to quarantine group to unblock CI, that is part
of PR https://github.com/apache/pulsar/pull/11370 .
There are also 2 other urgent PRs to address very flaky tests:
https://github.com/apache/pulsar/pull/11424 , for
fixing MessagePublishBufferThrottleTest.testBlockByPublishRateLimiting  and
https://github.com/apache/pulsar/pull/11425 to fix flaky Presto tiered
storage integration tests.

*Before retrying a failed build, please check the failure. Before
re-running, check the issue tracker whether the test failure has been
reported as a flaky test. If not, please report it.*
*If it has been reported, please add a comment about facing a flaky issue.*
*If we all follow this principle, it will be easier to get the flaky test
issues under control. Hopefully over time there would be solutions to
automate this task,  but we aren't there yet. Contributions are welcome to
improve this process.*

Reporting a new Flaky issue can be done by choosing "Flaky test" on the new
issue page https://github.com/apache/pulsar/issues/new/choose .
Searching flaky issues:
https://github.com/apache/pulsar/issues?q=is%3Aissue+is%3Aopen+flaky+sort%3Aupdated-desc
(enter "flaky" or the test method name as the search query)

Please contribute to improving Pulsar CI stability!


-Lari


On Wed, Jul 21, 2021 at 6:14 PM Lari Hotari  wrote:

> I pushed PR https://github.com/apache/pulsar/pull/11414 to fix the issue.
> Let's see if it does.
>
> -Lari
>
> On Wed, Jul 21, 2021 at 2:28 PM Lari Hotari  wrote:
>
>> Hi all,
>>
>> There are several integration test jobs failing where the docker
>> container run by Testcontainers gets terminated with error code 137 (maps
>> to out of memory error).
>>
>> The failing jobs are:
>> CI - Integration - Sql -
>> https://github.com/apache/pulsar/actions/workflows/ci-integration-sql.yaml
>> (most fail)
>> CI - Integration - Process -
>> https://github.com/apache/pulsar/actions/workflows/ci-integration-process.yaml
>> (some succeed)
>> CI - Integration - Messaging -
>> https://github.com/apache/pulsar/actions/workflows/ci-integration-messaging.yaml
>> (some succeed)
>> CI - Integration - Function & IO -
>> https://github.com/apache/pulsar/actions/workflows/ci-integration-function.yaml
>> (some succeed)
>>
>> This started happening yesterday for most PR builds.
>>
>> For example:
>>
>> https://github.com/apache/pulsar/runs/3111868662?check_suite_focus=true#step:14:1024
>>
>> Error:  Tests run: 22, Failures: 1, Errors: 0, Skipped: 21, Time elapsed:
>> 292.035 s <<< FAILURE! - in TestSuite
>> Error:
>>  
>> testPythonWordCountFunction(org.apache.pulsar.tests.integration.functions.PulsarStateTest)
>>  Time elapsed: 43.416 s  <<< FAILURE!
>> org.apache.pulsar.tests.integration.docker.ContainerExecException:
>> /pulsar/bin/pulsar-admin functions querystate --tenant public --namespace
>> default --name test-wordcount-py-fn-tfhycxsf --key message-1 failed on
>> 705ecb067214d1cc42cd16358df6fa6d7a8cacc6c5ddd0cdde84a73b3e2e1f76 with error
>> code 137
>> at
>> org.apache.pulsar.tests.integration.utils.DockerUtils$2.onComplete(DockerUtils.java:248)
>> at
>> org.testcontainers.shaded.com.github.dockerjava.core.exec.AbstrAsyncDockerCmdExec$1.onComplete(AbstrAsyncDockerCmdExec.java:51)
>> at
>> org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.lambda$executeAndStream$1(DefaultInvocationBuilder.java:276)
>> at java.base/java.lang.Thread.run(Thread.java:829)
>>
>>
>> I also ran an experiment in my own fork with a very old commit from 13
>> days ago (experiment is https://github.com/lhotari/pulsar/pull/47). The
>> build failed in the same way. Therefore it doesn't seem to be caused by
>> commits in the master branch.
>> I'll try to debug the issue locally as the next step.
>>
>> BR,
>> -Lari
>>
>


Re: [VOTE] Pulsar Client Go Release 0.6.0 Candidate 1

2021-07-22 Thread 丛搏
+1

Regards,
Bo

r...@apache.org  于2021年7月21日周三 下午3:34写道:

> Hi everyone,
>
>
> Please review and vote on the release candidate #1 for the version 0.6.0,
> as follows:
>
> [ ] +1, Approve the release
>
> [ ] -1, Do not approve the release (please provide specific comments)
>
>
> This is the first release candidate for Apache Pulsar Go client, version
> 0.6.0.
>
>
> It fixes the following issues:
>
>
> https://github.com/apache/pulsar-client-go/milestone/7?closed=1
>
>
> Pulsar Client Go's KEYS file contains PGP keys we used to sign this
> release:
>
> https://dist.apache.org/repos/dist/release/pulsar/KEYS
>
>
> Please download these packages and review this release candidate:
>
> - Review release notes
>
> - Download the source package (verify shasum, and asc) and follow the
>
> README.md to build and run the pulsar-client-go.
>
>
> The vote will be open for at least 72 hours. It is adopted by majority
> approval, with at least 3 PMC affirmative votes.
>
>
> Source file:
>
>
> https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-go-0.6.0-candidate-1/apache-pulsar-client-go-0.6.0-src.tar.gz
>
>
> The tag to be voted upon:
>
> v0.6.0:
>
>
> https://github.com/apache/pulsar-client-go/tree/v0.6.0-candidate-1
>
>
> SHA-512 checksums:
>
>
> 29e5a91dc77ce1873d93372e9e2b1c1863f66c0babd0a6152adaa3d55f431cff1f894865db6325f6610b4340211256ead5a52d4e7611706a97fae3d9e3b99651
>  apache-pulsar-client-go-0.6.0-src.tar.gz
>


[GitHub] [pulsar-manager] frankxieke opened a new issue #404: README add enviroment failed

2021-07-22 Thread GitBox


frankxieke opened a new issue #404:
URL: https://github.com/apache/pulsar-manager/issues/404


   Thus you can type http://pulsar-standalone:8080
   
   ===
   
   
   in fact, it should be http://pulsar:8080


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




Re: [VOTE] Pulsar Client Go Release 0.6.0 Candidate 1

2021-07-22 Thread Yong Zhang
+1

- verified checksum
- run produce and consume

Regards,
Yong

On Wed, 21 Jul 2021 at 15:34, r...@apache.org 
wrote:

> Hi everyone,
>
>
> Please review and vote on the release candidate #1 for the version 0.6.0,
> as follows:
>
> [ ] +1, Approve the release
>
> [ ] -1, Do not approve the release (please provide specific comments)
>
>
> This is the first release candidate for Apache Pulsar Go client, version
> 0.6.0.
>
>
> It fixes the following issues:
>
>
> https://github.com/apache/pulsar-client-go/milestone/7?closed=1
>
>
> Pulsar Client Go's KEYS file contains PGP keys we used to sign this
> release:
>
> https://dist.apache.org/repos/dist/release/pulsar/KEYS
>
>
> Please download these packages and review this release candidate:
>
> - Review release notes
>
> - Download the source package (verify shasum, and asc) and follow the
>
> README.md to build and run the pulsar-client-go.
>
>
> The vote will be open for at least 72 hours. It is adopted by majority
> approval, with at least 3 PMC affirmative votes.
>
>
> Source file:
>
>
> https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-go-0.6.0-candidate-1/apache-pulsar-client-go-0.6.0-src.tar.gz
>
>
> The tag to be voted upon:
>
> v0.6.0:
>
>
> https://github.com/apache/pulsar-client-go/tree/v0.6.0-candidate-1
>
>
> SHA-512 checksums:
>
>
> 29e5a91dc77ce1873d93372e9e2b1c1863f66c0babd0a6152adaa3d55f431cff1f894865db6325f6610b4340211256ead5a52d4e7611706a97fae3d9e3b99651
>  apache-pulsar-client-go-0.6.0-src.tar.gz
>