[ 
https://issues.apache.org/jira/browse/HDDS-2171?focusedWorklogId=317694&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-317694
 ]

ASF GitHub Bot logged work on HDDS-2171:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Sep/19 17:28
            Start Date: 24/Sep/19 17:28
    Worklog Time Spent: 10m 
      Work Description: adoroszlai commented on pull request #1515: HDDS-2171. 
Dangling links in test report due to incompatible realpath
URL: https://github.com/apache/hadoop/pull/1515
 
 
   ## What changes were proposed in this pull request?
   
   Workaround for BusyBox's simplistic `realpath` command, which doesn't 
support `--relative-to` option.
   
   https://issues.apache.org/jira/browse/HDDS-2171
   
   ## How was this patch tested?
   
   Created local `realpath` implementation with behavior similar to BusyBox's, 
and ran `_mvn_unit_report.sh`.  Also tried it with regular `realpath`.
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 317694)
    Remaining Estimate: 0h
            Time Spent: 10m

> Dangling links in test report due to incompatible realpath
> ----------------------------------------------------------
>
>                 Key: HDDS-2171
>                 URL: https://issues.apache.org/jira/browse/HDDS-2171
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: build
>            Reporter: Doroszlai, Attila
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Test summaries point to wrong locations, eg.:
> {code:title=https://raw.githubusercontent.com/elek/ozone-ci/master/trunk/trunk-nightly-20190924-mj2km/integration/summary.md}
>  * 
> [org.apache.hadoop.ozone.scm.node.TestQueryNode](/tmp/log/trunk/trunk-nightly-20190924-mj2km/integration/workdir/hadoop-ozone/integration-test/org.apache.hadoop.ozone.scm.node.TestQueryNode.txt)
>  
> ([output](/tmp/log/trunk/trunk-nightly-20190924-mj2km/integration/workdir/hadoop-ozone/integration-test/org.apache.hadoop.ozone.scm.node.TestQueryNode-output.txt/))
> {code}
> shouldn't include {{/workdir}}, nor {{/tmp/log/}}.
> The root cause is that Busybox {{realpath}} does not accept options, rather 
> returns absolute path:
> {code:title=elek/ozone-build:20190825-1}
> $ cd /etc
> $ realpath --relative-to=$(pwd) motd
> realpath: --relative-to=/etc: No such file or directory
> /etc/motd
> {code}
> It worked previously because the docker image 
> [was|https://github.com/elek/argo-ozone/commit/bad4b6747fa06c227dfcbff1f098f8d9c8179b79]
>  based on a more complete Linux.
> {code:title=elek/ozone-build:test}
> $ cd /etc
> $ realpath --relative-to=$(pwd) motd
> motd
> {code}
> CC [~elek]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to