incubator-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sijie Guo <guosi...@gmail.com>
Subject Re: Incubator Clutch Analysis Job failed
Date Tue, 10 Sep 2019 23:26:00 GMT
Thank you Dave.

+ dev@tamaya

After looking at the issue a bit more, it seems some how the `www` field in
tamaya's status page confused the clutch2 script.

```
          <td id="www">
            Original: <a href="https://github.com/java-config">
https://github.com/java-config</a>
            Podling: <a href="http://tamaya.incubator.apache.org/">
http://tamaya.incubator.apache.org/</a>
          </td>
```

The clutch2.py script interprets the url as `tamaya: urlWww=
https://github.com/java-config  http://tamaya.incubator.apache.org/`.
Hence the script attempts to create an url with path "/java-config
http://tamaya.incubator.apache.org/" and python throws InvalidUrlException.

I grep the output. It seems that tamaya is the only one project has this
problem. I am wondering can we do a quick fix on the tamaya status page to
bring the build back first.

Thoughts?

```
amaterasu: urlWww=http://amaterasu.incubator.apache.org/
annotator: urlWww=http://annotator.incubator.apache.org/
batchee: urlWww=http://batchee.incubator.apache.org
brpc: urlWww=http://brpc.incubator.apache.org/
crail: urlWww=http://crail.incubator.apache.org/
daffodil: urlWww=http://daffodil.incubator.apache.org/
datasketches: urlWww=http://datasketches.apache.org/
dlab: urlWww=http://dlab.incubator.apache.org/
dolphinscheduler: urlWww=http://dolphinscheduler.incubator.apache.org/
doris: urlWww=http://doris.incubator.apache.org/
druid: urlWww=https://druid.apache.org/
edgent: urlWww=http://edgent.incubator.apache.org/
flagon: urlWww=http://flagon.incubator.apache.org
gobblin: urlWww=http://incubator.apache.org/gobblin/
heron: urlWww=http://heron.incubator.apache.org/
hivemall: urlWww=http://hivemall.incubator.apache.org/
hudi: urlWww=http://hudi.incubator.apache.org/
iceberg: urlWww=http://iceberg.incubator.apache.org/
iotdb: urlWww=http://iotdb.incubator.apache.org/
livy: urlWww=https://livy.incubator.apache.org/
marvin-ai: urlWww=http://marvin.incubator.apache.org/
milagro: urlWww=http://milagro.incubator.apache.org/
mxnet: urlWww=http://mxnet.incubator.apache.org/
myriad: urlWww=http://myriad.incubator.apache.org
nemo: urlWww=http://nemo.incubator.apache.org/
omid: urlWww=http://omid.incubator.apache.org/
pagespeed: urlWww=http://pagespeed.incubator.apache.org/
pinot: urlWww=http://pinot.incubator.apache.org/
ponymail: urlWww=http://ponymail.incubator.apache.org/
ratis: urlWww=http://ratis.incubator.apache.org/
rya: urlWww=http://rya.incubator.apache.org/
s2graph: urlWww=http://s2graph.incubator.apache.org/
samoa: urlWww=http://samoa.incubator.apache.org/
sdap: urlWww=http://sdap.incubator.apache.org
shardingsphere: urlWww=https://shardingsphere.incubator.apache.org/
singa: urlWww=http://singa.incubator.apache.org/
spot: urlWww=http://spot.incubator.apache.org/
superset: urlWww=http://superset.incubator.apache.org/
tamaya: urlWww=https://github.com/java-config
http://tamaya.incubator.apache.org/
taverna: urlWww=https://taverna.incubator.apache.org/
tephra: urlWww=http://tephra.incubator.apache.org/
toree: urlWww=https://toree.apache.org
training: urlWww=http://training.incubator.apache.org/
tuweni: urlWww=http://tuweni.apache.org/
tvm: urlWww=http://tvm.incubator.apache.org/
weex: urlWww=http://weex.incubator.apache.org/
```

- Sijie

On Tue, Sep 10, 2019 at 4:13 PM Dave Fisher <wave@apache.org> wrote:

> Hi -
>
> Thanks for fixing the problem with Rya’s status page.
>
> I’m not sure what is happening with this error. It works on python 3.7.3
> but not on the build bot.
>
> If at ACNA and will talk directly with Infra and/or figure out whatever
> the error is.
>
> Thanks,
> Dave
>
> > On Sep 10, 2019, at 3:29 PM, Sijie Guo <guosijie@gmail.com> wrote:
> >
> > Hi all,
> >
> > I added an ip-clearance form to incubator website a few days ago. But it
> > didn't show up in the website. Hence I took a look at the incubator
> website
> > build jobs. It seems the "Incubator Clutch Analysis Job" keeps failing
> > since 09/01 (
> >
> https://builds.apache.org/view/H-L/view/Incubator/job/Incubator%20SVN%20Clutch%20Analysis%20-%20part%201/
> > ).
> >
> > I checkout the incubator and run `./build_local_clutch.sh` locally. It
> > seems to work. But the Jenkins job fails with following errors. Anyone
> > knows what can be the problem?
> >
> > ```
> >
> > Traceback (most recent call last):
> >  File "clutch2.py", line 1051, in <module>
> >    getUrl(url)
> >  File "clutch2.py", line 220, in getUrl
> >    resp = urllib.request.urlopen(url, timeout=5)
> >  File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
> >    return opener.open(url, data, timeout)
> >  File "/usr/lib/python3.6/urllib/request.py", line 526, in open
> >    response = self._open(req, data)
> >  File "/usr/lib/python3.6/urllib/request.py", line 544, in _open
> >    '_open', req)
> >  File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
> >    result = func(*args)
> >  File "/usr/lib/python3.6/urllib/request.py", line 1361, in https_open
> >    context=self._context, check_hostname=self._check_hostname)
> >  File "/usr/lib/python3.6/urllib/request.py", line 1318, in do_open
> >    encode_chunked=req.has_header('Transfer-encoding'))
> >  File "/usr/lib/python3.6/http/client.py", line 1254, in request
> >    self._send_request(method, url, body, headers, encode_chunked)
> >  File "/usr/lib/python3.6/http/client.py", line 1265, in _send_request
> >    self.putrequest(method, url, **skips)
> >  File "/usr/lib/python3.6/http/client.py", line 1127, in putrequest
> >    raise InvalidURL(f"URL can't contain control characters. {url!r} "
> > http.client.InvalidURL: URL can't contain control characters.
> > '/java-config  http://tamaya.incubator.apache.org' (found at least '
> > ')
> >
> > ```
> >
> > Thanks,
> > Sijie
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> For additional commands, e-mail: general-help@incubator.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message