1. 31 5月, 2017 5 次提交
  2. 30 5月, 2017 1 次提交
  3. 27 5月, 2017 4 次提交
  4. 26 5月, 2017 3 次提交
  5. 25 5月, 2017 10 次提交
    • J
      ICW changes for subselect_gp, gppc, and gpload. · 27d0ae5d
      Jimmy Yih 提交于
      For subselect_gp test, we were removing the distribution policy of a
      table to see if it would do a gather motion or not. Since it's
      technically a corrupted table, we should delete it after we're done
      with it. We also remove a quicklz reference that should not have been
      there.
      
      For gppc test, they were using the regression database. This made our
      gpcheckcat call at the end of ICW relatively useless since all our
      data would have been deleted due to gppc tests recreating the
      regression database.
      
      For gpload test, some generated files were previously commited. We
      should be actively cautious of this and remove them when we see them.
      27d0ae5d
    • V
      Add start/end_ignore where needed · ebc36838
      Venkatesh Raghavan 提交于
      ebc36838
    • V
      Remove disable/enable xform function · 19dd6c68
      Venkatesh Raghavan 提交于
      19dd6c68
    • V
      Rename gp_optimizer tests to gporca · b545a0c4
      Venkatesh Raghavan 提交于
      b545a0c4
    • D
      Reduce dependency on pl/perl in ICW · dfddacb7
      Daniel Gustafsson 提交于
      PL/Perl is an optional component, and the main ICW should not use
      it as it may not be present. Move the tests that seem useful to
      the plperl test suite instead and remove the ones which we have
      ample coverage for elsewhere.
      dfddacb7
    • D
      Move gpmapreduce tests from src/test/regress to gpAux · d65a54c6
      Daniel Gustafsson 提交于
      The gpmapreduce application is an optional install included via
      the --enable-mapreduce configure option. The tests were however
      still in src/test/regress and unconditionally included in the
      ICW schedule, thus causing test failures when mapreduce wasn't
      configured.
      
      Move all gpmapreduce tests to co-locate them with the mapreduce
      code and only test when configured.
      
      Also, add a dependency on Perl for gpmapreduce in autoconf since
      it's a required component.
      d65a54c6
    • C
      Combines Netbackup backup/restore test suite into main backup suite (#2497) · 18a2b39f
      Chris Hajas 提交于
      This is part of the effort to get all backup/restore tests using the
      same test suite. Since the Netbackup tests take significantly longer, we
      only run a subset of the regular test suite. We also tag scenarios to
      allow parallel runs on separate hosts in CI.
      
      This suite will take 1h, 40 mins after parallelization, down from the
      current 2h, 20 mins.
      18a2b39f
    • B
      Fix Default partition level for indexes · e0e8703e
      Bhuvnesh Chaudhary 提交于
      - Before building Index object (IMDIndex), we build LogicalIndexes
        via calling `gpdb::Plgidx(oidRel)` in which a partition tables is
        traversed and index  information (such as logicalIndexOid,
        nColumns, indexKeys, indPred, indExprs, indIsUnique, partCons,
        defaultLevels) is captured.
      - For Indexes which are available on all the partitions partCons
        and defaultLevels are NULL/empty.
      - Later in `CTranslatorRelcacheToDXL::PmdindexPartTable` to build
        Index object, we use the derived LogicalIndexes information and
        populates the array  holding the levels on which default
        partitions exists. But since defaultLevels is NIL in this case,
        pdrgpulDefaultLevels is set to empty i,e `default partitions on levels: {}`
      - This causes an issue while trying to build the propagation expression,
        as because of wrong number of default partitions on level we mark the
        scan as partial and tries to construct a test propagation expression
        instead of a const propagation expression.
      - This patch fixes the issue by marking the default partitions on
        levels for index equal to the default partitions on levels for the
        part relation if the index exists on all the parts.
      Signed-off-by: NJemish Patel <jpatel@pivotal.io>
      e0e8703e
    • N
      Clarify `make behave` behavior and remove unused call (#2490) · 97358f31
      Nadeem Ghani 提交于
      * Clarify `make behave` behavior and remove unused call
      
      * Add flags argument to pass in custom flags to behave
      
      Allows us to use more complex tag combinations for including/excluding
      scenarios. This also removes the skip_tags argument as it only worked in
      limited circumstances.
      Signed-off-by: NNadeem Ghani <nghani@pivotal.io>
      97358f31
    • C
      Fix MU_check concourse task to print failing unit test on error. (#2489) · f9ea4e79
      Chris Hajas 提交于
      Fix MU_check concourse task to print failing unit test on error.
      f9ea4e79
  6. 24 5月, 2017 5 次提交
    • N
      Fix defects in cgroup ops. · 89b66142
      Ning Yu 提交于
      This patch is to fix below defects reported by Coverity Scan.
      
      ```
      New defect(s) Reported-by: Coverity Scan
      Showing 3 of 3 defect(s)
      
      ** CID 169611:  Security best practices violations  (TOCTOU)
      /tmp/build/0e1b53a0/gpdb_src/src/backend/utils/resgroup/resgroup-ops-cgroup.c:
      272 in createDir()
      
      ________________________________________________________________________________________________________
      *** CID 169611:  Security best practices violations  (TOCTOU)
      /tmp/build/0e1b53a0/gpdb_src/src/backend/utils/resgroup/resgroup-ops-cgroup.c:
      272 in createDir()
      266
      267             buildPath(group, comp, "", path, pathsize);
      268
      269             if (access(path, F_OK))
      270             {
      271                     /* the dir is not created yet, create it */
      >>>     CID 169611:  Security best practices violations  (TOCTOU)
      >>>     Calling function "mkdir" that uses "path" after a check
      >>>     function. This can cause a time-of-check, time-of-use race
      >>>     condition.
      272                     if (mkdir(path, 0755) && errno != EEXIST)
      273                             return false;
      274             }
      275
      276             return true;
      277     }
      
      ** CID 169610:  Control flow issues  (NO_EFFECT)
      /tmp/build/0e1b53a0/gpdb_src/src/backend/utils/resgroup/resgroup-ops-cgroup.c:
      412 in writeData()
      
      ________________________________________________________________________________________________________
      *** CID 169610:  Control flow issues  (NO_EFFECT)
      /tmp/build/0e1b53a0/gpdb_src/src/backend/utils/resgroup/resgroup-ops-cgroup.c:
      412 in writeData()
      406             size_t ret = write(fd, data, datasize);
      407
      408             /* save errno before close */
      409             int err = errno;
      410             close(fd);
      411
      >>>     CID 169610:  Control flow issues  (NO_EFFECT)
      >>>     This less-than-zero comparison of an unsigned value is never
      >>>     true. "ret < 0UL".
      412             if (ret < 0)
      413                     CGROUP_ERROR("can't write data to file '%s':
      %s", path, strerror(err));
      414             if (ret != datasize)
      415                     CGROUP_ERROR("can't write all data to file
      '%s'", path);
      416     }
      417
      
      ** CID 169609:  Control flow issues  (NO_EFFECT)
      /tmp/build/0e1b53a0/gpdb_src/src/backend/utils/resgroup/resgroup-ops-cgroup.c:
      385 in readData()
      
      ________________________________________________________________________________________________________
      *** CID 169609:  Control flow issues  (NO_EFFECT)
      /tmp/build/0e1b53a0/gpdb_src/src/backend/utils/resgroup/resgroup-ops-cgroup.c:
      385 in readData()
      379             size_t ret = read(fd, data, datasize);
      380
      381             /* save errno before close() */
      382             int err = errno;
      383             close(fd);
      384
      >>>     CID 169609:  Control flow issues  (NO_EFFECT)
      >>>     This less-than-zero comparison of an unsigned value is never
      >>>     true. "ret < 0UL".
      385             if (ret < 0)
      386                     CGROUP_ERROR("can't read data from file '%s':
      %s", path, strerror(err));
      387
      388             return ret;
      389     }
      390
      ```
      89b66142
    • P
      Remove duplicate unit test in pipeline compile script · 43d3b530
      Peifeng Qiu 提交于
      Remove duplicate unittest_check_gpdb in compile_gpdb.bash, it's already run by the above "if" block when needed.
      43d3b530
    • L
      ce8ae696
    • A
      3362fb2f
    • A
      Add spaces in documentation where needed (#2482) · 5eedc6c2
      Andreas Scherbaum 提交于
      Some minor documentation fixes
      5eedc6c2
  7. 23 5月, 2017 6 次提交
  8. 22 5月, 2017 4 次提交
  9. 20 5月, 2017 2 次提交