Skip to content

Test singlenode-ldap tests #25143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/arrow-flight-tests.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: arrow flight tests

on:
pull_request:
paths-ignore:
- 'presto-docs/**'
workflow_dispatch:
# pull_request:
# paths-ignore:
# - 'presto-docs/**'

env:
CONTINUOUS_INTEGRATION: true
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/hive-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: hive tests

on:
pull_request:
workflow_dispatch:
# pull_request:

env:
# An envar that signals to tests we are executing in the CI environment
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/kudu.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: kudu

on:
pull_request:
workflow_dispatch:
# pull_request:

env:
# An envar that signals to tests we are executing in the CI environment
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/prestocpp-linux-build-and-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ name: prestocpp-linux-build-and-unit-test

on:
workflow_dispatch:
pull_request:
paths:
- 'presto-native-execution/**'
- 'presto-native-sidecar-plugin/**'
- '.github/workflows/prestocpp-linux-build-and-unit-test.yml'
push:
branches:
- master
paths-ignore:
- 'presto-docs/**'
# pull_request:
# paths:
# - 'presto-native-execution/**'
# - 'presto-native-sidecar-plugin/**'
# - '.github/workflows/prestocpp-linux-build-and-unit-test.yml'
# push:
# branches:
# - master
# paths-ignore:
# - 'presto-docs/**'

jobs:
prestocpp-linux-build-for-test:
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/prestocpp-linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@ name: prestocpp-linux-build

on:
workflow_dispatch:
pull_request:
paths:
- 'presto-native-execution/**'
- '.github/workflows/prestocpp-linux-build.yml'
# Build also changes to files that can change the protocol and are referenced in the protocol yaml:
# protocol_core
- 'presto-spi/src/main/java/com/facebook/presto/spi/**'
- 'presto-common/src/main/java/com/facebook/presto/**'
- 'presto-main/src/main/java/com/facebook/presto/**'
- 'presto-client/src/main/java/com/facebook/presto/client/**'
- 'presto-spark-base/src/main/java/com/facebook/presto/spark/execution/**'
- 'presto-native-sidecar-plugin/src/main/java/com/facebook/presto/sidecar/nativechecker/**'
- 'presto-function-namespace-managers-common/src/main/java/com/facebook/presto/functionNamespace/**'
- 'presto-hdfs-core/src/main/java/com/facebook/presto/hive/**'
- 'presto-verifier/src/main/java/com/facebook/presto/verifier/framework/**'
# arrow-flight
- 'presto-base-arrow-flight/src/main/java/com/facebook/plugin/arrow/**'
# hive
- 'presto-hive-metastore/src/main/java/com/facebook/presto/hive/**'
- 'presto-hive-common/src/main/java/com/facebook/presto/hive/**'
- 'presto-hive/src/main/java/com/facebook/presto/hive/**'
# iceberg
- 'presto-iceberg/src/main/java/com/facebook/presto/iceberg/**'
# tpch
- 'presto-tpch/src/main/java/com/facebook/presto/tpch/**'
# pull_request:
# paths:
# - 'presto-native-execution/**'
# - '.github/workflows/prestocpp-linux-build.yml'
# # Build also changes to files that can change the protocol and are referenced in the protocol yaml:
# # protocol_core
# - 'presto-spi/src/main/java/com/facebook/presto/spi/**'
# - 'presto-common/src/main/java/com/facebook/presto/**'
# - 'presto-main/src/main/java/com/facebook/presto/**'
# - 'presto-client/src/main/java/com/facebook/presto/client/**'
# - 'presto-spark-base/src/main/java/com/facebook/presto/spark/execution/**'
# - 'presto-native-sidecar-plugin/src/main/java/com/facebook/presto/sidecar/nativechecker/**'
# - 'presto-function-namespace-managers-common/src/main/java/com/facebook/presto/functionNamespace/**'
# - 'presto-hdfs-core/src/main/java/com/facebook/presto/hive/**'
# - 'presto-verifier/src/main/java/com/facebook/presto/verifier/framework/**'
# # arrow-flight
# - 'presto-base-arrow-flight/src/main/java/com/facebook/plugin/arrow/**'
# # hive
# - 'presto-hive-metastore/src/main/java/com/facebook/presto/hive/**'
# - 'presto-hive-common/src/main/java/com/facebook/presto/hive/**'
# - 'presto-hive/src/main/java/com/facebook/presto/hive/**'
# # iceberg
# - 'presto-iceberg/src/main/java/com/facebook/presto/iceberg/**'
# # tpch
# - 'presto-tpch/src/main/java/com/facebook/presto/tpch/**'

