[ https://issues.apache.org/jira/browse/HDDS-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doroszlai, Attila updated HDDS-2171: ------------------------------------ Status: Patch Available (was: Open) > 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 > Assignee: 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