Merge pull request #7309 from kobergj/ChaseThePipelineGhost

[full-ci] Chase the pipline ghost
This commit is contained in:
kobergj
2023-09-22 11:03:05 +02:00
committed by GitHub
34 changed files with 49 additions and 1 deletions
+1 -1
View File
@@ -2020,7 +2020,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
"commands": [ "commands": [
"%s init --insecure true" % ocis_bin, "%s init --insecure true" % ocis_bin,
"cat $OCIS_CONFIG_DIR/ocis.yaml", "cat $OCIS_CONFIG_DIR/ocis.yaml",
] + (wrapper_commands if with_wrapper else ["%s server" % ocis_bin]), ] + (wrapper_commands),
"volumes": volumes, "volumes": volumes,
"depends_on": depends_on, "depends_on": depends_on,
}, },
@@ -61,6 +61,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
@@ -60,6 +60,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
+2
View File
@@ -3,6 +3,7 @@ package command
import ( import (
"context" "context"
"fmt" "fmt"
"os"
"github.com/cs3org/reva/v2/pkg/events" "github.com/cs3org/reva/v2/pkg/events"
"github.com/cs3org/reva/v2/pkg/events/stream" "github.com/cs3org/reva/v2/pkg/events/stream"
@@ -59,6 +60,7 @@ func Server(cfg *config.Config) *cli.Command {
Err(err). Err(err).
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
{ {
@@ -74,6 +74,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
@@ -61,6 +61,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
@@ -61,6 +61,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
@@ -56,6 +56,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
+2
View File
@@ -3,6 +3,7 @@ package command
import ( import (
"context" "context"
"fmt" "fmt"
"os"
"github.com/cs3org/reva/v2/pkg/events" "github.com/cs3org/reva/v2/pkg/events"
"github.com/cs3org/reva/v2/pkg/events/stream" "github.com/cs3org/reva/v2/pkg/events/stream"
@@ -100,6 +101,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
} }
+1
View File
@@ -65,6 +65,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
+1
View File
@@ -60,6 +60,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
+2
View File
@@ -3,6 +3,7 @@ package command
import ( import (
"context" "context"
"fmt" "fmt"
"os"
"github.com/oklog/run" "github.com/oklog/run"
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog" "github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
@@ -68,6 +69,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
} }
+1
View File
@@ -74,6 +74,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
+1
View File
@@ -95,6 +95,7 @@ func Server(cfg *config.Config) *cli.Command {
Err(err). Err(err).
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
} }
+1
View File
@@ -95,6 +95,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
} }
@@ -3,6 +3,7 @@ package command
import ( import (
"context" "context"
"fmt" "fmt"
"os"
"github.com/oklog/run" "github.com/oklog/run"
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog" "github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
@@ -88,6 +89,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
} }
+2
View File
@@ -4,6 +4,7 @@ import (
"context" "context"
"crypto/tls" "crypto/tls"
"fmt" "fmt"
"os"
"github.com/oklog/run" "github.com/oklog/run"
@@ -113,6 +114,7 @@ func Server(cfg *config.Config) *cli.Command {
natsServer.Shutdown() natsServer.Shutdown()
cancel() cancel()
os.Exit(1)
}) })
return gr.Run() return gr.Run()
+2
View File
@@ -3,6 +3,7 @@ package command
import ( import (
"context" "context"
"fmt" "fmt"
"os"
"github.com/cs3org/reva/v2/pkg/micro/ocdav" "github.com/cs3org/reva/v2/pkg/micro/ocdav"
"github.com/cs3org/reva/v2/pkg/sharedconf" "github.com/cs3org/reva/v2/pkg/sharedconf"
@@ -99,6 +100,7 @@ func Server(cfg *config.Config) *cli.Command {
Str("server", c.Command.Name). Str("server", c.Command.Name).
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
+2
View File
@@ -3,6 +3,7 @@ package command
import ( import (
"context" "context"
"fmt" "fmt"
"os"
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog" "github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
"github.com/owncloud/ocis/v2/ocis-pkg/version" "github.com/owncloud/ocis/v2/ocis-pkg/version"
@@ -81,6 +82,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
} }
@@ -86,6 +86,7 @@ func Server(cfg *config.Config) *cli.Command {
Err(err). Err(err).
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
} }
+2
View File
@@ -6,6 +6,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"net/http" "net/http"
"os"
"time" "time"
"github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5"
@@ -154,6 +155,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
} }
+3
View File
@@ -3,6 +3,7 @@ package command
import ( import (
"context" "context"
"fmt" "fmt"
"os"
"github.com/oklog/run" "github.com/oklog/run"
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog" "github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
@@ -75,6 +76,7 @@ func Server(cfg *config.Config) *cli.Command {
servers.Add(httpServer.Run, func(_ error) { servers.Add(httpServer.Run, func(_ error) {
logger.Info().Str("server", "http").Msg("Shutting down server") logger.Info().Str("server", "http").Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
// prepare a gRPC server and add it to the group run. // prepare a gRPC server and add it to the group run.
@@ -90,6 +92,7 @@ func Server(cfg *config.Config) *cli.Command {
servers.Add(grpcServer.Run, func(_ error) { servers.Add(grpcServer.Run, func(_ error) {
logger.Info().Str("server", "grpc").Msg("Shutting down server") logger.Info().Str("server", "grpc").Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
// prepare a debug server and add it to the group run. // prepare a debug server and add it to the group run.
+1
View File
@@ -74,6 +74,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
@@ -61,6 +61,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
@@ -61,6 +61,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
@@ -61,6 +61,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
@@ -63,6 +63,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
+2
View File
@@ -3,6 +3,7 @@ package command
import ( import (
"context" "context"
"fmt" "fmt"
"os"
"github.com/oklog/run" "github.com/oklog/run"
@@ -75,6 +76,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
} }
@@ -3,6 +3,7 @@ package command
import ( import (
"context" "context"
"fmt" "fmt"
"os"
"github.com/oklog/run" "github.com/oklog/run"
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog" "github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
@@ -73,6 +74,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
server, err := debug.Server( server, err := debug.Server(
+2
View File
@@ -3,6 +3,7 @@ package command
import ( import (
"context" "context"
"fmt" "fmt"
"os"
"github.com/cs3org/reva/v2/pkg/events" "github.com/cs3org/reva/v2/pkg/events"
"github.com/cs3org/reva/v2/pkg/events/stream" "github.com/cs3org/reva/v2/pkg/events/stream"
@@ -144,6 +145,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
} }
+1
View File
@@ -74,6 +74,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
debugServer, err := debug.Server( debugServer, err := debug.Server(
+1
View File
@@ -93,6 +93,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
} }
+2
View File
@@ -3,6 +3,7 @@ package command
import ( import (
"context" "context"
"fmt" "fmt"
"os"
"github.com/oklog/run" "github.com/oklog/run"
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog" "github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
@@ -83,6 +84,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
} }
+2
View File
@@ -3,6 +3,7 @@ package command
import ( import (
"context" "context"
"fmt" "fmt"
"os"
"github.com/oklog/run" "github.com/oklog/run"
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog" "github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
@@ -96,6 +97,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server") Msg("Shutting down server")
cancel() cancel()
os.Exit(1)
}) })
} }