=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== nomad-0.10.5+dfsg1/CHANGELOG.md-1072- * core: Prevent invalid job updates (eg service -> batch) [[GH-2746](https://github.com/hashicorp/nomad/issues/2746)] nomad-0.10.5+dfsg1/CHANGELOG.md:1073: * client: Lookup `ip` utility on `$PATH` [[GH-2729](https://github.com/hashicorp/nomad/issues/2729)] nomad-0.10.5+dfsg1/CHANGELOG.md-1074- * client: Add sticky bit to temp directory [[GH-2519](https://github.com/hashicorp/nomad/issues/2519)] ############################################## nomad-0.10.5+dfsg1/CHANGELOG.md-1599- alloc/logs [[GH-851](https://github.com/hashicorp/nomad/issues/851)] nomad-0.10.5+dfsg1/CHANGELOG.md:1600: * Any users of the runtime environment variable `$NOMAD_PORT_` will need to nomad-0.10.5+dfsg1/CHANGELOG.md:1601: update to the new `${NOMAD_ADDR_}` variable [[GH-704](https://github.com/hashicorp/nomad/issues/704)] nomad-0.10.5+dfsg1/CHANGELOG.md-1602- * Service names that include periods will fail validation. To fix, remove any ############################################## nomad-0.10.5+dfsg1/CHANGELOG.md-1613- will need to be updated to the new syntax which wraps the interpreted nomad-0.10.5+dfsg1/CHANGELOG.md:1614: variable in curly braces. (`$node.class` becomes `${node.class}`) [[GH-760](https://github.com/hashicorp/nomad/issues/760)] nomad-0.10.5+dfsg1/CHANGELOG.md-1615- ############################################## nomad-0.10.5+dfsg1/README.md-164-[GOPATH](https://golang.org/doc/code.html#GOPATH). After setting up Go, clone this nomad-0.10.5+dfsg1/README.md:165:repository into `$GOPATH/src/github.com/hashicorp/nomad`. Then you can nomad-0.10.5+dfsg1/README.md-166-download the required build tools such as vet, cover, godep etc by bootstrapping ############################################## nomad-0.10.5+dfsg1/README.md-188-To compile a development version of Nomad, run `make dev`. This will put the nomad-0.10.5+dfsg1/README.md:189:Nomad binary in the `bin` and `$GOPATH/bin` folders: nomad-0.10.5+dfsg1/README.md-190- ############################################## nomad-0.10.5+dfsg1/api/internal/testutil/freeport/freeport.go-68- firstPort := lowPort + block*blockSize nomad-0.10.5+dfsg1/api/internal/testutil/freeport/freeport.go:69: ln, err := net.ListenTCP("tcp", tcpAddr("127.0.0.1", firstPort)) nomad-0.10.5+dfsg1/api/internal/testutil/freeport/freeport.go-70- if err != nil { ############################################## nomad-0.10.5+dfsg1/api/internal/testutil/freeport/freeport.go-78- nomad-0.10.5+dfsg1/api/internal/testutil/freeport/freeport.go:79:func tcpAddr(ip string, port int) *net.TCPAddr { nomad-0.10.5+dfsg1/api/internal/testutil/freeport/freeport.go-80- return &net.TCPAddr{IP: net.ParseIP(ip), Port: port} ############################################## nomad-0.10.5+dfsg1/api/internal/testutil/freeport/freeport.go-127- // if the port is in use then skip it nomad-0.10.5+dfsg1/api/internal/testutil/freeport/freeport.go:128: ln, err := net.ListenTCP("tcp", tcpAddr("127.0.0.1", port)) nomad-0.10.5+dfsg1/api/internal/testutil/freeport/freeport.go-129- if err != nil { ############################################## nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go-276- logger.Trace("proxy exiting gracefully", "error", err, "dest", destAddr, nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go:277: "src_local", conn.LocalAddr(), "src_remote", conn.RemoteAddr()) nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go-278- return ############################################## nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go-296- logger.Warn("error proxying to Consul", "error", err, "dest", destAddr, nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go:297: "src_local", conn.LocalAddr(), "src_remote", conn.RemoteAddr(), nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go-298- "bytes", n, ############################################## nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go-302- logger.Trace("proxy to Consul complete", nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go:303: "src_local", conn.LocalAddr(), "src_remote", conn.RemoteAddr(), nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go-304- "bytes", n, ############################################## nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go-315- logger.Warn("error proxying from Consul", "error", err, "dest", destAddr, nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go:316: "src_local", conn.LocalAddr(), "src_remote", conn.RemoteAddr(), nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go-317- "bytes", n, ############################################## nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go-321- logger.Trace("proxy from Consul complete", nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go:322: "src_local", conn.LocalAddr(), "src_remote", conn.RemoteAddr(), nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook.go-323- "bytes", n, ############################################## nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook_test.go-34- consulConfig := &config.ConsulConfig{ nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook_test.go:35: GRPCAddr: fakeConsul.Addr().String(), nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook_test.go-36- } ############################################## nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook_test.go-204- nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook_test.go:205: addr := src.Addr() nomad-0.10.5+dfsg1/client/allocrunner/consulsock_hook_test.go-206- conn, err := net.Dial(addr.Network(), addr.String()) ############################################## nomad-0.10.5+dfsg1/client/allocrunner/taskrunner/logmon_hook_test.go-39- // Create a realistic reattach config and roundtrip it nomad-0.10.5+dfsg1/client/allocrunner/taskrunner/logmon_hook_test.go:40: addr, err := net.ResolveTCPAddr("tcp", "127.0.0.1:0") nomad-0.10.5+dfsg1/client/allocrunner/taskrunner/logmon_hook_test.go-41- require.NoError(t, err) ############################################## nomad-0.10.5+dfsg1/client/allocrunner/taskrunner/task_runner_test.go-419- "run_for": "1ms", nomad-0.10.5+dfsg1/client/allocrunner/taskrunner/task_runner_test.go:420: "stdout_string": `${node.region} ${NOMAD_META_foo} ${NOMAD_META_common_user}`, nomad-0.10.5+dfsg1/client/allocrunner/taskrunner/task_runner_test.go-421- } ############################################## nomad-0.10.5+dfsg1/client/allocwatcher/alloc_watcher.go-446- nomad-0.10.5+dfsg1/client/allocwatcher/alloc_watcher.go:447: addr, err := p.getNodeAddr(ctx, p.nodeID) nomad-0.10.5+dfsg1/client/allocwatcher/alloc_watcher.go-448- if err != nil { ############################################## nomad-0.10.5+dfsg1/client/allocwatcher/alloc_watcher.go-470-// getNodeAddr gets the node from the server with the given Node ID nomad-0.10.5+dfsg1/client/allocwatcher/alloc_watcher.go:471:func (p *remotePrevAlloc) getNodeAddr(ctx context.Context, nodeID string) (string, error) { nomad-0.10.5+dfsg1/client/allocwatcher/alloc_watcher.go-472- req := structs.NodeSpecificRequest{ ############################################## nomad-0.10.5+dfsg1/client/client.go-2601- } nomad-0.10.5+dfsg1/client/client.go:2602: addr, err := net.ResolveTCPAddr("tcp", net.JoinHostPort(addrstr, port)) nomad-0.10.5+dfsg1/client/client.go-2603- if err != nil { ############################################## nomad-0.10.5+dfsg1/client/client.go-2615- for _, p := range peers { nomad-0.10.5+dfsg1/client/client.go:2616: addr, err := net.ResolveTCPAddr("tcp", p) nomad-0.10.5+dfsg1/client/client.go-2617- if err != nil { ############################################## nomad-0.10.5+dfsg1/client/fingerprint/zstorage_windows.go-16-func getDiskFreeSpaceEx(dirName *uint16, availableFreeBytes *uint64, totalBytes *uint64, totalFreeBytes *uint64) (err error) { nomad-0.10.5+dfsg1/client/fingerprint/zstorage_windows.go:17: r1, _, e1 := syscall.Syscall6(procGetDiskFreeSpaceExW.Addr(), 4, uintptr(unsafe.Pointer(dirName)), uintptr(unsafe.Pointer(availableFreeBytes)), uintptr(unsafe.Pointer(totalBytes)), uintptr(unsafe.Pointer(totalFreeBytes)), 0, 0) nomad-0.10.5+dfsg1/client/fingerprint/zstorage_windows.go-18- if r1 == 0 { ############################################## nomad-0.10.5+dfsg1/client/fingerprint/network_test.go-153- _, ipnet2, _ := net.ParseCIDR("2001:0db8:85a3:0000:0000:8a2e:0370:7334/64") nomad-0.10.5+dfsg1/client/fingerprint/network_test.go:154: ipAddr, _ := net.ResolveIPAddr("ip6", "fe80::140c:9579:8037:f565") nomad-0.10.5+dfsg1/client/fingerprint/network_test.go-155- return []net.Addr{ipnet1, ipnet2, ipAddr}, nil ############################################## nomad-0.10.5+dfsg1/client/rpc.go-323- if err != io.EOF && !strings.Contains(err.Error(), "closed") { nomad-0.10.5+dfsg1/client/rpc.go:324: c.rpcLogger.Error("error performing RPC", "error", err, "addr", conn.RemoteAddr()) nomad-0.10.5+dfsg1/client/rpc.go-325- metrics.IncrCounter([]string{"client", "rpc", "request_error"}, 1) ############################################## nomad-0.10.5+dfsg1/client/rpc.go-341- if err != io.EOF && !strings.Contains(err.Error(), "closed") { nomad-0.10.5+dfsg1/client/rpc.go:342: c.rpcLogger.Error("error performing streaming RPC", "error", err, "addr", conn.RemoteAddr()) nomad-0.10.5+dfsg1/client/rpc.go-343- metrics.IncrCounter([]string{"client", "streaming_rpc", "request_error"}, 1) ############################################## nomad-0.10.5+dfsg1/client/rpc.go-351- if err != nil { nomad-0.10.5+dfsg1/client/rpc.go:352: c.rpcLogger.Error("streaming RPC error", "addr", conn.RemoteAddr(), "error", err) nomad-0.10.5+dfsg1/client/rpc.go-353- metrics.IncrCounter([]string{"client", "streaming_rpc", "request_error"}, 1) ############################################## nomad-0.10.5+dfsg1/client/rpc.go-385- } nomad-0.10.5+dfsg1/client/rpc.go:386: return net.ResolveTCPAddr("tcp", net.JoinHostPort(host, port)) nomad-0.10.5+dfsg1/client/rpc.go-387-} ############################################## nomad-0.10.5+dfsg1/client/taskenv/env_test.go-65- nomad-0.10.5+dfsg1/client/taskenv/env_test.go:66: input := []string{fmt.Sprintf(`"${%v}"!`, envOneKey), fmt.Sprintf("${%s}${%s}", envOneKey, envTwoKey)} nomad-0.10.5+dfsg1/client/taskenv/env_test.go-67- act := env.Build().ParseAndReplace(input) ############################################## nomad-0.10.5+dfsg1/client/taskenv/env_test.go-483- // Parse HCL containing the test key nomad-0.10.5+dfsg1/client/taskenv/env_test.go:484: hclStr := fmt.Sprintf(`"${%s}"`, k) nomad-0.10.5+dfsg1/client/taskenv/env_test.go-485- expr, diag := hclsyntax.ParseExpression([]byte(hclStr), "test.hcl", hcl.Pos{}) ############################################## nomad-0.10.5+dfsg1/command/agent/agent_endpoint_test.go-1382- nomad-0.10.5+dfsg1/command/agent/agent_endpoint_test.go:1383: path := fmt.Sprintf("%s/v1/agent/monitor?error_level=error&plain=%t", s.HTTPAddr(), !tc.JSON) nomad-0.10.5+dfsg1/command/agent/agent_endpoint_test.go-1384- req, err := http.NewRequest("GET", path, nil) ############################################## nomad-0.10.5+dfsg1/command/agent/fs_endpoint_test.go-337- path := fmt.Sprintf("%s/v1/client/fs/readat/%s?path=alloc/logs/web.stdout.0&offset=0&limit=%d", nomad-0.10.5+dfsg1/command/agent/fs_endpoint_test.go:338: s.HTTPAddr(), a.ID, len(xssLoggerMockDriverStdout)) nomad-0.10.5+dfsg1/command/agent/fs_endpoint_test.go-339- resp, err := http.DefaultClient.Get(path) ############################################## nomad-0.10.5+dfsg1/command/agent/fs_endpoint_test.go-382- nomad-0.10.5+dfsg1/command/agent/fs_endpoint_test.go:383: path := fmt.Sprintf("%s/v1/client/fs/cat/%s?path=alloc/logs/web.stdout.0", s.HTTPAddr(), a.ID) nomad-0.10.5+dfsg1/command/agent/fs_endpoint_test.go-384- resp, err := http.DefaultClient.Get(path) ############################################## nomad-0.10.5+dfsg1/command/agent/fs_endpoint_test.go-451- path := fmt.Sprintf("%s/v1/client/fs/stream/%s?path=alloc/logs/web.stdout.0&follow=false", nomad-0.10.5+dfsg1/command/agent/fs_endpoint_test.go:452: s.HTTPAddr(), a.ID) nomad-0.10.5+dfsg1/command/agent/fs_endpoint_test.go-453- resp, err := http.DefaultClient.Get(path) ############################################## nomad-0.10.5+dfsg1/command/agent/fs_endpoint_test.go-553- // type detection does not detect text/html nomad-0.10.5+dfsg1/command/agent/fs_endpoint_test.go:554: path := fmt.Sprintf("%s/v1/client/fs/logs/%s?type=stdout&task=web&plain=true", s.HTTPAddr(), a.ID) nomad-0.10.5+dfsg1/command/agent/fs_endpoint_test.go-555- resp, err := http.DefaultClient.Get(path) ############################################## nomad-0.10.5+dfsg1/command/agent/http.go-69- // Start the listener nomad-0.10.5+dfsg1/command/agent/http.go:70: lnAddr, err := net.ResolveTCPAddr("tcp", config.normalizedAddrs.HTTP) nomad-0.10.5+dfsg1/command/agent/http.go-71- if err != nil { ############################################## nomad-0.10.5+dfsg1/command/agent/http.go-107- logger: agent.httpLogger, nomad-0.10.5+dfsg1/command/agent/http.go:108: Addr: ln.Addr().String(), nomad-0.10.5+dfsg1/command/agent/http.go-109- wsUpgrader: wsUpgrader, ############################################## nomad-0.10.5+dfsg1/command/agent/http_test.go-924- conf := api.DefaultConfig() nomad-0.10.5+dfsg1/command/agent/http_test.go:925: conf.Address = a.HTTPAddr() nomad-0.10.5+dfsg1/command/agent/http_test.go-926- conf.TLSConfig.Insecure = true ############################################## nomad-0.10.5+dfsg1/command/agent/testagent.go-269- nomad-0.10.5+dfsg1/command/agent/testagent.go:270:func (a *TestAgent) HTTPAddr() string { nomad-0.10.5+dfsg1/command/agent/testagent.go-271- if a.Server == nil { ############################################## nomad-0.10.5+dfsg1/command/agent/testagent.go-282- conf := api.DefaultConfig() nomad-0.10.5+dfsg1/command/agent/testagent.go:283: conf.Address = a.HTTPAddr() nomad-0.10.5+dfsg1/command/agent/testagent.go-284- c, err := api.NewClient(conf) ############################################## nomad-0.10.5+dfsg1/command/agent/agent.go-242- // Set up the bind addresses nomad-0.10.5+dfsg1/command/agent/agent.go:243: rpcAddr, err := net.ResolveTCPAddr("tcp", agentConfig.normalizedAddrs.RPC) nomad-0.10.5+dfsg1/command/agent/agent.go-244- if err != nil { ############################################## nomad-0.10.5+dfsg1/command/agent/agent.go-246- } nomad-0.10.5+dfsg1/command/agent/agent.go:247: serfAddr, err := net.ResolveTCPAddr("tcp", agentConfig.normalizedAddrs.Serf) nomad-0.10.5+dfsg1/command/agent/agent.go-248- if err != nil { ############################################## nomad-0.10.5+dfsg1/command/agent/agent.go-256- // Set up the advertise addresses nomad-0.10.5+dfsg1/command/agent/agent.go:257: rpcAddr, err = net.ResolveTCPAddr("tcp", agentConfig.AdvertiseAddrs.RPC) nomad-0.10.5+dfsg1/command/agent/agent.go-258- if err != nil { ############################################## nomad-0.10.5+dfsg1/command/agent/agent.go-260- } nomad-0.10.5+dfsg1/command/agent/agent.go:261: serfAddr, err = net.ResolveTCPAddr("tcp", agentConfig.AdvertiseAddrs.Serf) nomad-0.10.5+dfsg1/command/agent/agent.go-262- if err != nil { ############################################## nomad-0.10.5+dfsg1/command/agent/agent.go-267- // address that all servers should be able to communicate over RPC with. nomad-0.10.5+dfsg1/command/agent/agent.go:268: serverAddr, err := net.ResolveTCPAddr("tcp", net.JoinHostPort(serfAddr.IP.String(), fmt.Sprintf("%d", rpcAddr.Port))) nomad-0.10.5+dfsg1/command/agent/agent.go-269- if err != nil { ############################################## nomad-0.10.5+dfsg1/command/agent/config_test.go-609- nomad-0.10.5+dfsg1/command/agent/config_test.go:610: if net := ln.Addr().Network(); net != "tcp" { nomad-0.10.5+dfsg1/command/agent/config_test.go-611- t.Fatalf("expected tcp, got: %q", net) ############################################## nomad-0.10.5+dfsg1/command/agent/config_test.go-613- want := fmt.Sprintf("127.0.0.1:%d", ports[0]) nomad-0.10.5+dfsg1/command/agent/config_test.go:614: if addr := ln.Addr().String(); addr != want { nomad-0.10.5+dfsg1/command/agent/config_test.go-615- t.Fatalf("expected %q, got: %q", want, addr) ############################################## nomad-0.10.5+dfsg1/command/agent/config_test.go-626- want = fmt.Sprintf("0.0.0.0:%d", ports[1]) nomad-0.10.5+dfsg1/command/agent/config_test.go:627: if addr := ln.Addr().String(); addr != want { nomad-0.10.5+dfsg1/command/agent/config_test.go-628- t.Fatalf("expected %q, got: %q", want, addr) ############################################## nomad-0.10.5+dfsg1/command/util_test.go-21- c := a.Client() nomad-0.10.5+dfsg1/command/util_test.go:22: return a, c, a.HTTPAddr() nomad-0.10.5+dfsg1/command/util_test.go-23-} ############################################## nomad-0.10.5+dfsg1/drivers/docker/driver_test.go-624- "-c", nomad-0.10.5+dfsg1/drivers/docker/driver_test.go:625: fmt.Sprintf(`sleep 1; echo -n %s > $%s/%s`, nomad-0.10.5+dfsg1/drivers/docker/driver_test.go-626- string(exp), taskenv.AllocDir, file), ############################################## nomad-0.10.5+dfsg1/drivers/docker/driver_test.go-2161- nomad-0.10.5+dfsg1/drivers/docker/driver_test.go:2162: taskCfg := newTaskConfig("", []string{"sh", "-c", `sleep 2 && x=a && while true; do x="$x$x"; done`}) nomad-0.10.5+dfsg1/drivers/docker/driver_test.go-2163- task := &drivers.TaskConfig{ ############################################## nomad-0.10.5+dfsg1/drivers/exec/driver_test.go-277- taskConfig["command"] = "/bin/sh" nomad-0.10.5+dfsg1/drivers/exec/driver_test.go:278: taskConfig["args"] = []string{"-c", fmt.Sprintf(`sleep 3600 & echo "SLEEP_PID=$!"`)} nomad-0.10.5+dfsg1/drivers/exec/driver_test.go-279- ############################################## nomad-0.10.5+dfsg1/drivers/rawexec/driver_unix_test.go-228- taskConfig["command"] = "/bin/sh" nomad-0.10.5+dfsg1/drivers/rawexec/driver_unix_test.go:229: taskConfig["args"] = []string{"-c", fmt.Sprintf(`sleep 3600 & echo "SLEEP_PID=$!"`)} nomad-0.10.5+dfsg1/drivers/rawexec/driver_unix_test.go-230- ############################################## nomad-0.10.5+dfsg1/drivers/shared/executor/plugins.go-51- case "unix", "unixgram", "unixpacket": nomad-0.10.5+dfsg1/drivers/shared/executor/plugins.go:52: addr, _ = net.ResolveUnixAddr(c.AddrNet, c.AddrName) nomad-0.10.5+dfsg1/drivers/shared/executor/plugins.go-53- case "tcp", "tcp4", "tcp6": nomad-0.10.5+dfsg1/drivers/shared/executor/plugins.go:54: addr, _ = net.ResolveTCPAddr(c.AddrNet, c.AddrName) nomad-0.10.5+dfsg1/drivers/shared/executor/plugins.go-55- } ############################################## nomad-0.10.5+dfsg1/e2e/README.md-14- nomad-0.10.5+dfsg1/e2e/README.md:15:When making local changes, use `./bin/update $(which nomad) /usr/local/bin/nomad` nomad-0.10.5+dfsg1/e2e/README.md-16-and `./bin/run sudo systemctl restart nomad` to destructively modify the ############################################## nomad-0.10.5+dfsg1/e2e/execagent/execagent.go-252-func getFreePort() (int, error) { nomad-0.10.5+dfsg1/e2e/execagent/execagent.go:253: addr, err := net.ResolveTCPAddr("tcp", "localhost:0") nomad-0.10.5+dfsg1/e2e/execagent/execagent.go-254- if err != nil { ############################################## nomad-0.10.5+dfsg1/e2e/execagent/execagent.go-262- defer l.Close() nomad-0.10.5+dfsg1/e2e/execagent/execagent.go:263: return l.Addr().(*net.TCPAddr).Port, nil nomad-0.10.5+dfsg1/e2e/execagent/execagent.go-264-} ############################################## nomad-0.10.5+dfsg1/e2e/rescheduling/input/reschedule_success.hcl-12- command = "bash" nomad-0.10.5+dfsg1/e2e/rescheduling/input/reschedule_success.hcl:13: args = ["-c", "a=`cksum <<< \"${NOMAD_ALLOC_ID}\"| cut -d ' ' -f1`; if ! (( a % 2 )); then sleep 5000; else exit -1; fi"] nomad-0.10.5+dfsg1/e2e/rescheduling/input/reschedule_success.hcl-14- } ############################################## nomad-0.10.5+dfsg1/e2e/terraform/README.md-43- nomad-0.10.5+dfsg1/e2e/terraform/README.md:44:- `$(terraform output environment)` will set your current shell's nomad-0.10.5+dfsg1/e2e/terraform/README.md-45- `NOMAD_ADDR` and `CONSUL_HTTP_ADDR` to point to one of the cluster's ############################################## nomad-0.10.5+dfsg1/e2e/terraform/packer/windows/setupwinrm.ps1-36-cmd.exe /c winrm set "winrm/config/service/auth" '@{CredSSP="true"}' nomad-0.10.5+dfsg1/e2e/terraform/packer/windows/setupwinrm.ps1:37:cmd.exe /c winrm set "winrm/config/listener?Address=*+Transport=HTTPS" "@{Port=`"5986`";Hostname=`"packer`";CertificateThumbprint=`"$($Cert.Thumbprint)`"}" nomad-0.10.5+dfsg1/e2e/terraform/packer/windows/setupwinrm.ps1-38-cmd.exe /c netsh advfirewall firewall set rule group="remote administration" new enable=yes ############################################## nomad-0.10.5+dfsg1/e2e/upgrades/kill_node.sh-9-echo "Killing $CONFIG" nomad-0.10.5+dfsg1/e2e/upgrades/kill_node.sh:10:pid=`ps wwwaux | grep nomad | grep "$CONFIG.hcl" | awk 'BEGIN { FS = " " } ; { print $2 }'` nomad-0.10.5+dfsg1/e2e/upgrades/kill_node.sh-11-echo "killing pid $pid" ############################################## nomad-0.10.5+dfsg1/e2e/upgrades/run_upgrade_unsafe.sh-13-while true; do nomad-0.10.5+dfsg1/e2e/upgrades/run_upgrade_unsafe.sh:14: n=`"$v1" operator raft list-peers | grep -c '\bserver[1-3]\b'` nomad-0.10.5+dfsg1/e2e/upgrades/run_upgrade_unsafe.sh-15- [ "$n" = 3 ] && break ############################################## nomad-0.10.5+dfsg1/helper/args/args.go-5-var ( nomad-0.10.5+dfsg1/helper/args/args.go:6: envRe = regexp.MustCompile(`\${[a-zA-Z0-9_\-\.]+}`) nomad-0.10.5+dfsg1/helper/args/args.go-7-) ############################################## nomad-0.10.5+dfsg1/helper/args/args_test.go-39-func TestArgs_ReplaceEnv_Valid(t *testing.T) { nomad-0.10.5+dfsg1/helper/args/args_test.go:40: input := fmt.Sprintf(`"${%v}"!`, ipKey) nomad-0.10.5+dfsg1/helper/args/args_test.go-41- exp := fmt.Sprintf("\"%s\"!", ipVal) ############################################## nomad-0.10.5+dfsg1/helper/args/args_test.go-49-func TestArgs_ReplaceEnv_Period(t *testing.T) { nomad-0.10.5+dfsg1/helper/args/args_test.go:50: input := fmt.Sprintf(`"${%v}"!`, periodKey) nomad-0.10.5+dfsg1/helper/args/args_test.go-51- exp := fmt.Sprintf("\"%s\"!", periodVal) ############################################## nomad-0.10.5+dfsg1/helper/args/args_test.go-59-func TestArgs_ReplaceEnv_Dash(t *testing.T) { nomad-0.10.5+dfsg1/helper/args/args_test.go:60: input := fmt.Sprintf(`"${%v}"!`, dashKey) nomad-0.10.5+dfsg1/helper/args/args_test.go-61- exp := fmt.Sprintf("\"%s\"!", dashVal) ############################################## nomad-0.10.5+dfsg1/helper/freeport/freeport.go-185- firstPort := lowPort + block*blockSize nomad-0.10.5+dfsg1/helper/freeport/freeport.go:186: ln, err := net.ListenTCP("tcp", tcpAddr("127.0.0.1", firstPort)) nomad-0.10.5+dfsg1/helper/freeport/freeport.go-187- if err != nil { ############################################## nomad-0.10.5+dfsg1/helper/freeport/freeport.go-268-func isPortInUse(port int) bool { nomad-0.10.5+dfsg1/helper/freeport/freeport.go:269: ln, err := net.ListenTCP("tcp", tcpAddr("127.0.0.1", port)) nomad-0.10.5+dfsg1/helper/freeport/freeport.go-270- if err != nil { ############################################## nomad-0.10.5+dfsg1/helper/freeport/freeport.go-276- nomad-0.10.5+dfsg1/helper/freeport/freeport.go:277:func tcpAddr(ip string, port int) *net.TCPAddr { nomad-0.10.5+dfsg1/helper/freeport/freeport.go-278- return &net.TCPAddr{IP: net.ParseIP(ip), Port: port} ############################################## nomad-0.10.5+dfsg1/helper/freeport/freeport_test.go-157- func() { nomad-0.10.5+dfsg1/helper/freeport/freeport_test.go:158: leakyListener, err := net.ListenTCP("tcp", tcpAddr("127.0.0.1", leakedPort)) nomad-0.10.5+dfsg1/helper/freeport/freeport_test.go-159- if err != nil { ############################################## nomad-0.10.5+dfsg1/helper/freeport/freeport_test.go-238- for _, port := range allPorts { nomad-0.10.5+dfsg1/helper/freeport/freeport_test.go:239: ln, err := net.ListenTCP("tcp", tcpAddr("127.0.0.1", port)) nomad-0.10.5+dfsg1/helper/freeport/freeport_test.go-240- if err != nil { ############################################## nomad-0.10.5+dfsg1/helper/pluginutils/hclutils/util_test.go-492- "string field", nomad-0.10.5+dfsg1/helper/pluginutils/hclutils/util_test.go:493: `config { string_field = "${MYENV}" }`, nomad-0.10.5+dfsg1/helper/pluginutils/hclutils/util_test.go-494- }, ############################################## nomad-0.10.5+dfsg1/helper/pluginutils/hclutils/util_test.go-496- "map_field", nomad-0.10.5+dfsg1/helper/pluginutils/hclutils/util_test.go:497: `config { map_field { key = "${MYENV}" }}`, nomad-0.10.5+dfsg1/helper/pluginutils/hclutils/util_test.go-498- }, ############################################## nomad-0.10.5+dfsg1/helper/pluginutils/hclutils/util_test.go-500- "list_field", nomad-0.10.5+dfsg1/helper/pluginutils/hclutils/util_test.go:501: `config { list_field = ["${MYENV}"]}`, nomad-0.10.5+dfsg1/helper/pluginutils/hclutils/util_test.go-502- }, ############################################## nomad-0.10.5+dfsg1/helper/pluginutils/hclutils/util_test.go-504- "map_list_field", nomad-0.10.5+dfsg1/helper/pluginutils/hclutils/util_test.go:505: `config { map_list_field { key = "${MYENV}"}}`, nomad-0.10.5+dfsg1/helper/pluginutils/hclutils/util_test.go-506- }, ############################################## nomad-0.10.5+dfsg1/helper/pool/pool_test.go-28- addrStr := fmt.Sprintf("127.0.0.1:%d", ports[0]) nomad-0.10.5+dfsg1/helper/pool/pool_test.go:29: addr, err := net.ResolveTCPAddr("tcp", addrStr) nomad-0.10.5+dfsg1/helper/pool/pool_test.go-30- require.Nil(err) ############################################## nomad-0.10.5+dfsg1/nomad/client_rpc.go-85- for _, c := range currentConns { nomad-0.10.5+dfsg1/nomad/client_rpc.go:86: if c.Ctx.Conn.LocalAddr().String() == ctx.Conn.LocalAddr().String() && nomad-0.10.5+dfsg1/nomad/client_rpc.go:87: c.Ctx.Conn.RemoteAddr().String() == ctx.Conn.RemoteAddr().String() { nomad-0.10.5+dfsg1/nomad/client_rpc.go-88- c.Established = time.Now() ############################################## nomad-0.10.5+dfsg1/nomad/client_rpc.go-120- for i, conn := range conns { nomad-0.10.5+dfsg1/nomad/client_rpc.go:121: if conn.Ctx.Conn.LocalAddr().String() == ctx.Conn.LocalAddr().String() && nomad-0.10.5+dfsg1/nomad/client_rpc.go:122: conn.Ctx.Conn.RemoteAddr().String() == ctx.Conn.RemoteAddr().String() { nomad-0.10.5+dfsg1/nomad/client_rpc.go-123- ############################################## nomad-0.10.5+dfsg1/nomad/raft_rpc.go-98-// Addr is used to return the address of the listener nomad-0.10.5+dfsg1/nomad/raft_rpc.go:99:func (l *RaftLayer) Addr() net.Addr { nomad-0.10.5+dfsg1/nomad/raft_rpc.go-100- return l.addr ############################################## nomad-0.10.5+dfsg1/nomad/rpc.go-147- r.logger.Error("rejecting client for exceeding maximum RPC connections", nomad-0.10.5+dfsg1/nomad/rpc.go:148: "remote_addr", conn.RemoteAddr(), "limit", r.connLimit) nomad-0.10.5+dfsg1/nomad/rpc.go-149- conn.Close() ############################################## nomad-0.10.5+dfsg1/nomad/rpc.go-227- if !r.config.TLSConfig.RPCUpgradeMode { nomad-0.10.5+dfsg1/nomad/rpc.go:228: r.logger.Warn("non-TLS connection attempted with RequireTLS set", "remote_addr", conn.RemoteAddr()) nomad-0.10.5+dfsg1/nomad/rpc.go-229- conn.Close() ############################################## nomad-0.10.5+dfsg1/nomad/rpc.go-261- if rpcCtx.TLS { nomad-0.10.5+dfsg1/nomad/rpc.go:262: r.logger.Error("TLS connection attempting to establish inner TLS connection", "remote_addr", conn.RemoteAddr()) nomad-0.10.5+dfsg1/nomad/rpc.go-263- conn.Close() ############################################## nomad-0.10.5+dfsg1/nomad/rpc.go-285- if err := tlsConn.Handshake(); err != nil { nomad-0.10.5+dfsg1/nomad/rpc.go:286: r.logger.Warn("failed TLS handshake", "remote_addr", tlsConn.RemoteAddr(), "error", err) nomad-0.10.5+dfsg1/nomad/rpc.go-287- conn.Close() ############################################## nomad-0.10.5+dfsg1/nomad/rpc.go-314- r.logger.Error("rejecting client for exceeding maximum streaming RPC connections", nomad-0.10.5+dfsg1/nomad/rpc.go:315: "remote_addr", conn.RemoteAddr(), "stream_limit", r.streamLimit) nomad-0.10.5+dfsg1/nomad/rpc.go-316- conn.Close() ############################################## nomad-0.10.5+dfsg1/nomad/server.go-667- nomad-0.10.5+dfsg1/nomad/server.go:668: addr := s.raftTransport.LocalAddr() nomad-0.10.5+dfsg1/nomad/server.go-669- ############################################## nomad-0.10.5+dfsg1/nomad/server.go-1038- } else { nomad-0.10.5+dfsg1/nomad/server.go:1039: s.clientRpcAdvertise = s.rpcListener.Addr() nomad-0.10.5+dfsg1/nomad/server.go-1040- } ############################################## nomad-0.10.5+dfsg1/nomad/server.go-1062- addr := net.JoinHostPort(serfIP, fmt.Sprintf("%d", clientAddr.Port)) nomad-0.10.5+dfsg1/nomad/server.go:1063: resolved, err := net.ResolveTCPAddr("tcp", addr) nomad-0.10.5+dfsg1/nomad/server.go-1064- if err != nil { ############################################## nomad-0.10.5+dfsg1/nomad/server.go-1185- // address of the transport. Raft protocol 3 uses permanent ids. nomad-0.10.5+dfsg1/nomad/server.go:1186: s.config.RaftConfig.LocalID = raft.ServerID(trans.LocalAddr()) nomad-0.10.5+dfsg1/nomad/server.go-1187- if s.config.RaftConfig.ProtocolVersion >= 3 { ############################################## nomad-0.10.5+dfsg1/nomad/server.go-1295- ID: s.config.RaftConfig.LocalID, nomad-0.10.5+dfsg1/nomad/server.go:1296: Address: trans.LocalAddr(), nomad-0.10.5+dfsg1/nomad/server.go-1297- }, ############################################## nomad-0.10.5+dfsg1/nomad/node_endpoint_test.go-835- advAddr := "127.0.1.1:1234" nomad-0.10.5+dfsg1/nomad/node_endpoint_test.go:836: adv, err := net.ResolveTCPAddr("tcp", advAddr) nomad-0.10.5+dfsg1/nomad/node_endpoint_test.go-837- require.Nil(err) ############################################## nomad-0.10.5+dfsg1/nomad/client_rpc_test.go-25- nomad-0.10.5+dfsg1/nomad/client_rpc_test.go:26:func (n namedConnWrapper) LocalAddr() net.Addr { nomad-0.10.5+dfsg1/nomad/client_rpc_test.go:27: return namedAddr(n.name) nomad-0.10.5+dfsg1/nomad/client_rpc_test.go-28-} ############################################## nomad-0.10.5+dfsg1/nomad/client_rpc_test.go-66- require.True(ok) nomad-0.10.5+dfsg1/nomad/client_rpc_test.go:67: require.Equal(state.Ctx.Conn.LocalAddr().String(), w2.name) nomad-0.10.5+dfsg1/nomad/client_rpc_test.go-68- ############################################## nomad-0.10.5+dfsg1/nomad/client_rpc_test.go-76- require.True(ok) nomad-0.10.5+dfsg1/nomad/client_rpc_test.go:77: require.Equal(state.Ctx.Conn.LocalAddr().String(), w2.name) nomad-0.10.5+dfsg1/nomad/client_rpc_test.go-78- ############################################## nomad-0.10.5+dfsg1/plugins/drivers/proto/driver.pb.go-2696- nomad-0.10.5+dfsg1/plugins/drivers/proto/driver.pb.go:2697:func (m *NetworkOverride) GetAddr() string { nomad-0.10.5+dfsg1/plugins/drivers/proto/driver.pb.go-2698- if m != nil { ############################################## nomad-0.10.5+dfsg1/plugins/drivers/testutils/exec_testing.go-169- w := execTask(t, driver, taskID, nomad-0.10.5+dfsg1/plugins/drivers/testutils/exec_testing.go:170: fmt.Sprintf(`FILE=$(mktemp); echo "$FILE"; echo %q >> "${FILE}"`, text), nomad-0.10.5+dfsg1/plugins/drivers/testutils/exec_testing.go-171- false, "") ############################################## nomad-0.10.5+dfsg1/plugins/shared/structs/plugin_reattach_config.go-32- case "tcp", "tcp4", "tcp6": nomad-0.10.5+dfsg1/plugins/shared/structs/plugin_reattach_config.go:33: addr, err := net.ResolveTCPAddr(rc.Network, rc.Addr) nomad-0.10.5+dfsg1/plugins/shared/structs/plugin_reattach_config.go-34- if err != nil { ############################################## nomad-0.10.5+dfsg1/plugins/shared/structs/plugin_reattach_config.go-38- case "udp", "udp4", "udp6": nomad-0.10.5+dfsg1/plugins/shared/structs/plugin_reattach_config.go:39: addr, err := net.ResolveUDPAddr(rc.Network, rc.Addr) nomad-0.10.5+dfsg1/plugins/shared/structs/plugin_reattach_config.go-40- if err != nil { ############################################## nomad-0.10.5+dfsg1/plugins/shared/structs/plugin_reattach_config.go-44- case "unix", "unixgram", "unixpacket": nomad-0.10.5+dfsg1/plugins/shared/structs/plugin_reattach_config.go:45: addr, err := net.ResolveUnixAddr(rc.Network, rc.Addr) nomad-0.10.5+dfsg1/plugins/shared/structs/plugin_reattach_config.go-46- if err != nil { ############################################## nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-13-const HOST = process.env.EMBER_HOST || "http://localhost:4200"; nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js:14:console.log(`Using host ${HOST}...`); nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-15- ############################################## nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-41- try { nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js:42: await page.goto(`${HOST}/ui/`); nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-43- } catch (err) { ############################################## nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-124- for (let i = 1; i <= allocCount; i++) { nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js:125: await click(page, `.allocation-row:nth-of-type(${i}) a.is-primary`); nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js:126: await capture(page, `allocation-${i}`); nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-127- await page.goBack(); ############################################## nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-142- for (let i = 1; i <= clientCount; i++) { nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js:143: await click(page, `.client-node-row:nth-of-type(${i})`); nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js:144: await capture(page, `client-detail-${i}`); nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-145- await page.goBack(); ############################################## nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-157- nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js:158: console.log(`All done! ${humanDuration(Date.now() - startTime)}`); nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-159- process.exit(); ############################################## nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-170- for await (let url of watchURL(page)) { nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js:171: console.log(`=> ${url}`); nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-172- } ############################################## nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-179- nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js:180: const fs = s < 10 ? `0${s}` : `${s}`; nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js:181: const fms = ms < 10 ? `00${ms}` : ms < 100 ? `0${ms}` : `${ms}`; nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-182- nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js:183: if (m) return `${m}m ${fs}s ${fms}ms`; nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js:184: else if (s) return `${fs}s ${fms}ms`; nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js:185: return `${fms}ms`; nomad-0.10.5+dfsg1/scripts/screenshots/src/index.js-186-} ############################################## nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js-7-async function capture(page, name, options = {}) { nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js:8: console.log(`Capturing ${name}`); nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js-9- const dir = process.env.SCREENSHOTS_DIR || "screenshots"; nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js-10- await page.screenshot( nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js:11: Object.assign({ path: `${dir}/${name}.png`, fullPage: true }, options) nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js-12- ); ############################################## nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js-56- nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js:57: await clickX(page, `//tr[contains(@class, "job-row")][${jobIndex}]`); nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js-58-} ############################################## nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js-69- page, nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js:70: `//div[contains(@class, "is-subnav")]//ul//li[${tabIndex}]//a` nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js-71- ); ############################################## nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js-76- page, nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js:77: `//div[contains(@class, "page-column is-left")]//a[contains(text(), "${label}")]` nomad-0.10.5+dfsg1/scripts/screenshots/src/utils.js-78- ); ############################################## nomad-0.10.5+dfsg1/terraform/Vagrantfile-44- ## Docker nomad-0.10.5+dfsg1/terraform/Vagrantfile:45: echo deb https://apt.dockerproject.org/repo ubuntu-`lsb_release -c | awk '{print $2}'` main | sudo tee /etc/apt/sources.list.d/docker.list nomad-0.10.5+dfsg1/terraform/Vagrantfile-46- sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D ############################################## nomad-0.10.5+dfsg1/terraform/shared/scripts/client.sh-18-# IP_ADDRESS="$(/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')" nomad-0.10.5+dfsg1/terraform/shared/scripts/client.sh:19:DOCKER_BRIDGE_IP_ADDRESS=(`ifconfig docker0 2>/dev/null|awk '/inet addr:/ {print $2}'|sed 's/addr://'`) nomad-0.10.5+dfsg1/terraform/shared/scripts/client.sh-20-CLOUD=$1 ############################################## nomad-0.10.5+dfsg1/terraform/shared/scripts/client.sh-36-## Replace existing Nomad binary if remote file exists nomad-0.10.5+dfsg1/terraform/shared/scripts/client.sh:37:if [[ `wget -S --spider $NOMAD_BINARY 2>&1 | grep 'HTTP/1.1 200 OK'` ]]; then nomad-0.10.5+dfsg1/terraform/shared/scripts/client.sh-38- curl -L $NOMAD_BINARY > nomad.zip ############################################## nomad-0.10.5+dfsg1/terraform/shared/scripts/server.sh-19-# IP_ADDRESS="$(/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')" nomad-0.10.5+dfsg1/terraform/shared/scripts/server.sh:20:DOCKER_BRIDGE_IP_ADDRESS=(`ifconfig docker0 2>/dev/null|awk '/inet addr:/ {print $2}'|sed 's/addr://'`) nomad-0.10.5+dfsg1/terraform/shared/scripts/server.sh-21-CLOUD=$1 ############################################## nomad-0.10.5+dfsg1/terraform/shared/scripts/server.sh-49-## Replace existing Nomad binary if remote file exists nomad-0.10.5+dfsg1/terraform/shared/scripts/server.sh:50:if [[ `wget -S --spider $NOMAD_BINARY 2>&1 | grep 'HTTP/1.1 200 OK'` ]]; then nomad-0.10.5+dfsg1/terraform/shared/scripts/server.sh-51- curl -L $NOMAD_BINARY > nomad.zip ############################################## nomad-0.10.5+dfsg1/ui/app/adapters/allocation.js-7- restart(allocation, taskName) { nomad-0.10.5+dfsg1/ui/app/adapters/allocation.js:8: const prefix = `${this.host || '/'}${this.urlPrefix()}`; nomad-0.10.5+dfsg1/ui/app/adapters/allocation.js:9: const url = `${prefix}/client/allocation/${allocation.id}/restart`; nomad-0.10.5+dfsg1/ui/app/adapters/allocation.js-10- return this.ajax(url, 'PUT', { ############################################## nomad-0.10.5+dfsg1/ui/app/adapters/application.js-66- .peekAll(relationshipType) nomad-0.10.5+dfsg1/ui/app/adapters/application.js:67: .filter(record => record.get(`${inverse.name}.id`) === snapshot.id) nomad-0.10.5+dfsg1/ui/app/adapters/application.js-68- .forEach(record => { ############################################## nomad-0.10.5+dfsg1/ui/app/adapters/deployment.js-21- const idPart = pathParts.pop(); nomad-0.10.5+dfsg1/ui/app/adapters/deployment.js:22: let newUrl = `${pathParts.join('/')}${extension}/${idPart}`; nomad-0.10.5+dfsg1/ui/app/adapters/deployment.js-23- nomad-0.10.5+dfsg1/ui/app/adapters/deployment.js-24- if (params) { nomad-0.10.5+dfsg1/ui/app/adapters/deployment.js:25: newUrl += `?${params}`; nomad-0.10.5+dfsg1/ui/app/adapters/deployment.js-26- } ############################################## nomad-0.10.5+dfsg1/ui/app/adapters/job-summary.js-7- if (namespace && namespace !== 'default') { nomad-0.10.5+dfsg1/ui/app/adapters/job-summary.js:8: url += `?namespace=${namespace}`; nomad-0.10.5+dfsg1/ui/app/adapters/job-summary.js-9- } ############################################## nomad-0.10.5+dfsg1/ui/app/adapters/job.js-118- if (namespace && namespace !== 'default') { nomad-0.10.5+dfsg1/ui/app/adapters/job.js:119: url += `?namespace=${namespace}`; nomad-0.10.5+dfsg1/ui/app/adapters/job.js-120- } ############################################## nomad-0.10.5+dfsg1/ui/app/adapters/task-state.js-8- return this.token nomad-0.10.5+dfsg1/ui/app/adapters/task-state.js:9: .authorizedRequest(`/v1/client/fs/ls/${model.allocation.id}?path=${encodeURIComponent(path)}`) nomad-0.10.5+dfsg1/ui/app/adapters/task-state.js-10- .then(handleFSResponse); ############################################## nomad-0.10.5+dfsg1/ui/app/adapters/task-state.js-15- .authorizedRequest( nomad-0.10.5+dfsg1/ui/app/adapters/task-state.js:16: `/v1/client/fs/stat/${model.allocation.id}?path=${encodeURIComponent(path)}` nomad-0.10.5+dfsg1/ui/app/adapters/task-state.js-17- ) ############################################## nomad-0.10.5+dfsg1/ui/app/adapters/token.js-9- findSelf() { nomad-0.10.5+dfsg1/ui/app/adapters/token.js:10: return this.ajax(`${this.buildURL()}/token/self`, 'GET').then(token => { nomad-0.10.5+dfsg1/ui/app/adapters/token.js-11- const store = this.store; ############################################## nomad-0.10.5+dfsg1/ui/app/adapters/watchable.js-69- throw new Error( nomad-0.10.5+dfsg1/ui/app/adapters/watchable.js:70: `${relationship.key} must be a belongsTo or hasMany, instead it was ${relationship.kind}` nomad-0.10.5+dfsg1/ui/app/adapters/watchable.js-71- ); ############################################## nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js-46- const chart = d3.select(this.$('svg')[0]); nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js:47: const maskId = `dist-mask-${guidFor(this)}`; nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js-48- this.setProperties({ chart, maskId }); ############################################## nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js-111- slices.attr('class', d => { nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js:112: const className = d.className || `slice-${_data.indexOf(d)}` nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js-113- const activeDatum = this.activeDatum; ############################################## nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js-126- nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js:127: return `${width * d.percent - modifier}px`; nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js-128- }; nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js:129: const setOffset = d => `${width * d.offset + (d.index === 0 ? 0 : 1)}px`; nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js-130- ############################################## nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js-151- .attr('y', () => isNarrow ? '50%' : 0) nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js:152: .attr('clip-path', `url(#${this.maskId})`) nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js-153- .attr('height', () => isNarrow ? '6px' : '100%') ############################################## nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js-155- .merge(layers) nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js:156: .attr('class', (d, i) => `bar layer-${i}`) nomad-0.10.5+dfsg1/ui/app/components/distribution-bar.js-157- .transition() ############################################## nomad-0.10.5+dfsg1/ui/app/components/fs-breadcrumbs.js-22- const lastBreadcrumb = breadcrumbs[index - 1]; nomad-0.10.5+dfsg1/ui/app/components/fs-breadcrumbs.js:23: breadcrumbPath = `${lastBreadcrumb.path}/${pathSegment}`; nomad-0.10.5+dfsg1/ui/app/components/fs-breadcrumbs.js-24- } else { ############################################## nomad-0.10.5+dfsg1/ui/app/components/fs-directory-entry.js-14- } else { nomad-0.10.5+dfsg1/ui/app/components/fs-directory-entry.js:15: return `${pathWithNoLeadingSlash}/${name}`; nomad-0.10.5+dfsg1/ui/app/components/fs-directory-entry.js-16- } ############################################## nomad-0.10.5+dfsg1/ui/app/components/job-editor.js-23- nomad-0.10.5+dfsg1/ui/app/components/job-editor.js:24: assert(`context must be one of: ${allowedValues.join(', ')}`, allowedValues.includes(value)); nomad-0.10.5+dfsg1/ui/app/components/job-editor.js-25- ############################################## nomad-0.10.5+dfsg1/ui/app/components/line-chart.js-51- fillId: computed(function() { nomad-0.10.5+dfsg1/ui/app/components/line-chart.js:52: return `line-chart-fill-${guidFor(this)}`; nomad-0.10.5+dfsg1/ui/app/components/line-chart.js-53- }), ############################################## nomad-0.10.5+dfsg1/ui/app/components/line-chart.js-55- maskId: computed(function() { nomad-0.10.5+dfsg1/ui/app/components/line-chart.js:56: return `line-chart-mask-${guidFor(this)}`; nomad-0.10.5+dfsg1/ui/app/components/line-chart.js-57- }), ############################################## nomad-0.10.5+dfsg1/ui/app/components/list-accordion.js-16- const key = this.key; nomad-0.10.5+dfsg1/ui/app/components/list-accordion.js:17: const deepKey = `item.${key}`; nomad-0.10.5+dfsg1/ui/app/components/list-accordion.js-18- const startExpanded = this.startExpanded; ############################################## nomad-0.10.5+dfsg1/ui/app/components/multi-select-dropdown.js-56- const optionsId = this.element.querySelector('.dropdown-trigger').getAttribute('aria-owns'); nomad-0.10.5+dfsg1/ui/app/components/multi-select-dropdown.js:57: const firstElement = document.querySelector(`#${optionsId} .dropdown-option`); nomad-0.10.5+dfsg1/ui/app/components/multi-select-dropdown.js-58- ############################################## nomad-0.10.5+dfsg1/ui/app/components/popover-menu.js-46- const optionsId = this.element.querySelector('.popover-trigger').getAttribute('aria-owns'); nomad-0.10.5+dfsg1/ui/app/components/popover-menu.js:47: const popoverContentEl = document.querySelector(`#${optionsId}`); nomad-0.10.5+dfsg1/ui/app/components/popover-menu.js-48- const firstFocusableElement = popoverContentEl.querySelector(FOCUSABLE); ############################################## nomad-0.10.5+dfsg1/ui/app/components/primary-metric.js-57- nomad-0.10.5+dfsg1/ui/app/components/primary-metric.js:58: return this.get(`tracker.${metric}`); nomad-0.10.5+dfsg1/ui/app/components/primary-metric.js-59- }), ############################################## nomad-0.10.5+dfsg1/ui/app/components/primary-metric.js-68- nomad-0.10.5+dfsg1/ui/app/components/primary-metric.js:69: return this.get(`tracker.${metricProperty}`); nomad-0.10.5+dfsg1/ui/app/components/primary-metric.js-70- }), ############################################## nomad-0.10.5+dfsg1/ui/app/components/server-agent-row.js-22- // const targetURL = this.get('router').urlFor('servers.server', this.get('agent')); nomad-0.10.5+dfsg1/ui/app/components/server-agent-row.js:23: // const currentURL = `${this.get('router.rootURL').slice(0, -1)}${this.get('router.currentURL')}`; nomad-0.10.5+dfsg1/ui/app/components/server-agent-row.js-24- ############################################## nomad-0.10.5+dfsg1/ui/app/components/stats-time-series.js-33- nomad-0.10.5+dfsg1/ui/app/components/stats-time-series.js:34: return `Time series data for the last ${duration}, with values ranging from ${yFormatter(yRange[0])} to ${yFormatter(yRange[1])}`; nomad-0.10.5+dfsg1/ui/app/components/stats-time-series.js-35- }), ############################################## nomad-0.10.5+dfsg1/ui/app/components/streaming-file.js-51- const cliWindow = this.element; nomad-0.10.5+dfsg1/ui/app/components/streaming-file.js:52: cliWindow.style.height = `${window.innerHeight - cliWindow.offsetTop - margins}px`; nomad-0.10.5+dfsg1/ui/app/components/streaming-file.js-53- }, ############################################## nomad-0.10.5+dfsg1/ui/app/components/task-file.js-51- catUrl: computed('allocation.id', 'task.name', 'file', function() { nomad-0.10.5+dfsg1/ui/app/components/task-file.js:52: const encodedPath = encodeURIComponent(`${this.task.name}/${this.file}`); nomad-0.10.5+dfsg1/ui/app/components/task-file.js:53: return `/v1/client/fs/cat/${this.allocation.id}?path=${encodedPath}`; nomad-0.10.5+dfsg1/ui/app/components/task-file.js-54- }), ############################################## nomad-0.10.5+dfsg1/ui/app/components/task-file.js-74- const address = this.get('allocation.node.httpAddr'); nomad-0.10.5+dfsg1/ui/app/components/task-file.js:75: const url = `/v1/client/fs/${this.fetchMode}/${this.allocation.id}`; nomad-0.10.5+dfsg1/ui/app/components/task-file.js:76: return this.useServer ? url : `//${address}${url}`; nomad-0.10.5+dfsg1/ui/app/components/task-file.js-77- } ############################################## nomad-0.10.5+dfsg1/ui/app/components/task-file.js-81- // The Log class handles encoding query params nomad-0.10.5+dfsg1/ui/app/components/task-file.js:82: const path = `${this.task.name}/${this.file}`; nomad-0.10.5+dfsg1/ui/app/components/task-file.js-83- ############################################## nomad-0.10.5+dfsg1/ui/app/components/task-log.js-33- nomad-0.10.5+dfsg1/ui/app/components/task-log.js:34: const url = `/v1/client/fs/logs/${allocation}`; nomad-0.10.5+dfsg1/ui/app/components/task-log.js:35: return this.useServer ? url : `//${address}${url}`; nomad-0.10.5+dfsg1/ui/app/components/task-log.js-36- }), ############################################## nomad-0.10.5+dfsg1/ui/app/controllers/allocations/allocation/task/fs.js-28- } else { nomad-0.10.5+dfsg1/ui/app/controllers/allocations/allocation/task/fs.js:29: return `/${path}`; nomad-0.10.5+dfsg1/ui/app/controllers/allocations/allocation/task/fs.js-30- } ############################################## nomad-0.10.5+dfsg1/ui/app/controllers/jobs/index.js-110- key: name.prefix, nomad-0.10.5+dfsg1/ui/app/controllers/jobs/index.js:111: label: `${name.prefix} (${name.count})`, nomad-0.10.5+dfsg1/ui/app/controllers/jobs/index.js-112- })); ############################################## nomad-0.10.5+dfsg1/ui/app/helpers/format-bytes.js-20- nomad-0.10.5+dfsg1/ui/app/helpers/format-bytes.js:21: return `${Math.floor(bytes)} ${UNITS[unitIndex]}`; nomad-0.10.5+dfsg1/ui/app/helpers/format-bytes.js-22-} ############################################## nomad-0.10.5+dfsg1/ui/app/helpers/x-icon.js-11- * nomad-0.10.5+dfsg1/ui/app/helpers/x-icon.js:12: * Renders an inline svg element by looking it up at `/public/images/icons/${name}.svg` nomad-0.10.5+dfsg1/ui/app/helpers/x-icon.js-13- */ ############################################## nomad-0.10.5+dfsg1/ui/app/helpers/x-icon.js-15- const name = params[0]; nomad-0.10.5+dfsg1/ui/app/helpers/x-icon.js:16: const classes = [options.class, 'icon', `icon-is-${name}`].compact().join(' '); nomad-0.10.5+dfsg1/ui/app/helpers/x-icon.js-17- ############################################## nomad-0.10.5+dfsg1/ui/app/mixins/sortable-factory.js-21-export default function sortableFactory(properties, fromSortableMixin) { nomad-0.10.5+dfsg1/ui/app/mixins/sortable-factory.js:22: const eachProperties = properties.map(property => `listToSort.@each.${property}`); nomad-0.10.5+dfsg1/ui/app/mixins/sortable-factory.js-23- ############################################## nomad-0.10.5+dfsg1/ui/app/models/agent.js-19- const { address, rpcPort } = this; nomad-0.10.5+dfsg1/ui/app/models/agent.js:20: return address && rpcPort && `${address}:${rpcPort}`; nomad-0.10.5+dfsg1/ui/app/models/agent.js-21- }), ############################################## nomad-0.10.5+dfsg1/ui/app/models/node-driver.js-13- const attributes = this.get('attributes.attributesStructured'); nomad-0.10.5+dfsg1/ui/app/models/node-driver.js:14: return get(attributes, `driver.${this.name}`); nomad-0.10.5+dfsg1/ui/app/models/node-driver.js-15- }), ############################################## nomad-0.10.5+dfsg1/ui/app/routes/allocations/allocation/task.js-27- if (!task) { nomad-0.10.5+dfsg1/ui/app/routes/allocations/allocation/task.js:28: const err = new EmberError(`Task ${name} not found for allocation ${allocation.get('id')}`); nomad-0.10.5+dfsg1/ui/app/routes/allocations/allocation/task.js-29- err.code = '404'; ############################################## nomad-0.10.5+dfsg1/ui/app/routes/allocations/allocation/task/fs.js-9- nomad-0.10.5+dfsg1/ui/app/routes/allocations/allocation/task/fs.js:10: const pathWithTaskName = `${task.name}${decodedPath.startsWith('/') ? '' : '/'}${decodedPath}`; nomad-0.10.5+dfsg1/ui/app/routes/allocations/allocation/task/fs.js-11- ############################################## nomad-0.10.5+dfsg1/ui/app/routes/jobs/job/task-group.js-39- if (!taskGroup) { nomad-0.10.5+dfsg1/ui/app/routes/jobs/job/task-group.js:40: const err = new EmberError(`Task group ${name} for job ${job.get('name')} not found`); nomad-0.10.5+dfsg1/ui/app/routes/jobs/job/task-group.js-41- err.code = '404'; ############################################## nomad-0.10.5+dfsg1/ui/app/serializers/deployment.js-42- links: { nomad-0.10.5+dfsg1/ui/app/serializers/deployment.js:43: related: `/${namespace}/deployment/allocations/${id}`, nomad-0.10.5+dfsg1/ui/app/serializers/deployment.js-44- }, ############################################## nomad-0.10.5+dfsg1/ui/app/serializers/job-summary.js-17- Object.keys(allocStats).forEach( nomad-0.10.5+dfsg1/ui/app/serializers/job-summary.js:18: allocKey => (summary[`${allocKey}Allocs`] = allocStats[allocKey]) nomad-0.10.5+dfsg1/ui/app/serializers/job-summary.js-19- ); ############################################## nomad-0.10.5+dfsg1/ui/app/serializers/job-summary.js-27- Object.keys(childrenStats).forEach( nomad-0.10.5+dfsg1/ui/app/serializers/job-summary.js:28: childrenKey => (hash[`${childrenKey}Children`] = childrenStats[childrenKey]) nomad-0.10.5+dfsg1/ui/app/serializers/job-summary.js-29- ); ############################################## nomad-0.10.5+dfsg1/ui/app/serializers/job-version.js-12- Diff: hash.Diffs && hash.Diffs[index], nomad-0.10.5+dfsg1/ui/app/serializers/job-version.js:13: ID: `${version.ID}-${version.Version}`, nomad-0.10.5+dfsg1/ui/app/serializers/job-version.js-14- JobID: JSON.stringify([version.ID, version.Namespace || 'default']), ############################################## nomad-0.10.5+dfsg1/ui/app/serializers/job.js-63- links: { nomad-0.10.5+dfsg1/ui/app/serializers/job.js:64: related: buildURL(`${jobURL}/allocations`, { namespace }), nomad-0.10.5+dfsg1/ui/app/serializers/job.js-65- }, ############################################## nomad-0.10.5+dfsg1/ui/app/serializers/job.js-68- links: { nomad-0.10.5+dfsg1/ui/app/serializers/job.js:69: related: buildURL(`${jobURL}/versions`, { namespace, diffs: true }), nomad-0.10.5+dfsg1/ui/app/serializers/job.js-70- }, ############################################## nomad-0.10.5+dfsg1/ui/app/serializers/job.js-73- links: { nomad-0.10.5+dfsg1/ui/app/serializers/job.js:74: related: buildURL(`${jobURL}/deployments`, { namespace }), nomad-0.10.5+dfsg1/ui/app/serializers/job.js-75- }, ############################################## nomad-0.10.5+dfsg1/ui/app/serializers/job.js-78- links: { nomad-0.10.5+dfsg1/ui/app/serializers/job.js:79: related: buildURL(`${jobURL}/deployment`, { namespace }), nomad-0.10.5+dfsg1/ui/app/serializers/job.js-80- }, ############################################## nomad-0.10.5+dfsg1/ui/app/serializers/job.js-83- links: { nomad-0.10.5+dfsg1/ui/app/serializers/job.js:84: related: buildURL(`${jobURL}/evaluations`, { namespace }), nomad-0.10.5+dfsg1/ui/app/serializers/job.js-85- }, ############################################## nomad-0.10.5+dfsg1/ui/app/serializers/job.js-93- if (qpString) { nomad-0.10.5+dfsg1/ui/app/serializers/job.js:94: return `${path}?${qpString}`; nomad-0.10.5+dfsg1/ui/app/serializers/job.js-95- } ############################################## nomad-0.10.5+dfsg1/ui/app/serializers/network.js-14- if (isIp.v6(ip)) { nomad-0.10.5+dfsg1/ui/app/serializers/network.js:15: hash.IP = `[${ip}]`; nomad-0.10.5+dfsg1/ui/app/serializers/network.js-16- } ############################################## nomad-0.10.5+dfsg1/ui/app/serializers/node.js-31- links: { nomad-0.10.5+dfsg1/ui/app/serializers/node.js:32: related: `${nodeURL}/allocations`, nomad-0.10.5+dfsg1/ui/app/serializers/node.js-33- }, ############################################## nomad-0.10.5+dfsg1/ui/app/services/breadcrumbs.js-20- allRoutes.forEach(routeName => { nomad-0.10.5+dfsg1/ui/app/services/breadcrumbs.js:21: const route = owner.lookup(`route:${routeName}`); nomad-0.10.5+dfsg1/ui/app/services/breadcrumbs.js-22- ############################################## nomad-0.10.5+dfsg1/ui/app/services/stats-trackers-registry.js-36- const type = resource && resource.constructor.modelName; nomad-0.10.5+dfsg1/ui/app/services/stats-trackers-registry.js:37: const key = `${type}:${resource.get('id')}`; nomad-0.10.5+dfsg1/ui/app/services/stats-trackers-registry.js-38- const Constructor = type === 'node' ? NodeStatsTracker : AllocationStatsTracker; ############################################## nomad-0.10.5+dfsg1/ui/app/services/system.js-16- promise: token nomad-0.10.5+dfsg1/ui/app/services/system.js:17: .authorizedRequest(`/${namespace}/status/leader`) nomad-0.10.5+dfsg1/ui/app/services/system.js-18- .then(res => res.json()) ############################################## nomad-0.10.5+dfsg1/ui/app/services/system.js-31- promise: token nomad-0.10.5+dfsg1/ui/app/services/system.js:32: .authorizedRawRequest(`/${namespace}/agent/members`) nomad-0.10.5+dfsg1/ui/app/services/system.js-33- .then(jsonWithDefault({})) ############################################## nomad-0.10.5+dfsg1/ui/app/services/system.js-43- return PromiseArray.create({ nomad-0.10.5+dfsg1/ui/app/services/system.js:44: promise: token.authorizedRawRequest(`/${namespace}/regions`).then(jsonWithDefault([])), nomad-0.10.5+dfsg1/ui/app/services/system.js-45- }); ############################################## nomad-0.10.5+dfsg1/ui/app/services/token.js-106- const delimiter = url.includes('?') ? '&' : '?'; nomad-0.10.5+dfsg1/ui/app/services/token.js:107: return `${url}${delimiter}${paramsStr}`; nomad-0.10.5+dfsg1/ui/app/services/token.js-108-} ############################################## nomad-0.10.5+dfsg1/ui/app/utils/add-to-path.js-3- const [path, params] = url.split('?'); nomad-0.10.5+dfsg1/ui/app/utils/add-to-path.js:4: let newUrl = `${path}${extension}`; nomad-0.10.5+dfsg1/ui/app/utils/add-to-path.js-5- nomad-0.10.5+dfsg1/ui/app/utils/add-to-path.js-6- if (params) { nomad-0.10.5+dfsg1/ui/app/utils/add-to-path.js:7: newUrl += `?${params}`; nomad-0.10.5+dfsg1/ui/app/utils/add-to-path.js-8- } ############################################## nomad-0.10.5+dfsg1/ui/app/utils/classes/abstract-logger.js-31- ); nomad-0.10.5+dfsg1/ui/app/utils/classes/abstract-logger.js:32: return `${this.url}?${queryParams}`; nomad-0.10.5+dfsg1/ui/app/utils/classes/abstract-logger.js-33- }), ############################################## nomad-0.10.5+dfsg1/ui/app/utils/classes/allocation-stats-tracker.js-19- url: computed('allocation', function() { nomad-0.10.5+dfsg1/ui/app/utils/classes/allocation-stats-tracker.js:20: return `/v1/client/allocation/${this.get('allocation.id')}/stats`; nomad-0.10.5+dfsg1/ui/app/utils/classes/allocation-stats-tracker.js-21- }), ############################################## nomad-0.10.5+dfsg1/ui/app/utils/classes/log.js-17-// eslint-disable-next-line nomad-0.10.5+dfsg1/ui/app/utils/classes/log.js:18:export const fetchFailure = url => () => console.warn(`LOG FETCH: Couldn't connect to ${url}`); nomad-0.10.5+dfsg1/ui/app/utils/classes/log.js-19- ############################################## nomad-0.10.5+dfsg1/ui/app/utils/classes/log.js-86- ); nomad-0.10.5+dfsg1/ui/app/utils/classes/log.js:87: const url = `${this.url}?${queryParams}`; nomad-0.10.5+dfsg1/ui/app/utils/classes/log.js-88- ############################################## nomad-0.10.5+dfsg1/ui/app/utils/classes/log.js-111- ); nomad-0.10.5+dfsg1/ui/app/utils/classes/log.js:112: const url = `${this.url}?${queryParams}`; nomad-0.10.5+dfsg1/ui/app/utils/classes/log.js-113- ############################################## nomad-0.10.5+dfsg1/ui/app/utils/classes/node-stats-tracker.js-19- url: computed('node', function() { nomad-0.10.5+dfsg1/ui/app/utils/classes/node-stats-tracker.js:20: return `/v1/client/stats?node_id=${this.get('node.id')}`; nomad-0.10.5+dfsg1/ui/app/utils/classes/node-stats-tracker.js-21- }), ############################################## nomad-0.10.5+dfsg1/ui/app/utils/format-duration.js-38- const addSpace = unit.pluralizable || (longForm && unit.longSuffix); nomad-0.10.5+dfsg1/ui/app/utils/format-duration.js:39: return `${amount}${addSpace ? ' ' : ''}${suffix}`; nomad-0.10.5+dfsg1/ui/app/utils/format-duration.js-40-}; ############################################## nomad-0.10.5+dfsg1/ui/app/utils/properties/sum-aggregation.js-8-export default function sumAggregationProperty(listKey, propKey) { nomad-0.10.5+dfsg1/ui/app/utils/properties/sum-aggregation.js:9: return computed(`${listKey}.@each.${propKey}`, function() { nomad-0.10.5+dfsg1/ui/app/utils/properties/sum-aggregation.js-10- return this.get(listKey) ############################################## nomad-0.10.5+dfsg1/ui/app/utils/timeout.js-6- setTimeout(() => { nomad-0.10.5+dfsg1/ui/app/utils/timeout.js:7: reject(`Timeout of ${duration}ms exceeded`); nomad-0.10.5+dfsg1/ui/app/utils/timeout.js-8- }, duration); ############################################## nomad-0.10.5+dfsg1/ui/app/utils/wait.js-6- setTimeout(() => { nomad-0.10.5+dfsg1/ui/app/utils/wait.js:7: resolve(`Waited ${duration}ms`); nomad-0.10.5+dfsg1/ui/app/utils/wait.js-8- }, duration); ############################################## nomad-0.10.5+dfsg1/ui/ember-cli-build.js-24- exclude: [ nomad-0.10.5+dfsg1/ui/ember-cli-build.js:25: `${defaults.project.pkg.name}/components/freestyle/**/*`, nomad-0.10.5+dfsg1/ui/ember-cli-build.js:26: `${defaults.project.pkg.name}/templates/components/freestyle/**/*`, nomad-0.10.5+dfsg1/ui/ember-cli-build.js-27- ], ############################################## nomad-0.10.5+dfsg1/ui/mirage/common.js-17- 15, nomad-0.10.5+dfsg1/ui/mirage/common.js:18: (n, i) => `${faker.address.countryCode().toLowerCase()}${i}` nomad-0.10.5+dfsg1/ui/mirage/common.js-19-); ############################################## nomad-0.10.5+dfsg1/ui/mirage/common.js-21-export const HOSTS = provide(100, () => { nomad-0.10.5+dfsg1/ui/mirage/common.js:22: const ip = faker.random.boolean() ? faker.internet.ip() : `[${faker.internet.ipv6()}]`; nomad-0.10.5+dfsg1/ui/mirage/common.js:23: return `${ip}:${faker.random.number({ min: 4000, max: 4999 })}`; nomad-0.10.5+dfsg1/ui/mirage/common.js-24-}); ############################################## nomad-0.10.5+dfsg1/ui/mirage/common.js-39- .map(() => ({ nomad-0.10.5+dfsg1/ui/mirage/common.js:40: Device: `eth${faker.random.number({ max: 5 })}`, nomad-0.10.5+dfsg1/ui/mirage/common.js-41- CIDR: '', ############################################## nomad-0.10.5+dfsg1/ui/mirage/config.js-10- const agent = schema.agents.first(); nomad-0.10.5+dfsg1/ui/mirage/config.js:11: return `${agent.address}:${agent.tags.port}`; nomad-0.10.5+dfsg1/ui/mirage/config.js-12-} ############################################## nomad-0.10.5+dfsg1/ui/mirage/config.js-432- HOSTS.forEach(host => { nomad-0.10.5+dfsg1/ui/mirage/config.js:433: this.get(`http://${host}/v1/client/allocation/:id/stats`, clientAllocationStatsHandler); nomad-0.10.5+dfsg1/ui/mirage/config.js:434: this.get(`http://${host}/v1/client/fs/logs/:allocation_id`, clientAllocationLog); nomad-0.10.5+dfsg1/ui/mirage/config.js-435- nomad-0.10.5+dfsg1/ui/mirage/config.js:436: this.get(`http://${host}/v1/client/fs/ls/:allocation_id`, clientAllocationFSLsHandler); nomad-0.10.5+dfsg1/ui/mirage/config.js:437: this.get(`http://${host}/v1/client/stat/ls/:allocation_id`, clientAllocationFSStatHandler); nomad-0.10.5+dfsg1/ui/mirage/config.js:438: this.get(`http://${host}/v1/client/fs/cat/:allocation_id`, clientAllocationCatHandler); nomad-0.10.5+dfsg1/ui/mirage/config.js:439: this.get(`http://${host}/v1/client/fs/stream/:allocation_id`, clientAllocationStreamHandler); nomad-0.10.5+dfsg1/ui/mirage/config.js:440: this.get(`http://${host}/v1/client/fs/readat/:allocation_id`, clientAllocationReadAtHandler); nomad-0.10.5+dfsg1/ui/mirage/config.js-441- nomad-0.10.5+dfsg1/ui/mirage/config.js:442: this.get(`http://${host}/v1/client/stats`, function({ clientStats }) { nomad-0.10.5+dfsg1/ui/mirage/config.js-443- return this.serialize(clientStats.find(host)); ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/agent.js-9-export default Factory.extend({ nomad-0.10.5+dfsg1/ui/mirage/factories/agent.js:10: id: i => (i / 100 >= 1 ? `${UUIDS[i]}-${i}` : UUIDS[i]), nomad-0.10.5+dfsg1/ui/mirage/factories/agent.js:11: name: () => `nomad@${faker.internet.ip()}`, nomad-0.10.5+dfsg1/ui/mirage/factories/agent.js-12- ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/alloc-file.js-38- date.setSeconds(i * 5); nomad-0.10.5+dfsg1/ui/mirage/factories/alloc-file.js:39: return `${date.toISOString()} ${makeSentence(faker.random.number({ max: 5 }) + 7)}`; nomad-0.10.5+dfsg1/ui/mirage/factories/alloc-file.js-40- }) ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/alloc-file.js-73- if (this.parent) { nomad-0.10.5+dfsg1/ui/mirage/factories/alloc-file.js:74: return `${this.parent.path}/${this.name}`; nomad-0.10.5+dfsg1/ui/mirage/factories/alloc-file.js-75- } ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/alloc-file.js-81- return `${faker.hacker.noun().dasherize()}-${pickOne(TROUBLESOME_CHARACTERS)}${ nomad-0.10.5+dfsg1/ui/mirage/factories/alloc-file.js:82: this.isDir ? '' : `.${this.fileType}` nomad-0.10.5+dfsg1/ui/mirage/factories/alloc-file.js-83- }`; ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/allocation.js-13-export default Factory.extend({ nomad-0.10.5+dfsg1/ui/mirage/factories/allocation.js:14: id: i => (i >= 100 ? `${UUIDS[i % 100]}-${i}` : UUIDS[i]), nomad-0.10.5+dfsg1/ui/mirage/factories/allocation.js-15- ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/allocation.js-176- taskGroup: taskGroup.name, nomad-0.10.5+dfsg1/ui/mirage/factories/allocation.js:177: name: allocation.name || `${taskGroup.name}.[${faker.random.number(10)}]`, nomad-0.10.5+dfsg1/ui/mirage/factories/allocation.js-178- }); ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/client-stat.js-19- .map((cpu, index) => ({ nomad-0.10.5+dfsg1/ui/mirage/factories/client-stat.js:20: CPU: `cpu${index}`, nomad-0.10.5+dfsg1/ui/mirage/factories/client-stat.js-21- Idle: 20, ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/client-stat.js-34- Available: 100000000000, nomad-0.10.5+dfsg1/ui/mirage/factories/client-stat.js:35: Device: `/dev/disk${index}`, nomad-0.10.5+dfsg1/ui/mirage/factories/client-stat.js-36- InodesUsedPercent: 0.10000000001, ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/deployment.js-8-export default Factory.extend({ nomad-0.10.5+dfsg1/ui/mirage/factories/deployment.js:9: id: i => (i / 100 >= 1 ? `${UUIDS[i]}-${i}` : UUIDS[i]), nomad-0.10.5+dfsg1/ui/mirage/factories/deployment.js-10- ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/namespace.js-5-export default Factory.extend({ nomad-0.10.5+dfsg1/ui/mirage/factories/namespace.js:6: id: i => (i === 0 ? 'default' : `namespace-${i}`), nomad-0.10.5+dfsg1/ui/mirage/factories/namespace.js-7- ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/node.js-12-export default Factory.extend({ nomad-0.10.5+dfsg1/ui/mirage/factories/node.js:13: id: i => (i / 100 >= 1 ? `${UUIDS[i]}-${i}` : UUIDS[i]), nomad-0.10.5+dfsg1/ui/mirage/factories/node.js:14: name: i => `nomad@${HOSTS[i % HOSTS.length]}`, nomad-0.10.5+dfsg1/ui/mirage/factories/node.js-15- ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/node.js-25- nomad-0.10.5+dfsg1/ui/mirage/factories/node.js:26: httpAddr() { nomad-0.10.5+dfsg1/ui/mirage/factories/node.js-27- return this.name.split('@')[1]; ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/node.js-32- const ipv4Hosts = HOSTS.filter(h => !h.startsWith('[')); nomad-0.10.5+dfsg1/ui/mirage/factories/node.js:33: return `nomad@${ipv4Hosts[i % ipv4Hosts.length]}`; nomad-0.10.5+dfsg1/ui/mirage/factories/node.js-34- }, ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/node.js-136- const attributes = { nomad-0.10.5+dfsg1/ui/mirage/factories/node.js:137: [`driver.${name}.version`]: '1.0.0', nomad-0.10.5+dfsg1/ui/mirage/factories/node.js:138: [`driver.${name}.status`]: 'awesome', nomad-0.10.5+dfsg1/ui/mirage/factories/node.js:139: [`driver.${name}.more.details`]: 'yeah', nomad-0.10.5+dfsg1/ui/mirage/factories/node.js:140: [`driver.${name}.more.again`]: 'we got that', nomad-0.10.5+dfsg1/ui/mirage/factories/node.js-141- }; ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/service.js-5-export default Factory.extend({ nomad-0.10.5+dfsg1/ui/mirage/factories/service.js:6: name: id => `${faker.hacker.noun().dasherize()}-${id}-service`, nomad-0.10.5+dfsg1/ui/mirage/factories/service.js-7- portLabel: () => faker.hacker.noun().dasherize(), ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/task-group.js-6-export default Factory.extend({ nomad-0.10.5+dfsg1/ui/mirage/factories/task-group.js:7: name: id => `${faker.hacker.noun().dasherize()}-g-${id}`, nomad-0.10.5+dfsg1/ui/mirage/factories/task-group.js-8- count: () => faker.random.number({ min: 1, max: 2 }), ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/task-group.js-52- taskGroup: group.name, nomad-0.10.5+dfsg1/ui/mirage/factories/task-group.js:53: name: `${group.name}.[${i}]`, nomad-0.10.5+dfsg1/ui/mirage/factories/task-group.js-54- rescheduleSuccess: group.withRescheduling ? faker.random.boolean() : null, ############################################## nomad-0.10.5+dfsg1/ui/mirage/factories/task.js-12- nomad-0.10.5+dfsg1/ui/mirage/factories/task.js:13: name: id => `task-${faker.hacker.noun().dasherize()}-${id}`, nomad-0.10.5+dfsg1/ui/mirage/factories/task.js-14- driver: () => faker.helpers.randomize(DRIVERS), ############################################## nomad-0.10.5+dfsg1/ui/mirage/scenarios/default.js-154- console.warn( nomad-0.10.5+dfsg1/ui/mirage/scenarios/default.js:155: `No ENV.APP value set for "${variableName}". Defaulting to "${defaultValue}". To set a custom value, modify config/environment.js` nomad-0.10.5+dfsg1/ui/mirage/scenarios/default.js-156- ); ############################################## nomad-0.10.5+dfsg1/ui/stories/components/multi-select-dropdown.stories.js-72- .fill(null) nomad-0.10.5+dfsg1/ui/stories/components/multi-select-dropdown.stories.js:73: .map((_, i) => ({ label: `Option ${i}`, key: `option-${i}` })), nomad-0.10.5+dfsg1/ui/stories/components/multi-select-dropdown.stories.js-74- selectionMany: [], ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-57- nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:58: assert.equal(document.title, `Allocation ${allocation.name} - Nomad`); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-59- nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-60- await Allocation.details.visitJob(); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:61: assert.equal(currentURL(), `/jobs/${job.id}`, 'Job link navigates to the job'); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-62- ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-65- await Allocation.details.visitClient(); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:66: assert.equal(currentURL(), `/clients/${node.id}`, 'Client link navigates to the client'); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-67- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-108- reservedPorts.forEach(port => { nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:109: assert.ok(addressesText.includes(port.Label), `Found label ${port.Label}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:110: assert.ok(addressesText.includes(port.Value), `Found value ${port.Value}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-111- }); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-112- dynamicPorts.forEach(port => { nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:113: assert.ok(addressesText.includes(port.Label), `Found label ${port.Label}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:114: assert.ok(addressesText.includes(port.Value), `Found value ${port.Value}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-115- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-124- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:125: `/allocations/${allocation.id}/${task.name}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-126- 'Task name in task row links to task detail' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-133- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:134: `/allocations/${allocation.id}/${task.name}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-135- 'Task row links to task detail' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-189- assert.equal(renderedPort.name, serverPort.Label); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:190: assert.equal(renderedPort.address, `${serverNetwork.IP}:${serverPort.Value}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-191- assert.equal(renderedPort.to, serverPort.To); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-210- const serverUpstreamsString = upstreams nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:211: .map(upstream => `${upstream.DestinationName}:${upstream.LocalBindPort}`) nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-212- .join(' '); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-238- server.pretender.handledRequests.findBy('method', 'POST').url, nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:239: `/v1/allocation/${allocation.id}/stop`, nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-240- 'Stop request is made for the allocation' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-249- server.pretender.handledRequests.findBy('method', 'PUT').url, nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:250: `/v1/client/allocation/${allocation.id}/restart`, nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-251- 'Restart request is made for the allocation' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-362- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:363: `/allocations/${preempter.id}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-364- 'Clicking the preempter id navigates to the preempter allocation detail page' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-370- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:371: `/jobs/${preempterJob.id}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-372- 'Clicking the preempter job link navigates to the preempter job page' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-378- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:379: `/clients/${preempterClient.id}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-380- 'Clicking the preempter client link navigates to the preempter client page' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-425- await preemptionRow.visitClient(); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js:426: assert.equal(currentURL(), `/clients/${preemption.nodeId}`, 'Node links to node page'); nomad-0.10.5+dfsg1/ui/tests/acceptance/allocation-detail-test.js-427- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/application-errors-test.js-31- nomad-0.10.5+dfsg1/ui/tests/acceptance/application-errors-test.js:32: server.pretender.get(`/v1/job/${job.id}`, () => [403, {}, null]); nomad-0.10.5+dfsg1/ui/tests/acceptance/application-errors-test.js-33- ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-46- nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:47: assert.equal(document.title, `Client ${node.name} - Nomad`); nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-48- ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-84- assert.ok( nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:85: ClientDetail.statusDecorationClass.includes(`node-${node.status}`), nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-86- 'Status is decorated with a status class' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-113- allocationsCount, nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:114: `Allocations table lists all ${allocationsCount} associated allocations` nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-115- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-159- allocationRow.cpuTooltip, nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:160: `${Math.floor(allocStats.resourceUsage.CpuStats.TotalTicks)} / ${cpuUsed} MHz`, nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-161- 'Detailed CPU information is in a tooltip' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-169- allocationRow.memTooltip, nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:170: `${formatBytes([allocStats.resourceUsage.MemoryStats.RSS])} / ${memoryUsed} MiB`, nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-171- 'Detailed memory information is in a tooltip' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-212- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:213: `/allocations/${allocation.id}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-214- 'Allocation rows link to allocation detail pages' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-227- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:228: `/jobs/${job.id}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-229- 'Allocation rows link to the job detail page for the allocation' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-263- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:264: `/clients/${node.id}?preemptions=true`, nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-265- 'Filter is persisted in the URL' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-276- assert.equal(ClientDetail.allocations.length, allocations.length, 'All allocations are shown'); nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:277: assert.equal(currentURL(), `/clients/${node.id}`, 'Filter is persisted in the URL'); nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-278- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-388- nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:389: assert.equal(driverHead.name, driver.Name, `${driver.Name}: Name is correct`); nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-390- assert.equal( ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-392- driver.Detected ? 'Yes' : 'No', nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:393: `${driver.Name}: Detection is correct` nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-394- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-397- moment(driver.UpdateTime).fromNow(), nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:398: `${driver.Name}: Last updated shows time since now` nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-399- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-403- driverHead.healthIsShown, nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:404: `${driver.Name}: No health for the undetected driver` nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-405- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-409- driver.Healthy ? 'Healthy' : 'Unhealthy', nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:410: `${driver.Name}: Health is correct` nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-411- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-413- driverHead.healthClass.includes(driver.Healthy ? 'running' : 'failed'), nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:414: `${driver.Name}: Swatch with correct class is shown` nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-415- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-574- const request = server.pretender.handledRequests.findBy('method', 'POST'); nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:575: assert.equal(request.url, `/v1/node/${node.id}/eligibility`); nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-576- assert.deepEqual(JSON.parse(request.requestBody), { ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-587- nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:588: assert.equal(request2.url, `/v1/node/${node.id}/eligibility`); nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-589- assert.deepEqual(JSON.parse(request2.requestBody), { ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-608- nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:609: assert.equal(request.url, `/v1/node/${node.id}/drain`); nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-610- assert.deepEqual( ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-757- const request = server.pretender.handledRequests.findBy('method', 'POST'); nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:758: assert.equal(request.url, `/v1/node/${node.id}/drain`); nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-759- assert.deepEqual(JSON.parse(request.requestBody), { ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-789- const request = server.pretender.handledRequests.findBy('method', 'POST'); nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js:790: assert.equal(request.url, `/v1/node/${node.id}/drain`); nomad-0.10.5+dfsg1/ui/tests/acceptance/client-detail-test.js-791- assert.deepEqual(JSON.parse(request.requestBody), { ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-139- nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js:140: assert.equal(currentURL(), `/clients/${node.id}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-141- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-257- function testFacet(label, { facet, paramName, beforeEach, filter, expectedOptions }) { nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js:258: test(`the ${label} facet has the correct options`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-259- await beforeEach(); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-275- nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js:276: test(`the ${label} facet filters the nodes list by ${label}`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-277- let option; ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-294- expectedNodes[index].id.split('-')[0], nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js:295: `Node at ${index} is ${expectedNodes[index].id}` nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-296- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-299- nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js:300: test(`selecting multiple options in the ${label} facet results in a broader search`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-301- const selection = []; ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-321- expectedNodes[index].id.split('-')[0], nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js:322: `Node at ${index} is ${expectedNodes[index].id}` nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-323- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-326- nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js:327: test(`selecting options in the ${label} facet updates the ${paramName} query param`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-328- const selection = []; ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-341- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js:342: `/clients?${paramName}=${encodeURIComponent(JSON.stringify(selection))}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/clients-list-test.js-343- 'URL has the correct query param key and value' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js-14- server.create('allocation', { nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js:15: id: index < 5 ? `ffffff-dddddd-${index}` : `111111-222222-${index}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js-16- shallow: true, ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js-46- const shortId = sortedAllocations[index].id.split('-')[0]; nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js:47: assert.equal(allocation.shortId, shortId, `Allocation ${index} is ${shortId}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js-48- }); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js-49- nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js:50: assert.equal(document.title, `Job ${job.name} allocations - Nomad`); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js-51- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js-61- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js:62: `/jobs/${job.id}/allocations?sort=taskGroupName`, nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js-63- 'the URL persists the sort parameter' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js-70- shortId, nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js:71: `Allocation ${index} is ${shortId} with task group ${sortedAllocations[index].taskGroup}` nomad-0.10.5+dfsg1/ui/tests/acceptance/job-allocations-test.js-72- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-definition-test.js-22- test('visiting /jobs/:job_id/definition', async function(assert) { nomad-0.10.5+dfsg1/ui/tests/acceptance/job-definition-test.js:23: assert.equal(currentURL(), `/jobs/${job.id}/definition`); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-definition-test.js:24: assert.equal(document.title, `Job ${job.name} definition - Nomad`); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-definition-test.js-25- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-definition-test.js-31- test('the job definition page requests the job to display in an unmutated form', async function(assert) { nomad-0.10.5+dfsg1/ui/tests/acceptance/job-definition-test.js:32: const jobURL = `/v1/job/${job.id}`; nomad-0.10.5+dfsg1/ui/tests/acceptance/job-definition-test.js-33- const jobRequests = server.pretender.handledRequests ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-definition-test.js-57- const requests = server.pretender.handledRequests; nomad-0.10.5+dfsg1/ui/tests/acceptance/job-definition-test.js:58: const jobDefinition = requests.findBy('url', `/v1/job/${job.id}`).responseText; nomad-0.10.5+dfsg1/ui/tests/acceptance/job-definition-test.js-59- const formattedJobDefinition = JSON.stringify(JSON.parse(jobDefinition), null, 2); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-definition-test.js-74- await Definition.editor.run(); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-definition-test.js:75: assert.equal(currentURL(), `/jobs/${job.id}`, 'Now on the job overview page'); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-definition-test.js-76- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-deployments-test.js-43- ); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-deployments-test.js:44: assert.equal(document.title, `Job ${job.name} deployments - Nomad`); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-deployments-test.js-45- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-deployments-test.js-181- taskGroupRow.canaries, nomad-0.10.5+dfsg1/ui/tests/acceptance/job-deployments-test.js:182: `${taskGroup.placedCanaries.length} / ${taskGroup.desiredCanaries}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/job-deployments-test.js-183- 'Canaries' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-deployments-test.js-186- taskGroupRow.allocs, nomad-0.10.5+dfsg1/ui/tests/acceptance/job-deployments-test.js:187: `${taskGroup.placedAllocs} / ${taskGroup.desiredTotal}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/job-deployments-test.js-188- 'Allocs' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-detail-test.js-40- await JobDetail.tabFor('deployments').visit(); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-detail-test.js:41: assert.equal(currentURL(), `/jobs/${job.id}/deployments`); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-detail-test.js-42- }, ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-detail-test.js-100- JobsList.jobs.forEach((jobRow, index) => { nomad-0.10.5+dfsg1/ui/tests/acceptance/job-detail-test.js:101: assert.equal(jobRow.name, jobs[index].name, `Job ${index} is right`); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-detail-test.js-102- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-evaluations-test.js-27- const shortId = sortedEvaluations[index].id.split('-')[0]; nomad-0.10.5+dfsg1/ui/tests/acceptance/job-evaluations-test.js:28: assert.equal(evaluation.id, shortId, `Evaluation ${index} is ${shortId}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-evaluations-test.js-29- }); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-evaluations-test.js-30- nomad-0.10.5+dfsg1/ui/tests/acceptance/job-evaluations-test.js:31: assert.equal(document.title, `Job ${job.name} evaluations - Nomad`); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-evaluations-test.js-32- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-evaluations-test.js-38- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/job-evaluations-test.js:39: `/jobs/${job.id}/evaluations?sort=priority`, nomad-0.10.5+dfsg1/ui/tests/acceptance/job-evaluations-test.js-40- 'the URL persists the sort parameter' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-evaluations-test.js-47- shortId, nomad-0.10.5+dfsg1/ui/tests/acceptance/job-evaluations-test.js:48: `Evaluation ${index} is ${shortId} with priority ${sortedEvaluations[index].priority}` nomad-0.10.5+dfsg1/ui/tests/acceptance/job-evaluations-test.js-49- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-run-test.js-73- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/job-run-test.js:74: `/jobs/${newJobName}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/job-run-test.js:75: `Redirected to the job overview page for ${newJobName}` nomad-0.10.5+dfsg1/ui/tests/acceptance/job-run-test.js-76- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-run-test.js-91- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/job-run-test.js:92: `/jobs/${newJobName}?namespace=${newNamespace}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/job-run-test.js:93: `Redirected to the job overview page for ${newJobName} and switched the namespace to ${newNamespace}` nomad-0.10.5+dfsg1/ui/tests/acceptance/job-run-test.js-94- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-versions-test.js-23- assert.ok(Versions.versions.length, versions.length, 'Each version gets a row in the timeline'); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-versions-test.js:24: assert.equal(document.title, `Job ${job.name} versions - Nomad`); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-versions-test.js-25- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/job-versions-test.js-33- nomad-0.10.5+dfsg1/ui/tests/acceptance/job-versions-test.js:34: assert.ok(versionRow.text.includes(`Version #${version.version}`), 'Version #'); nomad-0.10.5+dfsg1/ui/tests/acceptance/job-versions-test.js-35- assert.equal(versionRow.stability, version.stable.toString(), 'Stability'); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-52- assert.equal(jobRow.name, job.name, 'Name'); nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js:53: assert.equal(jobRow.link, `/ui/jobs/${job.id}`, 'Detail Link'); nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-54- assert.equal(jobRow.status, job.status, 'Status'); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-66- nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js:67: assert.equal(currentURL(), `/jobs/${job.id}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-68- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-185- nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js:186: assert.equal(JobsList.jobs.length, 1, `One job in the ${secondNamespace.name} namespace`); nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-187- assert.equal(JobsList.jobs.objectAt(0).name, job2.name, 'The correct job is shown'); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-342- function testFacet(label, { facet, paramName, beforeEach, filter, expectedOptions }) { nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js:343: test(`the ${label} facet has the correct options`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-344- await beforeEach(); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-360- nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js:361: test(`the ${label} facet filters the jobs list by ${label}`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-362- let option; ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-379- expectedJobs[index].id, nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js:380: `Job at ${index} is ${expectedJobs[index].id}` nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-381- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-384- nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js:385: test(`selecting multiple options in the ${label} facet results in a broader search`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-386- const selection = []; ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-406- expectedJobs[index].id, nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js:407: `Job at ${index} is ${expectedJobs[index].id}` nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-408- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-411- nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js:412: test(`selecting options in the ${label} facet updates the ${paramName} query param`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-413- const selection = []; ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-426- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js:427: `/jobs?${paramName}=${encodeURIComponent(JSON.stringify(selection))}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/jobs-list-test.js-428- 'URL has the correct query param key and value' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/namespaces-test.js-66- const namespace = sortedNamespaces[index - 1]; nomad-0.10.5+dfsg1/ui/tests/acceptance/namespaces-test.js:67: assert.equal(option.label, namespace.name, `index ${index}: ${namespace.name}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/namespaces-test.js-68- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/regions-test.js-45- await JobsList.jobs.objectAt(0).clickRow(); nomad-0.10.5+dfsg1/ui/tests/acceptance/regions-test.js:46: assert.equal(currentURL(), `/jobs/${jobId}`, 'No region query param'); nomad-0.10.5+dfsg1/ui/tests/acceptance/regions-test.js-47- ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/regions-test.js-99- assert.ok( nomad-0.10.5+dfsg1/ui/tests/acceptance/regions-test.js:100: currentURL().includes(`region=${newRegion}`), nomad-0.10.5+dfsg1/ui/tests/acceptance/regions-test.js-101- 'New region is the region query param value' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/regions-test.js-138- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/regions-test.js:139: `/allocations/${allocation.id}?region=${region}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/regions-test.js-140- 'Region param is persisted when navigating straight to a detail page' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/regions-test.js-174- appRequests.forEach(req => { nomad-0.10.5+dfsg1/ui/tests/acceptance/regions-test.js:175: assert.ok(req.url.includes(`region=${region}`), req.url); nomad-0.10.5+dfsg1/ui/tests/acceptance/regions-test.js-176- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/server-detail-test.js-19- test('visiting /servers/:server_name', async function(assert) { nomad-0.10.5+dfsg1/ui/tests/acceptance/server-detail-test.js:20: assert.equal(currentURL(), `/servers/${encodeURIComponent(agent.name)}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/server-detail-test.js:21: assert.equal(document.title, `Server ${agent.name} - Nomad`); nomad-0.10.5+dfsg1/ui/tests/acceptance/server-detail-test.js-22- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/server-detail-test.js-31- const tag = tags[index]; nomad-0.10.5+dfsg1/ui/tests/acceptance/server-detail-test.js:32: assert.equal(tagRow.name, tag.name, `Label: ${tag.name}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/server-detail-test.js:33: assert.equal(tagRow.value, tag.value, `Value: ${tag.value}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/server-detail-test.js-34- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/servers-list-test.js-13-const agentSort = leader => (a, b) => { nomad-0.10.5+dfsg1/ui/tests/acceptance/servers-list-test.js:14: if (`${a.address}:${a.tags.port}` === leader) { nomad-0.10.5+dfsg1/ui/tests/acceptance/servers-list-test.js-15- return 1; nomad-0.10.5+dfsg1/ui/tests/acceptance/servers-list-test.js:16: } else if (`${b.address}:${b.tags.port}` === leader) { nomad-0.10.5+dfsg1/ui/tests/acceptance/servers-list-test.js-17- return -1; ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/servers-list-test.js-66- nomad-0.10.5+dfsg1/ui/tests/acceptance/servers-list-test.js:67: assert.equal(currentURL(), `/servers/${agent.name}`, 'Now at the server detail page'); nomad-0.10.5+dfsg1/ui/tests/acceptance/servers-list-test.js-68- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-33- nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js:34: assert.equal(document.title, `Task ${task.name} - Nomad`); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-35- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-69- await Task.breadcrumbFor('jobs.job.index').visit(); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js:70: assert.equal(currentURL(), `/jobs/${job.id}`, 'Job breadcrumb links correctly'); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-71- ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-75- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js:76: `/jobs/${job.id}/${taskGroup}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-77- 'Task Group breadcrumb links correctly' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-83- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js:84: `/allocations/${allocation.id}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-85- 'Allocations breadcrumb links correctly' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-121- assert.equal(addressRow.name, address.Label, 'Label'); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js:122: assert.equal(addressRow.address, `${networkAddress}:${address.Value}`, 'Value'); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-123- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-127- nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js:128: assert.equal(Task.events.length, events.length, `Lists ${events.length} events`); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-129- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-155- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js:156: `/allocations/not-a-real-allocation/${task.name}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-157- 'The URL persists' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-169- .mapBy('url') nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js:170: .includes(`/v1/allocation/${allocation.id}`), nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-171- 'A request to the allocation is made successfully' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-174- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js:175: `/allocations/${allocation.id}/not-a-real-task-name`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-176- 'The URL persists' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-188- request.url, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js:189: `/v1/client/allocation/${allocation.id}/restart`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-190- 'Restart request is made for the allocation' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-268- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js:269: `/jobs/${job.id}?namespace=other-namespace`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-270- 'Job breadcrumb links correctly' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-276- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js:277: `/jobs/${job.id}/${taskGroup}?namespace=other-namespace`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-278- 'Task Group breadcrumb links correctly' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-284- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js:285: `/allocations/${allocation.id}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-detail-test.js-286- 'Allocations breadcrumb links correctly' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-67- await FS.visit({ id: allocation.id, name: task.name }); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js:68: assert.equal(currentURL(), `/allocations/${allocation.id}/${task.name}/fs`, 'No redirect'); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-69- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-95- if (!pathWithLeadingSlash.startsWith('/')) { nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js:96: pathWithLeadingSlash = `/${filePath}`; nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-97- } ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-101- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js:102: `/allocations/${allocation.id}/${task.name}/fs/${encodeURIComponent(filePath)}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-103- 'No redirect' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-106- document.title, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js:107: `${pathWithLeadingSlash} - Task ${task.name} filesystem - Nomad` nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-108- ); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js:109: assert.equal(FS.breadcrumbsText, `${task.name} ${filePath.replace(/\//g, ' ')}`.trim()); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-110- }; ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-154- assert.equal(FS.breadcrumbs.length, 2); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js:155: assert.equal(FS.breadcrumbsText, `${task.name} ${files[0].name}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-156- ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-170- assert.equal(FS.breadcrumbs.length, 3); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js:171: assert.equal(FS.breadcrumbsText, `${task.name} ${files[0].name} ${files[1].name}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-172- assert.equal(FS.breadcrumbs[2].text, files[1].name); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-183- await FS.breadcrumbs[1].visit(); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js:184: assert.equal(FS.breadcrumbsText, `${task.name} ${files[0].name}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-185- assert.equal(FS.breadcrumbs.length, 2); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-315- nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js:316: server.get(`http://${node.httpAddr}/v1/client/fs/readat/:allocation_id`, function() { nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-317- return new Response(500); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-327- nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js:328: assert.equal(FS.breadcrumbsText, `${task.name} ${fileRecord.name}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-329- ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-337- firstAttempt.url.split('?')[0], nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js:338: `//${node.httpAddr}/v1/client/fs/readat/${allocation.id}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-339- 'Client is hit first' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-343- secondAttempt.url.split('?')[0], nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js:344: `/v1/client/fs/readat/${allocation.id}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-fs-test.js-345- 'Server is hit second' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-71- nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js:72: assert.equal(TaskGroup.tasksCount, `# Tasks ${tasks.length}`, '# Tasks'); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-73- assert.equal( nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-74- TaskGroup.cpu, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js:75: `Reserved CPU ${totalCPU} MHz`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-76- 'Aggregated CPU reservation for all tasks' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-79- TaskGroup.mem, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js:80: `Reserved Memory ${totalMemory} MiB`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-81- 'Aggregated Memory reservation for all tasks' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-84- TaskGroup.disk, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js:85: `Reserved Disk ${totalDisk} MiB`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-86- 'Aggregated Disk reservation for all tasks' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-88- nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js:89: assert.equal(document.title, `Task group ${taskGroup.name} - Job ${job.name} - Nomad`); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-90- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-114- currentURL(), nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js:115: `/jobs/${job.id}`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-116- 'Second breadcrumb links back to the job for the task group' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-166- nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js:167: assert.equal(currentURL(), `/clients/${allocation.nodeId}`, 'Node links to node page'); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-168- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-187- allocationRow.cpuTooltip, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js:188: `${Math.floor(allocStats.resourceUsage.CpuStats.TotalTicks)} / ${cpuUsed} MHz`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-189- 'Detailed CPU information is in a tooltip' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-199- allocationRow.memTooltip, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js:200: `${formatBytes([allocStats.resourceUsage.MemoryStats.RSS])} / ${memoryUsed} MiB`, nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-201- 'Detailed memory information is in a tooltip' ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-245- .mapBy('url') nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js:246: .includes(`/v1/job/${job.id}`), nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-247- 'A request to the job is made and succeeds' nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-248- ); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js:249: assert.equal(currentURL(), `/jobs/${job.id}/not-a-real-task-group`, 'The URL persists'); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-group-detail-test.js-250- assert.ok(TaskGroup.error.isPresent, 'Error message is shown'); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-logs-test.js-27- test('/allocation/:id/:task_name/logs should have a log component', async function(assert) { nomad-0.10.5+dfsg1/ui/tests/acceptance/task-logs-test.js:28: assert.equal(currentURL(), `/allocations/${allocation.id}/${task.name}/logs`, 'No redirect'); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-logs-test.js-29- assert.ok(TaskLogs.hasTaskLog, 'Task log component found'); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-logs-test.js:30: assert.equal(document.title, `Task ${task.name} logs - Nomad`); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-logs-test.js-31- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/task-logs-test.js-34- const node = server.db.nodes.find(allocation.nodeId); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-logs-test.js:35: const logUrlRegex = new RegExp(`${node.httpAddr}/v1/client/fs/logs/${allocation.id}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/task-logs-test.js-36- assert.ok( ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/token-test.js-50- server.pretender.handledRequests.forEach(req => { nomad-0.10.5+dfsg1/ui/tests/acceptance/token-test.js:51: assert.notOk(getHeader(req, 'X-Nomad-Token'), `No token for ${req.url}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/token-test.js-52- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/acceptance/token-test.js-66- newRequests.forEach(req => { nomad-0.10.5+dfsg1/ui/tests/acceptance/token-test.js:67: assert.equal(getHeader(req, 'X-Nomad-Token'), secretId, `Token set for ${req.url}`); nomad-0.10.5+dfsg1/ui/tests/acceptance/token-test.js-68- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/helpers/codemirror.js-9- const element = document.querySelector(selector); nomad-0.10.5+dfsg1/ui/tests/helpers/codemirror.js:10: invariant(element, `Selector ${selector} matched no elements`); nomad-0.10.5+dfsg1/ui/tests/helpers/codemirror.js-11- nomad-0.10.5+dfsg1/ui/tests/helpers/codemirror.js-12- const cm = cmService.instanceFor(element.id); nomad-0.10.5+dfsg1/ui/tests/helpers/codemirror.js:13: invariant(cm, `No registered CodeMirror instance for ${selector}`); nomad-0.10.5+dfsg1/ui/tests/helpers/codemirror.js-14- ############################################## nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-15- throw new Error( nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js:16: `Invalid context provided to moduleForJob, expected either "allocations" or "children", got ${context}` nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-17- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-27- test('visiting /jobs/:job_id', async function(assert) { nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js:28: assert.equal(currentURL(), `/jobs/${job.id}`); nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js:29: assert.equal(document.title, `Job ${job.name} - Nomad`); nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-30- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-33- await JobDetail.tabFor('overview').visit(); nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js:34: assert.equal(currentURL(), `/jobs/${job.id}`); nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-35- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-38- await JobDetail.tabFor('definition').visit(); nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js:39: assert.equal(currentURL(), `/jobs/${job.id}/definition`); nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-40- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-43- await JobDetail.tabFor('versions').visit(); nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js:44: assert.equal(currentURL(), `/jobs/${job.id}/versions`); nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-45- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-48- await JobDetail.tabFor('evaluations').visit(); nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js:49: assert.equal(currentURL(), `/jobs/${job.id}/evaluations`); nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-50- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-65- currentURL(), nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js:66: `/allocations/${allocationId}`, nomad-0.10.5+dfsg1/ui/tests/helpers/module-for-job.js-67- 'Allocation row links to allocation detail' ############################################## nomad-0.10.5+dfsg1/ui/tests/helpers/setup-ability.js-2- hooks.beforeEach(function() { nomad-0.10.5+dfsg1/ui/tests/helpers/setup-ability.js:3: this.ability = this.owner.lookup(`ability:${ability}`); nomad-0.10.5+dfsg1/ui/tests/helpers/setup-ability.js-4- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/allocation-row-test.js-72- 'url', nomad-0.10.5+dfsg1/ui/tests/integration/allocation-row-test.js:73: `/v1/client/allocation/${allocation.get('id')}/stats` nomad-0.10.5+dfsg1/ui/tests/integration/allocation-row-test.js-74- ).length, ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/allocation-row-test.js-148- const status = allocation.get('clientStatus'); nomad-0.10.5+dfsg1/ui/tests/integration/allocation-row-test.js:149: assert.notOk(find('[data-test-cpu] .inline-chart'), `No CPU chart for ${status}`); nomad-0.10.5+dfsg1/ui/tests/integration/allocation-row-test.js:150: assert.notOk(find('[data-test-mem] .inline-chart'), `No Mem chart for ${status}`); nomad-0.10.5+dfsg1/ui/tests/integration/allocation-row-test.js-151- } ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/app-breadcrumbs-test.js-49- commonCrumbs[index].label, nomad-0.10.5+dfsg1/ui/tests/integration/app-breadcrumbs-test.js:50: `Crumb ${index} is ${commonCrumbs[index].label}` nomad-0.10.5+dfsg1/ui/tests/integration/app-breadcrumbs-test.js-51- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/attributes-table-test.js-36- rowsCount, nomad-0.10.5+dfsg1/ui/tests/integration/attributes-table-test.js:37: `Table has ${rowsCount} rows with values` nomad-0.10.5+dfsg1/ui/tests/integration/attributes-table-test.js-38- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/image-file-test.js-30- commonProperties.src, nomad-0.10.5+dfsg1/ui/tests/integration/image-file-test.js:31: `src is ${commonProperties.src}` nomad-0.10.5+dfsg1/ui/tests/integration/image-file-test.js-32- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/image-file-test.js-44- commonProperties.src, nomad-0.10.5+dfsg1/ui/tests/integration/image-file-test.js:45: `href is ${commonProperties.src}` nomad-0.10.5+dfsg1/ui/tests/integration/image-file-test.js-46- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js-146- assert.notOk(requests.includes('/v1/jobs/parse'), 'JSON job spec is not parsed'); nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js:147: assert.ok(requests.includes(`/v1/job/${newJobName}/plan`), 'JSON job spec is still planned'); nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js-148- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js-157- assert.ok(requests.includes('/v1/jobs/parse'), 'HCL job spec is parsed first'); nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js:158: assert.ok(requests.includes(`/v1/job/${newJobName}/plan`), 'HCL job spec is planned'); nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js-159- assert.ok( nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js:160: requests.indexOf('/v1/jobs/parse') < requests.indexOf(`/v1/job/${newJobName}/plan`), nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js-161- 'Parse comes before Plan' ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js-211- nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js:212: this.server.pretender.post(`/v1/job/${newJobName}/plan`, () => [400, {}, errorMessage]); nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js-213- ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js-291- const requests = this.server.pretender.handledRequests.filterBy('method', 'POST').mapBy('url'); nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js:292: assert.ok(requests.includes(`/v1/job/${newJobName}`), 'A request was made to job update'); nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js-293- assert.notOk(requests.includes('/v1/jobs'), 'A request was not made to job create'); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js-305- assert.notOk( nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js:306: requests.includes(`/v1/job/${newJobName}`), nomad-0.10.5+dfsg1/ui/tests/integration/job-editor-test.js-307- 'A request was not made to job update' ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/helpers.js-5- const namespace = job.get('namespace.name') || 'default'; nomad-0.10.5+dfsg1/ui/tests/integration/job-page/helpers.js:6: let expectedURL = `/v1/job/${id}${path}`; nomad-0.10.5+dfsg1/ui/tests/integration/job-page/helpers.js-7- if (namespace !== 'default') { nomad-0.10.5+dfsg1/ui/tests/integration/job-page/helpers.js:8: expectedURL += `?namespace=${namespace}`; nomad-0.10.5+dfsg1/ui/tests/integration/job-page/helpers.js-9- } ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/children-test.js-92- assert.ok( nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/children-test.js:93: new RegExp(`1.10.+?${childrenCount}`).test(find('.pagination-numbers').textContent.trim()) nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/children-test.js-94- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/children-test.js-125- child.get('name'), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/children-test.js:126: `Child ${index} is ${child.get('name')}` nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/children-test.js-127- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/children-test.js-135- child.get('name'), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/children-test.js:136: `Child ${index} is ${child.get('name')}` nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/children-test.js-137- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/latest-deployment-test.js-77- find('[data-test-deployment-metric="canaries"]').textContent.trim(), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/latest-deployment-test.js:78: `${deployment.get('placedCanaries')} / ${deployment.get('desiredCanaries')}`, nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/latest-deployment-test.js-79- 'Canaries, both places and desired, are in the metrics' ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/latest-deployment-test.js-169- const task = job.get('runningDeployment.taskGroupSummaries.firstObject'); nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/latest-deployment-test.js:170: const findForTaskGroup = selector => find(`[data-test-deployment-task-group-${selector}]`); nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/latest-deployment-test.js-171- assert.equal(findForTaskGroup('name').textContent.trim(), task.get('name')); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/placement-failures-test.js-53- taskGroupLabels.find(label => label.includes(name)), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/placement-failures-test.js:54: `${name} included in placement failures list` nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/placement-failures-test.js-55- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-73- this.get('job.queuedAllocs'), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js:74: `${this.get('job.queuedAllocs')} are queued` nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-75- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-79- this.get('job.startingAllocs'), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js:80: `${this.get('job.startingAllocs')} are starting` nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-81- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-85- this.get('job.runningAllocs'), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js:86: `${this.get('job.runningAllocs')} are running` nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-87- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-91- this.get('job.completeAllocs'), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js:92: `${this.get('job.completeAllocs')} are complete` nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-93- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-97- this.get('job.failedAllocs'), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js:98: `${this.get('job.failedAllocs')} are failed` nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-99- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-103- this.get('job.lostAllocs'), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js:104: `${this.get('job.lostAllocs')} are lost` nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-105- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-123- this.get('job.pendingChildren'), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js:124: `${this.get('job.pendingChildren')} are pending` nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-125- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-129- this.get('job.runningChildren'), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js:130: `${this.get('job.runningChildren')} are running` nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-131- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-135- this.get('job.deadChildren'), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js:136: `${this.get('job.deadChildren')} are dead` nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/summary-test.js-137- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/task-groups-test.js-99- taskGroupRow.querySelector('[data-test-task-group-cpu]').textContent.trim(), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/task-groups-test.js:100: `${taskGroup.get('reservedCPU')} MHz`, nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/task-groups-test.js-101- 'Reserved CPU' ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/task-groups-test.js-104- taskGroupRow.querySelector('[data-test-task-group-mem]').textContent.trim(), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/task-groups-test.js:105: `${taskGroup.get('reservedMemory')} MiB`, nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/task-groups-test.js-106- 'Reserved Memory' ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/task-groups-test.js-109- taskGroupRow.querySelector('[data-test-task-group-disk]').textContent.trim(), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/task-groups-test.js:110: `${taskGroup.get('reservedEphemeralDisk')} MiB`, nomad-0.10.5+dfsg1/ui/tests/integration/job-page/parts/task-groups-test.js-111- 'Reserved Disk' ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/service-test.js-146- Job.viewAllAllocations.includes(job.get('allocations.length') + ''), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/service-test.js:147: `View link mentions ${job.get('allocations.length')} allocations` nomad-0.10.5+dfsg1/ui/tests/integration/job-page/service-test.js-148- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/job-page/service-test.js-186- .filterBy('method', 'POST') nomad-0.10.5+dfsg1/ui/tests/integration/job-page/service-test.js:187: .findBy('url', `/v1/deployment/promote/${deployment.get('id')}`), nomad-0.10.5+dfsg1/ui/tests/integration/job-page/service-test.js-188- 'A promote POST request was made' ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js-48- for (var pageNumber = 1; pageNumber <= defaults.spread + 1; pageNumber++) { nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js:49: assert.ok(findAll(`.link.page-${pageNumber}`).length, `Page link includes ${pageNumber}`); nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js-50- } ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js-57- defaults.size, nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js:58: `Only ${defaults.size} (the default) number of items are rendered` nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js-59- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js-81- const totalPages = Math.ceil(this.get('source').length / this.get('size')); nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js:82: assert.equal(find('.page-info').textContent, `1 of ${totalPages}`, `${totalPages} total pages`); nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js-83- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js-192- for (var pageNumber = 1; pageNumber < totalPages; pageNumber++) { nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js:193: assert.ok(findAll(`.link.page-${pageNumber}`).length, `Page link for ${pageNumber} exists`); nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js-194- } ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js-200- assert.ok( nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js:201: findAll(`.link.page-${pageNumber}`).length, nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js:202: `Page links for currentPage (${currentPage}) +/- spread of ${spread} (${pageNumber})` nomad-0.10.5+dfsg1/ui/tests/integration/list-pagination-test.js-203- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/multi-select-dropdown-test.js-78- const label = props.options[index].label; nomad-0.10.5+dfsg1/ui/tests/integration/multi-select-dropdown-test.js:79: assert.equal(optionEl.textContent.trim(), label, `Correct label for ${label}`); nomad-0.10.5+dfsg1/ui/tests/integration/multi-select-dropdown-test.js-80- assert.ok(optionEl.querySelector('input[type="checkbox"]'), 'Option contains a checkbox'); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/multi-select-dropdown-test.js-217- if (index < lastIndex) { nomad-0.10.5+dfsg1/ui/tests/integration/multi-select-dropdown-test.js:218: assert.equal(document.activeElement, optionEls[index + 1], `Option ${index + 1} has focus`); nomad-0.10.5+dfsg1/ui/tests/integration/multi-select-dropdown-test.js-219- } ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/multi-select-dropdown-test.js-225- optionEls[lastIndex], nomad-0.10.5+dfsg1/ui/tests/integration/multi-select-dropdown-test.js:226: `Option ${lastIndex} still has focus` nomad-0.10.5+dfsg1/ui/tests/integration/multi-select-dropdown-test.js-227- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/reschedule-event-timeline-test.js-50- find('[data-test-allocation]'), nomad-0.10.5+dfsg1/ui/tests/integration/reschedule-event-timeline-test.js:51: find(`[data-test-allocation="${allocation.id}"]`), nomad-0.10.5+dfsg1/ui/tests/integration/reschedule-event-timeline-test.js-52- 'First allocation is the current allocation' ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/reschedule-event-timeline-test.js-59- find( nomad-0.10.5+dfsg1/ui/tests/integration/reschedule-event-timeline-test.js:60: `[data-test-allocation="${allocation.id}"] [data-test-allocation-link]` nomad-0.10.5+dfsg1/ui/tests/integration/reschedule-event-timeline-test.js-61- ).textContent.trim(), ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/reschedule-event-timeline-test.js-66- find( nomad-0.10.5+dfsg1/ui/tests/integration/reschedule-event-timeline-test.js:67: `[data-test-allocation="${allocation.id}"] [data-test-allocation-status]` nomad-0.10.5+dfsg1/ui/tests/integration/reschedule-event-timeline-test.js-68- ).textContent.trim(), ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/reschedule-event-timeline-test.js-159- findAll('[data-test-allocation]')[1], nomad-0.10.5+dfsg1/ui/tests/integration/reschedule-event-timeline-test.js:160: find(`[data-test-allocation="${allocation.id}"]`), nomad-0.10.5+dfsg1/ui/tests/integration/reschedule-event-timeline-test.js-161- 'Second allocation is the current allocation' ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/streaming-file-test.js-58- assert.equal(this.server.handledRequests.length, 1, 'One request made'); nomad-0.10.5+dfsg1/ui/tests/integration/streaming-file-test.js:59: assert.equal(request.url.split('?')[0], url, `URL is ${url}`); nomad-0.10.5+dfsg1/ui/tests/integration/streaming-file-test.js-60- assert.deepEqual( ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/streaming-file-test.js-81- assert.equal(this.server.handledRequests.length, 1, 'One request made'); nomad-0.10.5+dfsg1/ui/tests/integration/streaming-file-test.js:82: assert.equal(request.url.split('?')[0], url, `URL is ${url}`); nomad-0.10.5+dfsg1/ui/tests/integration/streaming-file-test.js-83- assert.deepEqual( ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/streaming-file-test.js-107- const request = this.server.handledRequests[0]; nomad-0.10.5+dfsg1/ui/tests/integration/streaming-file-test.js:108: assert.equal(request.url.split('?')[0], url, `URL is ${url}`); nomad-0.10.5+dfsg1/ui/tests/integration/streaming-file-test.js-109- assert.equal(find('[data-test-output]').textContent, 'Hello World'); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/task-file-test.js-135- `/v1/client/fs/cat/${props.allocation.id}?path=${encodeURIComponent( nomad-0.10.5+dfsg1/ui/tests/integration/task-file-test.js:136: `${props.task.name}/${props.file}` nomad-0.10.5+dfsg1/ui/tests/integration/task-file-test.js-137- )}`, ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-56- this.server = new Pretender(function() { nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js:57: this.get(`http://${HOST}/v1/client/fs/logs/:allocation_id`, handler); nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-58- this.get('/v1/client/fs/logs/:allocation_id', handler); ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-94- nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js:95: const logUrlRegex = new RegExp(`${HOST}/v1/client/fs/logs/${commonProps.allocation.id}`); nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-96- assert.ok( ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-197- this.server.get( nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js:198: `http://${HOST}/v1/client/fs/logs/:allocation_id`, nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-199- () => [400, {}, ''], ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-209- nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js:210: const clientUrlRegex = new RegExp(`${HOST}/v1/client/fs/logs/${commonProps.allocation.id}`); nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-211- assert.ok( ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-216- await settled(); nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js:217: const serverUrl = `/v1/client/fs/logs/${commonProps.allocation.id}`; nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-218- assert.ok( ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-228- this.server.get( nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js:229: `http://${HOST}/v1/client/fs/logs/:allocation_id`, nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-230- () => [400, {}, ''], ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-246- await settled(); nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js:247: const clientUrlRegex = new RegExp(`${HOST}/v1/client/fs/logs/${commonProps.allocation.id}`); nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-248- assert.ok( ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-251- ); nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js:252: const serverUrl = `/v1/client/fs/logs/${commonProps.allocation.id}`; nomad-0.10.5+dfsg1/ui/tests/integration/task-log-test.js-253- assert.ok( ############################################## nomad-0.10.5+dfsg1/ui/tests/integration/toggle-test.js-34- nomad-0.10.5+dfsg1/ui/tests/integration/toggle-test.js:35: assert.equal(Toggle.label, props.label, `Label should be ${props.label}`); nomad-0.10.5+dfsg1/ui/tests/integration/toggle-test.js-36- assert.ok(Toggle.isPresent); ############################################## nomad-0.10.5+dfsg1/ui/tests/pages/components/error.js-4- return { nomad-0.10.5+dfsg1/ui/tests/pages/components/error.js:5: scope: `[${selectorBase}]`, nomad-0.10.5+dfsg1/ui/tests/pages/components/error.js-6- isPresent: isPresent(), nomad-0.10.5+dfsg1/ui/tests/pages/components/error.js:7: title: text(`[${selectorBase}-title]`), nomad-0.10.5+dfsg1/ui/tests/pages/components/error.js:8: message: text(`[${selectorBase}-message]`), nomad-0.10.5+dfsg1/ui/tests/pages/components/error.js:9: seekHelp: clickable(`[${selectorBase}-message] a`), nomad-0.10.5+dfsg1/ui/tests/pages/components/error.js-10- }; ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js-33- assert.equal( nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js:34: `${req.method} ${req.url}`, nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js:35: `POST /v1/allocation/${allocationId}/stop`, nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js:36: `POST /v1/allocation/${allocationId}/stop` nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js-37- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js-49- assert.equal( nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js:50: `${req.method} ${req.url}`, nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js:51: `PUT /v1/client/allocation/${allocationId}/restart`, nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js:52: `PUT /v1/client/allocation/${allocationId}/restart` nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js-53- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js-66- assert.equal( nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js:67: `${req.method} ${req.url}`, nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js:68: `PUT /v1/client/allocation/${allocationId}/restart`, nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js:69: `PUT /v1/client/allocation/${allocationId}/restart` nomad-0.10.5+dfsg1/ui/tests/unit/adapters/allocation-test.js-70- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-62- pretender.handledRequests.mapBy('url'), nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js:63: [`/v1/job/${jobName}`], nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-64- 'The only request made is /job/:id' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-82- pretender.handledRequests.mapBy('url'), nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js:83: [`/v1/job/${jobName}`], nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-84- 'The only request made is /job/:id with no namespace query param' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-102- pretender.handledRequests.mapBy('url'), nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js:103: [`/v1/job/${jobName}`], nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-104- 'The request made is /job/:id with no namespace query param' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-120- pretender.handledRequests.mapBy('url'), nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js:121: [`/v1/job/${jobName}?namespace=${jobNamespace}`], nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-122- 'The only request made is /job/:id?namespace=:namespace' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-229- pretender.handledRequests[0].url, nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js:230: `/v1/job/${plainId}/summary`, nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-231- 'Relationship was reloaded' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-391- pretender.handledRequests.mapBy('url'), nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js:392: [`/v1/job/${jobName}`, '/v1/jobs'], nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-393- 'No requests include the region query param' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-414- pretender.handledRequests.mapBy('url'), nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js:415: [`/v1/job/${jobName}?region=${region}`, `/v1/jobs?region=${region}`], nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-416- 'Requests include the region query param' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-436- pretender.handledRequests.mapBy('url'), nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js:437: [`/v1/job/${jobName}`, '/v1/jobs'], nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-438- 'No requests include the region query param' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-455- link() { nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js:456: return `/v1/job/${id}/${name}`; nomad-0.10.5+dfsg1/ui/tests/unit/adapters/job-test.js-457- }, ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js-97- request.url, nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js:98: `/v1/node/${node.id}/eligibility`, nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js-99- 'Request was made to /:node_id/eligibility' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js-120- request.url, nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js:121: `/v1/node/${node.id}/eligibility`, nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js-122- 'Request was made to /:node_id/eligibility' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js-141- const request = pretender.handledRequests.lastObject; nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js:142: assert.equal(request.url, `/v1/node/${node.id}/drain`, 'Request was made to /:node_id/drain'); nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js-143- assert.equal(request.method, 'POST', 'Request was made with the POST method'); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js-184- const request = pretender.handledRequests.lastObject; nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js:185: assert.equal(request.url, `/v1/node/${node.id}/drain`, 'Request was made to /:node_id/drain'); nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js-186- assert.equal(request.method, 'POST', 'Request was made with the POST method'); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js-207- const request = pretender.handledRequests.lastObject; nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js:208: assert.equal(request.url, `/v1/node/${node.id}/drain`, 'Request was made to /:node_id/drain'); nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js-209- assert.equal(request.method, 'POST', 'Request was made with the POST method'); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js-229- const request = pretender.handledRequests.lastObject; nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js:230: assert.equal(request.url, `/v1/node/${node.id}/drain`, 'Request was made to /:node_id/drain'); nomad-0.10.5+dfsg1/ui/tests/unit/adapters/node-test.js-231- assert.equal(request.method, 'POST', 'Request was made with the POST method'); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/serializers/allocation-test.js-218- normalizationTestCases.forEach(testCase => { nomad-0.10.5+dfsg1/ui/tests/unit/serializers/allocation-test.js:219: test(`normalization: ${testCase.name}`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/unit/serializers/allocation-test.js-220- assert.deepEqual(this.subject().normalize(AllocationModel, testCase.in), testCase.out); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/serializers/deployment-test.js-122- normalizationTestCases.forEach(testCase => { nomad-0.10.5+dfsg1/ui/tests/unit/serializers/deployment-test.js:123: test(`normalization: ${testCase.name}`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/unit/serializers/deployment-test.js-124- assert.deepEqual(this.subject().normalize(DeploymentModel, testCase.in), testCase.out); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/serializers/evaluation-test.js-106- normalizationTestCases.forEach(testCase => { nomad-0.10.5+dfsg1/ui/tests/unit/serializers/evaluation-test.js:107: test(`normalization: ${testCase.name}`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/unit/serializers/evaluation-test.js-108- assert.deepEqual(this.subject().normalize(EvaluationModel, testCase.in), testCase.out); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/serializers/job-plan-test.js-141- normalizationTestCases.forEach(testCase => { nomad-0.10.5+dfsg1/ui/tests/unit/serializers/job-plan-test.js:142: test(`normalization: ${testCase.name}`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/unit/serializers/job-plan-test.js-143- assert.deepEqual(this.subject().normalize(JobPlanModel, testCase.in), testCase.out); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/serializers/job-summary-test.js-97- normalizationTestCases.forEach(testCase => { nomad-0.10.5+dfsg1/ui/tests/unit/serializers/job-summary-test.js:98: test(`normalization: ${testCase.name}`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/unit/serializers/job-summary-test.js-99- assert.deepEqual(this.subject().normalize(JobSummaryModel, testCase.in), testCase.out); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/serializers/network-test.js-28- const { data } = this.subject().normalize(NetworkModel, original); nomad-0.10.5+dfsg1/ui/tests/unit/serializers/network-test.js:29: assert.equal(data.attributes.ip, `[${ip}]`); nomad-0.10.5+dfsg1/ui/tests/unit/serializers/network-test.js-30- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/serializers/node-test.js-168- normalizationTestCases.forEach(testCase => { nomad-0.10.5+dfsg1/ui/tests/unit/serializers/node-test.js:169: test(`normalization: ${testCase.name}`, async function(assert) { nomad-0.10.5+dfsg1/ui/tests/unit/serializers/node-test.js-170- assert.deepEqual(this.subject().normalize(NodeModel, testCase.in), testCase.out); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/services/stats-trackers-registry-test.js-69- Array.from(registry.get('registryRef').keys()), nomad-0.10.5+dfsg1/ui/tests/unit/services/stats-trackers-registry-test.js:70: [`node:${id}`], nomad-0.10.5+dfsg1/ui/tests/unit/services/stats-trackers-registry-test.js-71- 'The object in the registry has the correct key' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/services/stats-trackers-registry-test.js-110- // isn't important as long as there is one. nomad-0.10.5+dfsg1/ui/tests/unit/services/stats-trackers-registry-test.js:111: assert.ok(ref.limit < Infinity, `A limit (${ref.limit}) is set`); nomad-0.10.5+dfsg1/ui/tests/unit/services/stats-trackers-registry-test.js-112- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/services/stats-trackers-registry-test.js-168- // Add a new tracker to the registry nomad-0.10.5+dfsg1/ui/tests/unit/services/stats-trackers-registry-test.js:169: const newNode = mockNode.create({ id: `node-${i}` }); nomad-0.10.5+dfsg1/ui/tests/unit/services/stats-trackers-registry-test.js-170- registry.getTracker(newNode); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/services/stats-trackers-registry-test.js-196- assert.ok( nomad-0.10.5+dfsg1/ui/tests/unit/services/stats-trackers-registry-test.js:197: this.tokenAuthorizedRequestSpy.calledWith(`/v1/client/stats?node_id=${node.get('id')}`), nomad-0.10.5+dfsg1/ui/tests/unit/services/stats-trackers-registry-test.js-198- 'The token service authorizedRequest function was used' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/services/token-test.js-38- this.server.handledRequests.pop().url, nomad-0.10.5+dfsg1/ui/tests/unit/services/token-test.js:39: `/path?region=${this.system.get('activeRegion')}`, nomad-0.10.5+dfsg1/ui/tests/unit/services/token-test.js-40- 'The region param is included when the system service shouldIncludeRegion property is true' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/add-to-path-test.js-27- testCase.out, nomad-0.10.5+dfsg1/ui/tests/unit/utils/add-to-path-test.js:28: `[${testCase.in.join(', ')}] => ${testCase.out}` nomad-0.10.5+dfsg1/ui/tests/unit/utils/add-to-path-test.js-29- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-108- tracker.get('url'), nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js:109: `/v1/client/allocation/${allocation.id}/stats`, nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-110- 'Url is derived from the allocation id' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-140- const trackerTask = tracker.get('tasks').findBy('task', task.name); nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js:141: assert.equal(trackerTask.reservedCPU, task.reservedCPU, `CPU matches for task ${task.name}`); nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-142- assert.equal( ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-144- task.reservedMemory, nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js:145: `Memory matches for task ${task.name}` nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-146- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-168- server.handledRequests[0].url, nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js:169: `/v1/client/allocation/${allocation.id}/stats`, nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-170- 'The correct URL was requested' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-341- bufferSize, nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js:342: `20 calls to append, only ${bufferSize} frames in the stats array` nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-343- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-346- bufferSize, nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js:347: `20 calls to append, only ${bufferSize} frames in the stats array` nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-348- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-364- bufferSize, nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js:365: `20 calls to append, only ${bufferSize} frames in the stats array` nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-366- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-369- bufferSize, nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js:370: `20 calls to append, only ${bufferSize} frames in the stats array` nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-371- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-422- someObject.get('stats.url'), nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js:423: `/v1/client/allocation/${allocation.id}/stats`, nomad-0.10.5+dfsg1/ui/tests/unit/utils/allocation-stats-tracker-test.js-424- 'stats computed property macro creates an AllocationStatsTracker' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js-78- const mocks = makeMocks(''); nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js:79: const expectedUrl = `${mocks.url}?a=param&another=one&offset=0&origin=start`; nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js-80- const log = Log.create(mocks); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js-83- log.get('gotoHead').perform(); nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js:84: assert.ok(fetchSpy.calledWith(expectedUrl), `gotoHead URL was ${expectedUrl}`); nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js-85- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js-91- .join(''); nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js:92: const encodedLongLog = `{"Offset":0,"Data":"${window.btoa(longLog)}"}`; nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js-93- const truncationMessage = ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js-119- const mocks = makeMocks(''); nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js:120: const expectedUrl = `${mocks.url}?a=param&another=one&offset=50000&origin=end`; nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js-121- const log = Log.create(mocks); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js-124- log.get('gotoTail').perform(); nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js:125: assert.ok(fetchSpy.calledWith(expectedUrl), `gotoTail URL was ${expectedUrl}`); nomad-0.10.5+dfsg1/ui/tests/unit/utils/log-test.js-126- }); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js-52- tracker.get('url'), nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js:53: `/v1/client/stats?node_id=${node.id}`, nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js-54- 'Url is derived from the node id' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js-88- server.handledRequests[0].url, nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js:89: `/v1/client/stats?node_id=${node.id}`, nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js-90- 'The correct URL was requested' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js-155- bufferSize, nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js:156: `20 calls to append, only ${bufferSize} frames in the stats array` nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js-157- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js-160- bufferSize, nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js:161: `20 calls to append, only ${bufferSize} frames in the stats array` nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js-162- ); ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js-190- someObject.get('stats.url'), nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js:191: `/v1/client/stats?node_id=${node.id}`, nomad-0.10.5+dfsg1/ui/tests/unit/utils/node-stats-tracker-test.js-192- 'stats computed property macro creates a NodeStatsTracker' ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/stream-frames-test.js-8- name: 'Single frame', nomad-0.10.5+dfsg1/ui/tests/unit/utils/stream-frames-test.js:9: in: `{"Offset":100,"Data":"${btoa('Hello World')}"}`, nomad-0.10.5+dfsg1/ui/tests/unit/utils/stream-frames-test.js-10- out: { ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/stream-frames-test.js-17- // prettier-ignore nomad-0.10.5+dfsg1/ui/tests/unit/utils/stream-frames-test.js:18: in: `{"Offset":1,"Data":"${btoa('One fish,')}"}{"Offset":2,"Data":"${btoa( ' Two fish.')}"}{"Offset":3,"Data":"${btoa(' Red fish, ')}"}{"Offset":4,"Data":"${btoa('Blue fish.')}"}`, nomad-0.10.5+dfsg1/ui/tests/unit/utils/stream-frames-test.js-19- out: { ############################################## nomad-0.10.5+dfsg1/ui/tests/unit/utils/stream-frames-test.js-36- decodeTestCases.forEach(testCase => { nomad-0.10.5+dfsg1/ui/tests/unit/utils/stream-frames-test.js:37: test(`decode: ${testCase.name}`, function(assert) { nomad-0.10.5+dfsg1/ui/tests/unit/utils/stream-frames-test.js-38- assert.deepEqual(decode(testCase.in), testCase.out); ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/consul-template/CHANGELOG.md-383- * `-auth` is now `-consul-auth` nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/consul-template/CHANGELOG.md:384: * `-ssl-(.*)` is now `-consul-ssl-$1` nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/consul-template/CHANGELOG.md-385- * `-retry` is now `-consul-retry` and has been broken apart into more ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/consul-template/README.md-140- nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/consul-template/README.md:141:1. Move the binary into `$PATH`. nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/consul-template/README.md-142- ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/consul-template/README.md-2439-This will compile the `consul-template` binary into `bin/consul-template` as nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/consul-template/README.md:2440:well as your `$GOPATH` and run the test suite. nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/consul-template/README.md-2441- ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/consul-template/template/funcs.go-1316-// sockaddr wraps go-sockaddr templating nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/consul-template/template/funcs.go:1317:func sockaddr(args ...string) (string, error) { nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/consul-template/template/funcs.go-1318- t := fmt.Sprintf("{{ %s }} ", strings.Join(args, " ")) ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-connlimit/connlimit.go-104-func addrKey(conn net.Conn) string { nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-connlimit/connlimit.go:105: addr := conn.RemoteAddr() nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-connlimit/connlimit.go-106- switch a := addr.(type) { ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/build.sh-265- nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/build.sh:266:[ "." = `dirname $0` ] && _main "$@" nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/build.sh-267- ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/decode.go-1416- } else if fti.mfp { nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/decode.go:1417: mf = rv2i(rv.Addr()).(MissingFielder) nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/decode.go-1418- } ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/decode.go-2796- fn.fd(d, &fn.i, rvp) nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/decode.go:2797: } else if rv.CanAddr() { nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/decode.go:2798: fn.fd(d, &fn.i, rv.Addr()) nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/decode.go-2799- } else if !fn.i.addrF { ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/decode.go-2832- case reflect.Array: nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/decode.go:2833: return rv, rv.CanAddr() nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/decode.go-2834- case reflect.Ptr: ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go-502- l = rv.Len() nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:503: if rv.CanAddr() { nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go-504- ee.EncodeStringBytesRaw(rv.Slice(0, l).Bytes()) ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go-700- } else if f.ti.mfp { nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:701: if rv.CanAddr() { nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:702: mf = rv2i(rv.Addr()).(MissingFielder).CodecMissingFields() nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go-703- } else { ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go-1658- // TODO: Movable pointers will be an issue here. Future problem. nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:1659: sptr = rv.UnsafeAddr() nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go-1660- break TOP ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go-1691- fn.fe(e, &fn.i, rvp) nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:1692: } else if rv.CanAddr() { nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go:1693: fn.fe(e, &fn.i, rv.Addr()) nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/encode.go-1694- } else { ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/helper.go-1945- } nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/helper.go:1946: if ti.isFlag(typeInfoFlagIsZeroerPtr) && v.CanAddr() { nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/helper.go:1947: return rv2i(v.Addr()).(isZeroer).IsZero() nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/helper.go-1948- } ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/helper_unsafe.go-716-// func rv2i(rv reflect.Value) interface{} { nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/helper_unsafe.go:717:// if _USE_RV_INTERFACE || rv.Kind() == reflect.Interface || rv.CanAddr() { nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/go-msgpack/codec/helper_unsafe.go-718-// return rv.Interface() ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl/hcl/strconv/quote.go-47- // If we're starting a '${}' then let it through un-unquoted. nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl/hcl/strconv/quote.go:48: // Specifically: we don't unquote any characters within the `${}` nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl/hcl/strconv/quote.go-49- // section, except for escaped backslashes, which we handle specifically. ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/gohcl/decode.go-111- diags = append(diags, DecodeExpression( nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/gohcl/decode.go:112: attr.Expr, ctx, fieldV.Addr().Interface(), nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/gohcl/decode.go-113- )...) ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md-769-The interpolation and directive introductions are escaped by doubling their nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md:770:leading characters. The `${` sequence is escaped as `$${` and the `%{` nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md-771-sequence is escaped as `%%{`. ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md-781- nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md:782:- `hello ${~ "world" }` produces `"helloworld"`. nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md-783-- `%{ if true ~} hello %{~ endif }` produces `"hello"`. ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md-791- nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md:792:- `${"hello" ~}${" world"}` produces `"hello world"`, and not `"helloworld"`, nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md-793- because the space is not in a template literal directly adjacent to the ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md-869- nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md:870:- `${true}` produces the boolean value `true` nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md:871:- `${"${true}"}` produces the boolean value `true`, because both the inner nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md-872- and outer interpolations are subject to unwrapping. nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md:873:- `hello ${true}` produces the string `"hello true"` nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md:874:- `${""}${true}` produces the string `"true"` because there are two nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md-875- interpolation sequences, even though one produces an empty result. nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md:876:- `%{ for v in [true] }${v}%{ endif }` produces the string `true` because nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/spec.md-877- the presence of the `for` directive circumvents the unwrapping even though ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/json/spec.md-313-embedded template interpolation can be used to faithfully represent a number, nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/json/spec.md:314:such as `"${1e150}"`, which will then be evaluated by the underlying HCL native nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/hcl2/hcl/json/spec.md-315-syntax expression evaluator. ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/vault/api/output_string.go-47- if strings.ToLower(k) == "x-vault-token" { nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/vault/api/output_string.go:48: h = `$(vault print token)` nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/vault/api/output_string.go-49- } ############################################## nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/vault/helper/parseutil/parseutil.go-152- for _, addr := range stringAddrs { nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/vault/helper/parseutil/parseutil.go:153: sa, err := sockaddr.NewSockAddr(addr) nomad-0.10.5+dfsg1/vendor/github.com/hashicorp/vault/helper/parseutil/parseutil.go-154- if err != nil { ############################################## nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/build.sh-265- nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/build.sh:266:[ "." = `dirname $0` ] && _main "$@" nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/build.sh-267- ############################################## nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/decode.go-1416- } else if fti.mfp { nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/decode.go:1417: mf = rv2i(rv.Addr()).(MissingFielder) nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/decode.go-1418- } ############################################## nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/decode.go-2796- fn.fd(d, &fn.i, rvp) nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/decode.go:2797: } else if rv.CanAddr() { nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/decode.go:2798: fn.fd(d, &fn.i, rv.Addr()) nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/decode.go-2799- } else if !fn.i.addrF { ############################################## nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/decode.go-2832- case reflect.Array: nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/decode.go:2833: return rv, rv.CanAddr() nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/decode.go-2834- case reflect.Ptr: ############################################## nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go-502- l = rv.Len() nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go:503: if rv.CanAddr() { nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go-504- ee.EncodeStringBytesRaw(rv.Slice(0, l).Bytes()) ############################################## nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go-700- } else if f.ti.mfp { nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go:701: if rv.CanAddr() { nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go:702: mf = rv2i(rv.Addr()).(MissingFielder).CodecMissingFields() nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go-703- } else { ############################################## nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go-1658- // TODO: Movable pointers will be an issue here. Future problem. nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go:1659: sptr = rv.UnsafeAddr() nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go-1660- break TOP ############################################## nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go-1691- fn.fe(e, &fn.i, rvp) nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go:1692: } else if rv.CanAddr() { nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go:1693: fn.fe(e, &fn.i, rv.Addr()) nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/encode.go-1694- } else { ############################################## nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/helper.go-1945- } nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/helper.go:1946: if ti.isFlag(typeInfoFlagIsZeroerPtr) && v.CanAddr() { nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/helper.go:1947: return rv2i(v.Addr()).(isZeroer).IsZero() nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/helper.go-1948- } ############################################## nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/helper_unsafe.go-716-// func rv2i(rv reflect.Value) interface{} { nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/helper_unsafe.go:717:// if _USE_RV_INTERFACE || rv.Kind() == reflect.Interface || rv.CanAddr() { nomad-0.10.5+dfsg1/vendor/github.com/ugorji/go/codec/helper_unsafe.go-718-// return rv.Interface() ############################################## nomad-0.10.5+dfsg1/website/source/api/json-jobs.html.md-20- nomad-0.10.5+dfsg1/website/source/api/json-jobs.html.md:21:Below is the JSON representation of the job outputted by `$ nomad init`: nomad-0.10.5+dfsg1/website/source/api/json-jobs.html.md-22- ############################################## nomad-0.10.5+dfsg1/website/source/api/json-jobs.html.md-392- nomad-0.10.5+dfsg1/website/source/api/json-jobs.html.md:393: - `Name`: An explicit name for the Service. Nomad will replace `${JOB}`, nomad-0.10.5+dfsg1/website/source/api/json-jobs.html.md:394: `${TASKGROUP}` and `${TASK}` by the name of the job, task group or task, nomad-0.10.5+dfsg1/website/source/api/json-jobs.html.md:395: respectively. `${BASE}` expands to the equivalent of nomad-0.10.5+dfsg1/website/source/api/json-jobs.html.md:396: `${JOB}-${TASKGROUP}-${TASK}`, and is the default name for a Service. nomad-0.10.5+dfsg1/website/source/api/json-jobs.html.md-397- Each service defined for a given task must have a distinct name, so if ############################################## nomad-0.10.5+dfsg1/website/source/api/json-jobs.html.md-1025- left empty Nomad will evenly spread allocations across values of the attribute. nomad-0.10.5+dfsg1/website/source/api/json-jobs.html.md:1026: - `Value` - The value of a specific target attribute, like "dc1" for `${node.datacenter}`. nomad-0.10.5+dfsg1/website/source/api/json-jobs.html.md-1027- - `Percent` - Desired percentage of allocations for this attribute value. The sum of ############################################## nomad-0.10.5+dfsg1/website/source/docs/commands/alloc/exec.html.md.erb-82- nomad-0.10.5+dfsg1/website/source/docs/commands/alloc/exec.html.md.erb:83:Here, we must start a shell in task to interpolate `$NOMAD_ALLOC_ID`, and quote nomad-0.10.5+dfsg1/website/source/docs/commands/alloc/exec.html.md.erb-84-command or use the [heredoc syntax][heredoc] ############################################## nomad-0.10.5+dfsg1/website/source/docs/commands/job/revert.html.md.erb-15-The revert command will use a Consul token with the following preference: nomad-0.10.5+dfsg1/website/source/docs/commands/job/revert.html.md.erb:16:first the `-consul-token` flag, then the `$CONSUL_TOKEN` environment variable. nomad-0.10.5+dfsg1/website/source/docs/commands/job/revert.html.md.erb-17-Because the consul token used to [run] the targeted job version was not ############################################## nomad-0.10.5+dfsg1/website/source/docs/commands/job/revert.html.md.erb-22-The revert command will use a Vault token with the following preference: nomad-0.10.5+dfsg1/website/source/docs/commands/job/revert.html.md.erb:23:first the `-vault-token` flag, then the `$VAULT_TOKEN` environment variable. nomad-0.10.5+dfsg1/website/source/docs/commands/job/revert.html.md.erb-24-Because the vault token used to [run] the targeted job version was not ############################################## nomad-0.10.5+dfsg1/website/source/docs/commands/job/run.html.md.erb-43-precedence, going from highest to lowest: the `-consul-token` flag, the nomad-0.10.5+dfsg1/website/source/docs/commands/job/run.html.md.erb:44:`$CONSUL_TOKEN` environment variable and finally the value in the job file. nomad-0.10.5+dfsg1/website/source/docs/commands/job/run.html.md.erb-45- ############################################## nomad-0.10.5+dfsg1/website/source/docs/commands/job/run.html.md.erb-47-precedence, going from highest to lowest: the `-vault-token` flag, the nomad-0.10.5+dfsg1/website/source/docs/commands/job/run.html.md.erb:48:`$VAULT_TOKEN` environment variable and finally the value in the job file. nomad-0.10.5+dfsg1/website/source/docs/commands/job/run.html.md.erb-49- ############################################## nomad-0.10.5+dfsg1/website/source/docs/configuration/server_join.html.md-223-- On Windows, this is `%APPDATA%/gcloud/application_default_credentials.json`. nomad-0.10.5+dfsg1/website/source/docs/configuration/server_join.html.md:224:- On other systems, `$HOME/.config/gcloud/application_default_credentials.json`. nomad-0.10.5+dfsg1/website/source/docs/configuration/server_join.html.md-225-- On Google Compute Engine, use credentials from the metadata ############################################## nomad-0.10.5+dfsg1/website/source/docs/drivers/java.html.md-102- nomad-0.10.5+dfsg1/website/source/docs/drivers/java.html.md:103:The `java` driver requires Java to be installed and in your system's `$PATH`. On nomad-0.10.5+dfsg1/website/source/docs/drivers/java.html.md-104-Linux, Nomad must run as root since it will use `chroot` and `cgroups` which ############################################## nomad-0.10.5+dfsg1/website/source/docs/drivers/qemu.html.md-106- nomad-0.10.5+dfsg1/website/source/docs/drivers/qemu.html.md:107:The `qemu` driver requires Qemu to be installed and in your system's `$PATH`. nomad-0.10.5+dfsg1/website/source/docs/drivers/qemu.html.md-108-The task must also specify at least one artifact to download, as this is the only ############################################## nomad-0.10.5+dfsg1/website/source/docs/drivers/rkt.html.md-113- value is the port name specified in the image manifest file. When running nomad-0.10.5+dfsg1/website/source/docs/drivers/rkt.html.md:114: Docker images with rkt the port names will be of the form `${PORT}-tcp`. See nomad-0.10.5+dfsg1/website/source/docs/drivers/rkt.html.md-115- [networking](#networking) below for more details. ############################################## nomad-0.10.5+dfsg1/website/source/docs/drivers/rkt.html.md-192-* The Nomad client agent to be running as the root user. nomad-0.10.5+dfsg1/website/source/docs/drivers/rkt.html.md:193:* rkt to be installed and in your system's `$PATH`. nomad-0.10.5+dfsg1/website/source/docs/drivers/rkt.html.md-194-* The `trust_prefix` must be accessible by the node running Nomad. This can be an ############################################## nomad-0.10.5+dfsg1/website/source/docs/job-specification/constraint.html.md-32-For example, because all [tasks within a group are scheduled on the same client node][group], nomad-0.10.5+dfsg1/website/source/docs/job-specification/constraint.html.md:33:specifying different [`${attr.unique.hostname}`][node-variables] constraints at nomad-0.10.5+dfsg1/website/source/docs/job-specification/constraint.html.md-34-the task level will cause a job to be unplaceable. ############################################## nomad-0.10.5+dfsg1/website/source/docs/job-specification/service.html.md-100- nomad-0.10.5+dfsg1/website/source/docs/job-specification/service.html.md:101: - `${JOB}` - the name of the job nomad-0.10.5+dfsg1/website/source/docs/job-specification/service.html.md:102: - `${GROUP}` - the name of the group nomad-0.10.5+dfsg1/website/source/docs/job-specification/service.html.md:103: - `${TASK}` - the name of the task nomad-0.10.5+dfsg1/website/source/docs/job-specification/service.html.md:104: - `${BASE}` - shorthand for `${JOB}-${GROUP}-${TASK}` nomad-0.10.5+dfsg1/website/source/docs/job-specification/service.html.md-105- ############################################## nomad-0.10.5+dfsg1/website/source/docs/job-specification/service.html.md-300-This example shows a service with a script check that is evaluated and interpolated in a shell; it nomad-0.10.5+dfsg1/website/source/docs/job-specification/service.html.md:301:tests whether a file is present at `${HEALTH_CHECK_FILE}` environment variable: nomad-0.10.5+dfsg1/website/source/docs/job-specification/service.html.md-302- ############################################## nomad-0.10.5+dfsg1/website/source/docs/job-specification/service.html.md-312- nomad-0.10.5+dfsg1/website/source/docs/job-specification/service.html.md:313:Using `/bin/bash` (or another shell) is required here to interpolate the `${HEALTH_CHECK_FILE}` value. nomad-0.10.5+dfsg1/website/source/docs/job-specification/service.html.md-314- ############################################## nomad-0.10.5+dfsg1/website/source/docs/job-specification/spread.html.md-144-where there are two datacenters `us-east1` and `us-west1`, and each datacenter has nodes nomad-0.10.5+dfsg1/website/source/docs/job-specification/spread.html.md:145:with `${meta.rack}` being `r1` or `r2`. With the following spread stanza used on a job with `count=12`, Nomad nomad-0.10.5+dfsg1/website/source/docs/job-specification/spread.html.md-146-will attempt to place 6 allocations in each datacenter. Within a datacenter, Nomad will ############################################## nomad-0.10.5+dfsg1/website/source/docs/job-specification/template.html.md-224- nomad-0.10.5+dfsg1/website/source/docs/job-specification/template.html.md:225:The parser will read the JSON string, so the `$CERT_PEM` environment variable nomad-0.10.5+dfsg1/website/source/docs/job-specification/template.html.md-226-will be identical to the contents of the file. ############################################## nomad-0.10.5+dfsg1/website/source/docs/runtime/interpolation.html.md.erb-16- nomad-0.10.5+dfsg1/website/source/docs/runtime/interpolation.html.md.erb:17:The syntax for interpreting variables is `${variable}`. An example and a nomad-0.10.5+dfsg1/website/source/docs/runtime/interpolation.html.md.erb-18-comprehensive list of interpretable fields can be seen below: ############################################## nomad-0.10.5+dfsg1/website/source/docs/runtime/interpolation.html.md.erb-205- nomad-0.10.5+dfsg1/website/source/docs/runtime/interpolation.html.md.erb:206:Environment variables should be enclosed in brackets `${...}` for nomad-0.10.5+dfsg1/website/source/docs/runtime/interpolation.html.md.erb-207-interpolation. ############################################## nomad-0.10.5+dfsg1/website/source/docs/runtime/interpolation.html.md.erb-223-The environment variable `invalid...name` cannot be interpolated using the nomad-0.10.5+dfsg1/website/source/docs/runtime/interpolation.html.md.erb:224:standard `"${invalid...name}"` syntax. The dots will be interpreted as object nomad-0.10.5+dfsg1/website/source/docs/runtime/interpolation.html.md.erb-225-notation so multiple consecutive dots are invalid. ############################################## nomad-0.10.5+dfsg1/website/source/guides/integrations/consul-connect/index.html.md-53- nomad-0.10.5+dfsg1/website/source/guides/integrations/consul-connect/index.html.md:54:**Note**: Nomad's Connect integration requires Consul in your `$PATH` nomad-0.10.5+dfsg1/website/source/guides/integrations/consul-connect/index.html.md-55- ############################################## nomad-0.10.5+dfsg1/website/source/guides/integrations/consul-connect/index.html.md-316- nomad-0.10.5+dfsg1/website/source/guides/integrations/consul-connect/index.html.md:317:The web frontend is configured via the `$COUNTING_SERVICE_URL`, so you must nomad-0.10.5+dfsg1/website/source/guides/integrations/consul-connect/index.html.md-318-interpolate the upstream's address into that environment variable. Note that ############################################## nomad-0.10.5+dfsg1/website/source/guides/integrations/consul-connect/index.html.md-323- nomad-0.10.5+dfsg1/website/source/guides/integrations/consul-connect/index.html.md:324: - The `consul` binary must be present in Nomad's `$PATH` to run the Envoy nomad-0.10.5+dfsg1/website/source/guides/integrations/consul-connect/index.html.md-325- proxy sidecar on client nodes. ############################################## nomad-0.10.5+dfsg1/website/source/guides/operating-a-job/advanced-scheduling/affinity.html.md-122-Note that we used the `affinity` stanza and specified `dc2` as the nomad-0.10.5+dfsg1/website/source/guides/operating-a-job/advanced-scheduling/affinity.html.md:123:value for the [attribute][attributes] `${node.datacenter}`. We used the value `100` for the [weight][weight] which will cause the Nomad scheduler to rank nodes in datacenter `dc2` with a higher score. Keep in mind that weights can range from -100 to 100, inclusive. Negative weights serve as anti-affinities which cause Nomad to avoid placing allocations on nodes that match the criteria. nomad-0.10.5+dfsg1/website/source/guides/operating-a-job/advanced-scheduling/affinity.html.md-124- ############################################## nomad-0.10.5+dfsg1/website/source/guides/operations/node-draining.html.md-284-```text nomad-0.10.5+dfsg1/website/source/guides/operations/node-draining.html.md:285:$ nomad node status | awk '{ print $2 " " $1 }' | grep ^dc1 | awk '{ system("nomad node eligibility -disable "$2) }' nomad-0.10.5+dfsg1/website/source/guides/operations/node-draining.html.md-286-Node "f7476465-4d6e-c0de-26d0-e383c49be941" scheduling eligibility set: ineligible for scheduling ############################################## nomad-0.10.5+dfsg1/website/source/guides/upgrade/upgrade-specific.html.md-400-Nomad 0.3.0 has made several substantial changes to job files included a new nomad-0.10.5+dfsg1/website/source/guides/upgrade/upgrade-specific.html.md:401:`log` block and variable interpretation syntax (`${var}`), a modified `restart` nomad-0.10.5+dfsg1/website/source/guides/upgrade/upgrade-specific.html.md-402-policy syntax, and minimum resources for tasks as well as validation. These ############################################## nomad-0.10.5+dfsg1/website/source/guides/upgrade/upgrade-specific.html.md-407- nomad-0.10.5+dfsg1/website/source/guides/upgrade/upgrade-specific.html.md:408:* All instances of `$var` must be converted to the new syntax of `${var}` nomad-0.10.5+dfsg1/website/source/guides/upgrade/upgrade-specific.html.md-409- ############################################## nomad-0.10.5+dfsg1/debian/rules-28- ## Remove Files-Excluded (when built from checkout or non-DFSG tarball): nomad-0.10.5+dfsg1/debian/rules:29: $(RM) -rv `perl -0nE 'say $$1 if m{^Files\-Excluded\:\s*(.*?)(?:\n\n|Files:|Comment:)}sm;' debian/copyright` nomad-0.10.5+dfsg1/debian/rules-30- -find vendor -mindepth 1 -type d -empty -delete -printf 'removed %p\n' ############################################## nomad-0.10.5+dfsg1/.pc/consul-upgrade.patch/helper/freeport/freeport_test.go-157- func() { nomad-0.10.5+dfsg1/.pc/consul-upgrade.patch/helper/freeport/freeport_test.go:158: leakyListener, err := net.ListenTCP("tcp", tcpAddr("127.0.0.1", leakedPort)) nomad-0.10.5+dfsg1/.pc/consul-upgrade.patch/helper/freeport/freeport_test.go-159- if err != nil { ############################################## nomad-0.10.5+dfsg1/.pc/consul-upgrade.patch/helper/freeport/freeport_test.go-238- for _, port := range allPorts { nomad-0.10.5+dfsg1/.pc/consul-upgrade.patch/helper/freeport/freeport_test.go:239: ln, err := net.ListenTCP("tcp", tcpAddr("127.0.0.1", port)) nomad-0.10.5+dfsg1/.pc/consul-upgrade.patch/helper/freeport/freeport_test.go-240- if err != nil { ############################################## nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go-239- // Set up the bind addresses nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go:240: rpcAddr, err := net.ResolveTCPAddr("tcp", agentConfig.normalizedAddrs.RPC) nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go-241- if err != nil { ############################################## nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go-243- } nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go:244: serfAddr, err := net.ResolveTCPAddr("tcp", agentConfig.normalizedAddrs.Serf) nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go-245- if err != nil { ############################################## nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go-253- // Set up the advertise addresses nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go:254: rpcAddr, err = net.ResolveTCPAddr("tcp", agentConfig.AdvertiseAddrs.RPC) nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go-255- if err != nil { ############################################## nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go-257- } nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go:258: serfAddr, err = net.ResolveTCPAddr("tcp", agentConfig.AdvertiseAddrs.Serf) nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go-259- if err != nil { ############################################## nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go-264- // address that all servers should be able to communicate over RPC with. nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go:265: serverAddr, err := net.ResolveTCPAddr("tcp", net.JoinHostPort(serfAddr.IP.String(), fmt.Sprintf("%d", rpcAddr.Port))) nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/agent.go-266- if err != nil { ############################################## nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/config_test.go-607- nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/config_test.go:608: if net := ln.Addr().Network(); net != "tcp" { nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/config_test.go-609- t.Fatalf("expected tcp, got: %q", net) ############################################## nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/config_test.go-611- want := fmt.Sprintf("127.0.0.1:%d", ports[0]) nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/config_test.go:612: if addr := ln.Addr().String(); addr != want { nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/config_test.go-613- t.Fatalf("expected %q, got: %q", want, addr) ############################################## nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/config_test.go-624- want = fmt.Sprintf("0.0.0.0:%d", ports[1]) nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/config_test.go:625: if addr := ln.Addr().String(); addr != want { nomad-0.10.5+dfsg1/.pc/consul-upgrade3.patch/command/agent/config_test.go-626- t.Fatalf("expected %q, got: %q", want, addr) ############################################## nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go-667- nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go:668: addr := s.raftTransport.LocalAddr() nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go-669- ############################################## nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go-1038- } else { nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go:1039: s.clientRpcAdvertise = s.rpcListener.Addr() nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go-1040- } ############################################## nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go-1062- addr := net.JoinHostPort(serfIP, fmt.Sprintf("%d", clientAddr.Port)) nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go:1063: resolved, err := net.ResolveTCPAddr("tcp", addr) nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go-1064- if err != nil { ############################################## nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go-1181- // address of the transport. Raft protocol 3 uses permanent ids. nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go:1182: s.config.RaftConfig.LocalID = raft.ServerID(trans.LocalAddr()) nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go-1183- if s.config.RaftConfig.ProtocolVersion >= 3 { ############################################## nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go-1291- ID: s.config.RaftConfig.LocalID, nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go:1292: Address: trans.LocalAddr(), nomad-0.10.5+dfsg1/.pc/hclog.patch/nomad/server.go-1293- }, ############################################## nomad-0.10.5+dfsg1/.pc/rkt_hostname.patch/website/source/docs/drivers/rkt.html.md-100- value is the port name specified in the image manifest file. When running nomad-0.10.5+dfsg1/.pc/rkt_hostname.patch/website/source/docs/drivers/rkt.html.md:101: Docker images with rkt the port names will be of the form `${PORT}-tcp`. See nomad-0.10.5+dfsg1/.pc/rkt_hostname.patch/website/source/docs/drivers/rkt.html.md-102- [networking](#networking) below for more details. ############################################## nomad-0.10.5+dfsg1/.pc/rkt_hostname.patch/website/source/docs/drivers/rkt.html.md-179-* The Nomad client agent to be running as the root user. nomad-0.10.5+dfsg1/.pc/rkt_hostname.patch/website/source/docs/drivers/rkt.html.md:180:* rkt to be installed and in your system's `$PATH`. nomad-0.10.5+dfsg1/.pc/rkt_hostname.patch/website/source/docs/drivers/rkt.html.md-181-* The `trust_prefix` must be accessible by the node running Nomad. This can be an ############################################## nomad-0.10.5+dfsg1/.pc/rkt_options.patch/website/source/docs/drivers/rkt.html.md-102- value is the port name specified in the image manifest file. When running nomad-0.10.5+dfsg1/.pc/rkt_options.patch/website/source/docs/drivers/rkt.html.md:103: Docker images with rkt the port names will be of the form `${PORT}-tcp`. See nomad-0.10.5+dfsg1/.pc/rkt_options.patch/website/source/docs/drivers/rkt.html.md-104- [networking](#networking) below for more details. ############################################## nomad-0.10.5+dfsg1/.pc/rkt_options.patch/website/source/docs/drivers/rkt.html.md-181-* The Nomad client agent to be running as the root user. nomad-0.10.5+dfsg1/.pc/rkt_options.patch/website/source/docs/drivers/rkt.html.md:182:* rkt to be installed and in your system's `$PATH`. nomad-0.10.5+dfsg1/.pc/rkt_options.patch/website/source/docs/drivers/rkt.html.md-183-* The `trust_prefix` must be accessible by the node running Nomad. This can be an ############################################## nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/nomad/node_endpoint_test.go-834- advAddr := "127.0.1.1:1234" nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/nomad/node_endpoint_test.go:835: adv, err := net.ResolveTCPAddr("tcp", advAddr) nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/nomad/node_endpoint_test.go-836- require.Nil(err) ############################################## nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/nomad/client_rpc_test.go-25- nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/nomad/client_rpc_test.go:26:func (n namedConnWrapper) LocalAddr() net.Addr { nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/nomad/client_rpc_test.go:27: return namedAddr(n.name) nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/nomad/client_rpc_test.go-28-} ############################################## nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/nomad/client_rpc_test.go-66- require.True(ok) nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/nomad/client_rpc_test.go:67: require.Equal(state.Ctx.Conn.LocalAddr().String(), w2.name) nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/nomad/client_rpc_test.go-68- ############################################## nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/nomad/client_rpc_test.go-76- require.True(ok) nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/nomad/client_rpc_test.go:77: require.Equal(state.Ctx.Conn.LocalAddr().String(), w2.name) nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/nomad/client_rpc_test.go-78- ############################################## nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/client/fingerprint/network_test.go-153- _, ipnet2, _ := net.ParseCIDR("2001:0db8:85a3:0000:0000:8a2e:0370:7334/64") nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/client/fingerprint/network_test.go:154: ipAddr, _ := net.ResolveIPAddr("ip6", "fe80::140c:9579:8037:f565") nomad-0.10.5+dfsg1/.pc/t-skip-unreliable-tests.patch/client/fingerprint/network_test.go-155- return []net.Addr{ipnet1, ipnet2, ipAddr}, nil