[Task]: Standardize VFS driver integration tests on the shared file workflows
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- docker, java
- Ambito
- devops, testing-qa
Direzione di ricerca
Start with the shared workflows under integration-tests/vfs and the existing integration-tests/smb/main-.hwf files, then compare the named driver projects and their main-.hwf files. Run integration-tests/scripts/run-tests-docker.sh and inspect the relevant docker/integration-tests/integration-tests-.yaml healthcheck. Done means selected drivers invoke the shared operations while retaining protocol-specific workflows, metadata, services, credentials, and published reports.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What needs to happen?
#8671 introduces shared pipelines under integration-tests/vfs and runs them from integration-tests/smb against a Samba container. Those pipelines are the generic file operations a named VFS connection is expected to support:
- create a folder
- write a text file and read it back
- append a line and read both lines back
- list the folder
- copy a file
- move a file
- delete a file
- delete a folder, then create it again
- a rooted connection, where the metadata has a base folder
hop-tech-smb is the first project on that suite. This task is to run the same pipelines from the other VFS driver projects. Each operation stays its own main-*.hwf, so a failure names the operation. The driver project keeps its own metadata, environment variables, and compose service. Protocol-specific workflows stay in the driver project.
Jenkins already runs integration-tests/scripts/run-tests-docker.sh with no project filter and publishes integration-tests/**/surefire-reports/*.xml. A container-backed driver needs docker/integration-tests/integration-tests-<project>.yaml, with a healthcheck on the service Hop waits for. Projects that need real credentials stay behind disabled.txt.
Candidate plugins
These already have an integration project. Point the generic file steps at integration-tests/vfs:
- hop-tech-minio (
integration-tests/minio,main-0001-minio-file-handling). SeaweedFS, named schememinio:///. - hop-tech-sftp (
integration-tests/sftp,main-003-sftp-connection-in-regular-transforms). Keepmain-001(last-modified),main-002(SFTP Put), andmain-004(SFTP actions). The SFTP service needs a healthcheck so the nightly job cannot hang on it. - hop-tech-ftp (
integration-tests/ftp,main-003-ftp-connection-in-regular-transforms). Keepmain-001(FTP Put),main-002(FTP connection), andmain-004(FTP action round trip). FTPS is the same plugin (FtpsVfsPlugin) and has no project yet. - hop-tech-hadoop (
integration-tests/hadoop, WebHDFS text handling inmain-0001-hdfs-file-handling). Keep the Parquet, gzip, copies, and HA coverage. - hop-tech-azure (
integration-tests/azure, behinddisabled.txt).main-0003move,main-0004copy,main-0007file manipulation, andmain-0008create/fill/delete folder, forazure:///andazfs:///. Keep the Parquet and multi-account workflows. Runs when Azure credentials are present. - hop-tech-google, Google Storage (
integration-tests/gcp, behinddisabled.txt). The project is Beam and BigQuery, plusmain-0008-create-delete-fileongs://. Add the shared file operations when a service account is present, and keep Beam, BigQuery, and the format-specific output. Google Drive (GoogleDriveVfsPlugin, schemegoogledrive) is the same module and has no integration project.
These plugins have no generic file-operation project yet:
- hop-tech-aws, S3 (
S3VfsPlugin) - hop-tech-dropbox
- hop-tech-webdav, WebDAV (
webdav4) and WebDAV over HTTPS (webdav4s) - hop-tech-databricks, Databricks Volumes and workspace files
The Git VFS connection from #8663 should use the same pipelines once that plugin is on main.
Issue Priority
Priority: 3
Issue Component
Component: Integration Testing, Component: VFS
- Lingua principale
- Java
- Stelle
- 1.6k
- Fork
- 499
- Merge medio
- 1g 5h
- PR unite (30g)
- 316
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/hop
-
Beam P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
awaiting triage Hop Gui P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
apache/hop#9325 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
awaiting triage Documentation P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
awaiting triage Documentation P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
awaiting triage Documentation P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
CI: LFC/ANTLR caches still use the old lfc/ paths, so the ANTLR jar is downloaded on every runForse già presa @NicoBiernat l’ha presa oggi. Apertabug CI
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
lf-lang/reactor-uc#443 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Card-Forge/forge#13128 ·
I maintainer di solito rispondono entro 1 giorno
-
client documentation
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
ClickHouse/clickhouse-java#3469 ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno