|
I dunno if there's a better thread to ask this in, but does anyone have any experience with Selenium for automated browser testing? We've got a whole lot of old Selenium RC tests and for some reason haven't updated our Selenium Server or test runners since 2.22. Nothing uses WebDriver as far as I can tell. We'd like to upgrade the whole thing so we can test against current versions of FF and Chrome but also keep testing against IE8. I guess I'd also like to know what (if anything) is better than Selenium for this purpose.
|
# ¿ Mar 7, 2015 05:01 |
|
|
# ¿ Apr 29, 2024 13:27 |
|
Cancelbot posted:Our TeamCity agents are now described in Packer! No more unicorn build agents that sounds excruciating. why are you sysprepping your agents?
|
# ¿ May 21, 2017 05:07 |
|
Paul MaudDib posted:I'm trying to set up a simple docker setup to learn (container my home fileserver's services). The answer to most of these questions is why Kubernetes exists. You can add cluster-level services for things like health, logging, etc. I'm not super familiar with what's available for swarm, but you'd probably be looking at deploying instances of your logging service in containers alongside your app containers, and have those feed data to another service (like Prometheus or ELK or w/e). Technically, mapping a local directory is just another type of data volume. The docker volume stuff has drivers for various other bits and bobs, like mounting shared storage directly into your containers. Mostly, creating a data volume allows you to somewhat easily share that volume with multiple separate containers.
|
# ¿ Jun 8, 2017 03:42 |
|
Paul MaudDib posted:This seems to be the shortest way from A to B for small-scale setups in my (very novice) opinion. Have a postgres application container which points to a data directory which is mounted in from the host (eg /srv/postgres/). Unless there's pitfalls here with scalability or something? I'm not sure it's a huge practical gain versus just running it as a bare-metal service but at least this way you bring it inside the Docker system and can apply your logging/health monitoring layer or w/e over the top. Production DBs should definitely not necessarily be containerized, although like you said, it's great for small scale dev/test stuff. For prod, I'd have your DB clusters be outside of docker, but you can do stuff like proxy DB calls through a service container (and collect your logging/health stuff there) and then scale that independently for whatever reason. Can be useful for multi-tenancy.
|
# ¿ Jun 9, 2017 13:10 |
|
EssOEss posted:What I have found is that container shutdowns sometimes are not clean - it just kills the process and some data loss can occur due to incomplete writes. Maybe related to high system load, maybe just random luck. Have not investigated in depth. Your containers should gracefully handle SIGTERM/SIGKILL because that's what the daemon is going to send them.
|
# ¿ Jun 10, 2017 03:40 |
|
Dren posted:Where will devs get the environments from? Do they have to build it themselves? You could either have devs build it themselves, host an internal (if it's somehow private/confidential) docker registry and push it to there and then they'd pull the base image once, or push the base image to docker hub and do the same.
|
# ¿ Jun 30, 2017 01:22 |
|
If you're already on AWS, you can use ECR registries for pretty cheap.
|
# ¿ Jun 30, 2017 12:24 |
|
necrobobsledder posted:I didn't want to have even a chance of the container being accessible on the public Internet and since ECR doesn't support provisioning inside a VPC last I saw, that was a no-go for me. The EC2 instance + EBS probably costs more than what ECR would cost us probably, but with a $280k+ / mo AWS bill from gross mismanagement (110 RDS instances idling 95% of the time, rawr) I'm not being paid to care about cost efficiency anymore. ECR requires authentication, though. Also Jesus Christ I'd give my left nut to have management that gave that few of a shits about AWS spend
|
# ¿ Jul 1, 2017 04:47 |
|
Bhodi posted:This is such a weird take because all I hear management talk about is the AWS bill every month My problem is that they just don't want to spend money, period. Our main CI server is seven years old and rapidly failing, but when I ask for money to get a new server, it gets rebuffed. When I say that we're going to extend the useful life by offloading build agents to EC2, I get complained at that we're spending too much on AWS. We run a lot of testing in the cloud because when we ran it locally, we'd lose end to end test runs because there was too much load on our VMware cluster and all of the runs would fail, causing lost days and missing milestones. Put it in the cloud, now they bitch about spend. Sometimes you just can't please anyone except yourself.
|
# ¿ Jul 1, 2017 17:14 |
|
EssOEss posted:Yeah, I do not want to limit it to one agent. This seems like a weird thing you're doing anyway, but why not just have your build process emit versioned artifacts then have another job that marks them 'latest'? I know with TeamCity or Jenkins it should be pretty trivial to figure out which is more recent based on the source revision and name them appropriately.
|
# ¿ Aug 9, 2017 13:37 |
|
Mr. Crow posted:Ok so you are being argumentative over a one-off anecdote of apparently dubious quality and then arriving at the same conclusion. we use ansible and it's pretty great. it's even good at dealing with windows servers now.
|
# ¿ Dec 13, 2017 23:27 |
|
Bhodi posted:I find ansible great for one offs and initial configuration but completely hopeless when it comes to consistency and conformity remediation (did someone edit a file where they shouldn't? revert it), it's not great at working through baton hosts, and the static nature of the hosts file is at odds with the fast moving and mercurial nature of cloud vms. Including files depending on variables is it's token nod to modularization, but puppet has an entire dependency tree with resolution. They're mostly different tools and i don't feel like they overlap all that much, which is why every company using ansible is ansible plus something else. why do you have servers where this is a problem? cattle, not pets.
|
# ¿ Dec 15, 2017 03:07 |
|
Warbird posted:I always feel like I have a handle on what I do until I read this thread. What on earth settings are you "tweaking"?
|
# ¿ Jan 8, 2018 14:37 |
|
tbh you'd probably be better off with a python script and a cron job and an http server (if you wanna be fancy, put it all in docker containers)
|
# ¿ Jan 17, 2018 04:36 |
|
My 0.02 is that if you’ve got everyone on-board with putting everything into a particular CI tool (like TC) then go for it; you can use build chains, snapshot dependencies, etc. to break your build up into logical chunks so that things can be run in isolation/iterated on. That said, this is as much a people problem as it is a technical one. If people are used to being able to do things in increments, even if you give them a way to in TC, they’re just gonna click ‘run’ on whatever and let god sort out the details. I don’t really have an answer for you outside of that. The biggest thing I think helps is making sure that devs understand how to use TC really well.
|
# ¿ Feb 21, 2018 04:56 |
|
TeamCity is very reliable and works well for us. Depends on what you’re building at the end of the day though.
|
# ¿ Mar 9, 2018 05:48 |
|
if you need windows stuff (and can do cloud), appveyor is pretty decent and it has cloud or on-prem options.
|
# ¿ Mar 16, 2018 03:33 |
|
Most cloud CI services are free for public repos.
|
# ¿ Mar 17, 2018 18:44 |
|
necrobobsledder posted:Trying to get a rough idea of what’s expected stress / responsibilities compared to others that have broader experience than myself. yes ask for a raise
|
# ¿ Apr 16, 2018 01:02 |
|
i dealt with that exact same problem; you can't import that pfx in a non-interactive fashion in any way, so your only option is to create a new keyfile (the extension MS uses for this is snk, i believe), change the path in the csproj to point to the snk file, then commit that to vcs. ed: you can always host the snk file on s3 or the azure equiv. then download it as part of the build if you're unable to check it into source control.
|
# ¿ May 23, 2018 13:44 |
|
Hadlock posted:If Prometheus/Grafana is the open source monitoring solution Looked at distributed tracing? OpenTracing and Jaeger?
|
# ¿ Jul 28, 2018 03:21 |
|
Vulture Culture posted:If your big problem around distributed tracing is context propagation (it's ours for sure), consider OpenCensus instead of trying to deal with OpenTracing directly Can you elaborate on this? I'm only starting to get into distributed tracing and I'd be interested to hear about your experiences with it.
|
# ¿ Jul 31, 2018 12:28 |
|
I've used ProGet which was pretty OK. Nice if you've got .NET stuff in the mix. But yeah, depending on your size I'd probably point you to the SaaS versions of anything you seriously want to use unless you have some real compelling reason to run the server in-house.
|
# ¿ Sep 12, 2018 13:33 |
|
Stringent posted:*Macs Mini thanks
|
# ¿ Oct 14, 2018 05:44 |
|
necrobobsledder posted:. If there was no database connection made within 30 seconds, the code presumed you were a developer and granted root view ACLs for the session. Nobody what the gently caress
|
# ¿ Nov 24, 2018 19:54 |
|
i dont know why people would go to reinvent to learn things, its a vendor conference
|
# ¿ Nov 29, 2018 00:50 |
|
dont blame me, i'm going to kubecon
|
# ¿ Nov 29, 2018 02:48 |
|
last time i messed with them i found all of the azure management SDK and APIs to be absolutely terrible and generally slower than using the UI or powershell for some reason.
|
# ¿ Jan 10, 2019 03:41 |
|
honestly, just use k8s.
|
# ¿ Jan 17, 2019 16:32 |
|
you probably don’t need to know statefulsets and all the vagaries of the podspec to get started with k8s imo. like, no poo poo it does a lot of things, it’s an object db that someone built a container orchestration platform on. but most applications aren’t really that complicated, and learning how to decompose them into containers for k8s imo makes more sense than trying to use swarm at all. that’s just my 0.02, ymmv.
|
# ¿ Jan 18, 2019 17:18 |
|
Hadlock posted:So we had that golden turning moment when the vp of engineering and cto have been playing with my prototypes for a couple of months and finally decided to convert the entire stack over to k8s and switch our dev/qa systems (well, half of qa was on k8s already) over to aws in it cloud/k8s, and ditch our third rate bare metal hosting provider. use terraform
|
# ¿ Jan 21, 2019 02:59 |
|
Warbird posted:So my new workplace is pretty nice and I got a pay raise from the last position. Everything's great except the fact that Github is blocked on the network for christ knows what reason so is the specific tool I was hired to work with. I've been advised to do research on my personal laptop and just email myself the code snippets I'm interested in. what on earth? quit.
|
# ¿ Feb 7, 2019 22:01 |
|
Rocko Bonaparte posted:No they're standalone applications. Some of them have GUI automation around them and I want to make sure it all still works. It's definitely unusual so I can't even get mad that keeps coming up. I couldn't use Docker in one hop because of that. I don't know if I could instead, say, boot up a container and run Virtualbox from there. Maybe? I don't think that gives me too much there. you need azure virtual machines (if you're using teamcity or jenkins or w/e there's probably a way to have it automagically create a vm for you when a build starts), and presumably this is a windows application so you'll need to perform some fuckery to have automatically log in to an interactive session. at that point you'd use whatever your test automation bullshit is to run the tests.
|
# ¿ Jun 8, 2019 05:19 |
|
Rocko Bonaparte posted:The OSes I'm using for testing aren't necessarily the best for a server deployment so I don't think I could just make the VM nodes themselves run the OSes. Rather, I imagine I would bring up some robust, server OS and then subvirtualize a VM for each OS/Python permutation to do what I need to do. I know this metavirtualization thing makes things more complicated. yeah no. you’re not gonna be able to do cute metavirtualization poo poo on public cloud, and it’s going to be a pain in the dick on private cloud. You can make your own windows images using non-server skus if you care, but I doubt it actually matters much and if it does matter then you’re well into the territory of needing to spend $$$ on a test lab and human beings
|
# ¿ Jun 11, 2019 05:25 |
|
IMO depending on the size of your team/org running your own metrics infra is going to be pain and sadness
|
# ¿ Sep 27, 2019 00:54 |
|
i have a lot of opinions about monitoring nee observability but since i work for a vendor they're obviously biased. here's my 0.02 in general though - datadog is extremely expensive for what you actually get out of it. signalfx is probably going to get bad post-splunk acquisition most of the big monitoring/apm companies are more interested in selling skus so they'll come in cheap then get you as you scale, but a lot of newer stuff scales better. the best thing you can do is build around oss instrumentation (opentelemetry if you can wait a bit, opencensus/opentracing today if you can't) because it'll let you transition from self-run stuff to saas solutions. if you don't have anything, start instrumenting your crap and pipe traces to jaeger/metrics to prometheus with like a week's retention and see how much better it makes daily ops life. ultimately the real power of the saas tools is that they can do a lot of stuff that you can't or won't build yourself - figuring out what's important automatically, helping you define SLO/SLI's, etc.
|
# ¿ Sep 27, 2019 02:06 |
|
12 rats tied together posted:One thing I want to do that I'm having trouble finding mention of in marketing materials is something akin to complex event processing. Basically I don't really care about average CPU utilization across a cluster of compute nodes, but while operating this cluster of compute nodes, and the application running on them, we've noticed a number of events that occur throughout the application lifecycle. I can’t think of anyone doing this (hell, I’d be vaguely surprised if google et. al. were doing this) Cancelbot posted:On Datadog/APM in general we're currently trialling AppDynamics and Dynatrace as a thing to replace NewRelic; does anyone have opinions on these? I’m a bit more up on dynatrace than appd but a lot of it really depends on what you’re trying to do. I’m curious if anyone itt has looked at Honeycomb/LightStep/Omnition.
|
# ¿ Sep 27, 2019 13:43 |
|
Blinkz0rz posted:my team is currently having an absolutely awful time with our logging solution and are considering moving to honeycomb. i wasn't with the team when they did the demo but from what i heard it was great tech that was just a little too pricey to consider switching to My understanding is that honeycomb is pretty inexpensive, but I don’t know their pricing model.
|
# ¿ Sep 28, 2019 03:36 |
|
|
# ¿ Apr 29, 2024 13:27 |
|
on one hand security theater is intrusive and doesn’t help, on the other, a bunch of contractors and consultants and so forth got a lot of lucrative contracts out of the deal so who can say if it’s bad or not I’ll leave it to the reader to discover the applicability of this metaphor to working in software
|
# ¿ Nov 27, 2019 15:32 |