hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HDDS-1937) Acceptance tests fail if scm webui shows invalid json
Date Sat, 24 Aug 2019 22:54:00 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 24/Aug/19 22:53
            Start Date: 24/Aug/19 22:53
    Worklog Time Spent: 10m 
      Work Description: hadoop-yetus commented on issue #1256: HDDS-1937. Acceptance tests
fail if scm webui shows invalid json
URL: https://github.com/apache/hadoop/pull/1256#issuecomment-524586378
 
 
   :broken_heart: **-1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime | Comment |
   |:----:|----------:|--------:|:--------|
   | 0 | reexec | 134 | Docker mode activated. |
   ||| _ Prechecks _ |
   | +1 | dupname | 0 | No case conflicting files found. |
   | 0 | shelldocs | 0 | Shelldocs was not available. |
   | +1 | @author | 0 | The patch does not contain any @author tags. |
   | -1 | test4tests | 0 | The patch doesn't appear to include any new or modified tests.
 Please justify why no new tests are needed for this patch. Also please list what manual steps
were performed to verify this patch. |
   ||| _ trunk Compile Tests _ |
   | +1 | mvninstall | 847 | trunk passed |
   | +1 | mvnsite | 0 | trunk passed |
   | +1 | shadedclient | 1090 | branch has no errors when building and testing our client
artifacts. |
   ||| _ Patch Compile Tests _ |
   | +1 | mvninstall | 598 | the patch passed |
   | +1 | mvnsite | 0 | the patch passed |
   | +1 | shellcheck | 1 | There were no new shellcheck issues. |
   | +1 | whitespace | 0 | The patch has no whitespace issues. |
   | +1 | shadedclient | 764 | patch has no errors when building and testing our client artifacts.
|
   ||| _ Other Tests _ |
   | +1 | unit | 128 | hadoop-hdds in the patch passed. |
   | +1 | unit | 327 | hadoop-ozone in the patch passed. |
   | +1 | asflicense | 48 | The patch does not generate ASF License warnings. |
   | | | 4171 | |
   
   
   | Subsystem | Report/Notes |
   |----------:|:-------------|
   | Docker | Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1256/6/artifact/out/Dockerfile
|
   | GITHUB PR | https://github.com/apache/hadoop/pull/1256 |
   | Optional Tests | dupname asflicense mvnsite unit shellcheck shelldocs |
   | uname | Linux 9d874a11e5ed 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019
x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | personality/hadoop.sh |
   | git revision | trunk / d2225c8 |
   |  Test Results | https://builds.apache.org/job/hadoop-multibranch/job/PR-1256/6/testReport/
|
   | Max. process+thread count | 305 (vs. ulimit of 5500) |
   | modules | C: hadoop-ozone/dist U: hadoop-ozone/dist |
   | Console output | https://builds.apache.org/job/hadoop-multibranch/job/PR-1256/6/console
|
   | versions | git=2.7.4 maven=3.3.9 shellcheck=0.4.6 |
   | Powered by | Apache Yetus 0.10.0 http://yetus.apache.org |
   
   
   This message was automatically generated.
   
   
 
----------------------------------------------------------------
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:
users@infra.apache.org


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

    Worklog Id:     (was: 300771)
    Time Spent: 2h  (was: 1h 50m)

> Acceptance tests fail if scm webui shows invalid json
> -----------------------------------------------------
>
>                 Key: HDDS-1937
>                 URL: https://issues.apache.org/jira/browse/HDDS-1937
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> Acceptance test of a nightly build is failed with the following error:
> {code}
> Creating ozonesecure_datanode_3 ... 
> 
> Creating ozonesecure_kdc_1      ... done
> 
> Creating ozonesecure_om_1       ... done
> 
> Creating ozonesecure_scm_1      ... done
> 
> Creating ozonesecure_datanode_3 ... done
> 
> Creating ozonesecure_kms_1      ... done
> 
> Creating ozonesecure_s3g_1      ... done
> 
> Creating ozonesecure_datanode_2 ... done
> 
> Creating ozonesecure_datanode_1 ... done
> parse error: Invalid numeric literal at line 2, column 0
> {code}
> https://raw.githubusercontent.com/elek/ozone-ci/master/byscane/byscane-nightly-5b87q/acceptance/output.log
> The problem is in the script which checks the number of available datanodes.
> If the HTTP endpoint of the SCM is already started BUT not ready yet it may return with
a simple HTML error message instead of json. Which can not be parsed by jq:
> In testlib.sh:
> {code}
>   37   │   if [[ "${SECURITY_ENABLED}" == 'true' ]]; then
>   38   │     docker-compose -f "${compose_file}" exec -T scm bash -c "kinit -k HTTP/scm@EXAMPL
>        │ E.COM -t /etc/security/keytabs/HTTP.keytab && curl --negotiate -u
: -s '${jmx_url}'"
>   39   │   else
>   40   │     docker-compose -f "${compose_file}" exec -T scm curl -s "${jmx_url}"
>   41   │   fi \
>   42   │     | jq -r '.beans[0].NodeCount[] | select(.key=="HEALTHY") | .value'
> {code}
> One possible fix is to adjust the error handling (set +x / set -x) per method instead
of using a generic set -x at the beginning. It would provide a more predictable behavior.
In our case count_datanode should not fail evert (as the caller method: wait_for_datanodes
can retry anyway).



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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


Mime
View raw message