Thanks, Enrico, we haven't started the branch-based test yet, so it is very
difficult to ensure that all the tests can pass on the branch we are going
to release, but I think we should start the branch-based test later and
open the current Github actions ci test on each branch, which may take some
time. at present, I think you can use the following command to build the
bin package and src package for testing.

```
mvn clean install -DskipTests
```

Thanks,
Guangning

Enrico Olivelli <eolive...@gmail.com> 于2020年4月13日周一 下午11:27写道:

> Il Lun 13 Apr 2020, 17:04 Guangning E <eguangn...@gmail.com> ha scritto:
>
> > Sorry, my key has been put here
> > https://dist.apache.org/repos/dist/dev/pulsar/KEYS. I do not seem to
> have
> > permission to put it under the folder here
> > https://dist.apache.org/repos/dist/release/pulsar/KEYS.
> >
> > About the second question, can you show me the command you used?
>
>
> Just
> mvn clean install
> Inside the untarred source tarball
>
> Enrico
>
> I want to
> > try to reproduce it locally. I am not sure whether these tests can pass
> > stably locally because these tests are not stable. but running it
> together
> > will fail, and these tests will affect each other. It is often the case
> > that running a test alone can pass, but running it together will fail,
> and
> > these tests will affect each other.
> >
> > Thanks,
> > Guangning
> >
> > Enrico Olivelli <eolive...@gmail.com> 于2020年4月13日周一 下午5:56写道:
> >
> > > I have this issue with tests: it looks like tests try to download a
> file
> > > from central.maven.org but that name does not exist
> > > FunctionCommonTest.testDownloadFile(FunctionCommonTest.java:78)
> > > the error is below, I am with JDK8 on Linux
> > >
> > > I also noticed that the provided binaries do not work out-of-the box
> with
> > > JDK14, the issue is fixed in master (-XX-AggressiveOpts does not work
> on
> > > JDK14)
> > > can you consider cherry picking that change from Sijie if you have to
> > roll
> > > out a new release ?
> > >
> > > Enrico
> > >
> > > [ERROR] Tests run: 7, Failures: 2, Errors: 0, Skipped: 2, Time elapsed:
> > > 1.845 s <<< FAILURE! - in
> > > org.apache.pulsar.functions.utils.FunctionCommonTest
> > > [ERROR]
> > > testDownloadFile(org.apache.pulsar.functions.utils.FunctionCommonTest)
> > >  Time elapsed: 0.019 s  <<< FAILURE!
> > > java.net.UnknownHostException: central.maven.org
> > > at
> > > java.net
> > .AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
> > > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> > > at java.net.Socket.connect(Socket.java:607)
> > > at java.net.Socket.connect(Socket.java:556)
> > > at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
> > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
> > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
> > > at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
> > > at sun.net.www.http.HttpClient.New(HttpClient.java:339)
> > > at sun.net.www.http.HttpClient.New(HttpClient.java:357)
> > > at
> > >
> > >
> >
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226)
> > > at
> > >
> > >
> >
> sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
> > > at
> > >
> > >
> >
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
> > > at
> > >
> > >
> >
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990)
> > > at
> > >
> > >
> >
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570)
> > > at
> > >
> > >
> >
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
> > > at java.net.URL.openStream(URL.java:1068)
> > > at
> > >
> > >
> >
> org.apache.pulsar.functions.utils.FunctionCommon.downloadFromHttpUrl(FunctionCommon.java:221)
> > > at
> > >
> > >
> >
> org.apache.pulsar.functions.utils.FunctionCommonTest.testDownloadFile(FunctionCommonTest.java:78)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> > >
> > > Il giorno lun 13 apr 2020 alle ore 11:01 Enrico Olivelli <
> > > eolive...@gmail.com> ha scritto:
> > >
> > > > Guagning
> > > > it looks like your GPG key is not here
> > > > https://dist.apache.org/repos/dist/release/pulsar/KEYS
> > > >
> > > > please add your key to the file
> > > >
> > > > Enrico
> > > >
> > > > Il giorno lun 13 apr 2020 alle ore 09:12 Guangning E <
> > > guangn...@apache.org>
> > > > ha scritto:
> > > >
> > > >> This is the third release candidate for Apache Pulsar, version
> 2.5.1.
> > > >>
> > > >> It fixes the following issues:
> > > >>
> > > >>
> > >
> >
> https://github.com/apache/pulsar/pulls?q=is%3Apr+label%3Arelease%2F2.5.1+is%3Aclosed
> > > >>
> > > >> *** Please download, test and vote on this release. This vote will
> > stay
> > > >> open
> > > >> for at least 72 hours ***
> > > >>
> > > >> Note that we are voting upon the source (tag), binaries are provided
> > for
> > > >> convenience.
> > > >>
> > > >> Source and binary files:
> > > >>
> > https://dist.apache.org/repos/dist/dev/pulsar/pulsar-2.5.1-candidate-3/
> > > >>
> > > >> SHA-1 checksums:
> > > >>
> > > >>
> > > >>
> > >
> >
> 2e76fffbe22912771cf64086750127f1b9d04099a78c5786f11d94918a1620a9a7ac29198183236a960d374ed9814f5bc6338fdce5065227800f264e61c27c55
> > > >>  ./apache-pulsar-2.5.1-bin.tar.gz
> > > >>
> > > >>
> > >
> >
> 0d934f17f12bf13f2c0888a4f59ffe467efc1a868a3bccd9f3112ec83240f468209bcca4beff95a258854d4324279ed5d8dd78c050551cbb17f1f919b4a5a10d
> > > >>  ./apache-pulsar-2.5.1-src.tar.gz
> > > >>
> > > >> Maven staging repo:
> > > >>
> > https://repository.apache.org/content/repositories/orgapachepulsar-1061
> > > >>
> > > >> The tag to be voted upon:
> > > >> v2.5.1-candidate-3 (7ff1673b960f5cf45b193ab374c1fb53513fd774)
> > > >> https://github.com/apache/pulsar/releases/tag/v2.5.1-candidate-3
> > > >>
> > > >> Pulsar's KEYS file containing PGP keys we use to sign the release:
> > > >> https://dist.apache.org/repos/dist/release/pulsar/KEYS
> > > >>
> > > >> Please download the the source package, and follow the README to
> build
> > > >> and run the Pulsar standalone service.
> > > >>
> > > >> Thanks,
> > > >> Guangning
> > > >>
> > > >
> > >
> >
>

Reply via email to