jobs:
prestocpp-linux-build-engine:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/prestocpp-macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: prestocpp-macos-build

on:
workflow_dispatch:
pull_request:
paths:
- 'presto-native-execution/**'
- '.github/workflows/prestocpp-macos-build.yml'
# pull_request:
# paths:
# - 'presto-native-execution/**'
# - '.github/workflows/prestocpp-macos-build.yml'

jobs:
prestocpp-macos-build-engine:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/product-tests-basic-environment.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: product tests (basic)

on:
pull_request:
workflow_dispatch:
# pull_request:

env:
# An envar that signals to tests we are executing in the CI environment
Expand Down
197 changes: 99 additions & 98 deletions .github/workflows/product-tests-specific-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,71 +28,71 @@ jobs:
filters: |
codechange:
- '!presto-docs/**'
product-tests-specific-environment1:
strategy:
fail-fast: false
matrix:
java: [ 8.0.442, 17.0.13 ]
runs-on: ubuntu-latest
needs: changes
timeout-minutes: 60
concurrency:
group: ${{ github.workflow }}-product-tests-specific-environment1-${{ github.event.pull_request.number }}-${{ matrix.java }}
cancel-in-progress: true
steps:
- name: Free Disk Space
if: needs.changes.outputs.codechange == 'true'
run: |
df -h
sudo apt-get clean
rm -rf /opt/hostedtoolcache
df -h
- uses: actions/checkout@v4
if: needs.changes.outputs.codechange == 'true'
with:
show-progress: false
- uses: actions/setup-java@v4
if: needs.changes.outputs.codechange == 'true'
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Download nodejs to maven cache
if: needs.changes.outputs.codechange == 'true'
run: .github/bin/download_nodejs
- name: Maven install
if: needs.changes.outputs.codechange == 'true'
run: |
export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}"
./mvnw install ${MAVEN_FAST_INSTALL} -am -pl '!presto-docs,!presto-spark-package,!presto-spark-launcher,!presto-spark-testing,!presto-test-coverage'
- name: Product Tests Specific 1.1
if: needs.changes.outputs.codechange == 'true'
env:
OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
run: presto-product-tests/bin/run_on_docker.sh singlenode -g hdfs_no_impersonation,avro
- name: Product Tests Specific 1.2
if: needs.changes.outputs.codechange == 'true'
env:
OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
run: presto-product-tests/bin/run_on_docker.sh singlenode-kerberos-hdfs-no-impersonation -g hdfs_no_impersonation
# temporarily disable this flaky run. see issue #20388 for details
# - name: Product Tests Specific 1.3
# run: presto-product-tests/bin/run_on_docker.sh singlenode-hdfs-impersonation -g storage_formats,cli,hdfs_impersonation
- name: Product Tests Specific 1.4
if: needs.changes.outputs.codechange == 'true'
env:
OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
run: presto-product-tests/bin/run_on_docker.sh singlenode-kerberos-hdfs-impersonation -g storage_formats,cli,hdfs_impersonation,authorization,hive_file_header
- name: Product Tests Specific 1.5
if: needs.changes.outputs.codechange == 'true'
env:
OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
run: presto-product-tests/bin/run_on_docker.sh singlenode-kerberos-hdfs-impersonation-cross-realm -g storage_formats,cli,hdfs_impersonation
- name: Product Tests Specific 1.6
if: needs.changes.outputs.codechange == 'true'
env:
OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
run: presto-product-tests/bin/run_on_docker.sh multinode-tls-kerberos -g cli,group-by,join,tls
# product-tests-specific-environment1:
# strategy:
# fail-fast: false
# matrix:
# java: [ 8.0.442, 17.0.13 ]
# runs-on: ubuntu-latest
# needs: changes
# timeout-minutes: 60
# concurrency:
# group: ${{ github.workflow }}-product-tests-specific-environment1-${{ github.event.pull_request.number }}-${{ matrix.java }}
# cancel-in-progress: true
# steps:
# - name: Free Disk Space
# if: needs.changes.outputs.codechange == 'true'
# run: |
# df -h
# sudo apt-get clean
# rm -rf /opt/hostedtoolcache
# df -h
# - uses: actions/checkout@v4
# if: needs.changes.outputs.codechange == 'true'
# with:
# show-progress: false
# - uses: actions/setup-java@v4
# if: needs.changes.outputs.codechange == 'true'
# with:
# distribution: 'temurin'
# java-version: ${{ matrix.java }}
# cache: 'maven'
# - name: Download nodejs to maven cache
# if: needs.changes.outputs.codechange == 'true'
# run: .github/bin/download_nodejs
# - name: Maven install
# if: needs.changes.outputs.codechange == 'true'
# run: |
# export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}"
# ./mvnw install ${MAVEN_FAST_INSTALL} -am -pl '!presto-docs,!presto-spark-package,!presto-spark-launcher,!presto-spark-testing,!presto-test-coverage'
# - name: Product Tests Specific 1.1
# if: needs.changes.outputs.codechange == 'true'
# env:
# OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
# run: presto-product-tests/bin/run_on_docker.sh singlenode -g hdfs_no_impersonation,avro
# - name: Product Tests Specific 1.2
# if: needs.changes.outputs.codechange == 'true'
# env:
# OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
# run: presto-product-tests/bin/run_on_docker.sh singlenode-kerberos-hdfs-no-impersonation -g hdfs_no_impersonation
# # temporarily disable this flaky run. see issue #20388 for details
# # - name: Product Tests Specific 1.3
# # run: presto-product-tests/bin/run_on_docker.sh singlenode-hdfs-impersonation -g storage_formats,cli,hdfs_impersonation
# - name: Product Tests Specific 1.4
# if: needs.changes.outputs.codechange == 'true'
# env:
# OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
# run: presto-product-tests/bin/run_on_docker.sh singlenode-kerberos-hdfs-impersonation -g storage_formats,cli,hdfs_impersonation,authorization,hive_file_header
# - name: Product Tests Specific 1.5
# if: needs.changes.outputs.codechange == 'true'
# env:
# OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
# run: presto-product-tests/bin/run_on_docker.sh singlenode-kerberos-hdfs-impersonation-cross-realm -g storage_formats,cli,hdfs_impersonation
# - name: Product Tests Specific 1.6
# if: needs.changes.outputs.codechange == 'true'
# env:
# OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
# run: presto-product-tests/bin/run_on_docker.sh multinode-tls-kerberos -g cli,group-by,join,tls

