Slashdot Mirror


How Did Volkswagen Cheat Emissions Tests, and Who Authorized It?

Lucas123 writes: The method by which Volkswagen diesel cars were able to thwart emissions tests and spew up to 40X the nitrogen oxide levels set by the Environmental Protection Agency was relatively simple. It was more likely no more than a single line of code used to detect when an emissions test was being performed and place the emissions system in an alternate mode — something as simple as a software "on/off" switch. Volkswagen AG CEO Martin Winterkorn, who stepping down as the result of his company's scandal, has said he had no knowledge of the emissions cheat, but software dev/test audit trails are almost certain to pinpoint who embedded the code and who authorized it. You can actually see who asked the developer to write that code," said Nikhil Kaul, a product manager at test/dev software maker SmartBear Software. "Then if you go upstream you can see who that person's boss was...and see if testing happened...and, if testing didn't happen. So you can go from the bottom up to nail everyone."

618 comments

  1. Nail everyone? by Anonymous Coward · · Score: 5, Insightful

    Correction: "You can nail everyone that's in the official audit trail."

    The people at the top that authorized it (or at least didn't condemn it) probably never actually sent a traceable e-mail to anyone. Nor did they touch any code. Nor do they appear in any meeting minutes. These sorts of discussions tend to happen over a drink in a bar somewhere, and for good reason.

    1. Re:Nail everyone? by known_coward_69 · · Score: 2

      seriously, if you're a dev and PHB asks you to do this then you make sure you get it in email form and then forward that email to a personal account or to a safe pst file you keep yourself. or you send an email to said PHB saying what you did. along with everyone on the testing and QA team. there was a paralegal arrested in NYC recently who forged a judge's signature without his bosses knowing because he was swamped with work and in his mind it was the only way to do it knowing he would be cause and commit suicide from ruining his life. this could be the same. a bunch of people without half a brain breaking laws because they were given an impossible task to make the car perform

    2. Re:Nail everyone? by tripleevenfall · · Score: 4, Interesting

      I agree, but in real life things are often not this simple. You get requirements that you aren't sure are a good idea or the right thing to do, and you question them - but PHB assures you that it's all been approved and cleared by the people on higher floors, and you may even contact some of them and hear their agreement. You're a coder and now a lawyer, so...? You go ahead and write IF OBDIIPortHasSomethingConnectedToIt THEN EnterDiagnosticMode .

      This case seems very egregious, but the truth of ethics in real life is often difficult to determine, and it's being thought about by a human whose livelihood may depend on the choice.

      It's not hard to see how things like this happen. People will almost always act in (what they think is) their own best interest.

    3. Re:Nail everyone? by known_coward_69 · · Score: 2

      as long as you have this in writing and can give it to a lawyer that is the most important thing. otherwise PHB will leave you out to dry saying they gave you no such order or instruction

    4. Re:Nail everyone? by cayenne8 · · Score: 1
      Hmm...my big question is...how can the avg person easily do this...so as to now be able to mod his car as he wishes and have it pass inspection when it has to.

      :)

      Fortunately I've never lived in a state that requires emissions *sniff* tests, but I understand it is a PITA in some states to put on even a simple aftermarket exhaust system for performance.

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    5. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Outside of banking, most of these things are actually mid-level decisions, and about half end up being an engineering decision made without the outside context. For example, it's quite possible that the "emissions testing" line of code is actually a "is the system working right" and they never ran them long enough to realize that they'd stay in a more conservative mode (worse emissions) mode. Could be that they anticipated a different driving profile with traction control off and changed engine response commensurately. And, the "one line of code" argument is, at the moment, without any evidence, at all. It's also entirely possible that they didn't test NOx emissions on the road because they were testing to the standards .. that are run in a test cell.

    6. Re:Nail everyone? by mbone · · Score: 4, Insightful

      Yeah. I would not be too surprised if at some level in the organization this was sold as a debugging or trouble shooting measure, or some other benign reason was given for branching on detection of emissions tests.

      In other words, the engineers who actually did the code may not have known the real purpose of what they were doing. Somebody knew, of course, but they may be harder to track down.

    7. Re:Nail everyone? by Jon_S · · Score: 1

      But then would have something in writing indicating you were directed to write some debugging code as requested by PHB. I don't code but am an engineer. I don't do anything that I would not want the whole world finding out about it. If the PHB asks me to do something that could be misinterpreted, or that I feel "smells not quite right", I either discuss not doing it or document everything in writing. If they tell you to do it anyway, then it is time to get a new job. Nothing, *nothing* is worth risking your integrity.

      If you are a younger engineer and reading this, please, take it to heart.

    8. Re:Nail everyone? by PaulRivers10 · · Score: 5, Interesting

      Yeah, I worked for a large bank. I was told my task was to implement tax calculation code in javascript, so it would update on the page immediately. While I balked at the request, it was made pretty clear that either I do it or I would get fired. I was not given a javascript library that knew how to handle financial values. Javascript doesn't support integer-only values, so you're doing financial calculations with floating point roundoffs and errors. I happened to know about them but was not given any instructions that they were a problem. I wasn't given any instructions on how to make sure they didn't cause issues. As far as I know no more than basic testing was done on the code. I did get an email verifying that I had questioned it, but then I found out that all our emails are automatically deleted after 6 months or something like that. You get fired now, or you implement something dubious - what do you choose?

    9. Re:Nail everyone? by Anonymous Coward · · Score: 0, Insightful

      I don't know about German companies, but if you are a US company with a dev team of H-1Bs, you have a physical meeting, tell that you want some stuff... and they will do it. If they don't, they get deported, and once deported, they likely will never be able to come to the US again, since there are hundreds to thousands of workers hoping for each position.

      That is why you never read about a H-1B blowing the whistle on bad practice.

    10. Re:Nail everyone? by thsths · · Score: 1

      > This case seems very egregious, but the truth of ethics in real life is often difficult to determine, and it's being thought about by a human whose livelihood may depend on the choice.

      And what is more, corporations are carefully design to give everybody the impression they are "only doing their job", and certainly not responsible for any decisions. That's why there are so many meeting and procedures...

    11. Re:Nail everyone? by Anonymous Coward · · Score: 0

      You can print out the email if you want a permanent record of the protest and acknowledgement.

    12. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Do it, and email legal about it. CYA

    13. Re:Nail everyone? by Archangel+Michael · · Score: 5, Insightful

      You get fired now, or you implement something dubious - what do you choose?

      You get fired. Then you sue for wrongful termination. Then you expose the company in court (public record) about how shitty they are threatening you with termination (you have proof? right?) for doing something dubious.

      One thing I have learned is you always say "Can I get that in writing?". This alone stops a huge number of stupid decisions, especially when you're protesting.

      Even if you have to write it ... "Per our conversation regarding _______ I am doing _______ at your request. Please let me know if you change your mind". In civil court, all you need is 50+%. It doesn't take much to get to 50+%. Self documentation is perfectly acceptable.

      It has saved my bacon a number of times.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    14. Re:Nail everyone? by LWATCDR · · Score: 2

      " I was not given a javascript library that knew how to handle financial values."
      You're a programer so write one.
      "Javascript doesn't support integer-only values, so you're doing financial calculations with floating point roundoffs and errors. "
      You're a programer so write one.
      Really just make a fixed point object or even a BCD object for the project.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    15. Re:Nail everyone? by gsslay · · Score: 1

      It's not always a clear case of cheating/fraud/whatever. Often it's a case of how you chose to interpret the rules, and if you're in the mood there will be plenty of lawyers who will take your money to debate them.

      I can think of at least one project I've developed for where we questioned what the software was doing, because it didn't seem "right". We were told it wasn't our job to interpret regulations. End of conversation.

    16. Re:Nail everyone? by FlyHelicopters · · Score: 1

      That sounds very ideal, and it is the kind of comment that people make when talking about such situations in the hypothetical.

      The real world is never that black and white.

    17. Re:Nail everyone? by Anonymous Coward · · Score: 3, Insightful

      Yes and in the mean time you lose your house, car, and your kids go hungry. And the woman that would love you till death do you apart? She meant financial death. She will leave you for putting your family's financial livelihood in jeopardy to do some half-ass ethics play. You may get some money from the settlement, but the whole thing will now be part of public record. Good luck getting hired ANYWHERE else.

      It's easy to be an idealist on paper, especially if you have nothing to lose. Real life is a tad more complicated.

    18. Re:Nail everyone? by fahrbot-bot · · Score: 2

      You get fired now, or you implement something dubious - what do you choose?

      You get fired. Then you sue for wrongful termination. Then you expose the company in court (public record) about how shitty they are threatening you with termination (you have proof? right?) for doing something dubious.

      Dubious and wrong aren't the same thing and the OP didn't explain further. He's a programmer and his employer asked him to write some tax calculation code. Either he can research the math and write some code or he can't. If he can't or refuses, getting fired isn't "wrongful termination", though it would be a dick move to fire him if he's simply not up to the task w/o affording him a chance to learn. Documenting his concerns is a good CYA idea in case anything goes south. Now, if his employer asks him to write some erroneous or misleading tax calculation code, or he discovers that is the case, then he can proceed as you suggest. At least in an "at will" employment situation or state, getting fired is an implicit consequence of not doing what you're asked/told to do.

      --
      It must have been something you assimilated. . . .
    19. Re:Nail everyone? by shentino · · Score: 1

      Unless they refuse, or fire you just for asking.

    20. Re:Nail everyone? by pla · · Score: 5, Informative

      The hard part here comes from "get it in writing".

      When someone three layers of food-chain above you tells you "do this", you don't get to refuse until you have it in writing (unless you already have a new job lined up - and even then, don't expect that one to go any differently).

      Now, you can certainly try to get them on record - You can ask them to write up a quick spec for what they want; you can ask them to submit the Change Management request because you don't have the authority to approve this one; you can send emails asking for clarification; and as a last resort, you can just document the change as "at the request of Boss X". In the real world, however, we've all dealt with people who refuse to do anything except by phone or in person.

      And at that point, it becomes your word against theirs. Guess who can afford the better lawyer? And even that assumes it completely blows up - If it remains an internal matter, you won't even get the chance to present your side of the situation, just pack your belongings up and GTFO.

    21. Re:Nail everyone? by HornWumpus · · Score: 1

      Gas additives. Won't help you pass the visual inspection though. For that you need buy parts that look stock externally

      All readily available in states that do testing.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    22. Re:Nail everyone? by mbone · · Score: 5, Insightful

      Yes, but this might even have been sold as a compliance issue - we must by law make sure that the full emissions package is in place for any emissions test, even if the service tech turned it off for reason XYZ. What engineer would blink at that? Meanwhile, over in another department, the engineers are being told, these emissions packages must by default be off, as not all jurisdictions require them, and we are using an opt-in type system to turn them on when required. Again, who would blink at that? But by such stratagems, they could set up to that one person or a few people could flip a virtual switch, and the hack would be in place.

      Somebody knew, somebody high up knew, but I rather doubt that everyone on the engineering bench knew, and that means that they had to be fed plausible stories along the way.

    23. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Its is this simple.
      These requirements were known and discussed at all levels..
      It was reviewed multiple times.

      ISO 14001 Plan-Check-Do-Review-Improve

      http://en.volkswagen.com/en/company/responsibility/environmental_commendations/environmental_commendation/environmentally_compatible_product_development/certification_to_iso_14000.html

      You cant hide this level of fraud without internal cooperation from top to bottom.

    24. Re:Nail everyone? by Anonymous Coward · · Score: 0

      He wasn't paid to write one.

    25. Re:Nail everyone? by shentino · · Score: 1

      What you have to realize is that you're already screwed the minute the boss gives you the ultimatum of breaking the law or getting fired.

      If you refuse, you get fired.
      If you comply, the company gets caught, you get blamed, your boss mysteriously escapes accountability, you get fired anyway, and now you're stuck with a rap sheet.

      So you're screwed no matter what you do.

      What you do is get fired, find a new job, and point out during your interview that you were canned because you refused an illegal order and had to protect your rap sheet.

      The legal system is a bigger bitch than your boss could ever be anyway. Pick the lesser of two evils.

    26. Re:Nail everyone? by JaredOfEuropa · · Score: 1

      Even if the engineers were completely unaware of the nature of this change, you'd still expect them to follow process and ask for a requirement to be logged. If management refuses even if you offer to log the requirement for them, you know something is fishy.

      --
      If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
    27. Re:Nail everyone? by Anonymous Coward · · Score: 0

      True. You're just starting a new job, or your wife is having a difficult pregnancy and you need the insurance, or you're in escrow to buy a new house, etc.

    28. Re: Nail everyone? by Anonymous Coward · · Score: 0

      Pretty sure it wouldn't check to see if something was plugged in as the t st simply involves stuffing a probe up the exhaust while the engine is under load. More likely checking to see if the front wheels are turning while the back ones aren't, I.e. It's on a dynamometer.

    29. Re:Nail everyone? by doublebackslash · · Score: 1

      Shameless self-plug
      BigDecimal ported to Javascript https://github.com/doublebacks...
      If you ever need it again

      --
      md5sum /boot/vmlinuz
      d41d8cd98f00b204e9800998ecf8427e /boot/vmlinuz
    30. Re:Nail everyone? by Joe_Dragon · · Score: 2

      Just drop that round off in to some other account.

    31. Re:Nail everyone? by Anonymous Coward · · Score: 0

      At our office the crooks will order an underling to sign orders so they will be protected if shit ever hits the fan.

    32. Re:Nail everyone? by Agent0013 · · Score: 5, Interesting

      From the article itself, (I know, I am not supposed to read the article), the traction control is mandated to be turned off when testing the emissions. So you already have a need to check that emissions testing is being done. Once that flag is set in the code other areas can use it and they may not even be aware of the ethical dilemma that arises. Perhaps someone was told to lower the fuel flow when the test_mode flag was on. Why would they feel that something does not "smell quite right" in that case? Someone else turned the flag on with a code change several years previously. There is plenty of other things being changed or turned off when in test_mode, so adjusting the fuel flow can fit right in with that. Unless they realized that test_mode was used to determine that emissions testing was being performed (it could be used for other tests also) and that the changes they are making will cheat the emissions test they might not even realize that something is wrong with what they are doing.

      --

      -- ssoorrrryy,, dduupplleexx sswwiittcchh oonn.. -Quote found on actual fortune cookie.
    33. Re:Nail everyone? by Eunuchswear · · Score: 5, Insightful

      Oh, great. If you have it in writing you can say "I was just obeying orders". In a fucking German accent.

      That'll go down well.

      --
      Watch this Heartland Institute video
    34. Re:Nail everyone? by demonlapin · · Score: 2

      Beats going to prison.

    35. Re:Nail everyone? by Wrath0fb0b · · Score: 5, Interesting

      Yeah. I would not be too surprised if at some level in the organization this was sold as a debugging or trouble shooting measure, or some other benign reason was given for branching on detection of emissions tests.

      Folks, you have to branch on emissions (and dyno) tests in the ECU solely because otherwise the safety side of things will bring everything to a halt. The most obvious reason (assume FWD) is that if the front wheels are going 65MPH and the rear wheels are going 0MPH, the traction control system is going to have a major freak out and say "HOLY CRAP WE ARE SKIDDING OUT OF CONTROL BRAKE FRONT UNTIL THE DIFFERENCE IS LESSENED". The procedure to enter dyno mode is not itself a secret.

      So it's not a secret and it's not illegal for the ECU to detect and behave differently during the test, and everyone would know about this above-board feature. The secret-and-illegal part is modifying the behavior of things measured by the test while the test is running. That is a lot easier to keep secret and requires a lot less involvement from teams directly outside the module that is responsible for emissions.

      [ Source: Tuner people that dyno fancy cars and have to solve these sort of issues. ]

    36. Re:Nail everyone? by Eunuchswear · · Score: 2

      Yes, he was.

      my task was to implement tax calculation code in javascript, so it would update on the page immediately.

      If, in order to achieve that task he needs to write a library, he writes the library. He doesn't bitch "somebody else hasn't done my job".

      --
      Watch this Heartland Institute video
    37. Re:Nail everyone? by hattig · · Score: 1

      Luckily we're talking about a major piece of software here - the engine computer.

      This is well planned, has teams of developers, code review, QA, and the feature list is well known. For a safety critical feature, test coverage is going to be good. So much so, that I bet there is a test called "engineEnablesUreaInjectionWhenDiagnosticModeEnabled", that was signed off by a QA against a checklist.

      If not - then tbh the entire software of the engine computer should be written off.

      The software devs aren't engine engineers. They don't know what the urea injection does, or what it is for. It's a signal that they have to deal with, and they coded it to the specifications given to them, probably from the engine engineering division who realised that their Urea-less engine had terrible NOx emissions and they needed a quick resolution. In fact if the software teams are strung up for this, then we will know directly that there is a cover up and the wrong people are getting the blame for this.

    38. Re:Nail everyone? by phantomfive · · Score: 1

      You get fired. Then you sue for wrongful termination. Then you expose the company in court (public record) about how shitty they are threatening you with termination (you have proof? right?) for doing something dubious.

      That's a lot of work for dubious benefit.

      --
      "First they came for the slanderers and i said nothing."
    39. Re:Nail everyone? by phantomfive · · Score: 1

      You're a programmer so write one.

      Well said.

      --
      "First they came for the slanderers and i said nothing."
    40. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Print the email out and save it. It's not rocket surgery. Also consider opening an issue in the issue tracker documenting the limitations of the javascript library. You should also have a backend side that double checks the input (you know, validate your inputs) and have it return a warning that it had to correct the final values.

    41. Re:Nail everyone? by Anonymous Coward · · Score: 0

      That's not a big question, that's a little question that's easy to answer.

      You go to somebody who has done it, and buy the package they offer.

      As computer programming goes, it is not complex to mod the ECM tuning, it may be hard for the average person, but it is not so inscrutable it requires extremely advanced tools and methods to do it.

      At most, it's tedious to access the points where you will need to change things, which may be easy or hard.

    42. Re:Nail everyone? by hattig · · Score: 1

      Get fired. Sue. Make yourself unemployable except in non-for-profit organisations. Earn 1/5th of previous earnings. Never own a house. Always live in squalor. Wife leaves you for being an asshat originally. Get drink problem. Die early.

      Or: "sure, btw about my pay review..."

    43. Re:Nail everyone? by Anonymous Coward · · Score: 0

      In any engineering company running any kind of formal quality system, somebody is going to have to sign off on a change. It might not go all the way to the top, but I can't just originate code and release it all on my own, for example; for the code to get released, I have to get an ECN signed by a superior. And if that change was a verbal request from someone above that superior, he will make sure the e.g. "Sales request" box is ticked, and the description says "Mr. X requested blah blah".

      You see, the ultimate goal of formal quality systems isn't to ensure quality, it's all about arse-covering.

    44. Re: Nail everyone? by known_coward_69 · · Score: 1

      Where I work everything in code is documented with trouble ticket numbers, feature requests, etc. If someone was asked to put something possibly illegal into code verbally then you do it and send an email to the manager saying what you did and document it in your code base and documentation and let QA know its there.

    45. Re:Nail everyone? by BasilBrush · · Score: 1

      In the real world, however, we've all dealt with people who refuse to do anything except by phone or in person.

      I haven't. Not in 30 years of coding. But then I've never been asked to do anything illegal either.

      Certainly I've had people ask for things verbally, and sometimes I've done them and sometimes I've asked them to submit a defect report. And of course sometimes I've ignored or forgotten them - the other way to get them to write an official report. But when I've asked for a defect report, no one's ever refused.

      (How did we ever manage in the days before defect tracking and SCM!)

    46. Re: Nail everyone? by Anonymous Coward · · Score: 0

      Also, in India especially, cheating on exams and tests is usually seen as a right over there, as was posted a few months back. So ethics already start at an extremely low threshold.

    47. Re:Nail everyone? by Anonymous Coward · · Score: 5, Interesting

      IANAL, but this is what I heard from an employment lawyer (paraphrasing): As long as you wrote and sent the e-mail, the onus is on the employer to show that they have replied to it in a reasonable fashion. Courts tend to throw out "I didn't see it" excuses and expect replies. And even if they replied verbally, oh well, too bad, they should've done so in writing.

    48. Re:Nail everyone? by kaatochacha · · Score: 3, Interesting

      Then you do the next best. You get it in writing from your immediate supervisor, playing as if you're verifying facts of the request. Someone that is used to receiving such requests from you. He/she, in turn, realizes what you are doing, and does the same with His/her immediate supervisor. This continues up the chain until it eventually reaches the upper management who requested it. If someone along the line doesn't do this, they become the scapegoat, not you.
      It's a complete CYA action.

    49. Re:Nail everyone? by DarkOx · · Score: 1

      Then it all comes down to specs and interpretation. Does it have release no more than X amount of NOx in all conditions? normal conditions? be capable of operating within that constraint but not normally so? The guy building the ECU profile might not know the answers to that and might not need to.

      Maybe he was told design a profile that meets this "spec" because the North America market requires that. Its completely common for slight changes to exist across models for different markets. If I am just creating a profile, I might not know or not be responsible for the other conditions that trigger its use, why I think that someone who asked me to developer a lower performance profile to meet an emissions requirement is doing something wrong?

      Ditto for someone who is told hey build this wheel speed sensor to recognize unusual conditions like fronts are spinning but rears are not. That type of detection etc is often needed for things like traction control etc, it might even be a requirement to recognize such a test condition to disable features like that so the dino test can run properly. Again being asked to implement just that part might not raise any red flags with someone, especially if a credible false reason for it is given.

      So in an organization as large as VM its easy to imagine a situation where a mixture of people that don't have a large enough view of the situation to know what is going on gets combined with a number of people acting on vague instructions and directives they got from the business side who also might only see part of the picture. In the end nobody is clearly responsible for anything.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    50. Re:Nail everyone? by Ralph+Wiggam · · Score: 1

      When someone three layers of food-chain above you tells you "do this", you don't get to refuse until you have it in writing

      Of course you can. I have many times. You have to spin it as "I'm a good employee who loves to follow procedures, so let's do this by the book" and not in a defiant, overtly CYA way.

    51. Re:Nail everyone? by BasilBrush · · Score: 0

      Speak for yourself. You're a right wing loon, so I'm not surprised your integrity is for sale. Many people do have integrity.

    52. Re:Nail everyone? by BasilBrush · · Score: 1

      You're only revealing your own lack of integrity.

    53. Re:Nail everyone? by LWATCDR · · Score: 1

      Actually a google search will show several fixed point and even accounting javascript libraries.
      It is not like fixed point libraries have not been written again and again.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    54. Re:Nail everyone? by Anonymous Coward · · Score: 0

      you don't know how businesses conduct business.

    55. Re:Nail everyone? by orgelspieler · · Score: 4, Insightful

      That's ridiculous. There are valid reasons for the code to have different operating modes. It is not inherently unethical to make software behave differently under different operating conditions.

      Think about it, VW sells cars in multiple jurisdictions. They need to have different emission mitigation regimes for each of them. It's possible that the flags for the operating conditions just got screwed up. If they use the same shop/lab model to pass EU and USA testing, there must be a switch in there for "Detected_testing_regime == EPA." And they might have intended to turn on the same controls when "vehicle_sold_to == USA," but the guy responsible for that code screwed something up.

      Even if it were an intentional deception, it would be trivial for management to divvy up the workload such that the individual programmers had no idea. "Jan, we need you to make a module that detects the following operating conditions and pass this parameter to the emissions controller, mm-kay?" or "Hans, when you see the disable_emission_control_for_emergency_use, make sure that the car switches to the high_power curve."

      We really don't know. Until the results of the investigation are made public, and they are found guilty of wrong-doing, they are innocent. Is the legal equivalent of "assume good faith."

    56. Re:Nail everyone? by FlyHelicopters · · Score: 1

      So rather than having a point to make, you resort to insults...

    57. Re:Nail everyone? by Drethon · · Score: 2

      One thing I have learned is you always say "Can I get that in writing?". This alone stops a huge number of stupid decisions, especially when you're protesting.

      That worked on one of my tasks where I was asked to do something counter to standards. After I tried to argue them down for some time, my coworker (I wish I could take credit but I've made use of this since then) simply asked for them to send us an e-mail stating what we were being asked to do. At that point, the other person's manager told him to stop asking us to do it the wrong way.

    58. Re:Nail everyone? by Anonymous Coward · · Score: 0

      You get fired now, or you implement something dubious - what do you choose?

      You get fired. Then you sue for wrongful termination. Then you expose the company in court (public record) about how shitty they are threatening you with termination (you have proof? right?) for doing something dubious.

      One thing I have learned is you always say "Can I get that in writing?". This alone stops a huge number of stupid decisions, especially when you're protesting.

      Even if you have to write it ... "Per our conversation regarding _______ I am doing _______ at your request. Please let me know if you change your mind". In civil court, all you need is 50+%. It doesn't take much to get to 50+%. Self documentation is perfectly acceptable.

      It has saved my bacon a number of times.

      Ah. So you get fired. So you are able to go without a job, have the money for the court cases, and can go a while without another job while you are in court.

      A lot of us, on the other hand, don't have the resources to fight that good fight.

    59. Re:Nail everyone? by TsuruchiBrian · · Score: 1

      Often when people are threatened with jail time, they will have no problem ratting out the person is is truly at fault. That's not proof, but that's a good starting point for an investigation into a person one ladder rung higher. And you just repeat the process until you find the person ultimately responsible.

      I actually would not be surprised if they just find a bunch of incriminating emails at the highest level. It's pretty clear that (for some reason), they did not plan on getting caught, or maybe they didn't think it would be such a big deal if they were caught. It's really hard at these big bureaucratic companies to get anything done, even when you are super organized. Shrowding the development process in secrecy just seems like a perfect recipe for disaster.

      Even classified information (while considered secret), has incredibly good paper trails. In order to keep something a secret, it is imperative that the mandate to keep the secret is well documented. It only takes one dummy to accidentally leak the information that he didn't know was a secret because he wasn't explicitly informed of that.

    60. Re:Nail everyone? by orgelspieler · · Score: 2

      As an American who has worked for two different large corporations, I am surprised by this sentiment. I once got an order to do something I felt was unethical from my dotted-line boss. I sent a note to my boss immediately and his response was, literally, "If you do that, I will fire you." There was no pressure to do anything that even remotely seemed like a Bad Thing (TM).

      Now that I'm a little higher up the food chain, I get the occasional request for my team to do stuff that's not in keeping with ethical or safety standards. I tell them the reasoning behind my refusal to comply, and the most frequent response is "Oh gee! I hadn't even looked at it like that, I'm sorry for putting you in the position to have to tell me no." Then we either find a safe or ethical way to do it, or we don't do it. Period.

    61. Re:Nail everyone? by Ravaldy · · Score: 1

      I agree with everything you said. Engineers are sworn to follows a engineering ethics. If they are going to break this they need to cover their asses. I'm assuming you have at least 15 years work experience in a corporate setting. I say this because younger workers are both naïve and eager to please.

      Personally it took me about 10 years of corporate experience to take the stance that "everyone is out there for themselves". I know not every single employee is out to screw you but you have to assume they are otherwise you get pinched pretty hard when you're wrong.

    62. Re:Nail everyone? by Anonymous Coward · · Score: 0

      You get fired. Then you sue for wrongful termination.

      Great strategy. That's what we all want to spend our lives doing, while simultaneously figuring out how to feed and shelter our dependents.

    63. Re:Nail everyone? by vux984 · · Score: 1

      Folks, you have to branch on emissions (and dyno) tests in the ECU solely because otherwise the safety side of things will bring everything to a halt.

      But the engine emissions control profile active during a simulated road test on a dyno needs to be the emissions profile active actually on the the road, otherwise you are just wasting your time.

      Even if the cheat was magically embedded such that the engineers implementing it were all somehow blinded from the truth of the matter.

      At the end of the day, the guys validating things would have to validate that the profile active during a simulated road test on a dyno was the same profile that was active during actual road driving.

      Otherwise, all they've validated is that the emissions are accceptable on a simulated dyno test, and can make no claim whatsoever about what the car actually does on the road.

      That's validation 101.

    64. Re:Nail everyone? by Anonymous Coward · · Score: 0

      I don't know for whom you work for but it must be a really shitty boss. After a two-party oral meeting I always send an email to the other party summarizing what was discussed. People often forget or distort (not necessarily intentionally) what was said in orally after several months, so it is always good to have written records about what was said.

    65. Re:Nail everyone? by firewrought · · Score: 1

      This analysis of The Office suggests that high-level execs "setup" low-level employees to get the outcome they want while dodging responsibility for it. To illustrate, he uses the example of sending Michael to investigate Prince Paper (which Michael does by pretending to be a customer and asking for references):

      On the surface, this is a routine request to do some above-board competitive analysis. But by dangling the carrot of a better job and carefully refraining from specifying how the end is to be achieved (using abstractions like “fact-finding” and “fieldwork”), Wallace knows he can get Michael to do what he really wants done: industrial espionage. He engineers execution of his real intention (obtaining an unfair and illegal advantage over Prince Paper) using a predictable “failure” pattern in the execution of his declared intention (honest competition). He knows Michael can be relied on to try foul means, while letting him pretend that he only expected fair means to be used.

      The whole series is an interesting read if you're an Office fan.

      --
      -1, Too Many Layers Of Abstraction
    66. Re:Nail everyone? by sjames · · Score: 1

      If we as a society really want to see more software ethics, we will create a proper professional society and require a sign-off much like a PE.

      Without that shift in the balance of power, unethical management will always be able to get bad things done.

    67. Re:Nail everyone? by Anonymous Coward · · Score: 0

      I quit my job and was without employment for 6 months. I lost none of those things. Most people don't automagically become homeless the day they lose employment.

    68. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Sadly not enough, I quit my job of 10 years due to requests that violated my integrity. New job actually has me working 40 hours a week instead of 80 so it all worked out for the best. I understand how intimidating it is. When asked to do something unethical to the simple answer to say what you need to stall it as long as possible to give yourself time to find another position. Sorry, such and such emergency cropped up and I'll get to it later. Make sure your exit interview to state your honest reason for leaving and you can have a nice clean conscious and maintain your integrity.

      I see this happen a lot as a consultant now, so many people shop consultants looking for specific answers to questions which may or may not reflect reality. It's tough to walk into a shop and know the company will go under in a year because they consistently make bad decisions. Especially when they are asking for your opinion but then disagreeing with it.

    69. Re:Nail everyone? by Anonymous Coward · · Score: 0

      That makes a good spy novel, but companies rarely if ever work with such well executed subterfuge.

    70. Re:Nail everyone? by shentino · · Score: 1

      Thing is, if it blows up in your face later because you get caught, you're screwed anyway, and probably harder than if you'd wrote your job off to begin with.

    71. Re:Nail everyone? by thegarbz · · Score: 2

      Actually it's quite simple in real life and in most sane countries in the world (the USA excluded by this statement) wrongful dismissal that needs to be settled is either settled very quickly (by tribunal) with financial compensation and re-employment or a buyout of the employee, or at the end of the court case you can retire with your new found wealth.

      That's how it happens in real life in most of the western world where employees are protected by laws not bought by a corporation.

    72. Re:Nail everyone? by thegarbz · · Score: 1

      Or: "sure, btw about my pay review..."

      I just typed "Wrongful dismissal USA" into google and the first hit was about a $3.5million jury award for someone who complained that their employer asked them to do something illegal.

      Integrity maintained: Check
      Penalty to employer: Check
      Financially sound decision: Check.

      Enjoy your pay rise. Oh and now that your implicated don't expect to get a wonderful next job after you have a criminal record against your name.

    73. Re:Nail everyone? by DNS-and-BIND · · Score: 1

      "I was just obeying orders" was a definitive defense for most of the Wehrmacht after WWII. It worked and millions of soldiers weren't prosecuted. Where it didn't fly was at the executive level -- the people who made the decisions. They were the ones who faced the firing squads and went to the gallows. It helps to actually think about what you're saying instead of just parrot mindless slogans -- something I get the idea that you accuse others of doing all the time. The more you know!

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    74. Re:Nail everyone? by Khashishi · · Score: 1

      It doesn't sounds like they were ordering you to do anything illegal. I really don't see any issue there. You weren't given a library, but did you try to search for one yourself? It seems like there are bignumber libraries in javascript which should do what you need.

    75. Re:Nail everyone? by Type44Q · · Score: 1

      Then you sue for wrongful termination.

      Wow, you make that so easy... however, "he who represents himself has a fool for a client." Or did you conveniently leave out the step where you magically hire an ethical, affordable and competent attorney on contingency? I'm sure it was an oversight on your part... :p

    76. Re:Nail everyone? by Princeofcups · · Score: 1

      You get fired now, or you implement something dubious - what do you choose?

      You get fired. Then you sue for wrongful termination.

      And how exactly are you paying the rent, not to mention the lawyers? It's pretty hard to get hired anywhere when you are in the midst of suing your old employer.

      --
      The only thing worse than a Democrat is a Republican.
    77. Re:Nail everyone? by AK+Marc · · Score: 1

      It's easy to get them on record. You send them an email asking for confirmation of the act. If they send back something saying "don't do it" you don't do it and use that when the top brass gets mad. If they don't reply, or tell you to do it, you've got your get out of jail confirmation.

      The times I've been asked to do something explicitly illegal, I got written confirmation from the order. There was no issue getting it, and no issue when it was found out (only once of the few illegal orders I've ever gotten).

    78. Re:Nail everyone? by Anonymous Coward · · Score: 0

      People will almost always act in (what they think is) their own best interest.

      Many studies show people will act in their own disinterest to "punish" somebody they believe deserves it.

    79. Re:Nail everyone? by Anonymous Coward · · Score: 0

      It has saved my bacon a number of times.

      You have been fired, sued, then reinstated a number of times?

      Idealism is all well and good Mr. Michael, however a growing percentage live in at-will employment jurisdictions. In such places there is no such thing as wrongful termination if they do not give any specific reason. You can be fired for anything at anytime and you need 100% definitive proof and six-figure legal costs to have a chance in court. I have no idea where you get that 50+% figure. Ellen Pao learned the truth of what I just typed the hard way.

    80. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Typically auto manufacturers use a different configuration for each market requirement. So for example if engine Foo is marketed in the US then there will be an OBD2 tune, if it's sold in Germany there will be an EU4 tune. Japan? Probably an EU4 tune and an optional catless tune. Eastern Europe? Maybe there's an EU2 tune as well. Nobody sells a one size fits all tune.

    81. Re: Nail everyone? by Anonymous Coward · · Score: 0

      Sometimes insults are clearly warranted. When your argument is absurd, it doesn't warrant the time and effort to put together a well formulated response. Ever heard of yelling at a brick wall? That's what "arguing" with you is like. Furthermore, it is a factual statement- you are a right wing loon. You've made your political views known again and again on this website and you act like people forget UIDs the minute they leave Slashdot. I've read your posts for years now. I already know what you're going to say before you say it because you push the same tired agendas. Again, no reason to waste time with a "valid" argument.

    82. Re:Nail everyone? by fyngyrz · · Score: 1

      All varieties of IC vehicles will be gone soon enough, NG, diesel and gasoline. Not because they pollute. Because they're enormously less efficient than electrical vehicles. The only benefit IC vehicles have right now is that gasoline, NG and diesel store larger amounts of energy by volume and weight than electrical storage does, and offer less maintainance of the energy supply for the vehicle. But those advantages continue to erode. Eventually the benefits will fall the other side of the line, and that'll be the end of that.

      One of the obvious consequences of this inevitability is that the very small amount of extra exhaust products generated by VW's software methodology in actual vehicle use isn't likely to make an actual difference to anyone in terms of pollution.

      Which puts an entirely different light on the willingness, or lack thereof, of anyone to do something like this, and thereby certain aspects of integrity -- or lack thereof.

      The law doesn't always encode a good solution or methodology. Sometimes, it formalizes procedures and limits that are outright harmful and/or counterproductive. Obvious examples include enforcement of slavery, repression of women, the drug war, extremely numerous constitutional violations, age "lines in the sand", transport of various goods over state lines, usurpation of and punishment for personal or consensual choices, failure to allow experimental drug use by those who are already dying, the mis-classification of Synsepalum dulcificum, and so on.

      Things often aren't quite as black and white as they seem.

      --
      I've fallen off your lawn, and I can't get up.
    83. Re:Nail everyone? by quintessencesluglord · · Score: 1

      Except we know this to be a part of human nature, from the Milgram experiment to the Stanford Prison Experiment and onward. Most people tend to put their trust in authority figures, and it is the rare few who will say "I will not".

      So while railing against people who aren't as ruggedly individualistic as you, keep in mind most people will never be tested in quite that way, so it's easy to pontificate what they would have done. If they were there. Except they weren't.

      Basic training has a trope of "don't make a thief of your bunkmate", admonishing soldiers to keep valuables locked. Even the most upstanding person, someone who may later save your life, can be tempted under the right circumstances. The point is make certain those circumstances appear infrequently, so we can maintain this illusion of being fine moral agents, doing the right thing at least some of the time. Most would be horrified to learn how little it actual takes to subvert their stated morality. Luckily, most will never have the opportunity to find out either.

    84. Re:Nail everyone? by tnk1 · · Score: 1

      Most of the effort probably *was* a debugger or some tool. What happened is that a smaller group "re-purposed" the functionality with a relatively minor bit of code to detect a condition and enable a certain mode.

      Most of the hard work on the various modes may well have been done for very legitimate, non-conspiracy reasons.

      That said, just about everything of any note should have had a requirement, a tracking number, and of course, QA testing. It should be find-able unless there was some sort of shadow process going on. And the existence of a shadow process like that would be as big a deal as the fact of this particular nefarious change. There are audits and certifications based on compliance with stated standards. If there was some idea that process was not being followed in the design of VW autos, the whole company is in for a world of hurt.

      I'm guessing that the spec is there, with someone's name on it, and it was duly tested. Of course, I imagine the requirement language wasn't exactly "Trick the stupid Americans into Passing our Vehicle's emissions. Muhahaha."

    85. Re: Nail everyone? by Anonymous Coward · · Score: 0

      Your definition of integrity isn't the same as his. My family is more important to me than if someone hacks your empty bank account. In other words, the ends justify the means. What you believe is integrity from my perspective is irrelevant.

    86. Re:Nail everyone? by swillden · · Score: 1

      But by such stratagems, they could set up to that one person or a few people could flip a virtual switch, and the hack would be in place.

      Very true. It's also not hard to construct an only slightly different sequence of events such that it was all a result of miscommunication, without anyone explicitly intending it. It will be interesting to see the root cause.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    87. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Anything remotely mission critical will have a set of design documents and feature requests, along with a trail of QA verification that the documented design and requested features work as designed. Sometimes I wonder what sort of 'engineering' the posters here on /. actually participate in.

    88. Re: Nail everyone? by Anonymous Coward · · Score: 0

      Take this package to Montana. You're in DC btw. No we're not providing a car, shipping, or anything else you need to perform this task- figure it out yourself. Build a gyrocopter, hire those Mexicans that hang out at the Home Depot. It's not my problem. It's gotta be there Tuesday morning or you're fired.

      See how dumb your argument is? There are PLENTY of instances where it truly isn't "your job" and people like you who don't believe that are the enablers of the corporate abuse that we have to put up with these days.

    89. Re:Nail everyone? by Anonymous Coward · · Score: 0

      And the CEO just says "Ich habe es nicht gewusst"... Germans seems to have problems with "wussen" what happens around them.

    90. Re: Nail everyone? by Anonymous Coward · · Score: 0

      Let me go ahead and build the computer I'll use to write that library then too since I'm an engineer and should know how...
      What a stupid argument. I expected better from you, five. You disappoint me.

    91. Re:Nail everyone? by Anonymous Coward · · Score: 0

      You get fired now, or you implement something dubious - what do you choose?

      I kill all of my coworkers and torture my boss to death. Then I go to the boss' house and rape and kill his family, pets included. Then I set myself on fire before some muzzie cult hole screaming "HAIL SATAN YOU MOHAMMED SHIT!" after posting some slashfiction about my yaoi relationship with Obama.

    92. Re:Nail everyone? by Hognoxious · · Score: 1

      if you're a dev and PHB asks you to do this then you make sure you get it in email form

      We're supposed to be eliminating bureaucracy and adopting a service oriented attitude and a can-do mindset in order to leverage agile synergies at the speed of trust, otherwise we'll be Uberallesed.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    93. Re: Nail everyone? by phantomfive · · Score: 1

      If you have no other choice, you need to write it. Javascript is deficient, work around it.
      Writing a fixed-point integer library is something you should be capable of doing. If you've never done it, then you should try it: it's fun.

      --
      "First they came for the slanderers and i said nothing."
    94. Re:Nail everyone? by parkinglot777 · · Score: 1

      Your story is interesting. However, if you are not sure about decimal handling (only 2 decimals), it should NOT be a problem as a developer to deal with it especially using JavaScript. I am not sure why you would blame the language on lacking of financial libraries stuff (and there shouldn't be!) because implementing a function by your own to handle decimal should be easy enough. You could feel that it is a difficult task if you aren't experienced in the language and the concept of how to deal with decimal (separate number and decimal)... If there is a library for the language, don't reinvent the wheel but use the library. If there is none, implement it your own.

    95. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Malarkey. Any mission critical engineering effort like an aircraft landing gear component or an ECU firmware will have a document and audit trail for every step of the process probably including digitally signed change orders and design documents. I know for a fact this level of audit is mandatory at Boeing (for aircraft parts design files) and Pfizer (for the recipe and other process info) and I'd be shocked if it's not the case in VW.

    96. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Exactly. The OP quotes a Nikhil Kaul, from SmartBear Software.

      Certainly not all conspiracies are run by geniuses, but some are. Mr. Kaul seems to be taking a very technical and amateurish perspective on this, beginning from the assumption that there even is an audit trail. "Oh well all you do is look at the Git logs and the signoffs and the paper trail."

      Someone who wants to do something nefarious and is good at it, makes sure they get their way in a manner that cannot be proven to have come from them. They make sure any traceable communications do not come from them. The operate via indirection and subterfuge.

      In fact I can remember one situation that wasn't a conspiracy, at least not one of the VW type. A local government had a scandal that actually killed people. The Council was able to avoid taking responsibility even though there were strong indications they were involved or had some level of culpability. They did it (of course) by downloading all public blame on the people closer to the specific incident. Which is exactly how you cover your *ss in regards to dirty dealings.

    97. Re:Nail everyone? by luis_a_espinal · · Score: 2

      The hard part here comes from "get it in writing".

      Not really. What I've done in very "interesting" situations (names will be withheld), is that I send an e-mail that would have the following structure (I'm putting the important part in bold):

      As per our discussion/instructions today, we will implement X,Y,Z and that this has been cleared/authorized/whatever-adjective-you-see-fit, and that these steps are appropriate. (If there are any lingering concerns, I list them here.)

      Please let me know if you have any questions or corrections. Otherwise, I will proceed with your approval.

      Once I send that e-mail, I reply to it, to me, indicating the time and date the discussion/instruction took place.

      The critical part is in bold. No reply to the contrary implies tacit approval. Not bullet proof, and I'm no lawyer, but I've gotten people to backtrack "strange" orders as soon as they get such an e-mail.

      Even when they tell me their reversal verbally, I then send another e-mail just like that, acknowledging the reversal.

      No shit happens unless I get it in writing, or force them to put it in writing. If it ever comes to a case when things become contentious at work after sending one such e-mail, that is a red flag to me that some weird shit is going on and that it is time for me to leave with my hands clean.

    98. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Or: "sure, btw about my pay review..."

      I just typed "Wrongful dismissal USA" into google and the first hit was about a $3.5million jury award for someone who complained that their employer asked them to do something illegal.

      Integrity maintained: Check
      Penalty to employer: Check
      Financially sound decision: Check.

      Enjoy your pay rise. Oh and now that your implicated don't expect to get a wonderful next job after you have a criminal record against your name.

      Ok. $3.5 M from jury. the lawyer takes 40% plus expenses ( and remember every paged copied by a secretary or paralegal costs you $12 ). So that $3.5M is now at best $1.75M. Oh. and don't forget not all jurisdictions let you have that tax free, so you might owe income tax..even more gone. Then there are the 3 -5 years waiting for the case to make its way through the court system when you are racking up expenses but not necessarily making what you were making after all you did get fired.

      And oh yes, the company decides to appeal as they don't want to have a precedent set. Depending on the size of the company, it might take a decade to get to the Supreme Court. Additionally, if the company is really unscrupulous, they just decide not to pay you and you have to take them to court again and again... each time costing you more money, only this time, you more than likely won't get it back in the form of additional payments.

      So in the long run you take 10 years chasing a $3.5M payday, only to end up $3.5M in the hole do to all the legal fees involved in trying to actually get the money.

    99. Re:Nail everyone? by BasilBrush · · Score: 2

      All varieties of IC vehicles will be gone soon enough, NG, diesel and gasoline. Not because they pollute. Because they're enormously less efficient than electrical vehicles. The only benefit IC vehicles have right now is that gasoline, NG and diesel store larger amounts of energy by volume and weight than electrical storage does, and offer less maintainance of the energy supply for the vehicle. But those advantages continue to erode. Eventually the benefits will fall the other side of the line, and that'll be the end of that.

      True.

      One of the obvious consequences of this inevitability is that the very small amount of extra exhaust products generated by VW's software methodology in actual vehicle use isn't likely to make an actual difference to anyone in terms of pollution.

      Non-sequiteur. Possibly you haven't appreciated that this isn't mainly about greenhouse gasses, but about pollutants that cause local heath problems in cities, and thus directly harm and even kill people. That most certainly *IS* a difference.

    100. Re: Nail everyone? by phantomfive · · Score: 1
      Let me say it a different way, and relate it to geekiness with a J.R.R. Tolkien quote:

      “I wish it need not have happened in my time," said Frodo.
      "So do I," said Gandalf, "and so do all who live to see such times. But that is not for them to decide. All we have to decide is what to do with the time that is given us.”

      Nobody gets the job they want, perfectly. But when you are in that situation, you need to either figure out how to make it work, or find another job.
      And writing an integer math library for Javascript is something you are capable of.

      --
      "First they came for the slanderers and i said nothing."
    101. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Weak escuse.

      I did coding with trignomeric calculations in integers only.

      It worked fine within the parameters of the scale.

    102. Re:Nail everyone? by Anonymous Coward · · Score: 0

      I'm not a car tech, but my experience tells me... You would need to guess which ECU is responsible for the fuel-air ratio, then remove it. Get a new ECU from the dealer... Goodluck with that story. Get the new modified ECU to pass SMOG. Switch the old ECU in afterwards. You'd also have to swap the EPA ECU back in a month before your next SMOG appointment...

    103. Re: Nail everyone? by Anonymous Coward · · Score: 0

      Companies with true whistleblowing policies would actually address exactly the case of someone at the risk of being fired or deported for whistleblowing, wouldn't they? That is e.g. one of the reasons why Internal Audit reports to the nonexecutive part of the Board of Directors (or Supervisory Board in Germany), to be able to blow the whistle even on the CEO...

    104. Re: Nail everyone? by kubajz · · Score: 1

      Companies with true whistleblowing policies would actually address exactly the case of someone at the risk of being fired or deported for whistleblowing, wouldn't they? That is e.g. one of the reasons why Internal Audit reports to the nonexecutive part of the Board of Directors (or Supervisory Board in Germany), to be able to blow the whistle even on the CEO...

    105. Re: Nail everyone? by kubajz · · Score: 1

      Yes you are right. You only seem to assume that people view their stable income as more in their interest than living in integrity with a good conscience. This may of course be a cultural assumption... and I would imagine that one's true religion or philosophy (not the professed one :) would show quite well in a situation like this...

    106. Re:Nail everyone? by NoKaOi · · Score: 2

      And even then, a programmer or his/her manager could claim that code was for testing purposes, it should have never made it into production. It could all be copped up to an accident. It will really depend on whether the company wants scapegoats or wants to cop it up to institutional incompetence. Unless they find documentation that says, "TODO: Remove this test code" or "Bwahahaha cheat the emissions test!" how are they going to prove it either way?

    107. Re:Nail everyone? by xtronics · · Score: 2

      Bump the parent

      Yes - all the ECUs do this - and my informants tell me they all cheat - this is really about selective prosecution because VW is non UAW.

       

    108. Re:Nail everyone? by Atryn · · Score: 1

      These sorts of discussions tend to happen over a drink in a bar somewhere, and for good reason.

      I think you may be operating on a different definition of "good". :) I may have gone with "...and for obvious reasons."

      --
      Come play Moral Decay!
    109. Re:Nail everyone? by Anonymous Coward · · Score: 0

      No, it >>IS that simple if you're neither stupid nor interested in going to jail.

      If they ask you to do something wrong, get it in writing or get the fuck out (I would certainly do the latter; do the former only if you will need to cover your ass).

      Why? Because higher-ups never go to jail: the rule of this world is Shit Flows Downhill.

    110. Re:Nail everyone? by ceoyoyo · · Score: 1

      Sure, because you can't fake e-mails, especially the ones forwarded to personal accounts.

      If your boss asks you to commit a criminal act, at least get him to give you the order on paper, signed. Then send it to the proper authorities.

    111. Re:Nail everyone? by njnnja · · Score: 1

      when the test_mode flag was on

      Or more likely, when the US_AM_EMMIS_TST_TLPPE_LOSULF_2008_v3 flag was set to VAL17

    112. Re:Nail everyone? by The-Ixian · · Score: 1

      It seems to me that this is something that all manufacturers do to some extent.

      I would not be surprised at all if every single one sends a specially "optimized" car off to be tested and then turns around and ships the "non-optimized" variant.

      Perhaps VW just loaded the "optimized" software in all cars either intentionally or by mistake.

      --
      My eyes reflect the stars and a smile lights up my face.
    113. Re:Nail everyone? by ceoyoyo · · Score: 1

      This isn't a web page. It's a car, and everything that goes into it will have to have been signed off by a professional engineer. Even if it WAS a mistake, the PEng who stamped it is responsible. That's why PEngs can charge you hundreds of dollars for slapping their rubber stamp on something.

    114. Re: Nail everyone? by Anonymous Coward · · Score: 0

      >>In other words, the ends justify the means

      Just so you know, acting this way MEANS YOU ARE AN ASSHOLE.

      You can thank me later.

    115. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Very easy. Although not cheap.

    116. Re:Nail everyone? by Grishnakh · · Score: 1

      Fortunately I've never lived in a state that requires emissions *sniff* tests, but I understand it is a PITA in some states to put on even a simple aftermarket exhaust system for performance.

      Citation needed.

      Even in California, which is surely the most stringent state for emissions, it's not that hard for a company making aftermarket exhausts to get a CARB exemption. Aftermarket exhausts that are any good always come with a CARB exemption number and certificate. It's fairly easy to get these, because freer-flowing exhaust systems (downstream of the catalytic converter, called "cat back") do not affect emissions significantly on modern cars, so they just have to go through an emissions test to prove this. Aftermarket exhausts just trade off noise for better performance, but OEM exhausts these days are usually very good anyway, so you're not going to get much improvement with an aftermarket one, though you will get a different exhaust note, which is usually what buyers are after.

    117. Re:Nail everyone? by Anonymous Coward · · Score: 0

      No, corporations are designed to diffuse liability from those who own and run them.

    118. Re:Nail everyone? by taustin · · Score: 1

      And the press would have a field day with it, no matter how credible the fired employee is or isn't.

    119. Re:Nail everyone? by taustin · · Score: 1

      In a lot of places, you can record that phone conversation (or personal conversation) without bothering to tell the other guy. When you're being ordered to commit a felony and threatened with firing if you don't, you can get away with it even in all party states.

    120. Re:Nail everyone? by AK+Marc · · Score: 1

      Everyone has test mode. It's a requirement of the testing method. Turning off traction control and such for the test. Having multiple ECU maps is also normal. Having a "hidden" engine map operate when testing is not normal. But 99.9% of the work for it would be done without anyone doing anything untoward. It's the matching of the most "efficient" map to the test mode that's the only thing that's unusual.

      And everyone probably knows this, and more than one has gamed the tests before. http://www.justice.gov/archive... or any of the numerous news reports that discuss the 1995 fine againse GM for the Cadillac issues.

    121. Re:Nail everyone? by Archangel+Michael · · Score: 1

      In the USA, at least in most of it, a jury award is not taxable income.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    122. Re:Nail everyone? by Archangel+Michael · · Score: 1

      It is a better option than being tossed into Jail for criminal actions (manslaughter, fraud ...) you supposedly protested and did anyway.

      I mean, if we're going to go all hypothetical and everything, why not make both choices "worst case scenarios" ?

      The problem with people like you, you can justify all sorts of illegal, unethical, immoral or otherwise bad choices in life. And then you wonder how you keep getting the shit end of the stick.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    123. Re:Nail everyone? by theArtificial · · Score: 1

      Nicely done! *fist-bump*

      --
      Man blir trött av att gå och göra ingenting.
    124. Re:Nail everyone? by Hognoxious · · Score: 1

      You'll get a roof over your head, three meals a day and medical care.

      Which is three things more than you'll get if you're terminated for not being a good personality fit, or whatever they call it.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    125. Re:Nail everyone? by Thelasko · · Score: 1

      If they use the same shop/lab model to pass EU and USA testing, there must be a switch in there for "Detected_testing_regime == EPA." And they might have intended to turn on the same controls when "vehicle_sold_to == USA," but the guy responsible for that code screwed something up.

      Having a different tune in the ECU for every region would be a waste of memory. Just flash the modules with with region specific binary files. Also, your postulation doesn't explain why it passes US emissions tests, but doesn't meet the standards outside of the test environment.

      Your are correct, having different modes is allowed by the EPA. It just has to be documented. What VW is actually accused of is switching to a mode that is, "neither described nor justified in applicable COC applications..." They didn't document their code.

      --
      One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    126. Re:Nail everyone? by Anonymous Coward · · Score: 0

      And at that point, it becomes your word against theirs.

      Thank God for all-party consent laws, or you'd be able to record the conversation, and then where would we be?

      In a socialised medicine death camp being gay married to an illegal immigrant, that's what! Put the rug back in Uruguay and vote trump!
      --
      roman_mir

    127. Re:Nail everyone? by Eunuchswear · · Score: 1

      You are not replying to my post.

      The claim was, if you had your orders in writing you'd be ok.

      That is not true if the orders are to commit a crime.

      --
      Watch this Heartland Institute video
    128. Re:Nail everyone? by Eunuchswear · · Score: 1

      That only worked because there were so many of them (and we needed them as potential cannon fodder against soviets).

      If your boss (not superior military officer) orders you in writing to break a law you have exactly zero chance of getting off with the "only obeying orders" defense.

      (Anyway, that's such old hat, the one that works today is the "I was only giving orders" defense).

      And the idea of a supreme troll like you accusing people of "parrot[ing] mindless slogans" makes me laugh.

      --
      Watch this Heartland Institute video
    129. Re:Nail everyone? by jfwfmt · · Score: 1

      I worked for an employer as an electrician. I found that the wiring in a major building left off a whole circuit breaker panel from the metering. [My father worked for a power company( (POCO) his whole life. The spinning disk in the meter fed us.] I told my employer of the problem and told him that that would need to be reported to the POCO. I also told them that the POCO would probably charge them about $30,000 for each year in a 5 year lookback period unless we could prove the problem was newer. [Oddly enough I knew the formula the POCO used.] They hemmed and hawed and ask if I couldn't just "fix it"? I said no that would be a misdemeanor in this state and if they wanted me to fix it before it was reported, I'd need a signed letter from someone in my chain of command. I also told they it really should be reported within 30 days from now. I also had a long telephone conversation with the union lawyer. So they reported it to the POCO. POCO came out took pictures. The various lawyers negotiated and they paid it off over about a 2 year period. Once reported and documented I fixed it and everyone just kept on truckin'. Had they chosen to not report it, I had to follow a very detailed process to be sure to be protected by the state Whistle Blower Act (which I worked out with the union lawyer). I'll never take a job I'm not willing to be fired from.

    130. Re:Nail everyone? by ZeroPly · · Score: 1

      Based on the information trickling out, this doesn't seem to be the case. The conditional logic was fairly sophisticated, to the point of using barometric pressure as one of the parameters. They don't even seem to have built deniability into the code.

      --
      Support microSD: in a post 9/11 world, it is unwise to carry your data on media that you cannot comfortably swallow.
    131. Re:Nail everyone? by jfwfmt · · Score: 1

      I was once hired by a University Research group to write a program to do calculations and project the "real" impact of Tourism, given a certain measurement, by county. Once I scoped it out, it became apparent that of the 14 numbers on each county sheet, only one was input and the rest simply derived from the first number. I told them I'd finish the project provided I could put an "*" beside the real number and put a footnote at the bottom of each sheet explaining that all numbers, except this one, were derived and not "data". We agreed and I finished the project.

    132. Re: Nail everyone? by Anonymous Coward · · Score: 0

      It's also pretty trivial given that JavaScript guarantees numbers are implemented as 64-bit doubles.

    133. Re:Nail everyone? by Anonymous Coward · · Score: 0

      I have on very few occasions told people two ranks up but from a different department that I will follow a particular request only on a written request by my immediate superior, because I consider that course of action harmful to the company. It does not seem to have harmed my career yet.
      Obviously I made damned sure to have a very clear list of arguments ready. But in my experience, high-level people actually like it if you stand up when there is a problem.
      Just don't make a habit of it and always be right. And your mileage may be cut very short if you don't work in a small german insurance firm that very much values risk prevention.

    134. Re:Nail everyone? by gum2me · · Score: 1

      Well we do know that the the EPA and the California Air Resources Board flagged this issue for VW more than once, and that VW issued a recall at least once to do a software update. I suspect that VW not fixing the issue after they told the EPA and CARB that they fixed it is what forced the EPA to assume maliciousness instead of omission.

    135. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Javascript doesn't support integer-only values, so you're doing financial calculations with floating point roundoffs and errors.

      So... I would like to know how you can do fixed-point / integer calculations in finite memory without introducing roundoffs / errors?

    136. Re:Nail everyone? by AK+Marc · · Score: 1

      How do you validate, read the entire engine code for the engine, or take your manager's word for it that Engine Map 17(b) is the proper engine control routine in use on the road, yes, there's 1(a) mentioned elsewhere, but it was the laboratory version and isn't in use in the car.

    137. Re:Nail everyone? by Anonymous Coward · · Score: 0

      haha not in Australia. We have a RC going on atm attacking the opposition government where the head claimed he wasn't politically bias about accepting a fund raiser dinner for the current government because he doesn't read his emails, he has his secretary print them off for him. Still kept his job.

    138. Re:Nail everyone? by Anonymous Coward · · Score: 0

      I think you're either very fortunate to be in a position to sue a former employer or very delusional to think you can get anywhere with that.

      I've seen dodgy things happen in places where I've worked. I've seen laws possibly violated. I've certainly seen morally questionable things even if they weren't technically illegal. I objected mildly and was rebuked a few times. Most of the times I was smart enough to just shut the fuck up.

      About 25 years ago I first heard of the concept of selling customer data. It's certainly not illegal (at least in the US) but I found it morally objectionable. I heard about scams for customers to avoid paying taxes that they really should have paid (that probably is illegal). I found it distasteful when one place I went to work for had a "government" department which was essentially a lobbyist pushing a political agenda which I didn't agree with completely - definitely legal but also objectionable in my opinion.

      I can't prove it, but I'm sure I've seen violations of H1-B visa laws. I think I would have a very hard time proving I was laid off in favor of some lesser paid person from India just because they could get away with paying them less than the prevailing wage.

      Typically your employer (or former employer) is going to have much deeper pockets than you and the law is not simple. It's not always black and white. One of my former employers has had so many lawsuits against it I couldn't even find a specific one with a google search the other day because a more recent EEOC claim was made against them which drowned the other one out.

      They pay out huge settlements every few years. It does sort of hurt them financially a little but they keep doing the same shit so it must still be profitable. Public shaming? Ha! Even though they are a HUGE company you never see their name on a product. It's shit that is sold to 3rd parties or marketed under dozens of different names. On top of that the whole industry seems to swap assets every few years so what might have been one of their divisions 5 years ago might belong to one of their competitors now and in another 5 years the might buy it back. I actually saw that happen. I thought it was twisted.

      To be fair to my former employer who I really have not much love for I think most of the lawsuits were bullshit. I actually did a phone interview with someone along with a few other employees. We never saw the guy - had no idea he was black, but we decided he didn't have the technical skills for the position we were looking for and shortly thereafter someone from HR informed us he had filed a complaint with the EEOC.

    139. Re:Nail everyone? by vux984 · · Score: 1

      Are you serious?

      "How do you validate, read the entire engine code for the engine"

      How does anyone validate anything? Documentation of specs relative to what is actually happening. There are not a particularly large number of maps, and the purpose of each should be documented. Is the one that is documented as being for driving on the road at constant residential velocity being used when driving on the road at constant residential velocity? If not... that's a major problem... you could be using the towing or hill-climbing profiles. Surely a car manufacturer would validate that the correct profiles are used at the correct time, and that it switches appropriately. That's a no-brainer.

      Then when testing emissions for driving on the road at constant residential velocity... clearly we need to ensure the same profile is active. Otherwise we might be testing the hill-climbing profile.

      " or take your manager's word for it that Engine Map 17(b) is the proper engine control routine in use on the road"

      Or that. Sure. Even if you did THAT. Then you would need to ensure that Map 17(b) was active when doing a normal road test, that Map 17(b) was active when measuring torque and fuel economy on a normal road test, and that Map 17(b) was active when doing the emissions test.

      This is really not THAT complicated.

    140. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Colorado has 4 wheel dynos, were any of these system 4WD | AWD? If so, how the hell did this system pass emissions on 4 wheel dynos for so many years on arguably a more stringent State emissions requirement than California?

    141. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Then you do the next best. You get it in writing from your immediate supervisor, playing as if you're verifying facts of the request.

      Being your boss, he/she already knew this trick and wouldn't be so stupid as to touch your mail. It will get ignored, and then after a week, you will be asked about your "progress", if you try to play the "I was waiting for your confirmation" trick, your performance record will show that you were lazy and a slow worker jeopardizing the project schedule.

      Playing these tricks are how PHBs got to become PHBs, it is naive and arrogance in the extreme to think that a programmer could outplay PHBs in these blame-shifting CYA games.

    142. Re:Nail everyone? by jafac · · Score: 1

      This is why I save ALL emails independently of the corporate retention policy.

      Always cover your ass.

      --

      These are my friends, See how they glisten. See this one shine, how he smiles in the light.
    143. Re:Nail everyone? by jafac · · Score: 1

      lol.

      Sometimes my boss isn't even aware of when software is breaking the law (or violating customer contract terms). I don't argue with my boss. But when I implement code that is legally sketchy, I ALWAYS put a configuration option in there. I make it disabled by default. Sometimes I document it, sometimes I don't. (like; when it's just a momentary brain fart, and I know that in 2 weeks, he will forget he even asked for it; and if he remembers in 6 weeks, and asks about it, I say: sure - it's there. Just tell the customer to turn it on by setting this value in the .properties file. . . - this almost always shuts him up. Yeah - you paid for it, I did it, and if you want to use it, you've got the responsibility for turning it on).

      --

      These are my friends, See how they glisten. See this one shine, how he smiles in the light.
    144. Re:Nail everyone? by jafac · · Score: 1

      The way I understand it; cars that go into multiple juridictions will have both different physical engine configurations, AND a different program on the ECU/DME. (I know quite a few BMW owners who live in states that do not have stringent emissions testing, and they have flashed their DME with the "euro" tune, which dials down EGR, and increases performance). It's a totally different bin image.

      What VW has done here, is put two different programs on one ECU, and sneakily swaps one in when it detects testing. And it's not just a mistaken "shut off the traction control because you're on a dyno" switch. It detects the humidity, and steering wheel position and a few other elements to sneakily swap-out the performance tune, and run the emissions-compliant tune.

      --

      These are my friends, See how they glisten. See this one shine, how he smiles in the light.
    145. Re:Nail everyone? by sribe · · Score: 1

      I wasn't given any instructions on how to make sure they didn't cause issues.

      You seriously could not figure that out on your own??? I think it's pretty fair for your bosses to expect you to be able to deal with basic math in the language you're paid to develop in.

    146. Re:Nail everyone? by mjwx · · Score: 1

      The hard part here comes from "get it in writing".

      When someone three layers of food-chain above you tells you "do this", you don't get to refuse until you have it in writing (unless you already have a new job lined up - and even then, don't expect that one to go any differently).

      Actually you can refuse up until you get it in writing because until it's in writing, company policy prohibits me from doing anything.

      I'm at the very minimum going to need a project plan, design scope, authorisation and most importantly, budget. Without paperwork there is no money, without money there is no "test assistance control device".

      Working in a professional environment is very different to being a blue collar worker or working in a third world country. Its very difficult to find good talent so you dont let them go because they asked for something perfectly reasonable.

      Beyond this, Volkswagen is German.

      Firstly, Germans document and record everything, they're meticulous about it.

      Secondly, Germany has some of the most stringent employee protection laws in the world. If they sacked someone for asking for written orders they would have been made bankrupt about 10 minutes after it happened.

      --
      Calling someone a "hater" only means you can not rationally rebut their argument.
    147. Re: Nail everyone? by ElitistWhiner · · Score: 1

      LMAOâ¦you've never owned a VW have you?

    148. Re:Nail everyone? by Anonymous Coward · · Score: 0

      You can't expect someone "3 levels up the food chain" to do all that writing.

      So you do it for them. Send them an email, saying "per our discussion, this is what I understand you want me to do. I'll go ahead with that now. Thank you." CC it to your team leader, and save it wherever you think it'll be safe.

      Then they're hooked into the paper trail, no matter how anonymous they wanted to be.

      The counter to this comes when those people start to bombard you with seemingly trivial requests/changes all the time - many of them simply revising yesterday's instructions - so if you confirm every one of them by email, your team leader thinks you're just spamming. But it's still a paper trial.

    149. Re:Nail everyone? by Anonymous Coward · · Score: 1

      "Not a team player", or in real terms - not willing to take on extra work to pick up the slack for someone else's screw-up and/or expose yourself to possible legal action (usually without any additional compensation).

    150. Re:Nail everyone? by Uberbah · · Score: 1

      Yes - all the ECUs do this - and my informants tell me they all cheat - this is really about selective prosecution because VW is non UAW.

      On some other planet where Republicans haven't held Congress since 2010 and would just love to bust the fuck out of a union? And slam Obama for bailing out a corrupt industry at the same time.

      Bitch. Please.

    151. Re:Nail everyone? by Anonymous Coward · · Score: 0

      OR in between the times where security drags you out of your office and the first court-date, any evidence unrelated to you will have long been disappeared or "rendered inadmissible", leaving you, mr-criminal, the sole responsible for this whole affair.

    152. Re:Nail everyone? by Antique+Geekmeister · · Score: 2

      > Beats going to prison.

      Keeping a job right now, when you've got children or other family to feed, or when finding a new job is very difficult, can be a strong incentive to keep your mouth shut. This is true even when there is a small risk of prison time.

    153. Re: Nail everyone? by Antique+Geekmeister · · Score: 2

      > Where I work everything in code is documented with trouble ticket numbers,

      For most such systems, I can pretty easily submit a code change as someone else. With many systems, i can submit a change as a "back door" modification that will only show up with the most meticulous monitoring of the changelogs. I have in fact done so to avoid a code review by someone who needed to not be informed of a security patch to reveal their misbehavior.

    154. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Have you ever tried to prove wrongful dismissal, or tried to get work after such a lawsuit? Most recruiters or HR departments will throw your resume into the trash as soon as they get wind of the problem. As a manager, I'd think you were an idiot and throw out your resume myself, because you didn't leave under your own power while the getting was good.

      Now, if you were a *whistleblower* and exposed such corrupt behavior to the world at large because they insisted on doing it anyway, I'd cut you a lot of slack and probably want you on my team.

    155. Re:Nail everyone? by TapeCutter · · Score: 1

      Executives are adept at escaping personal responsibility, coders could do the same by performing all check-in's under a shared developer account.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    156. Re:Nail everyone? by countach · · Score: 1

      Funnily enough, top brass often seem to implicate themselves in emails. We'll have to see what comes out.

    157. Re:Nail everyone? by countach · · Score: 1

      Except that the lawyers are supposed to sign off to the EPA on what sensors alter smog output and under what conditions. So somebody signed off on it. And you would think that person would have done some basic due diligence like asking the tech heads if these statements are true.

    158. Re: Nail everyone? by countach · · Score: 1

      Most people aren't that careful. Especially if the order actually came from above.

    159. Re:Nail everyone? by countach · · Score: 1

      I'm not sure that absence of malice will get you out of the fines. The law says something about knowingly breaking the rules, or where you SHOULD have known you were breaking the rules. I suspect shipping violating cars for 10 years without doing anything would probably come under a case of where you should have known it is in violation.

    160. Re:Nail everyone? by countach · · Score: 1

      We'll see what comes out, but I suspect they don't even bother with different firmware. These EPA test conditions probably don't affect normal running.

    161. Re:Nail everyone? by countach · · Score: 1

      Efficient in what sense? In energy losses? (Are you including the transmission network?) In cost? In greenhouse gases? In total lifetime energy use (Are you including the extra costs of manufacture?).

    162. Re:Nail everyone? by countach · · Score: 1

      Unless you know the American laws, there is a fine line between optimising for the test and defrauding the test.

    163. Re:Nail everyone? by countach · · Score: 1

      I don't think there is a flag to say we are in test mode. The car is not supposed to know that. There may well be a flag which says traction control is off. And yes, someone could wrongly use it. However we shouldn't forget the US smog laws explicitly ask the company to sign off that they are NOT using any such sensor flags to alter smog output. So if some engineer did that, and there was no audit procedure to check, then there was a lot of negligence going on.

    164. Re:Nail everyone? by countach · · Score: 1

      You're right, it's not illegal to perform differently in the test because traction control is off. But IF YOU DO, you have to fully document to the EPA what you are doing with that sensor, and why you are doing it, and get sign off that your excuse is acceptable. I'm guessing that didn't happen.

    165. Re: Nail everyone? by Anonymous Coward · · Score: 0

      You're assuming, of course, that trouble tickets, feature requests and email are all immutable. Since they're backed by databases, they're not.

    166. Re:Nail everyone? by Anonymous Coward · · Score: 0

      The variations in Clarke's Law: Any incompetence, when sufficiently advanced, will appear as malice.
      I'm also going to assume there is a corollary,
      Any malice sufficiently advanced can also be made to appear as incompetence

    167. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Hey, remember when Samsung ran their phone CPUS at Max power mode when they detected a performance testing suite running? Would kill the battery in nothing flat, but made the S series look almost as good as the same age iPhone at the time.

    168. Re: Nail everyone? by Anonymous Coward · · Score: 0

      Yes, because the German government would destroy one of its most profitable assets, employing thousands of people and a vital part of what makes the German industrial might work over one employee's "rights"... Come on.

    169. Re: Nail everyone? by Anonymous Coward · · Score: 0

      Don't be a wuss.

    170. Re:Nail everyone? by Anonymous Coward · · Score: 0

      "You get fired." That's your answer? You're an idiot. And banks? Good grief.
      There are very few companies that write commercial software for the banks, it's a very tight market.
      I worked briefly at one of the larger of these, and chatting with the other programmers really put my hair on end.
      Untested code, shipped to and implemented by commercial banks across Europe, including some of the largest retail banks in several countries.
      Mgmt completely oblivious to standardised testing regimes.
      Incoherent documentation.
      And the competition - no better.
      By law, I can't take copies of emails out of the building. I can't possibly take action against wrongful dismissal.
      It worked out ok - our entire department was "outsourced" so I don't need to suffer them anymore. It was an organised coup to shut us all up. Painful at the time, but time heals most wounds.
      But they've almost destroyed some MAJOR banking institutions through their negligence, and I can guarantee they've done nothing since to improve the situation.
      Deliberate incompetence, to cover your ass, to avoid accountability, to continue milking the cows, to exploit the weak.
      Not that I'm surprised - such is the way of the human.

    171. Re:Nail everyone? by jabuzz · · Score: 1

      You are assuming that the "test" mode is for emissions testing, and not for testing the engine is working properly while in the garage for maintenance.

    172. Re:Nail everyone? by tehcyder · · Score: 1

      That sounds very ideal, and it is the kind of comment that people make when talking about such situations in the hypothetical.

      The real world is never that black and white.

      No, some things really are black and white. Choosing to commit a crime is one of those.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    173. Re:Nail everyone? by tehcyder · · Score: 1

      Thing is, if it blows up in your face later because you get caught, you're screwed anyway, and probably harder than if you'd wrote your job off to begin with.

      Criminals pretty much by definition don't think they're going to get caught.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    174. Re:Nail everyone? by tehcyder · · Score: 1

      Yes and in the mean time you lose your house, car, and your kids go hungry. And the woman that would love you till death do you apart? She meant financial death. She will leave you for putting your family's financial livelihood in jeopardy to do some half-ass ethics play. You may get some money from the settlement, but the whole thing will now be part of public record. Good luck getting hired ANYWHERE else.

      It's easy to be an idealist on paper, especially if you have nothing to lose. Real life is a tad more complicated.

      Bullshit. If someone asks, you say "I was fired for wrongful dismissal when I refused to commit a crime/do something entirely unethical". This is actually a plus point on your CV (unless you actually want to work for dodgy companies).

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    175. Re:Nail everyone? by jrumney · · Score: 1

      Likely there were different developers involved, none of whom had the full picture to avoid the chance of some junior guy way down the chain blowing the whistle. Making one microcontroller of the hundred or so on the bus send a "DiagnosticsInProgress" message on the CAN bus when something is plugged in to the OBD port seems harmless enough. And if that CAN message is documented completely differently in the message map handed to another developer, he could be tricked into switching to the alternate mode without knowing the actual circumstance that the switch is made. It probably isn't obvious to that developer that the emissions are going to be way higher with one of those settings, as he is just a software engineer implementing a specification, not a specialist in internal combustion engines.

    176. Re:Nail everyone? by Ihlosi · · Score: 1
      (unless you actually want to work for dodgy companies)

      Can you name a few completely non-dodgy companies that also pay well? Thanks.

    177. Re: Nail everyone? by LWATCDR · · Score: 1

      Get over it. You're wrong. BTW their are a good number of fixed point and accounting libraries available.
      A programmer's job is to program.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    178. Re:Nail everyone? by jrumney · · Score: 1

      Perhaps someone was told to lower the fuel flow when the test_mode flag was on.

      Or to lower the running temperature of the engine. After all, when the car is on a dyno, there is no natural airflow through the radiator and around the engine, and we wouldn't want the car overheating during testing would we?

    179. Re: Nail everyone? by LWATCDR · · Score: 1

      Wow you are just an idiot. Writing a fixed point library is not hard but do you know what is even easier? Googling it and finding on of the free accounting or fixed point libraries for javascript.
      Creating a simple fixed point library is not that hard. It is not like he was being asked to write an OS, compiler, or interpreter which is much closer to your crazy analogies.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    180. Re:Nail everyone? by FlyHelicopters · · Score: 1

      You of course made my point... It is all clear when typing about such a situation in hindsight on Slashdot...

      Which was my point... but you're kidding yourself if you think day to day it is so clear when there are 100 hands in the pot and it isn't hindsight...

      Oh sure, there may well be a manager somewhere who did commit a crime, but that doesn't mean the engineers had a choice, knew about it, or even should have known about it.

    181. Re:Nail everyone? by cayenne8 · · Score: 1

      Even in California, which is surely the most stringent state for emissions, it's not that hard for a company making aftermarket exhausts to get a CARB exemption. Aftermarket exhausts that are any good always come with a CARB exemption number and certificate.

      But, what if you want items that are not CARB certified or don't want to have to pass a visual inspection and the hassles of that?

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    182. Re:Nail everyone? by rch7 · · Score: 1

      If you get confirmation to do something obviously criminal, it is not out jail confirmation. It is shared cell confirmation ;)

    183. Re:Nail everyone? by unicornzvi · · Score: 1
      There really isn't any need to get the request in writing unless you're trying to build a case against the requester. If you feel the need to protect yourself legally, or are otherwise concerned about the request you simply submit progress report (or if it was a five minute job an e-mail announcing the change is completed) copying everyone even remotely connected to the issue (if you're feeling paranoid you can even add your private e-mail in BCC.

      This isn't something that will be useful in prosecuting the guy in charge, but it establishes that you honestly believed you were following a proper request.

      I've done this with requests that could have had the company sued for fraud (basically writing in the "correct" test values, instead of what was actually measured) and for requests that were simply stupid and would have cost the company a huge pile of money. Sometimes that makes people "clarify" that they didn't actually want you to do anything like that and other times they go through with it, but either way you're covered and without earning a reputation as being difficult to work with.

    184. Re:Nail everyone? by AK+Marc · · Score: 1

      Nope. The corporate veil (designed to protect investors, not employees) does a really good job of shielding employees. So long as the act is a corporate act, you'll be 100% shielded. I say corporate act because if you boss tells you to pick up his dry cleaning, of and while you are out, shoot his wife, that won't be a corporate act, and you'll be personally liable. But "make that latch 10% cheaper, even if we know it'll fail 50% of the time" will never land the engineer in jail. So long as there's a trail to a manager who made the decision.

    185. Re:Nail everyone? by Anonymous Coward · · Score: 0

      If you are going to 'nail everyone', don't forget the EPA who knew or should
      have known about this all along how hard is it to stick a sniffer in a
      tail-pipe while it's being tested to double check what is being reported by
      the on-board ECU??? It's something I did in high school auto mechanics
      classes. Why is the EPA who is controlled by the Obama Admin prosecuting
      this NOW, when Germany is expected to take in thousands of military service
      age muslim terrorists disguised as "Refugees"? I'll bet if you look
      carefully at GM products, you will find similar lines of code and the EPA
      looking the other way. Politics as usual. Not an engineering problem.

    186. Re:Nail everyone? by rch7 · · Score: 1

      Piercing corporate veil is certainly possible. And there is big difference between civil liability and criminal. You will not get out of jail for life if your boss will tell you to shoot competitor's boss and you do it. "I just followed orders" is excuse of most war criminals, and it never works.

    187. Re:Nail everyone? by Grishnakh · · Score: 1

      Then tough! But that mainly applies if you live in California, or certain other states or cities which are emission-controlled. In a lot of places, there's no state emission test, but there is testing in particular cities or metro areas. Virginia is like this I believe; there's no testing of any kind in rural parts of the state, but in the NoVA area (DC suburbs) there is. Arizona is the same way: if you live in Maricopa County (Phoenix metro area), there's emissions testing, but not in the rural parts of the state. See here, in particular #9 under "Exemptions". Of course, most people in AZ live in either Phoenix or Tucson (including their respective metro areas), even though the state has a huge amount of land area outside those places, so most people are covered by this testing, but for those who don't, they're exempt.

      However, why would you want something that's not CARB-certified? It's likely a POS in that case. Any company that has a profitable business selling aftermarket exhaust systems is going to have CARB certification for its parts, because CA is easily the largest market for aftermarket car parts like that. As for visual inspection, as long as the parts have CARB certification, they pass.

    188. Re:Nail everyone? by Anonymous Coward · · Score: 0

      Somebody knew, somebody high up knew,...

      You must work at different large companies from me. Any manager more than one level above me has been concerned about budgets, hiring, and schedules, not the interactions of obscure software features.

      I can totally believe this was a software screwup, not an intentional cheat. Someone in department A makes a change to pass some test and didn't notice the implications to a module written by department B. It happens all the time. Until we see the code and change log, we won't know. That seems more plausible than a nefarious scheme hatched in the inky shadows. But OTOH, some people aren't all fine and upstanding so we need to keep an open mind.

    189. Re:Nail everyone? by orgelspieler · · Score: 1

      Speaking as a registered PE, I can tell you that you couldn't pay me any amount of money just to stamp a drawing. It doesn't work that way. If I wasn't at least tangentially associated with every aspect of the design of the thing, my stamp is staying in its pouch. I have told the president of my company to take a flying leap on one occasion because of this. And you know what his response was? He apologized for not realizing that wasn't how PE stamps work.

      That being said, I don't think you have to be a registered PE to design automobiles.

    190. Re:Nail everyone? by orgelspieler · · Score: 1

      Fair point.

  2. Configuration Management by Anonymous Coward · · Score: 0

    Clearcase, Git, Sourceforge, or CVS?

    1. Re:Configuration Management by lister+king+of+smeg · · Score: 1

      Clearcase, Git, Sourceforge, or CVS?

      Obviously not source-forge, because if it had been source-forge the car would have had ad-ware and third party toolbars installed.

      --
      ---Saying gnome 3 is better than windows 8 not so much a compliment as it is damning with light praise.
  3. Aw... by 93+Escort+Wagon · · Score: 5, Insightful

    It's cute how he thinks no one thought about this and sanitized the audit trail. I'm sure he also thinks his 4096-bit disk encryption thwarts even the most determined ne'er-do-wells.

    --
    #DeleteChrome
    1. Re:Aw... by Pseudonymous+Powers · · Score: 1

      It's cute how he thinks no one thought about this and sanitized the audit trail.

      I'm sure they tried to hide the evidence. I'd also be willing to bet they didn't get it all.

    2. Re:Aw... by Fire_Wraith · · Score: 1

      I dunno, Germany/Germans tend to be very fastidious and precise at keeping records, even of wrongdoing. I wouldn't be surprised if it's all right there in the logs.

    3. Re:Aw... by Anonymous Coward · · Score: 5, Interesting

      Why would anyone want to hide evidence? All the people seem to operate under the impression that this is some kind of big revelation, when in fact everyone in the industry knows that this is happening all over the place. This wasn't actually big news that Volkswagen is cheating, the big news is that some authority is finally taking the rules seriously, when for years both the european and US authorities did their best to look the other way when the evidence was shoved in their face. And if no one cares, why would you want to hide it?

    4. Re: Aw... by Anonymous Coward · · Score: 5, Informative

      Definitely been going on for at least 17 years, and many other companies besides VW are getting caught.

      "On October 22, 1998, the Department of Justice and the Environmental Protection Agency announced an $83.4 million total penalty against diesel manufacturers, the largest civil penalty ever for violation of environmental law...The seven companies sold 1.3 million heavy duty diesel engines containing illegal "defeat devices," which allow an engine to pass the EPA emissions test, but then turn off emission controls during highway driving. As a result, these engines emit up to three times the current level for NOx a harmful air pollutant."

      http://www2.epa.gov/enforcement/detroit-diesel-corporation-diesel-engine-settlement

      You can find many more examples of enforcement at:

      http://www2.epa.gov/enforcement/clean-air-act-vehicle-and-engine-enforcement-case-resolutions

      (AC because I work in the industry.)

    5. Re:Aw... by abies · · Score: 1

      I dunno, Germany/Germans tend to be very fastidious and precise at keeping records, even of wrongdoing.

      Not all of them:
      https://en.wikipedia.org/wiki/...

      Do I get extra points for using Godwin's Law while talking about cars?

    6. Re:Aw... by Tablizer · · Score: 4, Interesting

      Based on my experience with slimebag orgs and managers, it may have gone something like this:

      A manager(s) asks for a software switch to deactivate the "clean" mode and also detect when smog testing is being done "in order to study and track resources devoted to environmental issues and make sure we understand and comply with the smog testing procedures."

      Then a personal visit happens where key manager(s) ask the top-ranking technician to leave the bypass-on-test feature "on" in production. No paper trail. Experienced slimebags don't put such commands into writing.

      When the IT lead later reveals "Executive X told me to in person", there's no written trail. It's one person's word against another's.

      Sure, the IT lead is probably suspicious of the request, but when the big bosses tell you to do something, it's comply or hit the road.

      I was once asked to cheat a client over database scalability. It was shortly after the dot-com crash, and knowing the market was really tight in Calif. and having a young family, it was a really difficult situation to be in. I won't go into the details here, but I was sick to my stomach over it. The experience made me more progressive.

    7. Re:Aw... by Anonymous Coward · · Score: 0

      Then why not just go to the NSA? I'm sure they have it recorded somewhere.

    8. Re:Aw... by orlanz · · Score: 2

      If there is no audit trail, shouldn't the buck stop at the top? The roles, job titles, audits, change management controls, financial approvals, etc are all business processes designed to reallocate the default responsibility who is either one of the big Cs or the board of directors. Without the approvals, audits, or whatnot the responsibility goes to the person who can't push further down. And it can't be a he said, she said thing. Need documentation.

      I understand this is not how it works in the real world where companies settle or hush hush or just simply drop it because it is not worth the investigative resources but sanitizing the audit trail doesn't help anything. Misdirection, sure, and in this day and age, anyone who isn't doing enough personal CYA deserves to get the heat. Civility in business never existed.

    9. Re:Aw... by Anonymous Coward · · Score: 0

      First of all, it's pretty dumb to stereotype a nation of tens of millions of people as all being fastidious record keepers. Second, who says this was done in Germany? Volkswagen is (or was) the second largest car company in the the world. They're international. They have engineering teams all over the place.

    10. Re:Aw... by Anonymous Coward · · Score: 0

      All they had to do was wipe the disk. That always works, doesn't it?

    11. Re:Aw... by chispito · · Score: 1

      It's cute how he thinks no one thought about this and sanitized the audit trail. I'm sure he also thinks his 4096-bit disk encryption thwarts even the most determined ne'er-do-wells.

      The people running the car computer division are not the people running the mail servers. They are not the backup admins. They are not the desktop admins. They are probably not the kinds of people who would know how to erase an audit trail completely, nor the kinds of people willing and able to coerce their coworkers not to testify against them for 1) authorizing the cheat and 2) trying to erase the trail.

      --
      The Daddy casts sleep on the Baby. The Baby resists!
    12. Re:Aw... by Anonymous Coward · · Score: 0

      Germans are not gods or geniuses or superior [as they wanted you to believe back in the day]. They're just fucking, shitting humans, like everyone else. This German Ubermenchen myth has to go.

    13. Re:Aw... by Anonymous Coward · · Score: 0

      So basically, you're.. agreeing with Pseudonymous Powers' claim that an audit trail still exists?

    14. Re:Aw... by codeButcher · · Score: 1

      Germans are not gods or geniuses or superior [as they wanted you to believe back in the day]. They're just fucking, shitting humans, like everyone else. This German Ubermenchen myth has to go.

      Agreed, we're not. But knowing how to spell Übermenschen is pretty awesome too.

      --
      Free, as in your money being freed from the confines of your account.
    15. Re:Aw... by Anonymous Coward · · Score: 0

      Why would anyone want to hide evidence? All the people seem to operate under the impression that this is some kind of big revelation, when in fact everyone in the industry knows that this is happening all over the place.

      Well, they did test a diesel BMW X5 and it passed the US diesel emissions test just fine (in the lab and on the road).

      So it isn't all over the place.

    16. Re:Aw... by Darinbob · · Score: 1

      I think it's cute that the summary describes something incredibly obvious to anyone on slashdot. "Sofware development audit trail." Oh, it means source code control, just see who checked in the code. Duh.

      The "test audit trail" though sounds like an advertisement for a package that offers this. As in if VW had used our spiffy SmartBear software then we'd be able to do an audit and arrest the right people, says sales person hoping to collect more commissions.

    17. Re: Aw... by Anonymous Coward · · Score: 0

      IOW, CAFE and other standards are a joke, everyone is cheating, and VW is poised to be made an example of to the tune of several billion dollars and also several billion euros.

      Get your popcorn ready.

    18. Re:Aw... by Anonymous Coward · · Score: 0

      We have 'scrum'. That means that even if an it person walks over and says do X to project Y we first make a story so it can be properly tested. Procedures can be a good thing.

      We do not allow commits without a story number on it.

    19. Re:Aw... by bentcd · · Score: 1

      If there is no audit trail, shouldn't the buck stop at the top?

      It does. The top already resigned.

      --
      sigs are hazardous to your health
    20. Re: Aw... by Anonymous Coward · · Score: 0

      Why would they turn off the program that lowers emissions if thy bothered to implement it in the first place? Just to be assholes?

    21. Re: Aw... by Ihlosi · · Score: 1
      Why would they turn off the program that lowers emissions if thy bothered to implement it in the first place?

      Because turning them off increases engine performance over the range of operating conditions and increases gas mileage.

      Just to be assholes?

      No, because they want to sell cars. And engine performance and gas mileage sell cars.

    22. Re:Aw... by Tablizer · · Score: 1

      Sure, the Mafia will have ID numbers for all their cement galoshes.

  4. Single line of code? by rekoil · · Score: 4, Insightful

    I *highly* doubt it was a single line of code. To toggle the car's "EPA Cheat" mode, maybe, but by all accounts, the system used a variety of inputs to detect artificial driving conditions (including, apparently, barometer data), as well as needing code to define what engine parameters to change once the mode was entered.

    1. Re:Single line of code? by ZeroPly · · Score: 5, Funny

      On the other hand, the code could be in Java. Those programmers are so verbose, all you have to do is search for the cheatOnEmissionsWhileRunningEPATest() functions.

      --
      Support microSD: in a post 9/11 world, it is unwise to carry your data on media that you cannot comfortably swallow.
    2. Re:Single line of code? by UnknowingFool · · Score: 1

      It's been a while since I watched my car being tested but do they hook up the car to a computer terminal of some sort? Could those be used to trigger test mode?

      --
      Well, there's spam egg sausage and spam, that's not got much spam in it.
    3. Re:Single line of code? by Virtucon · · Score: 1

      $ behave -d | grep "scenarios passed" | cut -d, -f4 | sed -e 's/^[[:space:]]*//' | sed 's/untested/scenarios/g'

      --
      Harrison's Postulate - "For every action there is an equal and opposite criticism"
    4. Re:Single line of code? by jandrese · · Score: 5, Interesting

      Supposedly the "cheat mode" is an extension of the "testing mode", where the car knows it is running on a Dyno because one set of wheels is turning at a high RPM and the other set are stationary. For a car with traction control this is normally a freakout event so they have to check for it and make sure not to go crazy just because the machine is strapped into a test harness. Once you have the otherwise required detection code in there, adding a single line to fully open the EGR valve when in that mode would be a piece of cake.

      --

      I read the internet for the articles.
    5. Re:Single line of code? by avandesande · · Score: 2

      There are lots of legitimate reasons to have different 'states' of operation like detecting if the car is running and nobody is sitting in drivers seat.

      --
      love is just extroverted narcissism
    6. Re:Single line of code? by known_coward_69 · · Score: 1

      i think in some states they put it on what is essentially a treadmill and run the car for 5 minutes or whatever the standard is and they have a sensor near the exhaust to measure the pollutants

    7. Re:Single line of code? by Anonymous Coward · · Score: 0

      What kind of code do people here write? Has no on e heard of parameters? More than likely an engineer determined the best settings for passing the emissions test and had those canned and ready. I doubt anyone from IT had anything to do with this. It was executives and engineers.

    8. Re:Single line of code? by Anonymous Coward · · Score: 5, Interesting

      Sometimes but not always. This cheated the test both with and without a computer. It was instead detecting when it was on a rolling road. Emissions tests are always done with the car stationary but the wheels moving, and that'll be what the software was detecting.

      From the sound it of it wasn't actually putting the car into a special 'mode'. It was turning on all the measures to reduce emissions. When the car was on a real road it was turning them off to get better performance and fuel consumption at the expense of emissions. So it sounds like the car does technically meet the regulations, but ignores them when it's on the road. So expect the recall to turn them on at all times, which'll mean you don't need the car/engine replaced, but will mean you pay more at the pump and see your car's less nippy than it was before.

    9. Re:Single line of code? by cayenne8 · · Score: 3, Interesting

      When the car was on a real road it was turning them off to get better performance and fuel consumption at the expense of emissions.

      Not sure why VW stock has tanked then...personally, this sounds like a very GOOD reason to go buy a VW car now...knowing when it comes to it, that it will really perform well!!

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    10. Re:Single line of code? by OverlordQ · · Score: 5, Insightful

      Or, "If they're cheating on this, what other things did they cheat on?"

      --
      Your hair look like poop, Bob! - Wanker.
    11. Re:Single line of code? by Chris+Mattern · · Score: 4, Insightful

      Yes, but people run these cars on dynos all the time for performance figures, and they all saw the standard performance figures. They fixed it so that the cheat mode would kick in when EPA testing was done on a dyno, and only when EPA testing was done on a dyno. It's doable, thanks to the EPA's rigid testing protocol, but it wouldn't have been simple.

    12. Re:Single line of code? by jandrese · · Score: 1

      People who are buying VW Diesels are performance obsessed? Are we sure it has not always been reading low on the Dyno, but nobody cared because it's an econobox anyway and only car nerds care about the horsepower and torque numbers?

      --

      I read the internet for the articles.
    13. Re:Single line of code? by AmiMoJo · · Score: 5, Informative

      According to news reports (BBC etc.) it used a combination of inputs. Steering wheel position, barometric pressure variation over time, rate of acceleration, speed, g sensor stability etc.

      Also, to enable the cheat mode the engine would have had to load a different set of operating parameters. Those parameters must be stored somewhere, and doubtless constitute more than a single line of code.

      Some thought must have gone into this fraud.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    14. Re:Single line of code? by wardrich86 · · Score: 2

      He never said how long that one line actually is... you could *technically* write an entire program in one line.

    15. Re:Single line of code? by Sir_Eptishous · · Score: 1

      Perhaps my sarcasm meter isn't working, but if you're serious I have some news for ya.
      If they will hide this from the EPA, what else will they hide?
      Are there other "hidden features" that may not be something you are ok with?

      --
      We play the game with the bravery of being out of range
    16. Re:Single line of code? by N1AK · · Score: 2

      Because VW are going to recall hundreds of thousands of cars, stick them permanently in test mode with emission stuff switched on. There will then be a massive class action as people who bought a VW expecting x horsepower and y MPG demand compensation for getting considerably lower performance. This will cost them billions, and that's before the multi-billion dollar fine piled on top.

    17. Re:Single line of code? by Anonymous Coward · · Score: 0

      Even worse, it probably wasn't someone ADDING code, but REMOVING it. I've put in tons of debugging code in software, but usually with certain configuration variables set. Chance is someone put in the debugging code (so that it sends a specific value for testing) then someone removed the checks for those configuration settings, or even worse, someone set that variable in all production models.

    18. Re:Single line of code? by Sir_Eptishous · · Score: 1

      Wordwrap to the rescue!

      --
      We play the game with the bravery of being out of range
    19. Re:Single line of code? by LWATCDR · · Score: 1

      "People who are buying VW Diesels are performance obsessed?"
      Yes a good number are.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    20. Re:Single line of code? by HornWumpus · · Score: 1

      All you need is a copy of the original code. There is money to be made.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    21. Re:Single line of code? by mbone · · Score: 1

      Mod this up!

    22. Re:Single line of code? by HornWumpus · · Score: 1

      Citation needed.

      In my perception TDI drivers mostly traded in the DL volvos. Worst drivers on the roads.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    23. Re:Single line of code? by mlts · · Score: 2

      AFAIK, in California, they do that for older cars, newer ones get a device that plugs into the OBD II port and they log from that.

      Texas is similar. If the vehicle has an OBD II port, they plug in their reader, pull the values from that and call it done. The only time exhaust checking might be actually used is if it is obvious someone did a custom tune (the OBD II port showing clean on a coal roller truck, for example.)

    24. Re:Single line of code? by RobinH · · Score: 1

      My old Sierra pickup used to have the ABS fault light come on after every emissions test (because it detected that the rear wheels were spinning and the front were stationary). You just had to drive it for a few minutes for the light to go back out. I'm assuming the same condition it was sensing could be used to change some engine parameters.

      --
      "I have never let my schooling interfere with my education." - Mark Twain
    25. Re: Single line of code? by Anonymous Coward · · Score: 0

      I got in an impromptu street race with a kid in a Volkswagen yesterday, actually. He wanted to show me up, because he thought there was no way anybody in an old man's Buick should be driving in any way other than slow and dodderring.
      Well, my old man's Buick still handily beat him, even though he had a slight head start.

    26. Re:Single line of code? by cjjjer · · Score: 1

      Probably not billions Hyundai only paid out $450 million in North America when it fudged the numbers of its mpg so I doubt it will exceed a billion, fines included.

    27. Re:Single line of code? by Thelasko · · Score: 2

      Also, to enable the cheat mode the engine would have had to load a different set of operating parameters. Those parameters must be stored somewhere, and doubtless constitute more than a single line of code.

      Some thought must have gone into this fraud.

      You don't just punch in a guess at those operating parameters either. Lots of data gathering and evaluation was done to get them to meet requirements. This was a decision at the program (I'm not talking software) level. A budget was approved to design, test, and implement this strategy. There was no lone gunman.

      --
      One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    28. Re:Single line of code? by locofungus · · Score: 1

      Some thought must have gone into this fraud.

      The only bit (based on the news reports I've seen) that appears to have required much thought was the code that actually detects a test is in progress.

      One complete management chain programmer->CEO could have innocently created a config to optimize emissions.

      Another (or the same on a different day) could have done the same to optimize performance.

      A third could have had both sets included - even if not user selectable, it's perfectly understandable that the car can potentially be dealer configured to meet whatever legal requirements there are (and at least in the UK there are talks about different cities having different rules for diesels)

      I cannot think of an innocent reason for the car detecting that it's an emissions test except that, at least in the past, emissions tests in the UK at least have involved putting diesels into "non-normal" states - and, in fact, when emissions tests first became compulsory on the MoT test there were stories of diesels blowing up on the test rig due to overreving the engine with no load so I suppose it's possible that it was necessary to detect an emissions test was in progress even to allow the test to proceed.

      --
      God said, "div D = rho, div B = 0, curl E = -@B/@t, curl H = J + @D/@t," and there was light.
    29. Re:Single line of code? by Mr.+Droopy+Drawers · · Score: 1

      Unless Python

      --

      To Copy from One is Plagiarism; To Copy from Many is Research.

    30. Re:Single line of code? by Anonymous Coward · · Score: 0

      The parameters that were used in cheat mode were probably developed as part of the effort to make the diesel engines run clean.
      The parameters that were used to run in standard mode, were probably the same parameters that were used on engines prior to the new EPA requirements.

      They were probably both developed with no malicious intent.
      Even the "test mode" has no malicious intent, because it's basically required to keep the car from freaking out about the front tires moving and the rear not moving.

      The only malicious part of the code is that it switched to the clean parameters when in test mode.
      One could argue that including the parameters to make the car run clean or dirty in the build at all was malicious, but we all know orphaned code gets left in production builds all the time, and it's left for the compiler to handle removing it or compiling it as it sees fit.

    31. Re:Single line of code? by GungaDan · · Score: 1

      https://en.wikipedia.org/wiki/...

      Used to be a thing. Not so sure about now. The "modern" TDIs (from the PD up through the newer common rail) were never as good as the older ALH engine models from the very early 2000s.

      --
      Eloi are stupid, throw morlocks at them!
    32. Re: Single line of code? by HornWumpus · · Score: 1

      got in an impromptu street race with a kid in a Volkswagen

      Do you also trip blind people? Take the rubber tips off crutches for laughs?

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    33. Re:Single line of code? by HornWumpus · · Score: 2

      There are Honda 600N race leagues.

      The fact that some racers go out of their way to find the slowest cars available to race, says nothing about those who drive those turtles daily.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    34. Re:Single line of code? by Anonymous Coward · · Score: 0

      ...which means there will be some underground efforts now to get the code/ROM dumps now, get the car reflashed at the dealer per the pending recall, and flash it back when they get back home. Or do their diffs on the two versions, both to figure out the changes and to reflash it back to what it was before, while adding back in whatever it needs (magic bits, flash history, etc) to tell the OBD-II scanners that it's been "upgraded".

      So will the state emissions checking centers then have their OBD-II scanning machines updated to check VW Diesels to see if they've been reflashed per the recall then, too, and/or check a database provided by VW of recalled VINs that have been reflashed?

    35. Re:Single line of code? by Virtucon · · Score: 1

      You must be using Spring 5 BETA?

      --
      Harrison's Postulate - "For every action there is an equal and opposite criticism"
    36. Re:Single line of code? by LWATCDR · · Score: 1

      Just google Malone tuners and the fact that VW makes a sport version called the GTD in the EU.
      You can get lots of performance parts for the VW TDI of all generations.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    37. Re: Single line of code? by Anonymous Coward · · Score: 0

      It's not like it was a classic Beetle. Besides, he wailed on it first, when he heard my tires chirp at launch. They tend to...shall we say "complain"...when initial torque is applied, even if it's only 1/3 of the way down. That's what I did this time, until I heard his engine screaming right beside me. It was gasoline powered, and I'm pretty sure it was a Golf, although I never saw the tail end of it, so I'm not positive.
      He hung back about 5 car lengths after that. Probably too embarrassed to try again, based on his perception of what an 06 Buick LaCrosse should perform like.

      Would have been funnier if I was driving an 87 Regal T, though.....

    38. Re:Single line of code? by MachineShedFred · · Score: 1

      Every modern car has some form of traction control which monitors the speed at which each wheel is turning, so that if there is a major differential between front and rear, it can detect the skid and take corrective action. When they perform these tests, they turn the traction control off because they stick the drive axle(s) of the car on a set of calibrated rollers and strap down any wheels that are "free". Also, when on the 'rolling road' there is never any steering. Right there, you have all the inputs necessary to detect a test:

      1. traction control is disabled
      2. steering wheel at 0 degrees, and never moves
      3. front wheels rotating at drastically different speeds than rear (except AWD)

      With the sensors that have to be there by law (traction control is mandated now), you could easily build in a software "defeat" device. And they did.

      --
      Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
    39. Re:Single line of code? by MachineShedFred · · Score: 1

      The stock has tanked because there are two possible outcomes:

      1. A very public and expensive recall where they overhaul the emissions system and retain the advertised performance on 11,000,000 vehicles
      or
      2. A very public and inexpensive recall where they patch the ECU to keep the emissions systems active at all times, reducing performance, and opening themselves to a massive class action lawsuit over truth in advertising (engine not capable of advertised performance anymore) from 11,000,000 customers.

      Either way, this is very public, and very expensive for VW. Also, auto manufacturers trade on their brand, and brand is built through trust. They just got caught lying and cheating, which is the fastest way to destroy trust there is.

      --
      Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
    40. Re:Single line of code? by thegarbz · · Score: 1

      Not sure why VW stock has tanked then...personally, this sounds like a very GOOD reason to go buy a VW car now...knowing when it comes to it, that it will really perform well!!

      I don't know what you means by performing well. Performing as advertised maybe, but then pretty much every car performs as advertised when it comes to engine output. Just other companies may do it without cheating emissions by putting in the correct emission control systems these cars were lacking.

    41. Re:Single line of code? by thegarbz · · Score: 1

      Emissions tests are always done with the car stationary but the wheels moving, and that'll be what the software was detecting.

      So are torque and horsepower tests. They were detecting more than just that otherwise they would have been sprung far earlier.

    42. Re:Single line of code? by thegarbz · · Score: 1

      People who are buying VW Diesels are performance obsessed? Are we sure it has not always been reading low on the Dyno, but nobody cared because it's an econobox anyway and only car nerds care about the horsepower and torque numbers?

      Who said buying? A lot of proper reviews dyno cars. People who design after market chips dyno cars. People who sell stuff for cars dyno cars.

    43. Re:Single line of code? by Anonymous Coward · · Score: 0

      There may be legitimately code for detecting when the car is in a test stand. Most testbenches for emissions purposes only let the driven wheels rotate. The other set of wheel is simply on the ground and motionless. Also, the acceleration obviously does not correspond to what the car thinks it is doing. Systems like ABS and traction control can freak out on this, so they are often disabled in a special testmode.

    44. Re:Single line of code? by rastos1 · · Score: 1

      It becomes very BAD reason in the moment when the compliance certification for that model is revoked and you are left holding 2 tons of metal and plastic that has to sit in the garage and is not allowed on the road.

    45. Re: Single line of code? by HornWumpus · · Score: 1

      If it was a classic Beetle you would have lost.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    46. Re:Single line of code? by Cramer · · Score: 1

      Driving a slow car fast takes skill (and driver skill is what any "spec" series is about.) Driving a fast car fast is easy; just have the balls to stomp on the accelerator.

    47. Re:Single line of code? by cayenne8 · · Score: 1

      It becomes very BAD reason in the moment when the compliance certification for that model is revoked and you are left holding 2 tons of metal and plastic that has to sit in the garage and is not allowed on the road.

      Err, and exactly who is going to tell me I cannot continue to drive my car?

      I don't know of any recall that if you didn't participate in it, would necessitate you not being able to drive your car on public roads any longer?

      For the consumer, it is purely voluntary to take the car in for a recall fix.

      Man, I feel sorry for those folks that live in states that require sniff emissions tests and the apparently super rigorous inspections. Sounds like a major PITA, especially if you are someone wanting to get all the performance out of your car that you can.

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    48. Re:Single line of code? by Anonymous Coward · · Score: 0

      They also cheated on the car market. While other brands had to give up on performance to keep emissions down (like for example the Peugeot 2k diesel went from 135 HP to 90 HP to meet the new regulations), VW managed to keep on boosting performance while still meeting the new regulations. This is unfair competition and they could also expect a lawsuit from competitors.

    49. Re:Single line of code? by Cramer · · Score: 1

      because it's basically required to keep the car from freaking out about the front tires moving and the rear not moving.

      Linked 4-wheel dyno. We had to do that to test the my Lexus HS; if the rear wheels aren't spinning, it will not accelerate. (G sensors are a dead giveaway, 'tho.) My 2001 VW bug doesn't care; it'll signal an ABS failure, but go anyway.

    50. Re:Single line of code? by rastos1 · · Score: 1

      Ah right. I live in the socialist Europe and every car has to undergo a technical and emission test every few years. The advantage is that you mostly meet cars on the street that are not a total junk with not working breaks, lights, leaking fluids and polluting environment - i.e. generally not dangerous

      Why do you even have certification procedure when it is enough to pass a test once in the lifetime of the car? Looks like a waste of money.

    51. Re:Single line of code? by HornWumpus · · Score: 1

      I'm sure there were people that raced DL Volvos too. As I said above, lots of people race slow cars.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    52. Re:Single line of code? by jafac · · Score: 1

      Err, and exactly who is going to tell me I cannot continue to drive my car?

      In california, if you don't pass emissions, you don't get your registration sticker; renewed EVERY year. If you don't have a registration sticker, the cops will pull you over, and if you're caught driving again outside the 30-day fix-it window, they'll impound your car.

      --

      These are my friends, See how they glisten. See this one shine, how he smiles in the light.
    53. Re:Single line of code? by mjwx · · Score: 1

      People who are buying VW Diesels are performance obsessed? Are we sure it has not always been reading low on the Dyno, but nobody cared because it's an econobox anyway and only car nerds care about the horsepower and torque numbers?

      This,

      Anyone who cares about performance and power doesn't buy a diesel.

      They dont make diesel sports cars for the same reason they dont make petrol tractors. The engine is completely wrong for the purpose.

      --
      Calling someone a "hater" only means you can not rationally rebut their argument.
    54. Re:Single line of code? by mjwx · · Score: 1

      There are Honda 600N race leagues.

      The fact that some racers go out of their way to find the slowest cars available to race, says nothing about those who drive those turtles daily.

      This.

      There are Excel racing leagues in Australia. Hyundai Excel's are not performance cars in any definition of the word... However they're cheap and easy to find. If you blow up an engine, you can get a replacement in half a day from any number of wreckers.

      Endurance races are the only type of race where diesels have any kind of traction and even then, production diesels still completely suck. Production turbo petrols will outperform production diesels. Hell If you put a production 2L Golf TDI vs a V8 Mustang in a 12 hour enduro, I'll put my money on the Mustang. This has been proven in Australia where a V8 Ford Falcon beat an Alfa 159 Diesel in the Bathurst 12 hour.

      --
      Calling someone a "hater" only means you can not rationally rebut their argument.
    55. Re:Single line of code? by LWATCDR · · Score: 1

      The current VW TDIs are not the old slow diesels that you remember. As I said in the EU VW even makes a GTI with a diesel called the GTD.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    56. Re:Single line of code? by cayenne8 · · Score: 1

      In california, if you don't pass emissions, you don't get your registration sticker; renewed EVERY year. If you don't have a registration sticker, the cops will pull you over, and if you're caught driving again outside the 30-day fix-it window, they'll impound your car.

      Hmm...sounds like it sucks to live in California.

      Thankfully I've never lived in a state/city that required emissions testing....some don't even require inspections.

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    57. Re:Single line of code? by hucker75 · · Score: 1

      If the computer can detect the artificial driving, the test is just not good enough.

    58. Re:Single line of code? by HornWumpus · · Score: 1

      Even Volvo DLs weren't THAT slow, the drivers were. In my perception they are all driving TDIs or hybrids now.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    59. Re:Single line of code? by Anonymous Coward · · Score: 0

      >According to news reports (BBC etc.) it used a combination of inputs.

      Did they cite sources? Some of the reports I've heard sound more like educated speculation. Did someone disassemble as-loaded firmware? Did an employee or contractor make a statement? One report I saw said that Bosch is a supplier, and that when contacted a representative said they were under non-disclosure.

      Why can't we have "reviews" of autos where the function and code of ALL systems is studied? More analysis of security issues (across all brands) is needed too, but it would be more useful if done BEFORE the products are shipping.

  5. If you didn't RTFA "Blame Agile"! by avandesande · · Score: 3, Interesting

    "However, not all companies follow detailed auditing processes. The primary reason, Kaul said, is the speed at which software is being released to the marketplace. It necessitates an "agile approach," resulting in millions of lines of code being worked on and checked into production every minute."

    --
    love is just extroverted narcissism
    1. Re:If you didn't RTFA "Blame Agile"! by Black+Parrot · · Score: 3, Informative

      You'd have to have a *lot* of programmers to be checking in millions of lines of code every minute.

      And I'm not sure *any* rate of check-ins would justify not using a version control system.

      --
      Sheesh, evil *and* a jerk. -- Jade
    2. Re:If you didn't RTFA "Blame Agile"! by Anonymous Coward · · Score: 0

      And more importantly, from now on, all code that runs on a vehicle should be made public.

    3. Re:If you didn't RTFA "Blame Agile"! by avandesande · · Score: 1

      Without tracability to requirement the developer can say pretty much anything.... like it was test code that was never removed.

      --
      love is just extroverted narcissism
    4. Re:If you didn't RTFA "Blame Agile"! by Anonymous Coward · · Score: 0

      That is a very good idea, and a very steep uphill battle.

    5. Re:If you didn't RTFA "Blame Agile"! by n1ywb · · Score: 2

      That's true at a lot of software companies but it is almost certainly completely untrue when it comes to an embedded engine control unit at a major automotive manufacturer. That sort of development is typically slow, methodical, and rigorous, with extensive pre-release testing. And the team is probably pretty small, I doubt there are more than a dozen engineers working on that, and probably a handful of key guys write most of the code. And I can guarandamntee that their code churn is nothing like "millions of lines per minute", more like hundreds of lines per week in bursts, and even that slows down dramatically as release time approaches. Nothing happens without it being fully planned out and documented and signed off on by management and engineers alike in an engineering change request. To do otherwise would be a huge liability. Remember, facebook can't kill you, but a buggy ECU can.

      --
      -73, de n1ywb
      www.n1ywb.com
    6. Re:If you didn't RTFA "Blame Agile"! by nitehawk214 · · Score: 1

      And this is why people feel software does not deserve the tag "engineering" after it. Useful source control, requirement, and ticketing systems should be required when the software is meeting or involved in a system that is controlled by regulations.

      And useful ones, too. Not like the ones I saw being used at ISO9000 banking companies back in the day. They simply made sure that things were either really well documented, or not documented at all. The auditor can't audit documentation that doesn't exist. I am not sure if that shit would fly in the post 2008 world, I got the hell out of that industry long ago. Either way that company managed to go out of business pre-crash.

      Even the healthcare software I work on today does not have nearly any requirements on how the software is developed, as long as it performs (or appears to perform) the task contracted to us. Fortunately for our own sanity and quality we do use quite good practices. Even agile development can have good ticket/requirement trails.

      --
      I'm a good cook. I'm a fantastic eater. - Steven Brust
    7. Re:If you didn't RTFA "Blame Agile"! by flink · · Score: 1

      Even the healthcare software I work on today does not have nearly any requirements on how the software is developed, as long as it performs (or appears to perform) the task contracted to us. Fortunately for our own sanity and quality we do use quite good practices. Even agile development can have good ticket/requirement trails.

      I worked on medical information systems for 15 years and we were definitely subject to FDA audit as a "software medical device" and had to abide by their design control process. Every commit that made functional changes had to be tied to a change control ticket. Every ticket had to be traceable to a documented requirement in the SDD. Every requirement had to have test case associated with it that had to be executed for each release.

      My understanding as a non-lawyer though is that much of the class 1 software device classification is voluntary. I.e. the FDA doesn't have the resources to police the entire industry, so it depends on the developers voluntary submitting themselves to regulation.

    8. Re:If you didn't RTFA "Blame Agile"! by Darinbob · · Score: 1

      The snag is that they've tied everything together in cars. Bad engineering design in many ways, but good engineering if your goal is to develop quickly and not worry about security. Thus if the user is allowed to change the software for the entertainment system on the dashboard, that same software can screw up the engine. One network to control them all. You want a firewall between the engine and the passenger compartment; but you also want a firewall between different major components.

      If you can shut down some autos by programming firmware on the radio over the air, then that makes me think that I don't want random people mucking with the source code until they fix the designs.

    9. Re:If you didn't RTFA "Blame Agile"! by Darinbob · · Score: 1

      "Engineering" is just a title. People like to think that software is full of lots of engineer wannabes that don't know good engineering practices. However in practice the hardware people are just as bad and sometimes worse! Plenty of hardware departments don't like to use version control systems, they make wild ass guesses on values of components, cross checking amongst engineers is rare, and they're every bit as much a slave to the deadlines. I think software people often get this inferiority complex about not being a "real" engineer and this actually makes them want to document things more.

    10. Re:If you didn't RTFA "Blame Agile"! by Darinbob · · Score: 1

      I worked on medical devices at two companies, and there is a LOT of documentation and a LOT of process and a lot of training about how to deal with it all. A variety of standards you have to comply with, randomized audits, etc. (we had one standard from Japan that required us to verify that we were vermin free, presumably to prove we weren't a sweat shop)

    11. Re:If you didn't RTFA "Blame Agile"! by jrumney · · Score: 1

      A lot of the code is generated from higher level tools, so it wouldn't surprise me if millions of lines of churn were happening every day, at least at the start of the project. Developers are probably incentivised to maximise the churn at the start of a project by KPIs based on trends towards 0 as the project progresses.

    12. Re:If you didn't RTFA "Blame Agile"! by nitehawk214 · · Score: 1

      Well I am in the software data analysis industry and not in devices. So that is probably why our regulations are so much more lax. Nobody will die if our program crashes.

      Not that it they should not be regulations on what we do, of course. I have seen some 3rd party code that made my head spin. I recommended we did not take a maintenance contract on someone else's shitty code based on the nightmare it would be to rewrite their entire system. There would have been no way to do the job given the money involved.

      Of course there are part of our own system that are terrible. I point out "hey, if we change this and this, we can improve performance and accuracy by x amount, here are the statistics to prove it." But as long as it appears to work people are happy to let the black box do it's thing.

      Sometimes I feel like having some stricter requirements would make my job easier.

      --
      I'm a good cook. I'm a fantastic eater. - Steven Brust
  6. Probably not so easy... by Anonymous Coward · · Score: 0

    The code was written many years ago, and who knows if the archives still exist. And even if the original programmer can be determined (and the code might have been installed and removed several times), memories of who said what and when are likely to be vague, at best.

  7. Happens to every vehicle by Anonymous Coward · · Score: 0

    when you are out driving around the emission system just gets outside the ideal curve and produces more emissions then when running smoothing during testing.
    Same thing happens with gas MPG testing. Real world results don't work the same as standardized testing.

    1. Re:Happens to every vehicle by MachineShedFred · · Score: 1

      Yeah, no.

      This isn't a heavy foot. This is a completely different ECU operating profile that is switched on based upon sensor feedback, which either activates emissions equipment that results in less horsepower / less fuel economy, or de-tunes the engine in order to comply with emissions regulations.

      40x the NOx emissions isn't "just gets outside the ideal curve".

      --
      Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
  8. Slippery slope? by kylant · · Score: 1

    I wonder whether someone actually gave the order to implement a 'test defeat device' or they just started to optimize the engine to comply with regulation and to pass the test and then they went too far.

    1. Re:Slippery slope? by Black+Parrot · · Score: 1

      Back in the day some video card manufacturer got caught switching to cheat mode when standard benchmarking tests were detected. I wonder if anyone ever found out what level(s) that decision came from and how far the knowledge extended.

      --
      Sheesh, evil *and* a jerk. -- Jade
    2. Re:Slippery slope? by Anonymous Coward · · Score: 0

      Someone somewhere, in all corporations, makes the decision to con, lie, cheat, steal, fabricate financials et al. $company gets caught, but the person that instructed others what to do gets away with it. When Sony or Microsoft do something extremely anti-consumer, the fanboys and zealots come out in force defending and attacking the brand. The sad reality is a single person or persons made the call, but they get to hide behind the brand logo. It's about time that stopped.

    3. Re: Slippery slope? by Anonymous Coward · · Score: 0

      IIRC one could rename 'quake.exe' to 'quack.exe' and the gpu would give true results ;)

    4. Re:Slippery slope? by danbob999 · · Score: 1

      this is still done on many smartphones

    5. Re:Slippery slope? by Anonymous Coward · · Score: 0

      Somewhere in the VW document vault, I'm willing to bet there is a qualification test plan that has a procedure and criteria for determining if a vehicle meets VW's emission standards. In addition, I bet that there's a VW test report for all the vehicles in question with objective test data showing the vehicles pass VW's own emissions requirements. Emissions is a core requirement of any vehicle development project, and that requirement had to have been tracked and verified under basic project management activities (i.e. the requirement traceability and verification documents). I don't see a publicly traded German-run engineering company letting that kind of thing slip through the cracks for several years.

      Of course the rock rolls down hill. VW would have written their qualification procedure in their favor based on whatever wiggle room they could find in the EPA technical requirements. I'm guessing that someone who was too smart for their own good found a loophole (or omission) in the fine print of the EPA standard that led them to believe they could get away with just passing a dynamometer test for emissions. They took that loophole and ran with it.

      I would speculate that most people at VW probably thought everything was okay. The software was probably regularly tested and qualified to some internal standard by the QA department, and the project managers had qualification reports showing compliance with the emissions requirements for their projects. Once the validation procedure was established, I bet very few people questioned the technical details or methodology used in the internal VW qualification testing, or really spent the time to compare and contract the VW's internal validation method with the actual EPA requirements.

  9. Taking pointers from the Underhanded C contest. by Ihlosi · · Score: 2
    They should have studied the entries to the underhanded C contest ... to make things a little less obvious.

    Then again, something similar might make a nice contest topic.

    1. Re:Taking pointers from the Underhanded C contest. by n1ywb · · Score: 1

      How would that have helped? They found this by analyzing tailpipe emissions, not source code.

      --
      -73, de n1ywb
      www.n1ywb.com
    2. Re:Taking pointers from the Underhanded C contest. by drinkypoo · · Score: 1

      They should have studied the entries to the underhanded C contest ... to make things a little less obvious.

      Someone smarter than them would eventually look at the code. Then they'd get caught trying to cover up the deception. The only way you can "hide" such a thing is by making it look like an accident.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:Taking pointers from the Underhanded C contest. by Anonymous Coward · · Score: 0

      How would that have helped?

      "Oh we're really sorry! We were able to reproduce this in our testing facilities, and we found that it's due to this really, really strange bug in our firmware. Of course we'll fix it and update the firmware on all affected vehicles, and we'll double our efforts at software testing while we're at it."

      versus

      "Oh, we're doing this intentionally. And we know (or should have known) that this is illegal."

    4. Re:Taking pointers from the Underhanded C contest. by Anonymous Coward · · Score: 0

      The only way you can "hide" such a thing is by making it look like an accident.

      Guess why it's called Underhanded C contest.

      It's about hiding an evil bug in plain, easy to read code that will look like a simple mistake if discovered.

    5. Re:Taking pointers from the Underhanded C contest. by drinkypoo · · Score: 1

      It's about hiding an evil bug in plain, easy to read code that will look like a simple mistake if discovered.

      Better to make it look like an operational accident. Put someone in the loop responsible for removing the debug checks, then reassign them at the last minute.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  10. They thought they could get away with this? by damn_registrars · · Score: 0

    VW must have thought they were a Japanese company or something, to be allowed to get away with such a trick on the American market. I'm astonished they thought they could get away with this.

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
  11. SubjectsInCommentsAreStupid by lesincompetent · · Score: 5, Interesting

    Someone should have leaked this a looong time ago. Perhaps some dev, why not.
    Hell it would have saved VW a lot of money! Think about recalling 1mln cars instead of 11mln!
    Did VW really think it could get away with this indefinitely?
    Fucking corporate morons...

    1. Re:SubjectsInCommentsAreStupid by lesincompetent · · Score: 2

      Furthermore, another question popped up in my mind: how come none of the competitors discovered this in their testing of VW cars?
      Perhaps they're doing this too so they didn't want to blow the lid?

    2. Re:SubjectsInCommentsAreStupid by coinreturn · · Score: 1

      Did VW really think it could get away with this indefinitely?

      Nope. Just long enough for the authorizing executives to get their bonuses.

    3. Re:SubjectsInCommentsAreStupid by cayenne8 · · Score: 2

      Hell it would have saved VW a lot of money! Think about recalling 1mln cars instead of 11mln!

      I know if I had one of these cars, I'd certainly NOT be taking it in for the recall work.

      Getting the better mileage and performance out of my car like this sounds like a benefit I'd want to keep!!

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    4. Re:SubjectsInCommentsAreStupid by Captain+Hook · · Score: 3, Informative

      The way this was discovered (*1) was by an independent university group taking purchased vehicles and connecting it up with sensors and running it over real roads in real traffic conditions over long periods of time and comparing it to the rolling road test results. It's not an astronomical cost but if you are just looking for basical emission data then there are much simpler methods (namely a rolling road).

      *1 - assuming this wasn't a case of parallel construction and the real road test data is just collecting evidence for what somebody already knew was happening.

      --
      These comments are my personal opinions and do not necessarily reflect the opinions of the other voices in my head.
    5. Re:SubjectsInCommentsAreStupid by n1ywb · · Score: 1

      It will be interesting to see if your car will pass state inspection without being "upgraded".

      --
      -73, de n1ywb
      www.n1ywb.com
    6. Re:SubjectsInCommentsAreStupid by Anonymous Coward · · Score: 0

      Likely because there aren't a lot of auto manufacturers producing "clean" diesel powered vehicles for every day use. VW is one of the few that do.

      Pretty sure the diesel powered military vehicles no one gives a shit about, and tractor trailers have a separate set of emissions standards.

    7. Re:SubjectsInCommentsAreStupid by Anonymous Coward · · Score: 0

      Interesting question.

      Perhaps the competitors didn't do road testing of the cars with tailpipe sensors, but I would think that they might have both done basic performance testing (0-60, gas mileage) and also put the cars on dyno's to measure the power output. Unless the cheat s/w could distinguish between an EPA test and a simple dyno test in a non-EPA test-mode, the discrepancy on power output should have been noticeable.

    8. Re:SubjectsInCommentsAreStupid by Anonymous Coward · · Score: 0

      Who needs indefinitely?
      Someone got stock options and cashed out.
      What happens to the cars on the road today?

    9. Re:SubjectsInCommentsAreStupid by TheBitterRaven · · Score: 1

      I wouldn't want the work done either. Except that here in California, you can't renew registration until all recall work has been done and documented.

    10. Re:SubjectsInCommentsAreStupid by Anonymous Coward · · Score: 0

      If you ever take your car to a dealer for service, they will be required to perform the recall work. Your warranty may be voided if you refuse and your insurance may also have issue with incomplete recall work.

    11. Re:SubjectsInCommentsAreStupid by Princeofcups · · Score: 1

      Someone should have leaked this a looong time ago. Perhaps some dev, why not.
        Hell it would have saved VW a lot of money! Think about recalling 1mln cars instead of 11mln!

      The long term "health" of a company doesn't matter to upper management any more. The people who pulled this off may have cashed in and moved on already. Why would they care if VW disintegrates now? They made their bank.

      --
      The only thing worse than a Democrat is a Republican.
    12. Re:SubjectsInCommentsAreStupid by cayenne8 · · Score: 1

      It will be interesting to see if your car will pass state inspection without being "upgraded".

      Well, not all states require a car inspection at all, and even in those that do, I've never lived in one that required an emissions sniff test.

      The most that gets done on my inspections is honk horn, turn on lights, and windshield wipers and you're done...2 minutes tops at the local gas station and then Goober scrapes off your old sticker and puts on a new one...hand him about $25 and you're done.

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    13. Re:SubjectsInCommentsAreStupid by Anonymous Coward · · Score: 0

      I think the idea was probably sold at first as way to save the company from not shipping any Diesels that year. Sort of a I didn't study for my test so I'll cheat this time but next time I'll be sure to study so it's okay. 4th semester, You're still saying that same thing but this time you get caught and ruin you're whole academic career. But instead they kept saying they'd get the emissions system working satisfactorily.

    14. Re:SubjectsInCommentsAreStupid by Anonymous Coward · · Score: 0

      I know if I had one of these cars, I'd certainly NOT be taking it in for the recall work. Getting the better mileage and performance out of my car like this sounds like a benefit I'd want to keep!!

      I don't know how it works where you live, but where I live cars have to pass a test every year (over 4 years old or over 100000km -- every two years before that).

      So you would lose the right to drive your car pretty fast.

      Captcha: driven.

    15. Re:SubjectsInCommentsAreStupid by Anonymous Coward · · Score: 0

      Not sure anyone but the EPA could have done anything. The fact that the car performed differently on real road conditions than during the test has been exposed (by the ICCT, an NGO) for more than a year. It's only when the EPA, after repeatedly asking for an explanation, threatened to cancel their authorization (i.e. forbid them to sell any other vehicle) that Volkswagen finally confessed.

    16. Re:SubjectsInCommentsAreStupid by Anonymous Coward · · Score: 0

      ^^ This. I'd be very surprised if VW was the *only* manufacturer in the whole world that was doing this. The amount of figure fudging that *has* to happen for hybrid and electric vehicles when undergoing EPA testing almost guarantees it to be a common thing.

    17. Re:SubjectsInCommentsAreStupid by Anonymous Coward · · Score: 0

      Even if you leak something, you can't make it trace back to yourself. Second, you need some kind of proof before people believe you. Preferably by information that is already out. Third, there are a lot of people who _want_ to put their head in the sand (cognitive dissonance). Leaking is not so easy.

      captcha: chicken ... (no i'm not).

    18. Re:SubjectsInCommentsAreStupid by hucker75 · · Score: 1

      They underestimated the number of treehugging fools that care about emissions.

    19. Re:SubjectsInCommentsAreStupid by Anonymous Coward · · Score: 0

      According to this article, they do indeed, and Volkswagen is actually one of the cleanest...

      http://www.usinenouvelle.com/article/affaire-volkswagen-la-suspicion-touche-les-autres-constructeurs.N352501

  12. Follow the money. by Anonymous Coward · · Score: 0

    If they get fined $18,000,000,000 who gets that money and what will they do with it?

  13. Probably checked which wheels were turning by Viol8 · · Score: 2

    Most rolling roads don't spin the non powered wheels, so if the powered wheels are spinning and the others are stationary for any length of time its a good bet its having some sort of test. Obviously this isn't going to work with 4WD however.

    1. Re:Probably checked which wheels were turning by SQLGuru · · Score: 1

      For 4WD, you could probably check the suspension. If it's on some sort of rollers, you probably don't get a lot of bounce.

    2. Re:Probably checked which wheels were turning by Mal-2 · · Score: 1

      It doesn't need to work for 4WD, at least not the last time I had to get an emissions test. I have a 4WD vehicle, with no means to disable it. Simply put, this means they don't dyno test it at all. All tests have to be performed with the engine unloaded.

      --
      How is the Riemann zeta function like Trump rallies? Both have an endless number of trivial zeros.
  14. Does it really matter to the air? by judoguy · · Score: 3, Interesting
    I haven't found out if the normal driving emissions are actually"bad" or just fall foul of U.S. automaker protectionist lobbying.

    No flame here, just wondering. In my travels to Europe I haven't found them to be any worse pollution wise than American cities. Are these cars really that bad physically or are we talking goofy government crap?

    Just asking.

    --
    Peace is easy to achieve, just surrender. Liberty is much harder get/keep.
    1. Re:Does it really matter to the air? by Fire_Wraith · · Score: 1

      While somewhat anecdotal, it occurs to me that any comparison of pollution/air quality in European vs American cities, and their respective emissions standards, should likely take into account that Americans tend to drive far more often than Europeans.

    2. Re:Does it really matter to the air? by mbone · · Score: 1

      I haven't found out if the normal driving emissions are actually"bad" or just fall foul of U.S. automaker protectionist lobbying.

      I heard on the radio (NPR) the cars were up to 60 times worse than the actual US emission standards. I imagine that is a worst worse case scenario, but it does suggest that, yes, they were actually bad.

    3. Re:Does it really matter to the air? by Narcocide · · Score: 1

      There may be more variables here you're not considering. Compare cars-per-capita in most large cities around the world you'll see even the biggest, densest ones generally top out at around half as many cars as people. Compare that to Los Angeles, for example, where there are almost twice as many cars as people.

    4. Re:Does it really matter to the air? by Anonymous Coward · · Score: 1

      The latter. US emission regulations are only stricter for NOx in passenger cars, but relatively permissive for commercial vehicles. They are also slightly more permissive for PM and CO. It has a lot more to do with protectionism than with environmental issues.

    5. Re:Does it really matter to the air? by Thelasko · · Score: 1

      I haven't found out if the normal driving emissions are actually"bad" or just fall foul of U.S. automaker protectionist lobbying.

      It all depends on your point of view. We are talking about NOx here, which is harmful to humans primarily due to free radicals. This kind of damage requires long term exposure to cause issues. It also damages the ozone layer.

      Keep in mind, diesel emissions regulation was much less strict ten years ago. The kind of emissions these vehicles are emitting were quite common back then.

      --
      One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    6. Re:Does it really matter to the air? by ssam · · Score: 4, Informative

      "It is estimated that the effects of NO 2 on mortality are equivalent to 23,500 deaths annually in the UK" -- UK dept. for environment and rural affairs https://consult.defra.gov.uk/a... http://www.bbc.co.uk/news/busi...

      "Volkswagen’s rigging of emissions tests for 11m cars means they may be responsible for nearly 1m tonnes of air pollution every year, roughly the same as the UK’s combined emissions for all power stations, vehicles, industry and agriculture, a Guardian analysis suggests." http://www.theguardian.com/bus...

    7. Re:Does it really matter to the air? by Anonymous Coward · · Score: 0

      How would you know if the pollution is worse, or not, once you're outside the realm of LA smog and early 50's London smog? Also, I'm sure that the actual pollution levels depend on both the geography and traffic patterns of the cities in question. I think that the smog laws in the US are geared towards lowering the pollution levels in one or two difficult cities (e.g. LA), and similarly for Europe, and even in those cities the car emissions only have a noticeable (to humans) during specific seasons of the year.

    8. Re:Does it really matter to the air? by Anonymous Coward · · Score: 0

      Thank you. That is just the type of rationalization VW employees, from upper management to lowest test engineer, likely used to justify their behavior. Very likely nobody in the entire chain thinks of themselves as bad, they think of the rules as irrational, political, unjustified, based on hoax global warming, yada yada. Just like every other criminal on the planet rationalizes their behavior.

      Other manufacturers met the standards or opted to not import diesels into the US. VW rationalized.

    9. Re:Does it really matter to the air? by Anonymous Coward · · Score: 0

      Afaik the EU NOx limit is significantly higher than the US limit. What is very strictly limited in EU is CO2, while in the US this is less important.

    10. Re:Does it really matter to the air? by Cederic · · Score: 1

      Yeah, but Los Angeles (at 2750 people/square KM) is half the density of London (5400) let alone Seoul (17500), Paris (21500) or Delhi (25000).

      Not a good comparison really.

    11. Re:Does it really matter to the air? by hvdh · · Score: 1

      I read the ICCT "clean diesel" study. The VW test car had on average during regular driving 25 times the NOx output it needs and had on the EPA test to pass. Most other models "only" had around 10 times the NOx value in regular driving vs on the test bench.

    12. Re:Does it really matter to the air? by Anonymous Coward · · Score: 0

      But the United States have a much lower population density

    13. Re:Does it really matter to the air? by Anonymous Coward · · Score: 0

      I'm not really sure about that. I had to give up commuting by bike because I had chronic bronchitis. The doctor said I had to quit smoking, but I wasn't smoking. Then he showed me how my lungs were affected just like someone who has been smoking 2-3 packets a day for 20 years. When he heard I commuted by bike everyday and that the bike lane was next to a busy street, he told me I had to stop immediately. I was 'another' victim of the wrong politics of my government (subsidizing 'green' diesel cars). Many doctors and scientist are complaining about the pollution. But nothing is done. They keep on burning coals for electricity, subsidizing cars to keep the big companies happy, cut spending on public transport and blame smokers for lung diseases.

      The air quality is so bad that just cycling 52 km a day for 3,5 years has the same effect as smoking 2-3 packets for 20 years.

    14. Re:Does it really matter to the air? by bickerdyke · · Score: 1

      Even if it's not a scientific test, that explains why you hardly smell anything when a european bus drives by but wonder if US busses are run on kerosine.

      --
      bickerdyke
    15. Re:Does it really matter to the air? by jrumney · · Score: 1

      This would be in line with testing emissions per gallon of fuel burned. Using cars less is a perfectly valid solution to air pollution problems, just as improving engine efficiency should be (not that it seems to be the full story in this case, as VW seem to be cheating the tests in Europe too, and I've seen several sources say that the emissions are up to 40 times higher when not under test).

  15. Not so outlandish by vikingpower · · Score: 4, Interesting

    I have been teaching UML, modeling and systems architecting at several companies that directly supply to the German car industry ( especially to Volkswagen and BMW ). It is the car makers themselves that impose rigid rules and constraints upon software traceability and configuration management. So the idea of

    "software dev/test audit trails are almost certain to pinpoint who embedded the code and who authorized it"

    is not that outlandish, and following such audit trails may well lead to (at least some of) the culprits.

    --
    Religous speak to God. Insane are spoken to by God. When all shut up, one can finally hear Shostakovich in peace
    1. Re:Not so outlandish by PaulRivers10 · · Score: 1

      It's a tale as old as time, management tells you it's your job and you need to do it. When it becomes a problem, management denies everything and insists that you did it yourself on your own time and they had no knowledge of it.

    2. Re:Not so outlandish by n1ywb · · Score: 1

      Certainly it SHOULD be possible to follow the audit trail. I suspect you are absolutely right about how rigid VW engineering usually is. Of course it's also possible to bypass those processes for nefarious purposes.

      --
      -73, de n1ywb
      www.n1ywb.com
    3. Re:Not so outlandish by Anonymous Coward · · Score: 0

      No need to repeat yourself. The monospace font clearly indicates that you are well-versed in UML, modeling, and systems architecture.

    4. Re:Not so outlandish by bickerdyke · · Score: 1

      Like this?

      --
      bickerdyke
    5. Re:Not so outlandish by Anonymous Coward · · Score: 0

      When you write a patch for a program, do you make sure to change the font for just the portion you write so that it's different from all the rest of the code? That way people can see at a glance that your code is "special".

    6. Re:Not so outlandish by vikingpower · · Score: 1

      At VW and its contractors, as well as at BMW and Porsche - these are the ones I explicitly know about - that would be prohibited. You would, however, be required  - in quite a rigid way - to indicate clear authorship of the patch; even subsequent changes to the patch itself must be auditable.

      --
      Religous speak to God. Insane are spoken to by God. When all shut up, one can finally hear Shostakovich in peace
  16. May be not by sshir · · Score: 4, Funny

    If I were doing it I would have placed "// FIXME DEBUG" on that line of code. Like it was an internal testing mode which wasn't switched off, by accident of course.

    1. Re:May be not by Anonymous Coward · · Score: 0

      No no, that's what the NSA does.

    2. Re:May be not by n1ywb · · Score: 1

      I'd have a print out of the email from my manager directing me to do it regardless of it's illegality on file at my lawyers office.

      --
      -73, de n1ywb
      www.n1ywb.com
    3. Re:May be not by thegarbz · · Score: 1

      Implying that the manager sent you an email rather than just doing it OR ELSE.

      Or the far more realistic result is that you were writing code for internal debugging to set some flag. Someone else was writing code that changes to a defined performance map depending on some flag. And a third party was asked for shits and giggles to lets see how fast we can make this go just make the engine put out max torque and so we can repeat the test save the map in this specific spot.

      I wouldn't assume someone would be so brazen as to ask someone directly: Hey you do this illegal thing.

    4. Re:May be not by Cederic · · Score: 1

      That would be giving you zero protection from prosecution. In fact, it confirms your conspiracy guilt.

      Now, a print out of the email from your manager stating that company lawyers have confirmed that this is legal would be very useful.

    5. Re:May be not by tommeke100 · · Score: 1

      /**
      @author your_most_hated_colleague
      */

    6. Re:May be not by wisnoskij · · Score: 1

      Is it really a good idea to document your complicity in a known illegal activity? I would think a court would show more mercy to someone who had plausible deniability that he had any idea his code was going to be used illegally (gun makers do not stand trial for murder) than one who knowingly committing illegal acts for money. Accepting money to commit crimes makes you a criminal, full stop, that is not extenuating circumstances. writing to spec code that happens to interact with a physical engine making it not complaint with emission laws, both of which you are likely unaware of, does not make you a criminal.

      --
      Troll is not a replacement for I disagree.
  17. Good work by Anonymous Coward · · Score: 0

    I applaud these engineers for their hard work and creativity.

  18. Please fix the title by Doub · · Score: 1

    There's not a single actual bit of information about how the cheat was implemented in the article. Can we stop the hype (at least on tech oriented websites) until someone with inside information can actually tell us more about the real details? Not that they matter, but the rest is totally uninteresting.

    1. Re:Please fix the title by Anonymous Coward · · Score: 0

      The title is fine, it's a question. You can tell that it's a question by the ? at the end. The fact it's a leading question is a sad reflection on news sites that are more concerned about clicks that being a decent source that would build regular viewers.

  19. Single line of code? I want to see this code. by KatchooNJ · · Score: 5, Funny

    EPA Cheat Code: Up, Up, Down, Down, Left, Right, Left, Right, B, A

    --
    "Never give up, for that is just the time and place when the tide will change." -Harriet Beecher Stowe ^_^
  20. Plausible deniability ? by Pascal+Sartoretti · · Score: 1

    I would really like to see VW's source code, to see if they took the care of plausible deniability. There was recently a nice contest over here.

  21. It will be the programmer who really gets screwed by Anonymous Coward · · Score: 0

    Like the chemist in the French Connection.
    The paper shredders must be working overtime at VW right now.

  22. Caught at least six times in past by peter303 · · Score: 1

    According to a NY Times article. A billion dolalr fine for Harvesters truck engines. I suspect many cheats not caught.

  23. As long as the evidence hasn't been tampered with by mark-t · · Score: 1

    I envision a scenario where as soon as the shit hit the fan on this, somebody really high up in the company who was in the know on this went into the necessary files and altered the documentation so that they were not incriminated.

  24. Finally I understand why people use perl by bugs2squash · · Score: 0

    If the code is all in perl it will be close to impossible to find out which part of it does what, a masterstroke of covering tracks.

    --
    Nullius in verba
  25. turning the corner on the ozene hole by peter303 · · Score: 1

    That was a different issue - auto air conditioners and home refrigerators. But as CFC emissions decline, so doe the size of the annual south pole ozone hole. Still needs decades to heal.

  26. Re:It will be the programmer who really gets screw by T.E.D. · · Score: 1

    Yup. This is why you shouldn't be afraid to be a bastard with your supervisors over matters of ethics (eg: time reporting, license compliance, government regs, etc.). It's most likely your neck on the line, not theirs.

  27. Reverse car analogy by onkelonkel · · Score: 1

    Fiddling with graphic card drivers so they perform better on benchmarks is a way of life in the computer industry. No sane person would believe that only Nvidia ever does it. One would suspect that all the manufacturers do it (when they think they can get away with it)
     
    I really would be amazed to find that only VW was using special code to pass the emissions tests. I have zero evidence to back up this wild accusation, but I do note that almost nobody ever gets the same mileage as the EPA tests.

    --
    None of them can see the clouds; The polished wings don't care.
    1. Re:Reverse car analogy by Anonymous Coward · · Score: 0

      Most people can't drive like an EPA test, that's why. The conditions of a real roadway and possible traffic make it nearly impossible but it can be done but it must be done very deliberately.
       
      I know I did some of the saner hypermiling recommendations for a few days just for the heck of it and found that I could be the EPA estimates but I was in an area where I could get away with driving like that. Had it been on the open roadways I would have either have been shot at or pulled over by a cop.

  28. Top Down by lazarus · · Score: 1

    The purging seems to be happening from the top down with three more execs losing their jobs today. Perhaps they already know who authorized what?

    TDIClub has a good summary and a list of relevant articles for those wishing to know more about the details of the technology and emissions violation.

    --
    I am not interested in articles about life extension advancements.
  29. How test mode was triggered by sjbe · · Score: 5, Informative

    It's been a while since I watched my car being tested but do they hook up the car to a computer terminal of some sort? Could those be used to trigger test mode?

    The test mode was triggered by monitoring which wheels were turning, position of the steering wheel, etc.

    Basically they wanted to avoid the cost of installing a urea injection system so they cheated instead. Honda engineers were reported to be perplexed about how they managed to do this miraculous feat of engineering.

    Here's a good article about what is known so far:

    http://www.msn.com/en-us/autos...

    1. Re:How test mode was triggered by Thelasko · · Score: 4, Informative

      The test mode was triggered by monitoring which wheels were turning, position of the steering wheel, etc.

      Basically they wanted to avoid the cost of installing a urea injection system so they cheated instead. Honda engineers were reported to be perplexed about how they managed to do this miraculous feat of engineering.

      As a diesel emissions engineer, I was always fascinated by how Volkswagen was able to do what they claimed. I had tried to make their technology work, it's extremely difficult. SCR is much simpler and more economical.

      I had thought for a while that other companies had some secret information that my team was missing to get such good performance. Now I think other companies are just cheating.

      --
      One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    2. Re:How test mode was triggered by ThatsMyNick · · Score: 2

      It is a MotorTrends article rehosted by MSN if that makes you feel any better. MSN rehosts a lot of news articles, and they pay the source per view.

    3. Re:How test mode was triggered by WaffleMonster · · Score: 1

      The test mode was triggered by monitoring which wheels were turning, position of the steering wheel, etc.

      Basically they wanted to avoid the cost of installing a urea injection system so they cheated instead. Honda engineers were reported to be perplexed about how they managed to do this miraculous feat of engineering.

      Here's a good article about what is known so far:

      Finally an article containing something other than the imagination of the author.

    4. Re:How test mode was triggered by nitehawk214 · · Score: 1

      Basically they wanted to avoid the cost of installing a urea injection system so they cheated instead.

      Well that is just a bunch of piss.

      --
      I'm a good cook. I'm a fantastic eater. - Steven Brust
    5. Re:How test mode was triggered by Sesticulus · · Score: 1

      It must be more than just having a urea injection system. I have a 2014 Passat with a urea injection system and it's one of the bad ones. Supposedly it's not in the 40x the legal limit bucket, but still somewhere around 15x the legal limit.

    6. Re:How test mode was triggered by Anonymous Coward · · Score: 0

      Don't recent VW models have a piss tank? I do know 2015 Jettas use AdBlue.

    7. Re:How test mode was triggered by Anonymous Coward · · Score: 0

      What OTHER companies? Or have you just been perplexed by VW brands? If you are actually in the industry at a competitor and test/implement competitive technologies as it sounds you are, you may be able to quickly list OTHER manufacturers that are likely cheating. That is what I'm most interested in at this point....is this really isolated, or just the tip of the iceberg?

      Captcha: salivate

    8. Re:How test mode was triggered by Anonymous Coward · · Score: 0

      Exactly! Name names! Do you work for Ford, and have been going WTF when looking at Subaru, Suzuki, Chevy, Jaguar, GM, Honda, Toyota, Tesla (lol), Chrysler, Nissan, Hyundai, Kia, Tata, etc (btw, I named a bunch just to point out I have no clue who even makes diesels).

    9. Re: How test mode was triggered by Anonymous Coward · · Score: 0

      I recommend shorting their stocks then - nothing you can't afford to lose of course.

    10. Re:How test mode was triggered by vonart · · Score: 1

      Yeah, I seem to recall Navistar/International getting caught up with a similar issue with their Maxxforce engines. No urea/DEF in those things, but their emissions apparently weren't within spec either, with the other companies having the same concern you did -- what did they have that the others didn't. In their case, it turns out, the answer was, "nothing - they're just lying". Seems to be the case here too.

      --
      The American Dream has too much grinding and the leveling makes no sense. -GameboyRMH (1153867)
    11. Re:How test mode was triggered by Cederic · · Score: 1

      Pretty much all of them make diesels these days. Even Lexus, despite the sniffy salesman going, "No, we don't make diesels" with a snooty attitude.

      Yeah, you do now. Fucking deal with it, snooty guy.

    12. Re:How test mode was triggered by Anonymous Coward · · Score: 0

      My thoughts on the emission cheating was this. VW was able to get the emission to work but not satisfactorily. Ether the car didn't perform well due in real world conditions due to things like speeding up and slowing down randomly. (Like real drivers tend to do) or Emissions system wasn't robust enough to handle being used continuously. So VW would have been on the hook for maintaining this emissions systems.

      Also, I wonder if this wasn't at first a temporary fix to the problem of we need to pass emissions this year but we'll figure out how get this system up and running 100% for the next years model. But for whatever reason that never happened. 2-3 years of trying later people ether give up or it's just forgotten!

    13. Re:How test mode was triggered by Anonymous Coward · · Score: 0

      The test mode was triggered by monitoring which wheels were turning, position of the steering wheel, etc.

      That's what I read too and it's the part I'm having trouble rationalizing. I can imagine scenarios when the air pressure, speed, wheel RPM, and other factors might influence the engine and emissions behavior during normal driving and an emissions test. But the position of the steering wheel? I find it really hard to imagine how that could ever be a legitimate input. In what case would driving around a turn make you want to turn your emissions control system off when driving down a straight road would make you want it on?

  30. One lIne maybe, but a lot of data by Anonymous Coward · · Score: 0

    Maybe there is a line to switch but there is a lot of data to add also.
    The data is used to correlate some input parameters (ex air pressure, air temp ...) and the output (ex precise injection timing (this is Diesel) ).
    This data is acting like a N-1 surface, and there are a lot of points between which the system interpolates.

    So it might be a line to switch the the data pointer from "Regular run area" to "Emission cheat area" but the data segment will be double.
    Is not something one rouge programmer is doing over night , with no red flags (used to 12 K now is 24 overnight ?)

  31. Some legitimate code repurposed. by 140Mandak262Jamuna · · Score: 2
    Most of the actual codes that disabled the emission controls would have legitimate use during development cycle. Typically there will be a switch to put the engine in a baseline test mode, to gather baseline data. The test engineers would turn it all off, get a sanity check baseline runs made. Then they will turn on various switches and turn various knobs to fine tune the best values trading off power and efficiency to reduce emissions. So the actual code turning off emission control is not a big deal.

    What would be a big deal however is the code that detects whether the car is in test bench or on the road. Apparently it uses steering input and other such details. So that code block is the interesting part. Proper audit of the code changes, pull request authorizations would nail the engineer who actually did the dirty deed. But would there be code review meeting/minutes, comments fingering higher management?

    This scandal will have some salutary effect in engineers who manage code, they would refuse to merge or pull such cheating code changes because it would leave their fingerprints indelibly for ever. They might even add comments in code covering their tails fingering the actual perp in the higher management.

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
  32. Dreamers by Toad-san · · Score: 1

    "Then if you go upstream you can see who that person's boss was...and see if testing happened...and, if testing didn't happen. So you can go from the bottom up to nail everyone."

    Oh yeah, like that's gonna happen. Admittedly it would be easier than chasing down decisions in (1) crappy bank and investment fund decisions, (2) not sending aid to the US Consulate in Libya, (3) the Enron California power scam .. and any number of other catastrophes. Actual people hardly ever get punished in these things, and that's too bad.

    At least that peanut butter CEO might be getting actual jail time; that's nice.

    1. Re:Dreamers by terrywin · · Score: 1

      Yeah...but it took, what, 8 years to convict the guy?

      As much as I hate the way the Chinese government works against its people, they seem to have done a few things right: In China, if your caught intentionally contaminating the food supply...you are executed in front of a firing squad.

      Sounds like the right thing to do!

  33. Code Audit by Regulators by crunchy_one · · Score: 1

    My strong suspicion is that VW is not the only auto maker up these shenanigans. I'd like to see source code placed in the hands of the appropriate regulators, along with the tools necessary to build it. Then the EPA, or their European analogs, could audit the code, build it, and compare it with the object code in randomly selected test vehicles. Obviously there would be some technical glitches to overcome to get a system like this working, but it's definitely doable and most certainly worth the effort.

    1. Re:Code Audit by Regulators by SecurityGuy · · Score: 1

      I can't imagine the appropriate regulators have the skills needed to audit code of that complexity/size to weed out nefarious behavior. If they hired the skills, I can't believe they could afford it.

  34. As if they are THAT dumb by Anonymous Coward · · Score: 0

    I find it hard to believe that any engineer would be that thick headed as to actually record in the audit trail the fact that they designed the system to cheat. That's pretty out there. It's not impossible, but highly improbable.

    1. Re:As if they are THAT dumb by Cederic · · Score: 1

      This is a German company. They're bloody good at engineering because they're religiously meticulous about shit like this.

      I can easily believe there's a wide open audit trail.

  35. Make sure? by Anonymous Coward · · Score: 0

    Make sure to get it in an email form?

    How are you going to do that?

    What happens is you get called into an office, you raise your objections, your boss says do it and if it's a problem, then maybe this isn't the job for you.

    When you leave, PHB then starts documenting your sub-standard work and lack of ability to work on a team.

    Your next review shows that you are not a team player, attitude needs improvement, and your work does not meat expectations.

    Got it? You are a peon and if you buy into the STEM shortage and think your job is secure, well, good luck with that.

    1. Re:Make sure? by FlyHelicopters · · Score: 1

      Exacly...

      So many people here think they will get to engage in some debate or back and forth with their boss, to "trap them into documenting a fraud or crime".

      The boss may well call you into his office and say, "you have been given your instructions, please carry them out.". Then he goes back to what he was doing, dismissing you.

      The boss doesn't have to debate it with you, this is not high school debate team, he is the boss, you work for him, end of discussion.

    2. Re:Make sure? by HornWumpus · · Score: 2

      He is the boss, you work for him, for now, _not_ end of discussion.

      He doesn't have to debate, but you don't HAVE to do it. Vote with your feet.

      If you are making an Engineer's salary and can't afford to quit, you are a certified moron.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    3. Re:Make sure? by FlyHelicopters · · Score: 1

      Yes, but most people are not going to do that, and you should know it.

    4. Re:Make sure? by Anonymous Coward · · Score: 0

      Yes, right. Your wife has a baby on the way, or you're in escrow to buy a new house and have already given notice to your previous landlord, or your oldest kid starts college in one month, etc. And I don't think that the tech culture in Germany is as favorable towards the rootless, job-hopping hired guns as it is in Silicon Valley or some other places in America. And since the 'legality' of those operations was probably ambiguous and murky at best for the lower-level people, I don't think that the way forward is as clear as you make it.

    5. Re:Make sure? by HornWumpus · · Score: 1

      Six months after I closed on my first house, I was on the job market. It's not that bad. Provided you have bought well within your means.

      In Germany, it would have been easier. Their unemployment is a sweet deal (for the employees).

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
  36. not so simple to do... by Anonymous Coward · · Score: 0

    You can't just change the working file because the change would be stored in the version control system. You'd have to dig down into the underlying version control system files and change it there, then remove all evidence that you had done so (which would require root access), then retroactively change the equivalent files on the backup drives, the offsite backups, any private copies of the source code repo, etc.

    1. Re:not so simple to do... by mark-t · · Score: 1

      I suggested it would be someone higher on the food chain.

    2. Re:not so simple to do... by SecurityGuy · · Score: 1

      It'd be much safer to make it a patch that's not stored in the VCS at all. Legit code lives over here in $REPO. Unethical, illegal patch lives elsewhere and is maintained separately. The number of people who knew about this isn't necessarily that large.

      It's *possible* they were both unethical and dumb enough to leave this in plain sight, it's just not necessary.

  37. They knew what they were doing from day one by sjbe · · Score: 4, Informative

    I wonder whether someone actually gave the order to implement a 'test defeat device' or they just started to optimize the engine to comply with regulation and to pass the test and then they went too far.

    Someone in management made the decision to not install a urea injection system which is necessary to keep emissions to legal levels but costs a lot of money. Reportedly something like $400/vehicle. So it seems pretty clear that their "solution" to the problem was simply to cheat. This wasn't a case of optimization gone awry. They flat out knew what they were doing and went ahead with it anyway. As soon as they made the decision to not install urea injection, they effectively decided to cheat at that time because they were asking for the technologically impossible. There is no way they didn't know that their decision to leave off such a key piece of equipment would not result in unacceptable emissions. The engineers at VW aren't dumb. The decision was made for financial reasons (not surprising) but was aided and abetted by a bunch of engineers that should have known better.

    The only real question seems to be who made the decision and who was responsible for executing it and covering it up.

    1. Re:They knew what they were doing from day one by Anonymous Coward · · Score: 0

      I find the claim that the management of a generally very responsible and well-run company like Volkswagen would knowingly risk huge fines and reputation damage to save less than 2% on the price of a car in a relatively small market (for VW) highly unlikely. It makes no sense. Some people somewhere in the hierarchy must have made the decision to do this, but considering that diesel engines without urea injection are perfectly legal in all other countries, I don't see why most people in the organisation would have suspected any wrongdoing.

    2. Re:They knew what they were doing from day one by kylant · · Score: 1

      Well, SCR is not the only solution to the problem so you seem to be oversimplifying things.

    3. Re:They knew what they were doing from day one by bill_mcgonigle · · Score: 0

      engineers that should have known better

      You never know - the engineers might have been told, "look, these rules are stupid - our diesels put out fewer emissions than gasoline per mile driven and adding this cost will only keep more people on gasoline, so what you're doing here is actually the best thing for the environment." Which seems to be totally true in the real world - it's just that the US regulators are foolish, and made it illegal to operate them. But we have an EPA here that spends effort to pollute rivers, so nobody is actually surprised.

      The corporate structure will keep any of the engineers from facing legal consequences, so only if abiding to regulations was their top concern might they have felt it was the wrong move.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    4. Re:They knew what they were doing from day one by locofungus · · Score: 1

      Someone in management made the decision to not install a urea injection system which is necessary to keep emissions to legal levels

      Obviously not as these cars did manage to pass the emissions tests albeit in a "cheat" mode that reduced the available power.

      It's quite possible that an engineer somewhere said "You don't NEED a urea injection system to meet the requirements" and built in a proof of concept test system to prove that it could be done.

      Then someone in management, not even aware that this was a cheat mode said "Hey, look, our cars already pass. Ship it"

      And the engineer who wrote the original proof of concept wasn't at the company any more to raise a red flag.

      --
      God said, "div D = rho, div B = 0, curl E = -@B/@t, curl H = J + @D/@t," and there was light.
    5. Re:They knew what they were doing from day one by Kjella · · Score: 1

      As soon as they made the decision to not install urea injection, they effectively decided to cheat at that time because they were asking for the technologically impossible. There is no way they didn't know that their decision to leave off such a key piece of equipment would not result in unacceptable emissions. The engineers at VW aren't dumb. The decision was made for financial reasons (not surprising) but was aided and abetted by a bunch of engineers that should have known better.

      Clearly somebody knew. But I would think most simply assumed they'd done something very clever that was being guarded as a trade secret. I mean it's not exactly a perpetuum mobile or warp drive, it's a slightly less environmentally unfriendly car engine. If you pulled the "technologically impossible" card they'd probably accuse you of hubris, like who are you to think you know everything? Sure, in retrospect it's easy to say this was a hoax but I wouldn't have started making noise. If it's legitimate you're that nosy employee trying to access trade secrets you don't have permission to or if not you'll become a liability to everyone who is in on the scam. And this isn't some manager embezzling funds or stealing equipment, it's the company mass cheating on their environmental tests. For all you know this goes all the way up to the CxO level, you'd better have solid proof and be ready to go to the press after you're escorted off the premises. And to be honest I'd look for every other plausible explanation, if it wasn't for the overwhelming proof now in retrospect I'd have a hard time believing the balls of steel necessary to pull this off. It must have been obvious to everyone involved how big a scandal this would become if they were ever discovered.

      --
      Live today, because you never know what tomorrow brings
    6. Re:They knew what they were doing from day one by Anonymous Coward · · Score: 0

      would not result in unacceptable emissions

      This has been claimed multiple times through this discussion. It's wrong, and we know it's wrong because they passed the EPA test. The test measuring actual emissions. They managed to push NOx low enough that it made it through the test with great marks.

      And we know how -- by feeding exhaust back through combustion, "burning up" the unwanted emissions. The downside is that doing this reduces power, and reduces fuel economy, both of which are elements that VW heavily used to sell the cars. The fix is to perpetually enable the "EPA mode", and then dealing with the reality that consumers were sold a false set of promises (e.g. fuel economy, power, passes environmental tests. Choose two).

    7. Re:They knew what they were doing from day one by thegarbz · · Score: 1

      You're right. De-tuning the engine also passes emission controls. :-)

  38. We've paid more than that... by tekrat · · Score: 2

    I work for a company that has paid out some 30 Billion Dollars worth of fines to the US government. Where does that money go? I think it goes directly into the pockets of well-placed individuals, because we never hear about where that money goes.

    When you pay a parking ticket, where do you think that money goes?

    --
    If telephones are outlawed, then only outlaws will have telephones.
    1. Re:We've paid more than that... by danbob999 · · Score: 2

      I work for a company that has paid out some 30 Billion Dollars worth of fines to the US government. Where does that money go? I think it goes directly into the pockets of well-placed individuals, because we never hear about where that money goes.

      Easy. It goes 24% to social security, 24% to health care, 17% to defense... The rest is on wikipedia
      https://en.wikipedia.org/wiki/...

      When you pay a parking ticket, where do you think that money goes?

      Where I live it goes to a fund which supports the victims of criminals acts. Even tough this is only after all the "administrative" fees, which of course pays for the police department itself.

  39. Article: Speculation by iONiUM · · Score: 0

    What is the point of this article, just to speculate on a bunch of stuff that people don't really know anything about?

    These are the exact questions the courts will need to answer, and nobody has enough information (and certainly not more information than the courts will get) to have any sort of insight into this. If people just want a chat-room to discuss rumours, IRC is still available..

  40. I'm more curious about *why*... by Anonymous+Freak · · Score: 1

    What gain did they achieve by doing this? None of the vehicles in question are "performance" vehicles, so it's not like they were doing it so that the vehicles had "great performance" when not being tested, yet still passed.

    --
    Another non-functioning site was "uncertainty.microsoft.com."
    The purpose of that site was not known.
    1. Re:I'm more curious about *why*... by Anonymous Coward · · Score: 0

      It's not about performance, it's about emissions. That in turn effects taxes in a variety of different countries. In the UK for example the band the vehicle's emissions fall in will effect both initial purchase taxes/fees and annual road fund license. I imagine it's similar in the US. So by claiming lower emissions they increase private sales to people who want to pay less taxes and/or feel "greener", and they definitely increase fleet sales where the tax saving are even bigger for the customer.

    2. Re:I'm more curious about *why*... by Thelasko · · Score: 1

      What gain did they achieve by doing this? None of the vehicles in question are "performance" vehicles, so it's not like they were doing it so that the vehicles had "great performance" when not being tested, yet still passed.

      Depends on what you consider "performance". From an engineering perspective, fuel economy is a part of performance. Volkswagen diesels are known to rival hybrids in terms of fuel economy. What they gained by doing this is a cheaper vehicle with better fuel economy.

      --
      One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
  41. Blowing hot air. by 140Mandak262Jamuna · · Score: 0

    However, not all companies follow detailed auditing processes. The primary reason, Kaul said, is the speed at which software is being released to the marketplace. It necessitates an "agile approach," resulting in millions of lines of code being worked on and checked into production every minute. "And, right now, everyone is saying, we did not do it," Kaul said in an interview with Computerworld.

    Kaul is definitely wrong here. Established mechanical engineering giants, especially from Germany, leave extensive audit trails. Come on, guys these people set up tables and recorded the names, addresses and parents of people being sent to concentration camps. Any vendor who sells software to Volkswagen knows how much testing and auditing they do before upgrading the software. Further auto companies operate on very long product cycle. Not like the web operators. It is alleged that Facebook did not even have a source code control system till after it went public!

    They are an auto company. Strike one. They are German. Strike two. Even agile development has strong change management paper trials. Strike three. We can nail the engineer who checked in/merged/pulled the change.

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
  42. this is *not* a small change by pghmike4 · · Score: 1

    It seems nonsensical to me that this is a small change. First, both software developers and the engine engineers have to agree on how the polluting mode is supposed to work. Then the software engineers have to detect, with the help of the people who understand all the sensors, what an EPA test's signature is. Then they have to add that code to the car's software system. It sounds like many groups working together, each of whose management must have agreed to cooperate. And all of those managers, I'm sure, required sign off from their common manager. I bet this goes up pretty high.

  43. "VW Clean Diesel" How do they do it? by Sir_Eptishous · · Score: 1

    I remember when I had a 78 Cougar, that was a bad emitter of emissions, and guys who ran Emissions/Inspection shops and would tell me, "I can get your car to pass". I didn't know what they were doing, but it worked. Or I could just register my car in a county where that wasn't required... Which also worked.

    Amazing that we are in 2015, and a huge company like VW would do the same with their "clean diesel" technology.

    I always wondered how they were able to do it.
    Now we know!

    --
    We play the game with the bravery of being out of range
  44. Should this "testing mode" be enabled by default? by Goglu · · Score: 1

    It sounds like Volkswagen DOES have the technology to be clean. So why wouldn't they enable this clean consumption mode by default???

  45. Re:This was known a long time by leuk_he · · Score: 1

    This behavior was known from a test some year s ago. VW did a voluntary callback for a software update. Now this cheat still happens. This is nothing that suddenly happened, this is that state regulator that has draw a line in the sand and said "till here and not futher". Do you think that if some engineer explained that there was a software malfunction if it was strapped in testing? And that the people who took that call understood it was a "defeat device"

    Did you see anyone trying to calculate how many deaths this has cost because of small particle dust?

    In Europe we still use decades old tests to determine fuel usage (= co2 exhaust). It is known that cars behave different in such test than in real life. why? rules....

  46. A single line? ROTFLOL! by sirwired · · Score: 1

    I'm pretty sure it takes more than one line of code to (sneakily) check for an emissions test, and a whole lot more lines to implement said cheaty-mode.

    The reports so far seem to indicate that they looked for an OBD connection, atmospheric pressure and temperature at a certain level (specified in the test protocol), the steering wheel not moving (because the car's on rollers), the engine being run at certain speeds (to keep somebody from spotting it during a dyno test at a tuner shop.)

    That would be one heck of a line...

  47. The people who did this weren't idiots by sjbe · · Score: 1

    You get requirements that you aren't sure are a good idea or the right thing to do, and you question them - but PHB assures you that it's all been approved and cleared by the people on higher floors, and you may even contact some of them and hear their agreement.

    Then congratulations you are a rube who got used and have now committed a crime. But frankly I have a VERY hard time believing that the engineers involved did not know that what they were doing would violate the law. They wrote code specifically to determine when an emissions test was being performed and to adjust the emissions substantially. The ONLY reason to do that is to cheat a test which they damn well ought to know is illegal. So was it negligence or fraud? Either way they basically engaged in the functional equivalent of dumping toxic waste and should be accountable.

    1. Re:The people who did this weren't idiots by plague911 · · Score: 2

      No “they” didn’t. One team wrote code to detect an emissions test. One team wrote code for a new emissions heavy efficiency high mode. One team wrote code to switch between emissions tests. One dude with a beard added if( TRUE === emissionsTest ) { mode = MODE_X43_Y ;} Thats all it took.

    2. Re:The people who did this weren't idiots by fahrbot-bot · · Score: 2

      But frankly I have a VERY hard time believing that the engineers involved did not know that what they were doing would violate the law.

      On the other hand, the code could be used to support a control test case, with the emissions controls switched on/off, to support development and how well the emissions controls were working on the same engine. This would allow the engine developers to test against a live performance benchmark. On the original hand, having that switch on/off automatically is quite hinky, so it's probably not (solely) for development testing.

      --
      It must have been something you assimilated. . . .
    3. Re:The people who did this weren't idiots by Anonymous Coward · · Score: 0

      making a gun does not make you murderer ? but I agree to search for another job in this case.

    4. Re:The people who did this weren't idiots by Anonymous Coward · · Score: 0

      Or the code was explained to the lower-level programmers as code meant for internal use in researching and developing engine emissions controls, without any hint that it would be used on some other manner or left in place.

    5. Re:The people who did this weren't idiots by obsess5 · · Score: 1

      But frankly I have a VERY hard time believing that the engineers involved did not know that what they were doing would violate the law.

      I know you know engineers, so this question is rhetorical: Do you know engineers?

      10 years ago, I worked on a project that adapted an existing codebase to use CORBA and, as a selling point, used wide-character strings in the interfaces for "internationization". One developer wrote an inline C++ function to convert a wide-character string to a normal C character string and everyone was forced to use it, including me. His "sophisticated"-looking code checked if the value of the wide character would fit in the target character width (which, while not explicitly specified in the code, was of course 8 bits). If not, an error exception was raised. If so, the wide character was simply truncated to the target character width. In other words, our whole system only handled Unicode values between 0 and 255.

      Several times, I tried to raise the issue that this approach was wrong; the better approach was to convert wide-character strings to UTF-8, which our existing software could use without problems regardless of the wide-character values (except possibly in the GUI, which was done by another group). The managers and the other developers (who didn't know much about Unicode) took the side of the other developer, who insisted that his approach worked.

      So, we had a whole bunch of developers using something they didn't understand that was wrong. And many of the developers were very smart. Hence I can imagine the engineers at VW implementing the emissions test without worrying about the legal implications and not thinking to get verification in writing of the requirement.

      To make matters worse, the developers (not in our company, but who, I am sure, were reasonably smart) who wrote the TAO CORBA implementation we used didn't understand the (pretty straightforward) CORBA GIOP/IIOP specification of how to marshal/unmarshal wide-character strings over the network--and they got it wrong! This was a known problem on the TAO support forum for the version of TAO we were using; I had a parallel implementation of IIOP, became aware of the problem, and therefore looked for it on the forum. Our other developers probably didn't read the forum or weren't aware of the problem. Before I left the project (voluntarily), I warned that there might be trouble if this problem was ever fixed. (Our system controlled satellites. Before rolling out a new version of our system, a client company would run the new version for a while in parallel with the earlier version of our system that was in place, both versions communicating with each other, until they were confident there were no problems. With the wide-character string encoding fixed in TAO, our new and old system versions wouldn't be able to talk to each other; possibly there was a run-time configuration tweak to have the new version of TAO revert to the old broken protocol for wide-character strings.)

    6. Re:The people who did this weren't idiots by pak9rabid · · Score: 1

      Well, assuming they're German engineers, it's not that far fetched that they're not up-to-date on their emissions laws of the US.

    7. Re:The people who did this weren't idiots by RavenLrD20k · · Score: 1

      Reminds me of that time back in Highschool where my teacher was relating a story of when he was working as a programmer for the US Government. He was told to write what seemed to be a rather simple routine just to do a diagnostic check if a switch was flipped a certain way. He apparently later found out that his code was a critical piece of some ICBM guidance software...he said he changed professions after that.

      Seriously, this could be compartmentalized in so much the same manner that none of the peons understood exactly what it was they were doing. Hypothetical: PHB in charge of 3 different system development departments sends out 3 separate emails to the heads.

      • Email 1: Charlie, In your diagnostic control api cnctr.cs, I need you to return float(1) whenever pin 3 and pin 6 are jumpered for some debug testing that QA needs
      • Email 2: Jason, we need you to build an api called egr.sys that will take a calculated value and adjust the exhaust flow accordingly.
      • Email 3: Denis, we need a method that will read returns from maf.cs, tbi.cs, o2.cs, and cnctr.cs to calculate a floating value between 0 and 1 and pass it to egr.sys If any one of those methods returns 1, however, your method must return .9 or higher.

      This is only a simplification. The modularization may go even farther than that. It could be 4 PHBs getting work requests for each of 8 different teams from 10 different departments with not much communication between. Seriously... does putting a check for if something gets plugged into the diagnostic port sound like a malevolent request? There seriously could be several routines that would legitimately check this value. There could also be several points of abstraction between the routine checking the diagnostic plug status, the routines reading from the several thousand emissions sensors, and the routines taking all this sensory input and using it to implement adjustments to the several emissions control systems. One end-coder or end-engineer is not going to know enough about the entire system to be able to say "Hey! This doesn't seem right!" The ethics break happened high enough up the chain of command with just enough engineering experience to know what code needed to be placed on which team. Once you get to the level that you have several frontline engineers working on a project, the greater the scope of the project that each engineer has access to, the greater the risk of one of them putting the pieces together and blowing the whistle on the whole thing. The best option here for a corrupt PHB is to keep the various engineers focused on their individual spec sheets and in the dark about the related projects that other engineers are supposed to be focused on.

    8. Re:The people who did this weren't idiots by sjames · · Score: 1

      Or, present it that the test mode will trigger a map that disregards normal pollution standards so peak performance can be studied and normal mode will use the compliant maps. Then switch the maps.

    9. Re:The people who did this weren't idiots by countach · · Score: 1

      It would be negligent to develop software in such a compartmentalised way, because the EPA asks for sign off on what sensors affect the smog, and if you do what you are suggesting, it would be damned difficult to sign off on that.

  48. How do we know they are cheating by Anonymous Coward · · Score: 0

    If the vehicles computer is properly designed to reconfigure itself based upon the performance needs of a vehicle, then a scenario where the rear wheels are moving with negligible resistance, the tuned result may be valid.

  49. Good future IOCCC challenge by Anonymous Coward · · Score: 0

    Write a section of code that purports to do some routine bit of engine parameter control while actually nefariously watching for specific sequence of a parameter (say engine speed) and actuating the EGR valve. Plausible deniability essential.

  50. Not really criminal by Anonymous Coward · · Score: 0

    Why is everyone assuming that there is actually anything malicious or obvious looking in the code? Its a simple problem of industrial controls. You have an emissions target to meet at a specific barometric pressure/temperature/output condition, and you adjust the fuel/air/RPM curves to meet it. If the software engineer was wise, he has an archived email thread between his boss and the department that tests performance and drivability that shows what was likely constant complaining of stumbling and low power output and demanding that something be done. The poor guy simply complied knowing that the official test was one specific point in the fuel/air maps.

  51. Gentlemen, start your lawsuits.... by JustAnotherOldGuy · · Score: 1

    "You can actually see who asked the developer to write that code," said Nikhil Kaul, a product manager at test/dev software maker SmartBear Software. "Then if you go upstream you can see who that person's boss was...and see if testing happened...and, if testing didn't happen. So you can go from the bottom up to nail everyone."

    I sense a feeding frenzy in law firms all over the country, with lawyers asking themselves, "How can we get a piece of this pie?"

    The audit trail might not include everybody, but it'll include enough people so that the ones not included will likely be given up by the ones that are. I doubt that anyone who was involved is going to escape unscathed. And the audit trail at this point appears to include a devastatingly detailed trail of managers and executives who knowingly signed off on this. Some will deny that they knew what this was all about, but some simply won't be able to claim that.

    There's no way to make this into an "oopsie" moment or claim it was a simple mistake. This was planned and approved at the highest levels.

    Heads will roll, and I expect a river of blood and money will be flowing from Volkswagen for years over this...and that is as it should be. They did this in the name of profits, and now it's time to make those fuckers pay.

    --
    Just cruising through this digital world at 33 1/3 rpm...
  52. Keep good records of dubious orders from mgmt by sjbe · · Score: 4, Insightful

    I did get an email verifying that I had questioned it, but then I found out that all our emails are automatically deleted after 6 months or something like that.

    Nothing prevents you from printing emails of instructions to implement dubious decisions. I've done this from time to time just to protect myself when I worked at a large company.

    You get fired now, or you implement something dubious - what do you choose?

    If it is clearly illegal or will be very likely to cause major problems then you should seriously consider walking. If it isn't so clear then you get them to document their instructions to you and you keep a copy (print if you have to) for your records to cover your ass should it be a problem down the line. Make sure you document your objections and make it clear that you have taken every reasonable effort to ensure that what you are doing is legal. If the decision is merely dumb but legal, same thing but don't worry so much about ensuring legality.

    1. Re:Keep good records of dubious orders from mgmt by PPH · · Score: 1

      Nothing prevents you from printing emails of instructions to implement dubious decisions.

      Other than the fact that all those e-mails are work product and belong to the company. Take a copy home with you and risk being arrested for theft. It happened to a Boeing tecnician who tried to blow the whistle about fraud in their QA process.

      --
      Have gnu, will travel.
    2. Re:Keep good records of dubious orders from mgmt by Hognoxious · · Score: 1

      Nothing prevents you from printing emails of instructions to implement dubious decisions

      One thing does - the same thing that stops you putting mithril buckles on your unicorn saddle.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  53. Cheating vs Hanlon's razor by WaffleMonster · · Score: 1

    I'm trying to understand WTF happened because currently nothing is making sense. Currently the only fact I am sure of is cars were observed to emit more pollution than allowed.

    What additional facts exist that provide evidence of intentional cheating?

    Around here emissions testing consists of plugging in an OBD-II cable waiting a few seconds and being charged $30 for the whole ordeal.

    The articles say things like "For years, millions of Volkswagenâ(TM)s deisel cars contained software that turned their pollution controls on only when the cars were being tested by regulators" ...

    Even TFA has no clue how the triggering works it just assumes it must be triggered maliciously in response to detecting an emissions test and dreaming up "single line of code" because it sounded good to the author. What is the basis for these beliefs aside from imagination of the authors? Has a specific reproducible emissions testing trigger been found?

    What if there was just a glitch in a fuel trim or something that presents after driving around for awhile? What actual facts exist that provide evidence this was an intentional malicious act?

    1. Re:Cheating vs Hanlon's razor by Anonymous Coward · · Score: 0

      I'm trying to understand WTF happened because currently nothing is making sense. Currently the only fact I am sure of is cars were observed to emit more pollution than allowed.

      Well, and this is an important point: they do not emit more pollution than allowed during testing procedures. They emit more pollution than allowed in the wild. The implication is obvious.

      What additional facts exist that provide evidence of intentional cheating?

      Well, perhaps the fact that VW admitted to intentional cheating might convince you? When the EPA and CARB detected this discrepancy, they said they would not certify the cars until it was explained. Then, on September 3, VW admitted that it specifically detected this testing mode and switched to a different operating mode to reduce emissions.

      http://www.msn.com/en-us/autos/news/everything-we-know-about-the-volkswagen-emissions-scandal/ar-AAezIZ9

    2. Re:Cheating vs Hanlon's razor by Max_W · · Score: 1

      I guess such a big media event could not go out without an authorization. It could be some sort of politics.

      It is even more strange to hear it from the US authorities which approved and gave to the world three tons SUVs with immense fuel consumption.

    3. Re:Cheating vs Hanlon's razor by random+coward · · Score: 1

      Well, and this is an important point: they do not emit more pollution than allowed during testing procedures. They emit more pollution than allowed in the wild. The implication is obvious.

      Here is the interesting part; the regulations list the requirement for emissions during testing, not during operation. Normally the variations for normal operations are secretly negotiated with EPA and California's CARB. These changes allegedly weren't disclosed in those negotiations.

      What I find interesting is why the nonprofit decided it wanted two VW's tested and why they picked a BMW as their control.

    4. Re:Cheating vs Hanlon's razor by Anonymous Coward · · Score: 0

      Because Volkswagen admitted to it.

    5. Re:Cheating vs Hanlon's razor by Anonymous Coward · · Score: 0

      Here is the interesting part; the regulations list the requirement for emissions during testing, not during operation

      It sounds like you're suggesting what VW did is perfectly reasonable and not-cheating because of the way the regulations are written. Other companies have been punished under similar circumstances (don't remember the details offhand, but it's been brought up in numerous examples in the past few days to refute this possibility). In other words, despite your assertion, no such major loophole actually exists that makes it okay to cheat the tests. It's cheating, the EPA and CARB view it as cheating, and can punish VW for cheating.

    6. Re:Cheating vs Hanlon's razor by Anonymous Coward · · Score: 0

      I guess such a big media event could not go out without an authorization.

      Sadly, this is what third-worlders actually believe about the United States. They are unable to conceive of a place where government does not explicitly or implicitly control the press and other media and, indeed, is frequently embarrassed by news articles.

  54. How to get written authorization by sjbe · · Score: 1

    Make sure to get it in an email form? How are you going to do that?

    Easy. You start asking questions in email. Act innocent or ignorant if necessary. Unless the person is ordering you to do something obviously illegal (in which case you should quit or get legal representation) they aren't likely to act all cloak and dagger. If they do, do you really want to work for that person anyway?

    1. Re:How to get written authorization by FlyHelicopters · · Score: 1

      And the email reply might be, "come see me in my office".

      And if you act ignorant, then maybe you're the wrong person for the job.

    2. Re:How to get written authorization by sjbe · · Score: 1

      And the email reply might be, "come see me in my office".

      Then you know they are asking for something that you probably shouldn't be doing.

    3. Re:How to get written authorization by FlyHelicopters · · Score: 1

      Yes, you know that when you're talking about it on Slashdot... Such emails happen all the time in the real world.

    4. Re:How to get written authorization by BasilBrush · · Score: 1

      Again, in YOUR real world maybe. That only signifies that YOU are in a dodgy company or dodgy industry, and YOU are willing to go along with it. It's not the general "real world" case that you seem to think it is. In 30 years of being a software engineer it's never happened to me. Quite a contrast to your "all the time".

    5. Re:How to get written authorization by Anonymous Coward · · Score: 0

      You mean like this one in the Google/Skyhook Wireless lawsuit?

      http://mlkshk-ada.kxcdn.com/p/...

  55. Re:A single line? ROTFLOL! by Cro+Magnon · · Score: 0

    Maybe their code is in Perl.

    --
    Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
  56. Reason all code should be open source by schwit1 · · Score: 1
    http://www.nytimes.com/2015/09...

    ... imagine what the world would be like if elevators were not built so that people could inspect them. “Proprietary software is an unsafe building material,” Mr. Moglen had said. “You can’t inspect it.” On Tuesday, Volkswagen admitted it had rigged the proprietary software on 11 million of its diesel cars around the world so that they would pass emissions tests when they were actually spreading smog. The breadth of the Volkswagen scandal should not obscure the broader question of how vulnerable we are to software code that is out of sight and beyond oversight.

    1. Re:Reason all code should be open source by Thelasko · · Score: 1

      Technically speaking, Volkswagen is in trouble for not providing proper documentation of their code to the EPA. Auto manufacturers are allowed different modes, they just have to provide high level documentation of those modes to the agency. The mode in question isn't documented.

      --
      One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    2. Re:Reason all code should be open source by Anonymous Coward · · Score: 0

      I knew this one would come up. Someone is always going to say "but but but if it was OPEN SOURCE this wouldn't have happened!!!"

      Having open code doesn't solve all. See the last two years of security findings in open code as a reference. A regulatory-mandated NDA code review could accomplish the same thing as having it be open source (as far as compliance goes) without a company having to publish possible trade secrets or competitive advantages.

  57. Once again... by ai4px · · Score: 1

    Once again, the German propensity for record keeping is going to be the death of them. The last time was, I believe at the Nuremberg Trials.

    1. Re:Once again... by schwit1 · · Score: 1

      Or when the Stasi records were opened.

  58. Re:Should this "testing mode" be enabled by defaul by Anonymous Coward · · Score: 0

    Probably because if the "testing mode" were enabled all of the time, the driveability performance would be lousy. The car would probably have no acceleration, and would have other issues. It would probably burn so lean that it would burn up pistons, for example.

    I worked at Chrysler in the 1970s when they were first having to work on "pollution controls." Congress, which is almost all lawyers who are ignorant of the laws of physics and chemistry, mandated that certain types of emissions be sharply curtailed. Specifically, they wanted to cut back on carbon monoxide, unburned hydrocarbons, and nitrogen dioxide emissions. When the emission controls were working, the tailpipe was emitting LESS carbon monoxide than was in the ambient air! Wow! It looks like it was cleaning the air of carbon monoxide! However, as some folks with a scientific bent know, you cannot create or destroy matter. If you have 78% nitrogen and 21% oxygen going into the carburetor (or fuel injection system in modern times) (plus other things, like sulphur), you MUST have the same percentage of those elements leaving the tailpipe. So, while the cars would reduce the amounts of the mandated stuff, they would put out other compounds that hadn't been mandated against. In particular, if your car wasn't in good tune, you could emit phosgene (a poisonous gas used against enemy soldiers in World War I). Theoretically, catalytic converters were supposed to convert engine emissions to carbon dioxide (CO2) and water (H2O)--but what about the 78% N2 (nitrogen)? The nitrogen still gets combined with other stuff and gets emitted.

    So, seriously, if you are going to burn hydrocarbon fuels, you are going to get something out of the tailpipe, and not all of it will be agreeable to you.

    BTW, since I worked at Chrysler, I learned how to defeat the emission controls. They had an Exhaust-Gas Recirculation (EGR) valve which returned some engine exhaust back to the intake manifold to attempt to burn any gasoline that made it through the engine without getting fully burned the first time. What it really did was cut your gas mileage. You could put a BB in the rubber vacuum hose to that valve, and cause it to stop working. The other, more nefarious device was the "Orifice Spark Advance Control" (OSAC) valve which was inline with the vacuum hose between the intake manifold and the distributor. The purpose of the OSAC valve was to stop you from being able to stomp on the accelerator which opened the throttle wide open, also quickly lowered the vaccum in the intake manifold, and advanced the spark coming from the distributor. With that OSAC valve working, if you were on a two-lane road and needed to pass slower traffic, you couldn't do it. Rather than have your car immediately kick down into 2nd gear (auto trans) and immediately speed up, instead it would slowly gain speed. Totally unsatisfactory. So, you could rearrange the rubber vacuum hoses. Instead of a hose going from the intake manifold to the OSAC, then another hose from the OSAC to the distributor, you would change the hoses so one hose went directly from the intake manifold to the distributor, then rout the other hose out of the OSAC back into the OSAC. And since both hoses were taped together near the OSAC valve, one couldn't tell by looking that the hoses had been rearranged! After that, you could safely pass again.

    Rusty

  59. Sounds good in theory by Anonymous Coward · · Score: 0

    In practice, if you've got mouths to feed and not enough savings, that's a difficult proposition. In addition, you might get blacklisted and will then be unable to find another job.

    In reality, if it's not a matter of life and death, it seems like you should do the best you can do within the confinements that are placed on you.

  60. Doesn't matter w.r.t. the CEO resignation by robi5 · · Score: 1

    No matter what the chain of reporting is on the bottom, the CEO is on the top and thus responsible.

    1. Re:Doesn't matter w.r.t. the CEO resignation by SecurityGuy · · Score: 1

      I know this is a popular sentiment, but I really disagree. It's not possible for a CEO to have such precise and detailed vision into a company that he or she can preclude the possibility of nefarious action by everyone in the company.

      Everyone who's been working for more than a couple years will likely find themselves having to decide whether to tell someone up the chain there's a problem. Now imagine the CEO, who is at the top of lots of chains. You're expecting that bad news always finds its way to the top, and that one person has the time to supervise those chains enough that unreported problems are ferreted out.

      The blame the CEO for everything mentality is just another way of saying "We don't know if it's your fault, but we're blaming you." I don't think an innocent CEO should fall on his sword in cases like this. A genuinely innocent CEO should be leading the charge and cleaning house.

    2. Re: Doesn't matter w.r.t. the CEO resignation by robi5 · · Score: 1

      They didn't have proper internal audit for regulatory compliance. In places where they do, they build FMEA tables etc. and, if there's commercial interest is at odds with regulatory compliance, they'll entertain the possibility that they cheat. If it wasn't a known risk element to them, they had no proper risk management and it's ultimately the CEO's responsibility. My opinion isn't what it is because it's popular.

  61. Re:Should this "testing mode" be enabled by defaul by PPH · · Score: 1

    It's a tradeoff between NOx production and performance, lower CO and CO2 production, lower particulates, lower maintenance and better mileage. Volkswagen probably figured that since worldwide vehicle NOx production is several orders of magnitude below that produced by lightning, nobody would care as long as all the other numbers went in the right direction.

    --
    Have gnu, will travel.
  62. Re:Should this "testing mode" be enabled by defaul by mbone · · Score: 1

    In business, if you have to ask "why?", the answer is "money."

  63. Blame it on test... by DomNF15 · · Score: 1

    The article mentions something to the effect of looking at VW's testing audit trail but I doubt this will be effective. There may be a test case which reads something like, "verify that emissions test mode produces expected values", which obviously would have passed. I doubt there is a test case to cover the contra-positive case, since there likely isn't any such requirement that reads, "when vehicle is not in emissions test mode, do not reduce performance to meet emissions regulations". It's also laughable that they're trying to pseudo-blame this on agile programming, as if agile methodology itself prescribes not referring to work items when checking in code. I love it when a non-technical (non SW) author tries to comment on such things, makes for a very amusing read.

  64. Re:Single line of code? I want to see this code. by Anonymous Coward · · Score: 0

    Hey!! That sounds remarkably similar to the pattern I use when I am flicking my tongue on your mom's clit.

    Have you been watching me?

  65. Sometimes the ethical path is very clear by sjbe · · Score: 0

    The real world is never that black and white.

    I've been in the real world a long time. Frequently the real world it is actually that black and white. Not always but quite often. This VW thing seems to be pretty clearly in the black and white camp. It is REALLY hard to imagine a credible scenario where the engineers who implemented this were not fully aware (or should have been) that what they were doing was against the law. They (almost certainly) knew it and they went ahead anyway.

    1. Re:Sometimes the ethical path is very clear by FlyHelicopters · · Score: 1

      You're making an assumption that isn't supported by any known facts.

      It just "makes sense to you" so you believe it.

      That may well be what comes out of the investigation, but we don't know that today.

    2. Re:Sometimes the ethical path is very clear by hattig · · Score: 5, Interesting

      The engineers who designed the engine - yes.

      The engineers who coded the software for the engine computer? Why would they know what this does? The software is enabling a signal, hell the signal might even have a vague name, when a condition is met. The condition's name might not very clear.

      Yes, a spec saying "when the car is undergoing a test then enabled the cheat mode to get past the test" would clearly implicate the developers.

      But most likely it was: "when sig_x and sig_y and indicator_a are set, then set sig_Z to 1 in pattern P for n nanoseconds blah blah blah"

      Someone knew what they were doing, and it probably went like this:

      Engineer: We can't make this engine pass NOx tests.
      Message goes up the chain to a certain decision making level, possibly the board. Marketing chimes in: We can't have this, we're already sending out teasers about our new urea-less engine technology, etc, etc.
      Eventually a message comes down to fix it, in vague terms, entirely forgetting the original message that it's unfixable.
      Engineers: struggle for ages.
      In pub: Well, we could enable a special testing mode to pass the tests?
      In work: Shall we do this -> up the chain. Original context is half forgotten. Approved.
      Changes made. Software specs made. Timebomb implemented.

    3. Re:Sometimes the ethical path is very clear by Anonymous Coward · · Score: 1

      It's so easy to imagine how this could be limited to just a few wrong decisions while most contributors do not know they played a role. Is there a professional engineer who signs off for the whole system of the car including all its software functions? Or do they have liability firewalls that allow something like the following to occur?

      Have one tuning team "develop fuel trim parameters that will meet US EPA mandated emission standards".

      Have one tuning team "develop fuel trim parameters that optimize mileage and driveability" for some other foreign market with lax emission standards.

      Have these market-specific trim tables loaded into alternate data banks "to harmonize supply chain for all markets". There are also of course trim tables for things like cold-weather startup mode and failsafe "limp" modes.

      Have the logic for switching between modes like cold start, high elevation, hot weather, predetonation errors, fuel delivery errors, exhaust temperature errors, and others developed by one or more teams.

      Have another team implement selection maps to enable or disable specific trim tables depending on destination market/region. This may involve regulatory and simple climate motivations.

      Have one other team add the "make sure we're in standard mode for testing". Everything to this point could be done by teams not intending anything nefarious. Even the last one makes sense during development to be able to evaluate that you're still meeting targets while other parameters are being refined. Does someone fail to review the final per-region selection maps, or intentionally allow the inappropriate modes to be enabled?

      If this were a film, it could be a final decision in the editing room that changes the story. You can hardly implicate every actor, camera operator, makeup artist, lighting tech, etc.. who contributed to filming the individual scenes when the final story composition fails.

    4. Re:Sometimes the ethical path is very clear by chuckugly · · Score: 1

      Engineers are not lawyers. It's pretty easy for me to imagine a scenario where the engineer knew exactly what they were doing from a functional standpoint but not that it violated the letter of the law in a specific locale.

    5. Re:Sometimes the ethical path is very clear by dunkindave · · Score: 2

      Engineer: We can't make this engine pass NOx tests.

      Ah, but that wasn't the situation. The engine could pass fine, which is what was happening when the software detected the test conditions. The problem is when running like that the engine didn't have as much power or fuel economy as when operating in dirty mode. This hack was to make the car more appealing to consumers by (in a virtual sense) selling one car to the public, and having the EPA test a different one. This was pure deceit.

    6. Re:Sometimes the ethical path is very clear by ceoyoyo · · Score: 1

      Engineers are professionally responsible for their actions. That's what "professional" really means. They write exams, go through an appreticeship-type program, and then join their professional association, get a stamp, and the legal power to certify things. When they do sign off on things, they're taking responsibility. They aren't lawyers, but they're required to know the relevant law and act accordingly.

    7. Re:Sometimes the ethical path is very clear by Anonymous Coward · · Score: 0

      they probably thought the EPA emissions levels were unreasonable and went along to "pull a trick on those stupid Americans". It worked.

    8. Re:Sometimes the ethical path is very clear by AK+Marc · · Score: 1

      So you have an engineer asked to develop the best possible engine map for emissions. He does. It's called Map 17(b). A different engineer is asked to build the test program. This is a normal requirement because in testing, traction control is turned off (a requirement of the testing facilities for safety), and in doing so, nearly every maker also "tunes" other things, turning off ABS, because that's not needed (but not required to be turned off) and possibly turning off other things. It wouldn't be unreasonable to ensure an engine control was set to Map XX at the same time, as the program could be constructed in a manner that it's a required variable. Neither engineer would realize that the default for the car is Map 1(a), and that the test is "cheated" with Map 17(b). So which one do you punish? The one that built the test program? Or the one that built the engine control map?

    9. Re:Sometimes the ethical path is very clear by countach · · Score: 1

      It might have happened like this, but we can't forget that the EPA explicitly asks for sign off that there are no defeat devices, aka sensors that alter smog output under certain conditions. Now you would think in 10 years of people signing off someone might have asked engineering to sign off on it, so that they could sign off and do an audit.

    10. Re:Sometimes the ethical path is very clear by Hognoxious · · Score: 1

      I disagree. Someone could divide it up such that the parts in isolation aren't obviously wrong and divide them between several implementers, none of whom sees the big picture.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    11. Re:Sometimes the ethical path is very clear by bazorg · · Score: 1

      [...]Engineers: struggle for ages.
      In pub: Well, we could enable a special testing mode to pass the tests?
      In work: Shall we do this -> up the chain. Original context is half forgotten. Approved.
      Changes made. Software specs made. Timebomb implemented.

      I'd go one step further and suggest that the pub has people from several auto manufacturers and they realise that the problem is common in the industry, therefore would work out well if everyone used the same solution. This way, when the scandal comes to light, the explanation is "everyone is doing it" and it's best to protect the industry (under the threat of job losses) by changing regulations elsewhere. It's not too different from the LIBOR rates rigging by some UK banks.

      I read in the Guardian that there will be re-testing of emissions to ensure that now the numbers will be right. If a few million cars from several manufacturers go up one or two tax tiers and the car manufacturers pay a fine, it's a decent result.

    12. Re:Sometimes the ethical path is very clear by chuckugly · · Score: 1

      Some people in engineering definitely knew what was going on, and some of those were likely aware of the law. However in response to TFA saying that we can 'nail them all' I'm not convinced that everyone in the audit trail would have that level of knowledge or culpability.

  66. Re:A single line? ROTFLOL! by Anonymous Coward · · Score: 0

    They use the python emissioncheat library.

  67. Professional Engineers have the power to say no by Joe_Dragon · · Score: 4, Insightful

    Professional Engineers have the power to say no and they have Ethics rules to fall back on.

  68. Lots of bad people... by Anonymous Coward · · Score: 0

    Who knowing coded it?
    Who authorized it?
    Who made it a requirement?
    Who knew and said nothing?
    Did VW charge consumers for that technology in the price of the car?
    Does it mean now that millions of VWs are not legally drivable?
    All those registrations based on successfully passing emissions are now null and void?

  69. The engineers knew what was happening by sjbe · · Score: 4, Insightful

    Somebody knew, somebody high up knew, but I rather doubt that everyone on the engineering bench knew, and that means that they had to be fed plausible stories along the way.

    Spare me. The engineers were the ones that eventually spilled the beans on this. They weren't fooled by some clever management strategy. They knew exactly what they were doing and they knew or should have known that it was illegal. While maybe not every engineer involved knew, more than a few certainly did without question. The engineers at VW aren't dumb. I know a few personally. Please stop with the attempts to find clever ways to not have to blame the engineers who were guilty of helping to commit fraud. Management may have ordered the crime but the engineers were the ones that carried it out.

    1. Re:The engineers knew what was happening by Calydor · · Score: 3, Insightful

      Is it not possible that years after these things were made by two different development groups as the GP suggested, these two groups happened to discuss the work they had done, blinked, and realized how those two things worked together. Or given this started back in 2009, there's probably been some turnover, no one in charge knew anymore this was happening and had to be kept secret, and one person was given full access to the code to add a few new snippets - and HE realized what it was actually doing.

      --
      -=This sig has nothing to do with my comment. Move along now=-
    2. Re:The engineers knew what was happening by sabri · · Score: 1

      Management may have ordered the crime but the engineers were the ones that carried it out.

      How about management did not order anything? How about engineers were trying to keep the engine within EPA standards so they would receive their bonuses? Not a single manager would need to know this if a small group of engineers (two, maybe three) decided to conspire in order to make their bonus targets.

      Not all managers are bad, and it only takes a few rogue engineers to insert something like this. If an engineer is skilled enough to cheat on stuff like this, he or she is probably skilled enough to obscure the evidence and hide it from peers or co-workers.

      And don't get me wrong, I'm not blaming anyone. All I'm saying is that I read a lot of armchair investigation here, from people who don't know the facts. At this time everything is possible, from a direct order from the CEO, to a rogue engineer.

      --
      I'm not a complete idiot... Some parts are missing.
    3. Re:The engineers knew what was happening by thegarbz · · Score: 1

      The engineers were the ones that eventually spilled the beans on this.

      Implying all engineers know what every other engineer is doing and what the full scope of the engineering design is for?
      Just because engineers were the ones that spilled the beans doesn't mean that the engineer directly responsible for the code knew it's intention or use. Engineers don't have to be dumb if they are compartmentalised geniuses. But since you know them why not ask them? Ask one engineer to go and explain to you how every single of the close to a million lines of code in a ECU works and exactly what the legal basis is for them to exist.

      I'll put a 100euro on the fact that no single engineer can do that.

    4. Re:The engineers knew what was happening by Anonymous Coward · · Score: 0

      Why would the CEO step down if he didn't have any involvement?

    5. Re:The engineers knew what was happening by Anonymous Coward · · Score: 0

      Were they "Just following orders"?

    6. Re:The engineers knew what was happening by disposable60 · · Score: 2

      That's how C-level executives in civilized countries behave - it's a symbolic beheading of the culprit to show atonement. In this country, they get bigger bonuses for this stuff.

      --
      You're looking for quotes? See my journal.
    7. Re:The engineers knew what was happening by tnk1 · · Score: 1

      I agree that a manager may have not given the order, and it is certainly possible to keep a manager in the dark.

      That said, managers should be implementing process controls to ensure that illegal or undesirable work does not occur. It is entirely possible that particularly clever engineers snuck it through the management checks, no manager or process is perfect, but it would be so much easier if the management was aware of this, at least at a low level.

      I don't know for certain but I think there's a manager in here somewhere who is at least partially responsible. And mind you, managers exist, in part, to have responsibility for their teams. If my team fucked up royally, I'd need to show how they completely conspired to pull the wool over my eyes and evade the process or I'd be called on why I didn't supervise their work properly.

      It is also likely a manager was involved because that manager probably at least communicated the displeasure of the higher ups at the engineering failure to meet EPA standards. Only a manager would know if the engineers' bonus checks were truly imperiled.

      That doesn't mean the engineers would be blameless, but let's not go too far in blaming either managers or engineers. They both are likely to have had a hand in it.

    8. Re:The engineers knew what was happening by Tharkkun · · Score: 1

      Management may have ordered the crime but the engineers were the ones that carried it out.

      How about management did not order anything? How about engineers were trying to keep the engine within EPA standards so they would receive their bonuses? Not a single manager would need to know this if a small group of engineers (two, maybe three) decided to conspire in order to make their bonus targets. Not all managers are bad, and it only takes a few rogue engineers to insert something like this. If an engineer is skilled enough to cheat on stuff like this, he or she is probably skilled enough to obscure the evidence and hide it from peers or co-workers. And don't get me wrong, I'm not blaming anyone. All I'm saying is that I read a lot of armchair investigation here, from people who don't know the facts. At this time everything is possible, from a direct order from the CEO, to a rogue engineer.

      Hell, a bonus doesn't even need to be involved. It could be a matter of keeping your job by making a deadline. In that case you definitely tell no one.

    9. Re:The engineers knew what was happening by Grishnakh · · Score: 1

      Not a single manager would need to know this if a small group of engineers (two, maybe three) decided to conspire in order to make their bonus targets.

      Bonuses? For engineers?

      Must be a German thing; we don't have anything like that in America these days. Those days ended with the dot-com implosion.

    10. Re:The engineers knew what was happening by sabri · · Score: 1

      Bonuses? For engineers? Must be a German thing; we don't have anything like that in America these days. Those days ended with the dot-com implosion.

      You'r either in the wrong line of work or working for the wrong company. I had my Q1 and Q2 bonuses paid out at 115% and 125% after surpassing company expectations.

      --
      I'm not a complete idiot... Some parts are missing.
    11. Re:The engineers knew what was happening by AK+Marc · · Score: 1

      So it's impossible that two teams of engineers were tasked with optimizing the engine?

      One for performance, the other for emissions. Both think their code is the *only* code in the car. Then, after 5 years, a few engineers from one team have moved to the other team. Over the water cooler one mentions that *he* wrote the code used in the Diesel engines. Then, a short discussion later, the realization is that *both* must be in use, one to pass tests, the other so the car doesn't drive like a fat gerbil, with a broken leg.

    12. Re:The engineers knew what was happening by jafac · · Score: 1

      Two separate maps?

      Honestly, that's a really cool feature. And I find it very hard to believe that it wasn't done intentionally to deceive. And it took quite bit of dliberate technical knowledge, and possibly complying hardware design, to accomplish. Then again, my experience with car computers is quite old, and I've only dealt with more primitive versions. For all I know, multiple maps is common-place now. But I doubt it.

      --

      These are my friends, See how they glisten. See this one shine, how he smiles in the light.
    13. Re: The engineers knew what was happening by Anonymous Coward · · Score: 0

      He got a bonus alright, 28+ millions euros.

  70. Source code and calibrations by BenJeremy · · Score: 1

    This is bigger than "the guy who wrote the code" because an ECU ROM image is comprised of two parts, really... the program code (which obviously had to be altered to detect the conditions for switching emissions controls in) and the calibrations - a symbolically mapped area of constants used to tune the controller for each individual platform and for regions that platform is sold in.

    Calibrations are a checksummed block of the ROM image, mapped and edited through a calibration editors. I've actually architected one such calibration editor in the late 90s for GM (Cal-Link) and I've seen the competition (oddly enough, German-written "ETAS" software).

    What has to be the case, is that there are at least two sets of calibrations - one for "emissions cheat mode" and one for "performance mode" - and calibrations involve a team of engineers, testing on a dynamometer, on the proving grounds tracks, or on the bench; at each phase, they are checking against emissions testing and performance parameters, tweaking and tuning until they get an acceptable, marketable product.

    So to make this cheat happen, across not only individual product lines, but badges as well (Volkswagen AND Audi), you are talking a large number of teams working on multiple sets of calibrations - whose purpose must be obvious the first time they put it on a dynamometer. They are working with an ECU whose code was written by another party not even in their food chain (one controller, lots of products... and every car platform is tuned differently).

    I have no idea how high this goes, but it has to be somebody with oversight of not only multiple product lines, but both badges, too.

    1. Re:Source code and calibrations by JustNiz · · Score: 1

      You're saying Audi is also doing it? It would make sense but I personally haven't yet seen anyone else making that claim yet.

      I bet upper management at Audi are shitting bricks and deleting many emails right now though.

    2. Re:Source code and calibrations by JustNiz · · Score: 1

      woops ignore me, I just googled and saw it was both VW and Audi brands.

      I realise its just on diesel engines that has been discovered, but now I'm wondering about the other car badges that VW owns and how deep this could really go. Seat, Skoda, Bentley, Bugatti, Lamobrghini, Porsche,
      The supercar/luxury brands especially already have a lot of pressure on them to show very low emissions but not sacrifice any performance. Something has to give.

    3. Re:Source code and calibrations by 4pins · · Score: 1

      So to make this cheat happen, across not only individual product lines, but badges as well (Volkswagen AND Audi)

      Wait! So this is now the most ironic Super Bowl add ever? They got caught by the green police after initially getting a pass!

      --
      I will not mourn that which I never had to lose. - Unknown
    4. Re:Source code and calibrations by Anonymous Coward · · Score: 0

      It is not unthinkable that there are different calibration modes aimed for different markets, such as a low-NOx mode for the US, and a low soot, high efficiency mode for the rest of the world and that one person, or a relatively small group of people, decided to enable US mode only during emission tests, using a few checks on driving conditions.

      This wouldn't make it any better that apparently some people very likely actively chose to let the company violate the law for US-market vehicles, but it does explain how a small number of people could be responsible for actions that the high-level management was unaware of.

  71. No need for code to detect an emissions test by sjbe · · Score: 1

    One team wrote code to detect an emissions test.

    There is no need to write special code to detect an emissions test. The cars emissions should meet legal standards at all times. The moment someone asked for such code alarm bells should have been going off right then and there. Especially given the not-a-secret decision to not install a urea injection system. These aren't engineer who write code without any knowledge of the effects of their code and they don't work by themselves and never talk to others. Plus there appears to be evidence that the engineers were WELL aware of the problem because when it first came up they engaged in all sorts of delaying tactics.

    No, there were engineers at VW who knew what was happening and it wasn't just one guy with a beard.

    1. Re:No need for code to detect an emissions test by BasilBrush · · Score: 2

      In the UK it was reported on Newsnight (TV Programme) back in November last year. So it wasn't just engineers at VW that knew about it. What's surprising is the shit only hit the fan now.

    2. Re:No need for code to detect an emissions test by Anonymous Coward · · Score: 0

      The cars emissions should meet legal standards at all times. What legal standards? Where and when? The EU/US standards are very far apart and are set up to regulate different things. You can make it comply with one or the other, but probably not both at once without large expense.

    3. Re:No need for code to detect an emissions test by plague911 · · Score: 1
      There is no need to write special code to detect an emissions test.

      Just because you are not creative enough to think of a valid reason does not mean the rest of the world is unable to.

      not-a-secret decision to not install a urea injection system. they don't work by themselves and never talk to others

      These are teams they talk mostly internally. The drive mode switching team could very plausibly have no idea what a urea injection system is, let alone being aware of a design decision.

      Plus there appears to be evidence that the engineers were WELL aware of the problem because when it first came up they engaged in all sorts of delaying tactics.

      I have no idea if they did or did not. Nor do I care. I am just pointing out that it is in fact VERY easy to hide critical actions like this in large organizations with very specialized teams.

    4. Re:No need for code to detect an emissions test by bickerdyke · · Score: 1

      The cars emissions should meet legal standards at all times.

      ...which are usually defined by the sum (or average) of emissions over an exactly defined test cycle.

      And for a reason. If you would set an absolute maximum emission, that would have be high enough to cover the few moments of maximum emission during accelerating or while the engine still hasn't reached optimum operating temperature. And even if they were low enough to be an actual challenge, during 99.9% of regular operating time, even the biggest gas guzzler could beat them hands down.

      --
      bickerdyke
    5. Re:No need for code to detect an emissions test by cshay · · Score: 1

      The ICCT report came out in November. There was no explanation for the discrepancies in that report, but I am not surprised the media reported on it.

      Volkswagen only explained what they did to cause the discrepancies recently, hence the scandal.

    6. Re:No need for code to detect an emissions test by mattventura · · Score: 1

      It's explained in greater detail in someone else's comment above, but basically: they don't have to, because that code already exists to detect when the car is on a Dyno. You need that, for example, because if the front wheels are moving and the rear wheels aren't, it might mess with the traction control system. If I were them, I'd play it off as exactly that unless there's some kind of evidence otherwise.

  72. some legitimate code repurposed. by Anonymous Coward · · Score: 0

    I can imagine multiple groups each working on a set of engine parameters: one for cold weather, hot weather, baseline, performance, clean, towing, etc. Each would be creating, essentially, a subroutine. Each independent from each other as it takes time to fin tune engine parameters and the ship date is getting closer! Then one person would put in one line that said " if NoSteeringMovement and FrontWheelsNotMoving and BaramPressure=x and RPMSteady then load Clean. The other groups would never know what happened.

  73. Wayyyyyy more than one line by gweihir · · Score: 1

    The submitter really does not understand what is going on at all and how these things work.

    First, you need to actually have all the sensor readings and detect the test situation. You may use wheel revolutions, GPS, acceleration sensors, etc. For that alone you will have a few hundred lines of code. Then you need to very reliably detect the test situation, giving you at least another hundred code lines. And then you need to make very sure things are not obvious like a strongly different engine sound, vibration, or accidental activation or deactivation under test, etc. For that you need extensive tests with each car this goes into and more optimization and even more code, some of it specific to the car model and engine and even the gasoline quality expected in a country.

    The problem is this: If you have even only 1 in 1000 cars behave differently during test, or if you have too many activations of this mechanism in non-test situations, the presence of the mechanism will become obvious relatively fast. That _must_ _not_ happen.

    This is not "inserting a single line" at all. This is more like initial development and test of the mechanism with something like 10 experts working on it for two years and then continued maintenance and adjustment to different cars keeping said 10 experts busy permanently. Say 10 Million for initial development and then another 5 Million per year.

    This was not a small project. As this cannot be done in the usual hierarchy, the team responsible likely had one dedicated lead and that lead must have reported directly to top management, i.e. those guys now claiming they knew nothing.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    1. Re:Wayyyyyy more than one line by countach · · Score: 1

      If the code was like IF HOOD/BONNET is up DO NO SMOG MODE, then it could be one line of code. I suspect the conditions for this are actually relatively simple. The EPA suggested it was traction control off, steering straight ahead, etc.

    2. Re:Wayyyyyy more than one line by gweihir · · Score: 1

      Yes, but "IF HOOD/BONNET is up DO NO SMOG MODE" is far too likely to be discovered by accident. This is IT security we are talking about here, not normal IT where demonstrating it works in some ideal conditions is often thought to be enough. In IT Security, you need to anticipate failures of all sorts, people that try to look closer and create adverse conditions, etc. It is no accident that verifying this required a mobile emission measurement system. If it had just been "HOOD UP", it would have been discovered at the first defective "HOOD UP" sensor and could have been verified by simply manipulating that sensor (which is likely a mechanical switch).

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  74. Re: Professional Engineers have the power to say n by BasilBrush · · Score: 3, Interesting

    I find it odd to hear how programmers seem so abused by PHBs. Maybe it's an American thing, but in the UK, I've always found that employers want to keep hold of skilled people like programmers, because new ones are hard to find and take a while to get up to speed. This means that saying no is always possible.

    (Nothing to to with official engineer status and ethics. There's no general requirement for engineer certifications for programmers here.)

  75. It may not be a single line of code. by funwithBSD · · Score: 5, Interesting

    I worked for a Small software house that made SAP type ERP software before SAP ate the majority of the market. This was 1998 or so...

    We had a customer come to us and ask for certain modifications. Then a few more. Then a few more.

    Not unusual, we made a lot of money from change orders. So the first few were done. All were acceptable in the Generally Accepted Accounting Practices guidelines.

    Somewhere along the line the GAAP accountant realized that this last modification set would, taken in combination with all the other mods, make a check disappear from the system and become untraceable.
    We refused to do it, and the customer dropped the product, saying we were too hard to deal with. A million+ of revenue were lost, no small amount for the company.

    That customer? MCI Worldcom.

    They clearly had picked apart the source code and found the edge case that triggered the behavior. I had left the company before MCI blew up, but my understanding is that they were called to give testimony/evidence in the trial.

    This could be the same thing, a series of unrelated changes that trigger a diagnostic mode when hooked up to the test equipment.
    If so, it would be very hard to trace who made the ultimate decision to do this, as it might be spread across many teams working independently.

    --
    Never answer an anonymous letter. - Yogi Berra
  76. It's called BENCHMARK MODE by Anonymous Coward · · Score: 0

    Intel does it. Apple does it. Nvidia does it. Microsoft does it. And now VW is about to be punished for it- despite the fact that a German company is merely copying SOP of every significant American tech company.

    BENCHMARK MODE means a purposely created path designed to make a gizmo look better than it is in practise when tested by an 'authority'. Every Intel chip, for instance, runs vastly faster for a minute or so BEFORE thermal throttling kicks in. Intel pays the companies that write benchmarking software to craft tests that complete BEFORE the Intel chip goes into thermal throttling. Intel pays tech sites to use these benchmarks. Conceptually, this is IDENTICAL to the stunt pulled by VW.

    BENCHMARK MODE is so ingrained in American engineering, it isn't even seen as cheating any more. PR companies, paid hundreds of millions by the big players, have successfully legitimised BENCHMARK MODE shenanigans via decades of propaganda.

    And BTW, since VW represents the BEST of diesel engineering, does anyone here think any of its competitors make 'cleaner' engines? This 'green' shit is all one gigantic JOKE. Once the emissions bandwagon grew large enough (and created so many insanely well paying enforcement jobs), it was bound to move beyond true usefulness (getting rid of lead and carbon monoxide) and move to faux concerns like the oxides of nitrogen. These neo-liberal organisations of 'social concern' always need new targets to justify their existence and growing power. Like the witch burners of old, they always need new witches to accuse and burn.

  77. Nothing explainded at all... by superdave80 · · Score: 1
    This was a complete waste of time. The only statement that sort of tried to explain anything was:

    "With one line of code you can break down how it happened," Kaul said. He described an "'if' statement with two clauses: If you do this, then do that. If something doesn't happen, do this."

    Shit, I already knew that, and I only know some basic programming. Wake me when someone explains some technical details of how the engine ran in test mode and in real world driving.

  78. Um, read one of the above posts by Latent+Heat · · Score: 4, Informative

    as there is a perfectly legal reason to detect an emissions test -- that the traction control and stability control doesn't go crazy.

  79. An innocent explanation (if you wish) by sshir · · Score: 1

    The caveat is that the car cannot distinguish running indoors vs EPA check. Thus it might be a (very good) safety feature: if computer detects that the car is running indoors or in any other situation where ventilation might be a problem (e.g. your father's garage, bad tunnel traffic, cart in a warehouse) engine is switched into cleanest running mode possible to avoid sending hapless mechanics, who screwed up their ventilation setup, to a hospital.

    And that's it. This theory does not require neither malice nor stupidity. It also has an explanatory power - it explains why there were no whistleblowers.

    1. Re:An innocent explanation (if you wish) by countach · · Score: 1

      Except that you are supposed to report in your smog test to the EPA any car sensors that you use to alter smog output. So if you did what you suggest for good reasons, and didn't tell the EPA you are in violation.

  80. Re:Single line of code? I want to see this code. by ThatsNotPudding · · Score: 1

    Or just:

    if DoorAjar EPAon fi

  81. Re: Professional Engineers have the power to say n by afeeney · · Score: 5, Insightful

    It's fascinating to see how many posters here automatically assume that it must be the PHBs who pressured the engineers into this. Very few assume that the engineers saw an opportunity for a bonus or for the PHB to owe them one, and added the cheat function voluntarily. I've not seen any posts so far that suggest an engineer thought of the cheat and suggested it to a PHB.

    A reminder that we tend to think of our peers as being much more ethical than "them" and look for reasons to think of them as victims of force or circumstances, and assume that "they" are only motivated by sheer callous greed. Whoever the "them" is.

  82. Number of lines of code is a distraction. by jbn-o · · Score: 1

    I read the "single line of code" editorial as a distraction away from what matters: accountability and prevention.

    Accountability can come in the form of lawsuits from affected car owners and those who can show the subsequent environmental harm caused a problem for them. Letting VW negotiate its own fate is ridiculous and, if the government's action with GM is any guide, unlikely to result in more than a slap of the wrist.

    Prevention must also be dealt with, and strongly copylefted free software licenses will help here. Whether this was the result of a mistake (VW's years-long negligence) or planning (VW's years-long fraudulence) is a detail as far as prevention goes because either way VW should be freeing the complete source code to the cars and providing complete specifications for any code it cannot provide so as to allow the easiest possible reverse engineering. Any cost of purchasing code for freeing should be borne by VW.

    VW is not in a position to dicker here. I don't buy the excuse of uncooperative upstream providers VW depends on for their code and the public shouldn't either. The stakes (our health) are too high to settle for less than complete corresponding source code under a strong copylefted license so that any published improvements are also free. Keep in mind, this is code car owners should have had from day 1 under a free license so they can fully own their own cars, taking code to experts they trust just like many take their car mechanisms to garages they trust to get fixed. Trusting the market got us where we are now, the market apparently will not grant us the freedom to let us help ourselves and our air-breathing neighbors by fixing the defective VW cars already out there since 2009 (over 480,000 of them). Not buying VW reaches the same conclusion. Not recognizing software freedom for its own sake and the preservation of that protection in copyleft will increasingly become a matter of life and death as we entrust more of our daily functions to software.

  83. Hey! That's my by future+assassin · · Score: 1

    Mortal Kombat 3 secret combo move actions. How did you....

    --
    by TheSpoom (715771) Uncaring Linux user here. I have nothing to add to this but please continue. *munches popcorn*
  84. up to 40X the nitrogen oxide levels by stooo · · Score: 1

    >> up to 40X the nitrogen oxide levels .... something as simple as a software "on/off" switch

    Like this one :
    https://www.holley.com/product...

    --
    aaaaaaa
  85. Germany won't allow it by Anonymous Coward · · Score: 0

    Germany won't allow it. The automotive industry is Germany's biggest export; they'll want this handled swiftly and satisfactorily and get things back and running before it causes too much damage to the economy. Sacrifice the CEO, knock down a few low level scapegoats, a new management comes in to make it better, and in a few years VW is back selling cars. The German and frankly the European economy cannot afford to have this drag out for long, so there will be no top to bottom audit trail on this.

  86. Re:"VW Clean Diesel" How do they do it? by Anonymous Coward · · Score: 0

    In the '70's, it was usually possible to tune a car to pass emissions even if it had something wrong with it. It might drive like crap, but it would pass. Then, after it passed, you could tweak the tuning slightly to make it drivable.

  87. Re:Single line of code? I want to see this code. by Anonymous Coward · · Score: 0

    B, A... talk about missing the G-spot.

  88. These tests are CON by Anonymous Coward · · Score: 0

    Did you ever look into these US emission standards and tests?
    Look at what they do to make the cars comply....the make then less efficient!!!

    I remember in US light trucks it used to be a fantastic Cummins 6.0 liter diesel engine. Now they changed it to 6.7 liter, with less power output that burns more fuel. Well freaking DUH! If I get 15% less power out of that fuel I burn and I need to then burn 15% more of it, please explain to me HOW IN THE HELL this is net positive for emissions? Sure the engine produces less emissions PER GALLON, but you end up burning MORE GALLONS! !!!! GENIUS !!!!

    Typical government retards at work. All this crap does is protect US big oil and US automakers.

    PS - I love driving my VW diesel....here in Europe.

  89. Un-pimp da Auto... by Anonymous Coward · · Score: 0

    Und piss in da exhaust.

  90. Re: Professional Engineers have the power to say n by AK+Marc · · Score: 4, Insightful

    And I find it hilarious that everyone here states that programmers and engineers work without requirements or documentation. I've worked places where the verbal meeting would have the engineer agreeing with everything, then when it's not written in the requirements document and signed off by 10+ people, it doesn't get built. Seems like all the programmers on Slashdot have never worked in a company larger than 10 people.

  91. Re:Single line of code? I want to see this code. by Anonymous Coward · · Score: 0

    Thats for noobs, IDKFA FTW!

  92. How it was Discovered by Bratch · · Score: 1

    I like how it was discovered. We're in West Virginia, and need to evaluate tailpipe emissions, so we get some nice cars and spend lots of time driving up and down the coast of California. Sounds like a good team to be on, but then again, maybe driving around in California wasn't so pleasant. At least the project produced good results.

    --
    Beware of the Redittor who loans you a Sharpie.
  93. Re:Should this "testing mode" be enabled by defaul by Anonymous Coward · · Score: 0

    This kind of knowledge is why I read /. even after all these years. Thanks for the insight.

  94. Flawed System by SuperKendall · · Score: 1

    I think we can all agree that this whole VW fiasco clearly shows us that test-first development is a bad idea.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  95. Re: Professional Engineers have the power to say n by DNS-and-BIND · · Score: 1

    Because it is always the bosses who pull this kind of shit? We've all seen it and been a part of it many times. Bonuses to engineers? Those are paid to management, the workers get scraps, if any.

    --
    Shutting down free speech with violence isn't fighting fascism. It IS fascism!
  96. Shopping for cowards by Anonymous Coward · · Score: 0

    When someone three layers of food-chain above you tells you "do this", you don't get to refuse until you have it in writing (unless you already have a new job lined up - and even then, don't expect that one to go any differently).

    Nah, I've done it half a dozen times. It worked the same way every single time.

    Boss: I need you to do this thing.

    Me: I don't think that's legal. But I'm not a lawyer, so you can just give me a signed piece of paper telling me to do it, and I'll do it.

    Boss: I'll get back to you on that. (leaves my doorway, proceeds to next doorway)

    Boss to other coder: I need you to do this thing.

    Other coder: Uh, OK.

    EVERY. SINGLE. TIME.

    1. Re:Shopping for cowards by Hognoxious · · Score: 1

      Been there, seen that. For the record, I was first coder.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  97. Re: Professional Engineers have the power to say n by gnasher719 · · Score: 1

    Google's huge problem with their software collecting locations of routers (legal) also collecting data transmitted by these routers (illegal) was apparently due to an engineer who thought it was a good idea. Cost them many millions plus a huge amount of reputation.

  98. Re: Professional Engineers have the power to say n by cayenne8 · · Score: 1

    And I find it hilarious that everyone here states that programmers and engineers work without requirements or documentation. I've worked places where the verbal meeting would have the engineer agreeing with everything, then when it's not written in the requirements document and signed off by 10+ people, it doesn't get built. Seems like all the programmers on Slashdot have never worked in a company larger than 10 people.

    I've seen it happen quite a bit on Federal contracts believe it or not. Things get in a crunch, can't disappoint the customer (feds) that keep asking for things verbally, scope creep..and well, things just have to get *done*.

    --
    Light travels faster than sound. This is why some people appear bright until you hear them speak.........
  99. Re: Professional Engineers have the power to say n by Tharkkun · · Score: 1

    I find it odd to hear how programmers seem so abused by PHBs. Maybe it's an American thing, but in the UK, I've always found that employers want to keep hold of skilled people like programmers, because new ones are hard to find and take a while to get up to speed. This means that saying no is always possible.

    (Nothing to to with official engineer status and ethics. There's no general requirement for engineer certifications for programmers here.)

    Pure exaggeration. Developers who don't want to make a change, feature, etc always blame their manager for making the decision. Product not going the direction you want? It must be the PHB's fault.

  100. I seriously doubt that by Anonymous Coward · · Score: 0

    Volkswagen has a retention policy that automatically deletes any documents older than about 3 years old. We lost a lot of system documentation when it was implemented sometime around 2007. The genesis of the "defeat device" has to be from more than 3 years ago.

  101. Better Yet; Underhanded C Contest by random+coward · · Score: 1

    The Underhanded C Contest would be a better place for this. And actually; I would enjoy seeing that contest.

  102. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 0

    Lawyers have higher ethical standards -as a point of law and professional certification- than just about any other profession.

    Just sayin'...

    "Ethical standards" are often considered low-grade toilet paper by folks wanting to make money/impress their boss/get promoted/not get fired/etc.It really doesn't matter whether or not there's paper that says you should be held to higher ethical standards. I'm aware of quite a number of PEs that can't get work. Not sure why, but they get cool license plates on the Corrolas they drive around to interviews.

    In America, we don't believe in using American talent. That's one reason for out-of-work PEs. H1-B workers are usually little better than serfs.

  103. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 0

    Nor anywhere.

    Programming evolves too fast for any kind of certification not even mentioning degrees.

  104. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 0

    Here in the US, programmers are viewed as fungible, because there are 10-100 qualified candidates for any dev job that pops up. Combine this with offshoring, consultant companies like Infosys or Tata, and H-1Bs, and pretty much programmers are viewed as a disposable asset where guys are rotated out after 90 days.

    Of course, code quality is ass... but if you look how code quality is across the board in the computing industry, the only good, bug-free code being produced is by the malware organizations.

  105. Re: Professional Engineers have the power to say n by AK+Marc · · Score: 1

    When payment is involved, I've only ever seen it happen with change requests, well documented. But then, I've managed to avoid government work.

  106. Re: Professional Engineers have the power to say n by NoKaOi · · Score: 2

    Professional Engineers have the power to say no and they have Ethics rules to fall back on.

    But do they have the power to say no and keep their job, and keep their job without management making their work life miserable?

  107. Simple Lies by Anonymous Coward · · Score: 0

    It completely ignores the fact how it knows to enter into this alternate mode is complete speculation. Worse, other than that it's an alternate mode, nothing else is disclosed about this mode. The line of code in question is a simple If statement, along with the associated flag that they do not know how it was flagged.

  108. Re:"VW Clean Diesel" How do they do it? by Mal-2 · · Score: 1

    How they used to get "your car to pass": put another car on the testing stand that actually does pass.

    --
    How is the Riemann zeta function like Trump rallies? Both have an endless number of trivial zeros.
  109. The whole premise of the article is wrong by tuxontour · · Score: 1

    The premise of the original article is wrong. The whole point is, that the emission tests are meant to be cheated. You pass the test, no matter how, and the car is ok to be sold. The rules are written in a way that you follow them to the letter and everything is ok. It doesn't matter that you don't follow the rules how the voter thinks the rules are meant.
    And volkswagen did a professional mistake in failing to adhere the rules to the letter. That's all.
    All car manufacturers are "cheating" here. They are just lucky that they managed to adhere to the rules to the letter. Maybe we'll find others failing too in the next weeks.

    This is all bad and immoral, but that's the way it is at the moment.

    The rules are a result of political actionism. The politicians look good for in fact doing nothing. Additionally there is corruption that the local car manufacturer gets things done cheaply while making it hard for foreign competitors at the same time.

  110. Re: Professional Engineers have the power to say n by Grishnakh · · Score: 5, Insightful

    It's an American thing.

    Employers here don't care about holding onto skilled programmers or other skilled people, because PHBs think they can just hire replacements on a whim.

    Yes, in reality new ones are hard to find and take a while to get up to speed. The PHBs will even acknowledge this when they're trying to hire.

    But once they have one employed, they don't care about keeping him happy, because they think they're al interchangeable cogs.

    If you're seeing a giant disconnect here, yes, there is. This is how American corporations think; it makes no sense at all. I can't explain it. It's the same phenomenon where corporations will give a big salary offer to a new engineer, but once he's employed there, they'll just freeze his salary or give him paltry CoL raises, while giving new hires even bigger salaries, causing employees to switch jobs every 2-4 years (in Silicon Valley, it's 12-18 months).

  111. Re: Professional Engineers have the power to say n by Grishnakh · · Score: 1

    Seems like all the programmers on Slashdot have never worked in a company larger than 10 people.

    You'd be surprised; a lot of engineers and programmers are just like this, and have only worked in very small companies where there's no documentation of requirements and a completely ad-hoc development model. I've even worked in workgroups in very large companies that were like this; the company might have tens of thousands of employees, but the workgroup might only have 5. There's no formal development going on in a group like that.

  112. it's different... by Anonymous Coward · · Score: 0

    Most people who get to write actual production code for cars have absolutely no clue how the cars need to behave. This is decided by people who have absolutely no clue of software. Therefore, it is highly unlikely that someone writing software had the idea to intentionally implement some kind of cycle detection to cheat something like emissions, which are completely foreign topics to the implementer. If there is any code explicitly dedicated to this, there is some documentation existing, necessarily, otherwise it wouldn't have made it into the software. That's the unlikely scenario though.

    Software itself is only on part. Cars are all different, change every day during development, and people without much knowledge of software do want to contribute to define the behavior. To facilitate this, control units dedicate significant memory to store data these people can modify. Traditionally this has been mostly data to describe the transfer from inputs to outputs in a flexible way (when the inputs are the same, the output will also be the same), which doesn't allow much cheating. Complexity is rising, and control units are no longer stateless. Of course, also that behavior is tunable. What may have been intended/described as some innocent function, may turn into a defeat device with clever choice of data. Then, of course, documentation of the software wouldn't yield any evidence. Documentation of data is typically much more limited.

  113. It is highly possible that "no one" at all did it by goombah99 · · Score: 3, Insightful

    While it is likely this was a sin of commission it remains plausible that no one did this at all. My thinking is that if instead of being programmed explicity the computer program was allowed to train itself for it's emission and performance tuning that a very natural outcome would be for it to learn to minimize emissions during emission type testing. Then on the test track it would learn performance and handling. etc... and so you end up with something that cheats but no one told it to nor was anyone even trying to make it cheat. It's just the result of getting what you optimize for.

    One reason that I like that theory is that if you consider the opposite, that it was a conspiracy, then this is not the sort of thing you can keep secret easily. You might succeed but that's pretty hard especially considering the time span and the inevitable entry of new personnel and suppliers into the supply chain. So I don't think this was intentional. The exception might be if if it's a conspiracy of one. that for some reason there was just one guy who could pull off everything. THen you would have a shot of keeping this secret.

    --
    Some drink at the fountain of knowledge. Others just gargle.
  114. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 1

    While it is possible that it is widespread and I have just had the luck to never experience it, I tend to doubt it. Of all the issues I have taken to management I have only been told to "sit down and shut-up" twice and both of those cases were terminated shortly after (who knows if my input was heeded or not).

    In my opinion, for the last couple generations we have been breeding a culture of victimization so you tend to see these things talked about way more than they are experienced. I have seen junior engineers burst into tears when mildly reprimanded and senior engineers fly into full on persecution complexes when they think their credibility is on the line.

    I have yet to see a question of legality brushed aside without consideration. I have yet to see a real ethical question (forget the "cause heads" I am talking about fraud) not at least punted around a few times.

  115. Re: Professional Engineers have the power to say n by slowdeath · · Score: 2

    This is Germany, right? Back in the olden days the culture was if someone on high told you to do something (turn on the gas) you did it no questions asked. Maybe that culture still exists (following directions without asking questions).

  116. Volkswagen? EVERYONE does it! by citizenr · · Score: 1

    France TV did a program about it few months ago, they tested random cars and NONE passed limits when tested properly.

    https://youtu.be/5JFprj6v37Q

    --
    Who logs in to gdm? Not I, said the duck.
  117. Oh please with the UAW bogeyman... by Radical+Moderate · · Score: 1

    Japanese companies build a boatload of cars in the US with non-union labor, and VW actually encouraged their employees to join the UAW .

    --
    Never let a lack of data get in the way of a good rant.
  118. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 1

    I don't know what kind of places you've worked but programmers DEFINITELY work without specs all the time. Often I have been tasked to write my own specs from a brief 30 minute meeting. So I'm expected to write the "Functional Business Requirements" then the "Technical Specifications" and then have to code it and then write test plans for QA - well if there is any QA beyond my own testing.

    Requirements and Documentation have mostly been seen as a pain in the ass that no one wants to do. It takes time, has no obvious immediate return on investment and besides we can always fix it later, later meaning when a customer is screaming at you that the system is down because of some stupid reason and it doesn't matter that I didn't put the bug in there. It's suddenly my problem and apparently my fault at 3 AM on a Sunday.

    I actually try hard to document my shit because I know what it's like looking at something I coded 2 years earlier and asking myself "WTF was I thinking at the time? I'm sure I thought it was very clever but now I can't make sense of it and since I'm looking at it I may have a bug in it." /* You should probably comment this function but ain't nobody got time for that */

    It gets even worse when you're looking at code that a dozen different people have worked on over a number of years and the only comment in the whole fucking program is a huge banner-type comment at the top stating the name of the file, the original coder's name and if you're lucky an incomplete sentence vaguely stating what the purpose of the program is. The variables are all named x,y foo and bar.and there are goto statements cluttering up this vile serving of pasta-like-code.

    Someone thought it was humorous to label their error-handling HELL so they could write shit like:

    if (errno) goto HELL;

    I should be grateful there was even error handling - a lot of people don't even bother.

    I actually had a boss look over my shoulder once and saw I was checking for error codes after SQL statements and I shit you not he said "I hope that's just for testing purposes".

    He was an accountant turned programmer and his philosophy was to hide errors. Don't bother the users with that. It was a company that managed people's 401(k) accounts. Think about it - he would rather hide errors with people's investments than admit that his code might have a bug.

    Maybe I've just worked at shitty places but I find it hilarious that you think programmers actually work with requirements and documentation. Well, not hilarious actually - more like delusional.

  119. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 1

    The problem is that layoffs have not just become not just a business need to cut budgets, but it becomes a mark of honor for a manager to fire people. Being the company axeman helps come their performance and raise time, and keeps that manager from getting the pink slip themselves.

    Because of the extreme low threshold of what it takes to get fired, it isn't that people are wimps... but that if there is even a hint of trouble, they go into full panic mode, re-up their LinkedIn subscription and start pounding the pavement... because it is pretty likely that they are going to be ousted... not because they are bad employees, but because it just looks good on the books.

    Working as an IT manager, firing people (especially for cause so they can't get unemployment) is like popping undead in a MMO... exp points, pure and simple.

    It isn't a "victim culture". It is a culture where employees are treated like garbage, and they have to survive, so even a "word to the wise" meeting translates to "we are firing your ass, as soon as the PO to Infosys gets cut, so better start looking for your ties again." Sad thing, that is usually the case.

  120. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 1

    I've never worked in a company as small as 10 people but I have worked places where I was the entire IT department.

    I've also worked for one very large company.

    Documentation in general is largely ignored in my experience. One big difference may be whether you work for a software company or a business that only sees the IT department as an expense that doesn't directly add to the bottom line.

    I've seen many half-hearted attempts at documentation - policies where someone generated a form or a change management system which were good ideas to do but very poorly executed in practice.

    I've only worked for one software company where IT was their whole business and they did the best at requirements and documentation of any place I've worked but even they were usually too busy to do it well and when times got tough their one technical writer was let go along with others of course....then they actually realized they needed a technical writer and she was rehired a couple of weeks later.

    Did they really expect developers, salespeople and managers to write that stuff? I'll write a technical spec if need be. I'm actually glad to do it but if I'm not required to I'll probably just scribble down some notes and think about it for a while. You can make me put it in a formal document if you insist but even though it may make perfect sense to you and me because we've been discussing this project for a while in 5 years someone may look at it and it will all seem like gibberish.

    Dammit Jim, I'm a programmer, not a writer!
    Seriously - I have an engineering degree.....I think I only took one literature class in college and absolutely no writing classes.

  121. Re: It is highly possible that "no one" at all did by mSparks43 · · Score: 1

    Best explanation I've seen yet. Although I'd add it's probably a mix of both.

    That the emissions team only trained it for the emisions test environment. Not bothering to train "real world" emissions.

    This is reinforced by the "up to 40x" I've seen elsewhere. I wonder if they brought in new testing standards recently...

  122. Re: Professional Engineers have the power to say by Anonymous Coward · · Score: 0

    I've been in the business since the 1970s, and have never been asked to do anything like this. The worst I've had has been Marketing attempting to rush through QA because the product was a year late. They did not succeed.

  123. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 1

    Google's huge problem with their software collecting locations of routers (legal) also collecting data transmitted by these routers (illegal) was allegedly due to an engineer who thought it was a good idea.

    Fixed it for ya!

  124. Thing on a cable, with pins, that goes in a socket by Hognoxious · · Score: 1

    said Nikhil Kaul

    Who?

    a product manager at test/dev software maker SmartBear Software.

    Who?

    This wouldn't be a plug, would it?

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  125. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 0

    +1. American Thing. One can request a vacation day, but then I might get all the vacation I want (fired). One can do the right thing, but then I'm sure to suffer the consequences at the next performance review, and so does my role and salary. Demotion is very real, for very non-real reasons. I don't care what laws exist, or Human Resources policy. With a cost of living /far/ exceeding any reasonable salary, and months if not years before one can reasonably find gainful employment before a foreign national at a fraction of the fully loaded head cost, that job is key. There is no opportunity loss or retrain line-item on the bottom line of the P&L, no one cares.

  126. so why dont they by Anonymous Coward · · Score: 0

    make them flip that switch to allways on? fine them but the cars are legal again. Customers may have a class action suit they dont get the performance they were sold still.

  127. What's New? by jlgreer1 · · Score: 0

    Global warming scientists have been fudging and manipulating data for years.

  128. Re: Professional Engineers have the power to say by mSparks43 · · Score: 1

    I'm surprised more people aren't making the point of the implications of this for german us relations.

  129. Re: Professional Engineers have the power to say n by RatPh!nk · · Score: 1

    Definitely this - it stems from hiring PHBs that come from the "business world" to manage engineers rather then hiring managers from the ranks of engineers. Because obviously you need to have an MBA to be a good manager.

    --
    Argh. The laws of science be a harsh mistress.
  130. But WHY? by DulcetTone · · Score: 1

    No article has told me what would have happened to performance/fuel economy/WHATEVER if VW had simply let the clean emissions mode always run?

    This seems like a fundamental aspect of the story to me.

    tone

    --
    tone
  131. Re: Professional Engineers have the power to say n by mjwx · · Score: 1

    I find it odd to hear how programmers seem so abused by PHBs. Maybe it's an American thing, but in the UK, I've always found that employers want to keep hold of skilled people like programmers, because new ones are hard to find and take a while to get up to speed. This means that saying no is always possible.

    (Nothing to to with official engineer status and ethics. There's no general requirement for engineer certifications for programmers here.)

    In the UK, non-competes are illegal and good talent is not willing to put up with abuse.

    --
    Calling someone a "hater" only means you can not rationally rebut their argument.
  132. Lines of code? by batistuta · · Score: 1

    I don't work for VW, but I have worked many years developing software for major automotive OEMs. It's funny how often I read here in Slashdot that this detection was probably coded in one line, or in a few lines, etc. Slashdoters need to realize that most automotive powertrain software nowadays is developed using model-based software, such as Simulink. The mechanical engineers developing powertrain software have literally no clue about source code, operating system, real time systems, interprocess communication, bus latency, code generation. And they do not really need to know either.

    So the proper statement should be something along the lines "this detection was probably a single switch block or a single if block in your model."

  133. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 0

    It's the same phenomenon where corporations will give a big salary offer to a new engineer, but once he's employed there, they'll just freeze his salary or give him paltry CoL raises, while giving new hires even bigger salaries, causing employees to switch jobs every 2-4 years (in Silicon Valley, it's 12-18 months).

    Though some of us have lucked out in retrospect, e.g. lots of "fruit company" stock.

  134. Re: Professional Engineers have the power to say n by Antique+Geekmeister · · Score: 1

    > In the UK, non-competes are illegal

    Blackballing usually is not, because it can be very difficult to prove. Getting a new position, especially one that requires a visa, for an employee whose previous or current employer will not give positive recommendations can be very difficult.

  135. Re: Professional Engineers have the power to say n by Antique+Geekmeister · · Score: 1

    It _is_ a good idea. It's invaluable data for tracking individuals and identifying valuable marketing and personal information.

  136. Re: Professional Engineers have the power to say n by mjwx · · Score: 1

    > In the UK, non-competes are illegal

    Blackballing usually is not, because it can be very difficult to prove. Getting a new position, especially one that requires a visa, for an employee whose previous or current employer will not give positive recommendations can be very difficult.

    True, but blackballing is very difficult to do with professionals. All it takes is one company not to go along with it and the whole thing falls apart.

    This is why blackballing is reserved for the worst of the worst. A good coder, engineer or scientist who is a little bit difficult to work with is not worth trying to blackball.

    Also companies can be sued for deformation, so deliberately trying to blackball an ex-employee is dangerous. The worst thing a company can safely say is "I would not employ this person again".

    Getting a new position, especially one that requires a visa

    Any position that requires a visa or sponsorship is going to put the employee over a barrel regardless. Its a crappy situation for anyone and generally is a last resort when you cant get a visa yourself. For Australians it's pretty easy for us to get working visas in the UK (Youth Mobility visa, Ancestry visa, I know the latter can lead to an ILR), for a non commonwealth country it is a lot harder.

    --
    Calling someone a "hater" only means you can not rationally rebut their argument.
  137. Re: Professional Engineers have the power to say n by countach · · Score: 1

    It's possible, but the EPA laws specifically ask you to sign off on what sensors alter smog conditions, so if it was some rogue engineer, then there was certainly a lack of due diligence by whoever signed off to the EPA.

  138. Re:It is highly possible that "no one" at all did by countach · · Score: 1

    Depends. The EPA laws say you can't use sensors to alter smog output AT ALL unless you report it first to the EPA with justifications and get sign off on it. So yes you could have a learning system, no problem. But if that system gets input from say traction control off (which it is in testing) or steering wheel position, bonnet/hood up etc, then you are in violation.

  139. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 0

    I may have been some poor coder, just on a contract job, no job security, do what is asked for in the requirements or don't come in next week.
     

  140. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 0

    And I work in a multi-national company that should know better, and yet we are doing exactly that. No requirements or documentation, at the behest of the PHB. When we refuse to build stuff, we are beaten.

  141. DRM aspects anyone? by Anonymous Coward · · Score: 0

    I'm kind of surprised that nobody's brought this up. This case better than any other highlights why we need to get software completely out of vehicles (not just cars). The requirement for ECM software to be tailored to meet the legal emission requirements of specific countries means you've essentially created DVD/Bluray Regions for vehicles. It's now illegal to buy a vehicle in one country and drive it in another country because it cannot be guaranteed to be compliant with the local emissions standards there.

  142. EPA Role in This by Anonymous Coward · · Score: 0

    The EPA has a budget of $8B and 15,000 employees.

    They cannot take 10 employees and randomly rent cars, bring them to the lab and verify that cars in the field are performing as expected? I mean, air quality is a top charter, and cars are the #2 contributor to air quality. And being sure that cars are performing as expected in the field is thus a critical task. Don't tell me that with 15,000 people you cannot afford to field audits.

    When people want to know why I don't want to pay more in taxes, it's precisely because of this. $8B and 15,000 and they cannot even be sure cars are performing as promised. It took a university with a paltry $2M budget to find this.

    If the gov were competent, I'd be happy to give them more money.

  143. Re:Single line of code? I want to see this code. by Anonymous Coward · · Score: 0

    Start?

  144. sanctions? by Anonymous Coward · · Score: 0

    can this be a result of VW doing more business in Russia? http://www.bloomberg.com/news/articles/2015-09-04/vw-ford-open-engine-plants-in-russia-amid-car-market-decline

  145. Re: Professional Engineers have the power to say n by Antique+Geekmeister · · Score: 1

    > True, but blackballing is very difficult to do with professionals

    Oh, my. I'm tempted to say "you youngsters!", but blackballing is alive and well throughout the worlds. I've certainly had references that an interviewee cited try to blackball them. It caused me to dig further: in some cases, the blackballing was for good reasons, for employees were horrible and, for whatever reason, didn't reason their own personal references would blackball them. Those were people who were so foolish they didn't admit how awful they were.

    I've also seen it where employees were let go for age or medical reasons, or for having kids, and their former company wanted to hide why they were _really_ discarded, and so invented other reasons. I can think of several job applicants I've interviewed who ran into this, and I was very fortunate indeed to look deeper and find the _real_ reasons. Sadly, I'm afraid that I may have been fooled a few times and missed out on some good people: my time to dig past the surface and poisoned references for really good engineers is limited.

    Industry wide blackballing for illegal reasons is harder than it used to be as the web and online communities have grown. But it certainly still exists. It's also tied to the "glass ceiling" women and minorities encounter in many professions. Networking and word of mouth can sometimes work _against_ good people who are merely so honest or so responsible their current employers can't keep them, especially when a current unscrupulous manager or colleague is willing to lie about them.

  146. But the engine DOES pas NOx tests by Ihlosi · · Score: 1
    Engineer: We can't make this engine pass NOx tests.

    But the engine did pass NOx tests. It just runs better when it doesn't. Maybe it gets 140hp@4000 rpm, but with the emissions system working it only gets 90hp@2000rpm instead of, say, 120hp@2000rpm. (Numbers are completely made up).

  147. Re: Professional Engineers have the power to say n by Hognoxious · · Score: 1

    So where does the workgroup get its requirements from?

    It's the same problem pushed up a level.

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  148. Pick three: by Ihlosi · · Score: 1
    [ ] Engine complies with emissions standards in normal driving conditions.
    [ ] Customer never needs to refill DEF/AdBlue/whatever outside regular maintenance.
    [ ] Customer gets really good fuel mileage, instead of just average.
    [ ] Customer gets lots of engine power in a wide operating range, instead of getting lots of engine power at one operating point and not so much power at all other points.

    Oh, and guess which of these points actually sell cars.

  149. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 0

    Also companies can be sued for deformation

    I had a hunch you were going to say that.

  150. The wisdom of Miyagi by Hognoxious · · Score: 1

    Non-sequiteur.

    Either Latin do "yes" or Latin do "no."

    You Latin do "guess so".

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  151. Re: Professional Engineers have the power to say n by tehcyder · · Score: 1

    Professional Engineers have the power to say no and they have Ethics rules to fall back on.

    Programmers are not necessarily professional engineers.

    --
    To have a right to do a thing is not at all the same as to be right in doing it
  152. Re: Professional Engineers have the power to say n by tehcyder · · Score: 1

    Having letters after our name and belonging to a professional institute gives you added leverage when it comes to declining unethical orders from your bosses, although in reality whistleblowing will just make it harder to get a job in future (unless it is very definitely an individual suggesting the unethical behaviour, and not a company policy).

    --
    To have a right to do a thing is not at all the same as to be right in doing it
  153. Re:It is highly possible that "no one" at all did by bingoUV · · Score: 1

    But this doesn't explain why there wasn't a test case to catch this particular obvious bug - especially where the system is training itself without a degree in law or a sense of ethics. E.g. kicking off passengers and luggage by opening seat belts and opening doors is the next step to increase performance and fuel efficiency.

    So the lack of test case happened with at least the QA engineer / QA PHB's knowledge.

    --
    Bingo Dictionary - Pragmatist, n. A myopic idealist.
  154. Bug by Anonymous Coward · · Score: 0

    It was a compiler optimizing bug followed by the linker pulling an old code blob...

    1. Re:Bug by naris · · Score: 1

      Why yes VW does sell bugs!

  155. Re:Single line of code? I want to see this code. by KatchooNJ · · Score: 1

    Exactly... you then Start the car. ;-)

    --
    "Never give up, for that is just the time and place when the tide will change." -Harriet Beecher Stowe ^_^
  156. Re: Professional Engineers have the power to say n by cayenne8 · · Score: 1

    But then, I've managed to avoid government work.

    Dunno why you'd avoid it....LOTS of money to be made doing it.

    --
    Light travels faster than sound. This is why some people appear bright until you hear them speak.........
  157. NON-ENGINEERS COULD DO IT by Anonymous Coward · · Score: 0

    The engineers wrote legitimate code (engine mapping) that tested the cars under various scenarios. Nothing wrong with that, and there were probably hundreds of mappings and testing routines in various builds. The final build that was flashed into the ECM could easily have been completed by a low level manager. No one would know unless they did real world testing. The "EPA subroutine" checked for non-drive wheel movement from the ABS sensors (and other sensors to a lesser extent) to determine if the carewas on a stationary dynamometer. If is was, then the EPA engine map was used, and the car put out few emissions. When the car was moving on the road, it spewed like a chimney.

    I have to wonder if the other auto manufacturers knew anything about this. They all tear each other's cars down for design intelligence. Mercedes and BMW are still using urea injection, and here VW comes out with an engine that meets emissions standards. Hmmmm?

  158. VW is the car that people want by pebear · · Score: 1

    So you go to ebay and you put in your car's model and there are mod chips for all the cars out there now. They increase performance and allow you to do exactly what VW has done with the OEM chips. So the way I see it is VW has given the public what they wanted, great fuel mileage mixed with performance and a mode that fools the man into thinking you are not polluting the atmosphere. So now the government knows that none of the VW diesels will past an emissions test. VW tried twice to send out a rom upgrade to no avail. The cars performed like crap and lost mileage. I'm kinda scared what the DOT will do now. Will they tell people they can't drive these wonderful cars? Will they force VW into a buy back? Will VW bite the bullet and retrofit a chemical scrubber system into the exhaust manifold? If I had one of these cars I would not want to give it up for nothing but what good is it now if they won't let anyone drive it? I would like to get in touch with the Rat's who let this cat out of the bag and kick their asses for ruining for the rest of us.....

    --
    Paul E. Bahre
  159. Re:It is highly possible that "no one" at all did by Anonymous Coward · · Score: 0

    The code might also have been put in for testing:
          What is the optimal performance?
          What is the optimal emission?
          What is the best combination?

  160. VW is arrogant! by RawBit · · Score: 1

    So I have a 2006 Jetta. VW has had several engineering issues with the car. Including a major flaw with the camshaft. I have complained to and spoken with several VW executives and they are so cocky and won't admit to anything. Basically the conversations led to "So what. Do what you want because VW will not do anything about it". They even refused to fix the speedometer being off by 5 MPH which I know affect the total driven miles. They told me "VW engineering made it so. We will not fix it." There are other issues that have resulted in lawsuits like the door and frame cables braking but VW settles and won't admit wrongdoing or engineering fault. Which by the way since my vehicle was out of warranty, it could not get fixed. I said "but there is a freaking lawsuit and settlement for it!". They said "It's out of warranty. That will cost you $360." I just walked out. My cables in the door were all broken and fixed them myself. Had the camshaft changed by a local mechanic, etc. etc. Screw VW and their culture of bigots.

  161. VW was not alone, every manuf cheated. by lsatenstein · · Score: 1

    As time goes on, we discover that every diesel powered car manufacturer was cheating and undermining emissions testing.

    Why....

    Diesel was 30% less expensive for the car owner and that meant that (in Europe), diesel powered cars were 50% of all car sales.

    --
    Leslie Satenstein Montreal Quebec Canada
  162. Re:It is highly possible that "no one" at all did by TechNeilogy · · Score: 1

    Occam's razor (or maybe just cynicism) makes me doubt whether you're right in this case, but I think you've predicted a class of scenarios that is almost bound to occur in the not-to-distant future as machine learning takes hold. The ways ML finds to "cheat" will always be ahead of the safeguards on cheating.

    --
    "The wisdom of the Patriarchs was that they *knew* they were fools." --Master Foo
  163. Employees : Who do you serve, CARB or VW? by paul+mafinga · · Score: 1

    Hopefully VW will grow a pair and perform discovery on California's EPA and demon spawn, CARB. It's the only state level EPA, which due to the legal timeline, is allowed by the federal clean air act.

    When Obama took office, CARB dropped the NOx limit to 1/2 that of the EU. Note that California hates diesels -- they have a consumption tax on gasoline making it $1 higher, per gallon, than the rest of the nation, and diesel fuel is exempt from at least some of these taxes. Every diesel sold in California is a huge loss of consumption tax revenue for the deep blue, progressive democrat controlled state.

    Apparently VW's emissions team went to management and told them that the only way to meet the new standard was to install the expensive AdBlue / Urea injection system on the little 4 cylinder, E189 diesel engine. VW refused to authorize the addition of AdBlue technology, claiming that it would price the low cost diesels out of the market.

    VW's emissions engineers, stuck between the arbitrary California demands and their employment with VW, appear to have flipped California the bird. The real question is -- given the same choice -- serving a foreign government, a state that is biased against your product, and your paycheck and employment, what is the decision? Quit or hope you don't get caught? Apparently they didn't quit.

    At some point the California EPA and CARB are going to need to be dissolved. It's crazy to have so many standards bodies, especially when the governor simply appoints his pals and lets them run rampant over the global economy and what is, in reality, a pretty good automaker.

    Unless there is discovery on CARB, we can't know what processes were used, and why they chose to suddenly lower the NOx requirements so drastically below the levels of the EU. If it was to enhance tax revenue, CARB and CAL-EPA should be dissolved immediately for violating the US Constitutional restriction against taxation without representation, and VW should be unconditionally pardoned.

  164. This article will no doubt inspire hackers everywh by mscir · · Score: 1

    Car's failing smog? Mod the chip... problem solved - forever. How long before we see these shipping from China?

  165. Re: Professional Engineers have the power to say n by Grishnakh · · Score: 1

    It depends. If it's a workgroup that's basically working on some side project or research project, they probably don't have any real firm requirements, besides a single manager who has a list of some things he wants to do or try out. Not everyone is working on an actual product.

    Also, if it's a support group (like "applications engineering"), there's no actual requirements besides "the customer called today and wants such-and-such ASAP!".

    For critical, flagship product development (especially in a more mature industry/company), requirements are usually very well formalized, but a lot of things just aren't like that.

  166. Re: Professional Engineers have the power to say n by Anonymous Coward · · Score: 0

    Engineers are usually smart enough to know they'll be the ones thrown under the bus first.

    So they tend to not do things like this.

    Plus getting caught. You're no longer employable...

    Cxx and PHB's not so much. They get caught and go on to another company without a problem.

  167. Re: Professional Engineers have the power to say by Anonymous Coward · · Score: 0

    "Seems like all the programmers on Slashdot have never worked in a company larger than 10 people." ...while others assume that all companies larger than 10 people operate the same way.

  168. No news here by dl_sledding · · Score: 1

    So, still no proof. This is not news, it's another guess, and not a good one at that. Three words prove that: "...more than likely..."

    Move on... there's nothing to see here.

  169. Re: Professional Engineers have the power to say n by cwsumner · · Score: 1

    If you get a requirement that "If the test equipment is plugged in then switch to test mode", would that really sound illegal to you?

    Would it even occur to you that the government test would be done by plugging into the test connector, at all? Instead of measuring what was actually coming from the tail pipe?

    The real problem was that the testers were lazy and did the test in the worst possible way. But no one wants to mention that...