product-tests-specific-environment2:
strategy:
Expand Down Expand Up @@ -131,41 +131,42 @@ jobs:
run: |
export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}"
./mvnw install ${MAVEN_FAST_INSTALL} -am -pl '!presto-docs,!presto-spark-package,!presto-spark-launcher,!presto-spark-testing,!presto-test-coverage'
# Temporarily disable till new docker image "centos7-oj8-openldap" is ready
- name: Product Tests Specific 2.1
if: needs.changes.outputs.codechange == 'true'
env:
OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
run: presto-product-tests/bin/run_on_docker.sh singlenode-ldap -g ldap -x simba_jdbc
- name: Product Tests Specific 2.2
if: needs.changes.outputs.codechange == 'true'
env:
OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
run: presto-product-tests/bin/run_on_docker.sh multinode-tls -g smoke,cli,group-by,join,tls
- name: Product Tests Specific 2.3
if: needs.changes.outputs.codechange == 'true'
env:
OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
run: presto-product-tests/bin/run_on_docker.sh singlenode-mysql -g mysql_connector,mysql
- name: Product Tests Specific 2.4
if: needs.changes.outputs.codechange == 'true'
env:
OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
run: presto-product-tests/bin/run_on_docker.sh singlenode-postgresql -g postgresql_connector
- name: Product Tests Specific 2.5
if: needs.changes.outputs.codechange == 'true'
env:
OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
run: presto-product-tests/bin/run_on_docker.sh singlenode-cassandra -g cassandra
# temporarily disable this flaky run. see issue #20388 for details
# - name: Product Tests Specific 2.6
# run: presto-product-tests/bin/run_on_docker.sh singlenode-kerberos-hdfs-impersonation-with-wire-encryption -g storage_formats,cli,hdfs_impersonation,authorization
- name: Product Tests Specific 2.7
if: needs.changes.outputs.codechange == 'true'
env:
OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
run: presto-product-tests/bin/run_on_docker.sh singlenode-kafka -g kafka
- name: Product Tests Specific 2.8
if: needs.changes.outputs.codechange == 'true'
env:
OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
run: presto-product-tests/bin/run_on_docker.sh singlenode-sqlserver -g sqlserver
# - name: Product Tests Specific 2.2
# if: needs.changes.outputs.codechange == 'true'
# env:
# OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
# run: presto-product-tests/bin/run_on_docker.sh multinode-tls -g smoke,cli,group-by,join,tls
# - name: Product Tests Specific 2.3
# if: needs.changes.outputs.codechange == 'true'
# env:
# OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
# run: presto-product-tests/bin/run_on_docker.sh singlenode-mysql -g mysql_connector,mysql
# - name: Product Tests Specific 2.4
# if: needs.changes.outputs.codechange == 'true'
# env:
# OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
# run: presto-product-tests/bin/run_on_docker.sh singlenode-postgresql -g postgresql_connector
# - name: Product Tests Specific 2.5
# if: needs.changes.outputs.codechange == 'true'
# env:
# OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
# run: presto-product-tests/bin/run_on_docker.sh singlenode-cassandra -g cassandra
# # temporarily disable this flaky run. see issue #20388 for details
# # - name: Product Tests Specific 2.6
# # run: presto-product-tests/bin/run_on_docker.sh singlenode-kerberos-hdfs-impersonation-with-wire-encryption -g storage_formats,cli,hdfs_impersonation,authorization
# - name: Product Tests Specific 2.7
# if: needs.changes.outputs.codechange == 'true'
# env:
# OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
# run: presto-product-tests/bin/run_on_docker.sh singlenode-kafka -g kafka
# - name: Product Tests Specific 2.8
# if: needs.changes.outputs.codechange == 'true'
# env:
# OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
# run: presto-product-tests/bin/run_on_docker.sh singlenode-sqlserver -g sqlserver
3 changes: 2 additions & 1 deletion .github/workflows/singlestore-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: singlestore tests

on:
pull_request:
workflow_dispatch:
# pull_request:

env:
# An envar that signals to tests we are executing in the CI environment
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/spark-integration.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: spark integration

on:
pull_request:
workflow_dispatch:
# pull_request:

env:
# An envar that signals to tests we are executing in the CI environment
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-other-modules.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: test other modules

on:
pull_request:
workflow_dispatch:
# pull_request:

env:
# An envar that signals to tests we are executing in the CI environment
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: test

on:
pull_request:
workflow_dispatch:
# pull_request:

env:
# An envar that signals to tests we are executing in the CI environment
Expand Down
Loading